Convert TEST_c_c tests from code to data.
[jlayton/glibc.git] / ChangeLog
1 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
2
3         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4         (struct test_c_c_data): New type.
5         (RUN_TEST_LOOP_c_c): New macro.
6         (cacos_test_data): New variable.
7         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8         (cacosh_test_data): New variable.
9         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10         (casin_test_data): New variable.
11         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12         (casinh_test_data): New variable.
13         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14         (catan_test_data): New variable.
15         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16         (catanh_test_data): New variable.
17         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18         (ccos_test_data): New variable.
19         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20         (ccosh_test_data): New variable.
21         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22         (cexp_test_data): New variable.
23         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24         (clog_test_data): New variable.
25         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26         (clog10_test_data): New variable.
27         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28         (conj_test_data): New variable.
29         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30         (cproj_test_data): New variable.
31         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32         (csin_test_data): New variable.
33         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34         (csinh_test_data): New variable.
35         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36         (csqrt_test_data): New variable.
37         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
38         (ctan_test_data): New variable.
39         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40         (ctan_tonearest_test_data): New variable.
41         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42         (ctan_towardzero_test_data): New variable.
43         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44         (ctan_downward_test_data): New variable.
45         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46         (ctan_upward_test_data): New variable.
47         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48         (ctanh_test_data): New variable.
49         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50         (ctanh_tonearest_test_data): New variable.
51         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52         (ctanh_towardzero_test_data): New variable.
53         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54         (ctanh_downward_test_data): New variable.
55         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56         (ctanh_upward_test_data): New variable.
57         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
59         of BUILD_COMPLEX.
60
61         * math/libm-test.inc (struct test_ff_f_data): New type.
62         (struct test_ff_f_data_nexttoward): Likewise.
63         (RUN_TEST_LOOP_2_f): New macro.
64         (RUN_TEST_LOOP_ff_f): Likewise.
65         (atan2_test_data): New variable.
66         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67         (copysign_test_data): New variable.
68         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
69         (fdim_test_data): New variable.
70         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
71         (fmax_test_data): New variable.
72         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
73         (fmin_test_data): New variable.
74         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
75         (fmod_test_data): New variable.
76         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
77         (hypot_test_data): New variable.
78         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
79         (nextafter_test_data): New variable.
80         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
81         (nexttoward_test_data): New variable.
82         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
83         (pow_test_data): New variable.
84         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
85         (pow_tonearest_test_data): New variable.
86         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
87         (pow_towardzero_test_data): New variable.
88         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
89         (pow_downward_test_data): New variable.
90         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
91         (pow_upward_test_data): New variable.
92         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
93         (remainder_test_data): New variable.
94         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
95         (scalb_test_data): New variable.
96         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
97         * sysdeps/i386/fpu/libm-test-ulps: Update.
98
99 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
100
101         * math/libm-test.inc (fma_test): Use max_value instead of local
102         variable fltmax.
103         (nextafter_test): Likewise.
104
105         * math/libm-test.inc (acos_towardzero_test_data): New variable.
106         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
107         (acos_downward_test_data): New variable.
108         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
109         (acos_upward_test_data): New variable.
110         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
111         (acosh_test_data): New variable.
112         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
113         (asin_test_data): New variable.
114         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
115         (asin_tonearest_test_data): New variable.
116         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
117         (asin_towardzero_test_data): New variable.
118         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
119         (asin_downward_test_data): New variable.
120         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
121         (asin_upward_test_data): New variable.
122         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
123         (asinh_test_data): New variable.
124         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
125         (atan_test_data): New variable.
126         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
127         (atanh_test_data): New variable.
128         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
129         (cbrt_test_data): New variable.
130         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
131         (ceil_test_data): New variable.
132         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
133         (cos_test_data): New variable.
134         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
135         (cos_tonearest_test_data): New variable.
136         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
137         (cos_towardzero_test_data): New variable.
138         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
139         (cos_downward_test_data): New variable.
140         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
141         (cos_upward_test_data): New variable.
142         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
143         (cosh_test_data): New variable.
144         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
145         (cosh_tonearest_test_data): New variable.
146         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
147         (cosh_towardzero_test_data): New variable.
148         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
149         (cosh_downward_test_data): New variable.
150         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
151         (cosh_upward_test_data): New variable.
152         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
153         (erf_test_data): New variable.
154         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
155         (erfc_test_data): New variable.
156         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
157         (exp_test_data): New variable.
158         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
159         (exp_tonearest_test_data): New variable.
160         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
161         (exp_towardzero_test_data): New variable.
162         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
163         (exp_downward_test_data): New variable.
164         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
165         (exp_upward_test_data): New variable.
166         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
167         (exp10_test_data): New variable.
168         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
169         (exp2_test_data): New variable.
170         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
171         (expm1_test_data): New variable.
172         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
173         (fabs_test_data): New variable.
174         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
175         (floor_test_data): New variable.
176         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
177         (j0_test_data): New variable.
178         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
179         (j1_test_data): New variable.
180         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
181         (log_test_data): New variable.
182         (log_test): Run tests with RUN_TEST_LOOP_f_f.
183         (log10_test_data): New variable.
184         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
185         (log1p_test_data): New variable.
186         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
187         (log2_test_data): New variable.
188         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
189         (logb_test_data): New variable.
190         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
191         (logb_downward_test_data): New variable.
192         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
193         (nearbyint_test_data): New variable.
194         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
195         (rint_test_data): New variable.
196         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
197         (rint_tonearest_test_data): New variable.
198         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
199         (rint_towardzero_test_data): New variable.
200         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
201         (rint_downward_test_data): New variable.
202         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
203         (rint_upward_test_data): New variable.
204         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
205         (round_test_data): New variable.
206         (round_test): Run tests with RUN_TEST_LOOP_f_f.
207         (sin_test_data): New variable.
208         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
209         (sin_tonearest_test_data): New variable.
210         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
211         (sin_towardzero_test_data): New variable.
212         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
213         (sin_downward_test_data): New variable.
214         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
215         (sin_upward_test_data): New variable.
216         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
217         (sinh_test_data): New variable.
218         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
219         (sinh_tonearest_test_data): New variable.
220         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
221         (sinh_towardzero_test_data): New variable.
222         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
223         (sinh_downward_test_data): New variable.
224         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
225         (sinh_upward_test_data): New variable.
226         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
227         (sqrt_test_data): New variable.
228         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
229         (tan_test_data): New variable.
230         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
231         (tan_tonearest_test_data): New variable.
232         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
233         (tan_towardzero_test_data): New variable.
234         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
235         (tan_downward_test_data): New variable.
236         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
237         (tan_upward_test_data): New variable.
238         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
239         (tanh_test_data): New variable.
240         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
241         (tgamma_test_data): New variable.
242         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
243         (trunc_test_data): New variable.
244         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
245         (y0_test_data): New variable.
246         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
247         (y1_test_data): New variable.
248         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
249         (significand_test_data): New variable.
250         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
251
252 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
253
254         [BZ #12387]
255         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
256
257 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
258
259         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
260
261 2013-05-10  Andreas Jaeger  <aj@suse.de>
262
263         [BZ #15448]
264         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
265         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
266
267 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
268
269         * math/gen-libm-test.pl (adjust_arg): New function.
270         (special_functions): Handle generating output in both functions
271         and arrays.
272         (parse_args): Likewise.
273         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
274         $in_func argument to parse_args.
275         * math/libm-test.inc (struct test_f_f_data): New type.
276         (IF_ROUND_INIT_): New macro.
277         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
278         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
279         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
280         (IF_ROUND_INIT_FE_UPWARD): Likewise.
281         (ROUND_RESTORE_): Likewise.
282         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
283         (ROUND_RESTORE_FE_TONEAREST): Likewise.
284         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
285         (ROUND_RESTORE_FE_UPWARD): Likewise.
286         (RUN_TEST_LOOP_f_f): New macro.
287         (acos_test_data): New variable.
288         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
289         (acos_tonearest_test_data): New variable.
290         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
291
292 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
293
294         * benchtests/bench-skeleton.c (startup): Fix coding style.
295
296 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
297
298         [BZ #6809]
299         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
300         negative infinity argument.
301         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
302         negative infinity argument.
303         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
304         negative infinity argument.
305         * math/libm-test.inc (tgamma_test): Expect errno to be set for
306         domain errors.
307
308 2013-05-10  Florian Weimer  <fweimer@redhat.com>
309
310         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
311         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
312         * iconv/iconv_prog.c (main): Likewise.
313         * locale/programs/charmap-dir.c (charmap_readdir)
314         (fopen_uncompressed): Likewise.
315         * locale/programs/locfile.c (siblings_uncached)
316         (write_locale_data): Use lstat64 instead of lstat.
317         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
318         stat.
319
320 2013-05-10  Andreas Jaeger  <aj@suse.de>
321
322         [BZ #15395]
323         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
324         localization.
325         Include <locale.h>.
326
327 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
328
329         * elf/dl-close.c (_dl_close_worker): Add comments.
330
331 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
332
333         [BZ #15359]
334         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
335         high part of pi/2.
336         (__ieee754_rem_pio2l): Update comments.
337
338         [BZ #15429]
339         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
340         high part of pi/2.
341         (__ieee754_rem_pio2l): Update comments.
342
343         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
344         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
345
346         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
347         M_PI_4l.
348
349         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
350         (M_PI_34_LOG10El): Likewise.
351         (M_PI2_LOG10El): Likewise.
352         (M_PI4_LOG10El): Likewise.
353         (M_PI_LOG10El): Likewise.
354
355 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
356
357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
358
359 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
360
361         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
362         (MINUS_ZERO_INIT): Likewise.
363         (PLUS_INFTY_INIT): Likewise.
364         (MINUS_INFTY_INIT): Likewise.
365         (QNAN_VALUE_INIT): Likewise.
366         (MAX_VALUE_INIT): Likewise.
367         (MIN_VALUE_INIT): Likewise.
368         (MIN_SUBNORM_VALUE_INIT): Likewise.
369         (plus_zero): Initialize with PLUS_ZERO_INIT.
370         (minus_zero): Initialize with MINUS_ZERO_INIT.
371         (plus_infty): Initialize with PLUS_INFTY_INIT.
372         (minus_infty): Initialize with MINUS_INFTY_INIT.
373         (qnan_value): Initialize with QNAN_VALUE_INIT.
374         (max_value): Initialize with MAX_VALUE_INIT.
375         (min_value): Initialize with MIN_VALUE_INIT.
376         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
377
378         * math/libm-test.inc (RUN_TEST_if_f): New macro.
379         (jn_test): Use TEST_if_f instead of TEST_ff_f.
380         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
381         (yn_test): Use TEST_if_f instead of TEST_ff_f.
382
383         * math/libm-test.inc (RUN_TEST_f_f): New macro.
384         (RUN_TEST_2_f): Likewise.
385         (RUN_TEST_ff_f): Likewise.
386         (RUN_TEST_fi_f): Likewise.
387         (RUN_TEST_fl_f): Likewise.
388         (RUN_TEST_fff_f): Likewise.
389         (RUN_TEST_c_f): Likewise.
390         (RUN_TEST_f_f1): Likewise.
391         (RUN_TEST_fF_f1): Likewise.
392         (RUN_TEST_fI_f1): Likewise.
393         (RUN_TEST_ffI_f1): Likewise.
394         (RUN_TEST_c_c): Likewise.
395         (RUN_TEST_cc_c): Likewise.
396         (RUN_TEST_f_i): Likewise.
397         (RUN_TEST_f_i_tg): Likewise.
398         (RUN_TEST_ff_i_tg): Likewise.
399         (RUN_TEST_f_b): Likewise.
400         (RUN_TEST_f_b_tg): Likewise.
401         (RUN_TEST_f_l): Likewise.
402         (RUN_TEST_f_L): Likewise.
403         (RUN_TEST_sincos): Likewise.
404         * math/gen-libm-test.pl (new_test): Take new argument to indicate
405         whether to show exceptions.  Do not include ");\n" in return
406         value.
407         (special_functions): Output call to RUN_TEST_sincos instead of
408         check_float calls.  Update calls to new_test.
409         (parse_args): Output call to single RUN_TEST_* macro instead of
410         check_* calls and other assignments.  Update calls to new_test.
411
412         [BZ #2546]
413         [BZ #2560]
414         [BZ #5159]
415         [BZ #15426]
416         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
417         input to result for tgamma overflow.
418         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
419         (gamma_coeff): New variable.
420         (NCOEFF): New macro.
421         (gamma_positive): New function.
422         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
423         underflow here.  Use gamma_positive instead of exp (lgamma) for
424         other arguments.
425         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
426         (gamma_coeff): New variable.
427         (NCOEFF): New macro.
428         (gammaf_positive): New function.
429         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
430         underflow here.  Use gamma_positive instead of exp (lgamma) for
431         other arguments.
432         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
433         (gamma_coeff): New variable.
434         (NCOEFF): New macro.
435         (gammal_positive): New function.
436         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
437         underflow here.  Use gamma_positive instead of exp (lgamma) for
438         other arguments.
439         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
440         (gamma_coeff): New variable.
441         (NCOEFF): New macro.
442         (gammal_positive): New function.
443         (__ieee754_gammal_r): Handle positive infinity, overflow and
444         underflow here.  Handle NaN the same as positive infinity.  Remove
445         check x < 0xffffffff for negative integers.  Use gamma_positive
446         instead of exp (lgamma) for other arguments.
447         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
448         (gamma_coeff): New variable.
449         (NCOEFF): New macro.
450         (gammal_positive): New function.
451         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
452         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
453         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
454         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
455         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
456         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
457         * sysdeps/generic/math_private.h (__gamma_productf): New
458         prototype.
459         (__gamma_product): Likewise.
460         (__gamma_productl): Likewise.
461         * math/Makefile (libm-calls): Add gamma_product.
462         * math/libm-test.inc (tgamma_test): Add more tests.
463         * sysdeps/i386/fpu/libm-test-ulps: Update.
464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
465
466 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
467
468         * benchtests/bench-skeleton.c (main): Preheat CPU.
469
470 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
471
472         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
473
474 2013-05-07  Roland McGrath  <roland@hack.frob.com>
475
476         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
477         and _dl_skip_args_internal.
478
479 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
480
481         * manual/message.texi (Message Translation): Talk about users.
482         Message to key mapping impacts design.
483
484 2013-05-06  Roland McGrath  <roland@hack.frob.com>
485
486         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
487
488         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
489
490         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
491         * sysdeps/wordsize-64/glob64.c: ... here.
492
493         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
494         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
495         New macros.
496
497         * debug/getlogin_r_chk.c: Moved to ...
498         * login/getlogin_r_chk.c: ... here.
499         * debug/Makefile (routines): Move getlogin_r_chk to ...
500         * login/Makefile (routines): ... here.
501         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
502         * login/Versions (libc: GLIBC_2.4): ... here.
503
504         * io/poll.c (__poll): Renamed from poll.
505         Add libc_hidden_def.
506         (poll): Define as weak alias.
507
508         * debug/ptsname_r_chk.c: Moved to ...
509         * login/ptsname_r_chk.c: ... here.
510         * debug/Makefile (routines): Move ptsname_r_chk to ...
511         * login/Makefile (routines): ... here.
512         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
513         * login/Versions (libc: GLIBC_2.4): ... here.
514
515         * posix/getlogin.c: Moved to ...
516         * login/getlogin.c: ... here.
517         * posix/getlogin_r.c: Moved to ...
518         * login/getlogin_r.c: ... here.
519         * posix/getlogin_r.c: Moved to ...
520         * login/getlogin_r.c: ... here.
521         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
522         * login/Makefile (routines): ... here.
523         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
524         * login/Versions (libc: GLIBC_2.0): ... here.
525
526         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
527         (setrlimit): Define as weak alias.
528
529         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
530         Call __ names for open, ftruncate, and close.
531         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
532         (truncate): Define as weak alias.
533
534 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
535
536         * math/gen-libm-test.pl (parse_args): Initialize x before each
537         test of frexp, modf and remquo.
538
539         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
540         test signgam value.
541
542 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
543
544         [BZ #15418]
545         [BZ #15419]
546         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
547         internal tests.
548         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
549
550 2013-05-06  Roland McGrath  <roland@hack.frob.com>
551
552         * elf/dl-writev.h: New file.
553         * elf/dl-misc.c: Include it.
554         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
555         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
556
557 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
558
559         * math/libm-test.inc (noXFails): Remove variable.
560         (noXPasses): Likewise.
561         (BUILD_COMPLEX_INT): Remove macro.
562         (print_screen): Remove xfail argument.
563         (print_screen_max_error): Likewise.
564         (update_stats): Likewise.
565         (print_max_error): Likewise.  Update calls to other affected
566         functions.
567         (print_complex_max_error): Likewise.
568         (test_single_exception): Update calls to print_screen.
569         (test_single_errno): Likewise.
570         (check_float_internal): Remove xfail argument.  Update calls to
571         other affected functions.
572         (check_float): Likewise.
573         (check_complex): Likewise.
574         (check_int): Likewise.
575         (check_long): Likewise.
576         (check_bool): Likewise.
577         (check_longlong): Likewise.
578         (main): Don't print noXFails and noXPasses.
579         * math/gen-libm-test.pl (top level): Don't mention expected
580         failure handling in comment.
581         (new_test): Don't handle expected failures.
582         (parse_args): Don't mention expected failure handling in comment.
583         (generate_testfile): Don't handle expected failures.
584         (parse_ulps): Likewise.
585         (print_ulps_file): Likewise.
586         (get_failure): Remove function.
587         (output_test): Don't handle expected failures.
588         * make/README.libm-test: Don't mention expected failure handling.
589
590         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
591         (minus_zero): Likewise.
592         (plus_infty): Likewise.
593         (minus_infty): Likewise.
594         (qnan_value): Likewise.
595         (max_value): Likewise.
596         (min_value): Likewise.
597         (min_subnorm_value): Likewise.
598         (initialize): Do not initialize those variables dynamically.
599
600 2013-05-03  Roland McGrath  <roland@hack.frob.com>
601
602         * io/open.c (__open_2): Moved to ...
603         * io/open_2.c: ... this new file.
604         * io/open64.c (__open64_2): Moved to ...
605         * io/open64_2.c: ... this new file.
606         * io/openat.c (__openat_2): Moved to ...
607         * io/openat_2.c: ... this new file.
608         * io/openat64.c (__openat64_2): Moved to ...
609         * io/openat64_2.c: ... this new file.
610         * io/Makefile (routines): Add them.
611         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
612         * sysdeps/unix/sysv/linux/open_2.c: File removed.
613         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
614         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
615         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
616         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
617         (__openat64): Add hidden_ver.
618         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
619         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
620
621         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
622         Separately conditionalize setting of GLRO(dl_sysinfo) so
623         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
624         as well, but the actual setting is only under [NEED_DL_SYSINFO].
625
626 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
627
628         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
629         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
630         definition.
631         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
632         * sysdeps/unix/sysv/linux/powerpc/init-first.c
633         (_libc_vdso_platform_setup): Add __vdso_time initialization.
634         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
635         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
636
637 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
638
639         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
640         test signgam value.
641
642         * math/libm-test.inc (hypot_test): Do not use
643         IGNORE_ZERO_INF_SIGN.
644
645 2013-05-03  Andreas Jaeger  <aj@suse.de>
646
647         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
648         Linux 3.9.
649         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
650         (PF_MAX): Adjust for VSOCK change.
651
652 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
653
654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
655
656 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
657
658         [BZ #15264]
659         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
660         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
661         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
662
663 2013-05-02  David S. Miller  <davem@davemloft.net>
664
665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
666
667 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
668
669         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
670
671 2013-05-01  Roland McGrath  <roland@hack.frob.com>
672
673         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
674
675 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
676
677         [BZ #14952]
678         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
679         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
680         Use __attribute__ ((__gnu_inline__)).
681         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
682         Don't use __attribute__ ((__gnu_inline__)).
683
684 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
685
686         [BZ #15423]
687         * math/s_catan.c (__catan): Handle small real or imaginary part of
688         input specially to avoid spurious underflow.
689         * math/s_catanf.c (__catanf): Likewise.
690         * math/s_catanh.c (__catanh): Likewise.
691         * math/s_catanhf.c (__catanhf): Likewise.
692         * math/s_catanhl.c (__catanhl): Likewise.
693         * math/s_catanl.c (__catanl): Likewise.
694         * math/libm-test.inc (catan_test): Add more tests.
695         (catanh_test): Likewise.
696         * sysdeps/i386/fpu/libm-test-ulps: Update.
697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
698
699 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
700
701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
702
703 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
704
705         [BZ #15416]
706         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
707         accurately for denominator in atan2.
708         * math/s_catanf.c (__catanf): Likewise.
709         * math/s_catanh.c (__catanh): Likewise.
710         * math/s_catanhf.c (__catanhf): Likewise.
711         * math/s_catanhl.c (__catanhl): Likewise.
712         * math/s_catanl.c (__catanl): Likewise.
713         * math/libm-test.inc (catan_test): Add more tests.
714         (catanh_test): Likewise.
715         * sysdeps/i386/fpu/libm-test-ulps: Update.
716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
717
718 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
719
720         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
721
722         * benchtests/Makefile (bench): Remove slow benchmarks.
723         * benchtests/atan-inputs: Add slow benchmark inputs.
724         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
725         (BENCH_FUNC): Accept variant offset.
726         (VARIANT): Define.
727         * benchtests/bench-skeleton.c (main): Run benchmark for each
728         variant.
729         * benchtests/cos-inputs: Add slow benchmark inputs.
730         * benchtests/exp-inputs: Likewise.
731         * benchtests/pow-inputs: Likewise.
732         * benchtests/sin-inputs: Likewise.
733         * benchtests/slowatan-inputs: Remove.
734         * benchtests/slowatan.c: Remove.
735         * benchtests/slowcos-inputs: Remove.
736         * benchtests/slowcos.c: Remove.
737         * benchtests/slowexp-inputs: Remove.
738         * benchtests/slowexp.c: Remove.
739         * benchtests/slowpow-inputs: Remove.
740         * benchtests/slowpow.c: Remove.
741         * benchtests/slowsin-inputs: Remove.
742         * benchtests/slowsin.c: Remove.
743         * benchtests/slowtan-inputs: Remove.
744         * benchtests/slowtan.c: Remove.
745         * benchtests/tan-inputs: Add slow benchmark inputs.
746         * scripts/bench.pl: Parse comments and directives.
747
748         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
749         in CPPFLAGS.
750         ($(objpfx)bench-%.c): Remove *-ITER.
751         * benchtests/bench-modf.c: Remove definition of ITER.
752         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
753         (main): Loop for DURATION seconds instead of fixed number of
754         iterations.
755         * scripts/bench.pl: Don't expect iterations in parameters.
756
757 2013-04-29  Roland McGrath  <roland@hack.frob.com>
758
759         * io/fchdir.c (__fchdir): Renamed from fchdir.
760         (fchdir): Define as weak alias.
761
762 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
763
764         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
765         (ERRNO_EDOM): Likewise.
766         (ERRNO_ERANGE): Likewise.
767         (noErrnoTests): New variable.
768         (init_max_error): Set errno to 0.
769         (test_single_errno): New function.
770         (test_errno): Likewise.
771         (check_float_internal): Call test_errno.  Set errno to 0.
772         (check_complex): Refer to errno tests in comment.
773         (check_int): Call test_errno.  Set errno to 0.
774         (check_long): Likewise.
775         (check_bool): Likewise.
776         (check_longlong): Likewise.
777         (cos_test): Use ERRNO_* flags for errno tests instead of
778         check_int.
779         (expm1_test): Likewise.
780         (fmod_test): Likewise.
781         (ilogb_test): Likewise.
782         (lgamma_test): Likewise.
783         (pow_test): Likewise.
784         (remainder_test): Likewise.
785         (sin_test): Likewise.
786         (tan_test): Likewise.
787         (yn_test): Likewise.
788         (initialize): Set errno to 0.
789         (main): Print number of errno tests.
790         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
791
792 2013-04-29  Andreas Jaeger  <aj@suse.de>
793
794         [BZ #15084]
795         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
796         and RES_USEVC.
797
798         [BZ #15085]
799         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
800         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
801         unimplemented.
802
803         [BZ #15380]
804         * stdlib/random.c (__initstate): Return NULL if
805         __initstate fails.
806
807         [BZ #15086]
808         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
809         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
810         RES_SNGLKUPREOP.
811
812 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
813
814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
815
816 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
817
818         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
819         of individual tests.
820         (casin_test): Likewise.
821         (casinh_test): Likewise.
822
823 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
824
825         [BZ #15409]
826         * math/s_catan.c (__catan): Handle arguments with large real or
827         imaginary part separately without squaring.
828         * math/s_catanf.c (__catanf): Likewise.
829         * math/s_catanh.c (__catanh): Likewise.
830         * math/s_catanhf.c (__catanhf): Likewise.
831         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
832         and redefine.
833         (__catanhl): Handle arguments with large real or imaginary part
834         separately without squaring.
835         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
836         and redefine.
837         (__catanl): Handle arguments with large real or imaginary part
838         separately without squaring.
839         * math/libm-test.inc (catan_test): Add more tests.
840         (catanh_test): Likewise.
841         * sysdeps/i386/fpu/libm-test-ulps: Update.
842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
843
844 2013-04-27  Andreas Jaeger  <aj@suse.de>
845
846         [BZ #15007]
847         * stdlib/stdlib.h: Update guards for qecvt.
848         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
849         <stdlib.h>.
850
851 2013-04-27  Allan McRae  <allan@archlinux.org>
852
853         * sysdeps/i386/fpu/libm-test-ulps: Update.
854
855 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
856
857         [BZ #15406]
858         * math/s_catan.c: Include <float.h>.
859         (__catan): Ensure underflow exception occurs for underflowed
860         result.
861         * math/s_catanf.c: Include <float.h>.
862         (__catanf): Ensure underflow exception occurs for underflowed
863         result.
864         * math/s_catanh.c: Include <float.h>.
865         (__catanh): Ensure underflow exception occurs for underflowed
866         result.
867         * math/s_catanhf.c: Include <float.h>.
868         (__catanhf): Ensure underflow exception occurs for underflowed
869         result.
870         * math/s_catanhl.c: Include <float.h>.
871         (__catanhl): Ensure underflow exception occurs for underflowed
872         result.
873         * math/s_catanl.c: Include <float.h>.
874         (__catanl): Ensure underflow exception occurs for underflowed
875         result.
876         * math/libm-test.inc (catan_test): Add more tests.
877         (catanh_test): Likewise.
878
879         [BZ #15405]
880         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
881         underflowed result.
882         * math/s_ccoshf.c (__ccoshf): Likewise.
883         * math/s_ccoshl.c (__ccoshl): Likewise.
884         * math/s_csin.c (__csin): Likewise.
885         * math/s_csinf.c (__csinf): Likewise.
886         * math/s_csinh.c (__csinh): Likewise.
887         * math/s_csinhf.c (__csinhf): Likewise.
888         * math/s_csinhl.c (__csinhl): Likewise.
889         * math/s_csinl.c (__csinl): Likewise.
890         * math/libm-test.inc (ccos_test): Add more tests.
891         (ccosh_test): Likewise.
892         (csin_test): Likewise.
893         (csinh_test): Likewise.
894
895 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
896
897         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
898         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
899         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
900         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
901         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
902         powerpc/power5+/fpu folders.
903         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
904
905
906 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
907
908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
909
910 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
911
912         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
913         additions to variable.
914         [$(config-machine) = x86_64] (modules-names): Likewise.
915         ($(objpfx)tst-audit3): Remove dependency.
916         ($(objpfx)tst-audit3.out): Likewise.
917         ($(objpfx)tst-audit4): Likewise.
918         ($(objpfx)tst-audit4.out): Likewise.
919         ($(objpfx)tst-audit5): Likewise.
920         ($(objpfx)tst-audit5.out): Likewise.
921         ($(objpfx)tst-audit6): Likewise.
922         ($(objpfx)tst-audit6.out): Likewise.
923         ($(objpfx)tst-audit7): Likewise.
924         ($(objpfx)tst-audit7.out): Likewise.
925         (tst-audit3-ENV): Remove variable.
926         (tst-audit4-ENV): Likewise.
927         (tst-audit5-ENV): Likewise.
928         (tst-audit6-ENV): Likewise.
929         (tst-audit7-ENV): Likewise.
930         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
931         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
932         addition to variable.
933         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
934         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
935         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
936         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
937         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
938         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
939         tst-audit3, tst-audit4 and tst-audit5.
940         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
941         tst-audit6 and tst-audit7.
942         [$(subdir) = elf] (modules-names): Add audit modules for those
943         tests.
944         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
945         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
946         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
947         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
948         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
949         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
950         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
951         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
952         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
953         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
954         [$(subdir) = elf] (tst-audit3-ENV): New variable.
955         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
956         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
957         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
958         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
959         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
960         Likewise.
961         [$(subdir) = elf && $(config-cflags-avx) = yes]
962         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
963         [$(subdir) = elf && $(config-cflags-avx) = yes]
964         (CFLAGS-tst-auditmod4a.c): Likewise.
965         [$(subdir) = elf && $(config-cflags-avx) = yes]
966         (CFLAGS-tst-auditmod4b.c): Likewise.
967         [$(subdir) = elf && $(config-cflags-avx) = yes]
968         (CFLAGS-tst-auditmod6b.c): Likewise.
969         [$(subdir) = elf && $(config-cflags-avx) = yes]
970         (CFLAGS-tst-auditmod6c.c): Likewise.
971         [$(subdir) = elf && $(config-cflags-avx) = yes]
972         (CFLAGS-tst-auditmod7b.c): Likewise.
973         * elf/tst-audit3.c: Move to ...
974         * sysdeps/x86_64/tst-audit3.c: ... here.
975         * elf/tst-audit4.c: Move to ...
976         * sysdeps/x86_64/tst-audit4.c: ... here.
977         * elf/tst-audit5.c: Move to ...
978         * sysdeps/x86_64/tst-audit5.c: ... here.
979         * elf/tst-audit6.c: Move to ...
980         * sysdeps/x86_64/tst-audit6.c: ... here.
981         * elf/tst-audit7.c: Move to ...
982         * sysdeps/x86_64/tst-audit7.c: ... here.
983         * elf/tst-auditmod3a.c: Move to ...
984         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
985         * elf/tst-auditmod3b.c: Move to ...
986         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
987         * elf/tst-auditmod4a.c: Move to ...
988         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
989         * elf/tst-auditmod4b.c: Move to ...
990         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
991         * elf/tst-auditmod5a.c: Move to ...
992         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
993         * elf/tst-auditmod5b.c: Move to ...
994         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
995         * elf/tst-auditmod6a.c: Move to ...
996         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
997         * elf/tst-auditmod6b.c: Move to ...
998         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
999         * elf/tst-auditmod6c.c: Move to ...
1000         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1001         * elf/tst-auditmod7a.c: Move to ...
1002         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1003         * elf/tst-auditmod7b.c: Move to ...
1004         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1005
1006 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
1007
1008         [BZ #15366]
1009         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1010         define unconditionally.
1011         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1012         define unconditionally.
1013         (INT8_C, INT16_C, etc.): Likewise.
1014
1015 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
1016
1017         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1018         __ehdr_start with hidden visibility.
1019
1020         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1021
1022 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
1023
1024         * math/libm-test.inc (cos_test): Use accurate hex constants.
1025         (sincost_test): Likewise.
1026
1027 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
1028
1029         * math/libm-test.inc (catan_test): Add more tests.
1030         (catanh_test): Likewise.
1031
1032         * math/s_catanf.c (__catanf): Use suffixed floating-point
1033         constants.
1034         * math/s_catanhf.c (__catanhf): Likewise.
1035         * math/s_catanhl.c (__catanhl): Likewise.
1036         * math/s_catanl.c (__catanl): Likewise.
1037
1038         [BZ #15394]
1039         * math/s_catan.c (__catan): Calculate imaginary part of result
1040         with log1p not log unless computing log of number close to 0.
1041         * math/s_catanf.c (__catanf): Likewise.
1042         * math/s_catanl.c (__catanl): Likewise.
1043         * math/s_catanh.c (__catanh): Calculate real part of result with
1044         log1p not log unless computing log of number close to 0.
1045         * math/s_catanhf.c (__catanhf): Likewise.
1046         * math/s_catanhl.c (__catanhl): Likewise.
1047         * math/libm-test.inc (catan_test): Add more tests.
1048         (catanh_test): Likewise.
1049         * sysdeps/i386/fpu/libm-test-ulps: Update.
1050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1051
1052 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1053
1054         * benchtests/Makefile: Mention files in which fast and slow
1055         paths of math functions are implemented.
1056
1057 2013-04-23  Roland McGrath  <roland@hack.frob.com>
1058
1059         * sysdeps/posix/timespec_get.c: New file.
1060
1061 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1062
1063         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1064         POWER.
1065         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1066         for POWER.
1067         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1068         powerpc/power5/fpu folders.
1069         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1070         * benchtests/Makefile: Add modf testcase.
1071         * benchtests/bench-modf.c: New file: Benchmark test for mo
1072
1073 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1074
1075         [BZ #14888]
1076         * time/Makefile (tests): Add tst-strptime-whitespace.
1077         * time/strptime_l.c (get_number): Use ISSPACE.
1078         (__strptime_internal): Likewise.
1079         * time/tst-strptime-whitespace.c: New test case.
1080
1081 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
1082
1083         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1084         member.
1085         (_nss_files_init): Set it here.
1086
1087 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
1088
1089         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1090         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1091         unsigned.
1092
1093 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
1094
1095         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1096
1097 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1098
1099         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1100         size just once.
1101
1102 2013-04-21  David S. Miller  <davem@davemloft.net>
1103
1104         * po/ru.po: Update Russion translation from translation project.
1105
1106 2013-04-17  Adam Conrad  <adconrad@0c3.net>
1107
1108         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1109         and setfsgid.
1110
1111 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
1112
1113         * configure.in: Remove i386 configure warning. Remove i386 case.
1114         * configure: Regenerate.
1115         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1116         Add example to error message.
1117         * sysdeps/i386/configure: Regenerate.
1118
1119 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1120
1121         * benchtests/Makefile (bench): Add cos, tan, slowcos and
1122         slowtan.
1123         * benchtests/cos-inputs: New file.
1124         * benchtests/slowcos-inputs: New file.
1125         * benchtests/slowcos.c: New file.
1126         * benchtests/slowtan-inputs: New file.
1127         * benchtests/slowtan.c: New file.
1128         * benchtests/tan-inputs: New file.
1129
1130 2013-04-16  Roland McGrath  <roland@hack.frob.com>
1131
1132         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1133         considered kosher.
1134
1135 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1136
1137         * benchtests/Makefile: Include cppflags-iterator.mk to add
1138         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1139
1140         * Makefile.in (bench-clean): New target.
1141         * benchtests/Makefile (bench-clean): Likewise.
1142
1143 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
1144
1145         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1146
1147 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
1148
1149         * stdio-common/tstdiomisc.c: Fix coding-style violation.
1150
1151 2013-04-15  Andreas Schwab  <schwab@suse.de>
1152
1153         * nscd/grpcache.c (cache_addgr): Properly check for short write.
1154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1155         * nscd/pwdcache.c (cache_addpw): Likewise.
1156         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
1157         more than recsize.
1158
1159 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1160
1161         * benchtests/Makefile (bench): Write all output to
1162         bench-out.tmp together.
1163
1164 2013-04-15  Andreas Schwab  <schwab@suse.de>
1165
1166         * nscd/nscd.c (main): Don't fork again after closing files.
1167
1168 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1169
1170         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1171
1172         * benchtests/Rules (bench-deps): Collect dependencies into a
1173         single variable.  Add Makefile to dependencies.
1174         ($(objpfx)bench-%.c): Depend on bench-deps.
1175
1176 2013-04-12  Roland McGrath  <roland@hack.frob.com>
1177             Xavier Roche  <roche+kml2@exalead.com>
1178
1179         [BZ #15361]
1180         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1181         just that it's a file descriptor.
1182         * manual/llio.texi (Synchronizing AIO Operations): Update description
1183         for EBADF error from aio_fsync.
1184
1185 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1186
1187         * Rules (bench): Move target definition...
1188         * benchtests/Makefile: ... here.
1189
1190 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
1191
1192         * math/libm-test.inc (cos_test): Fix PI/2 test.
1193         (sincos_test): Likewise.
1194         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1195         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1196
1197 2013-04-11  Andreas Schwab  <schwab@suse.de>
1198
1199         [BZ #13988]
1200         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1201         accept exponent character only when digits were seen.
1202         * stdio-common/Makefile (tests): Add bug26.
1203         * stdio-common/bug26.c: New file.
1204
1205         [BZ #14293]
1206         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1207         non-freeable.
1208
1209 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1210
1211         * Makeconfig (rtld-prefix): Define built linker prefix.
1212         * Rules (run-bench): Use it.
1213         * math/Makefile (run-regen-ulps): Likewise.
1214
1215         * Rules (bench): Remove eval.
1216
1217 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1218             Roland McGrath  <roland@hack.frob.com>
1219             Ondrej Bilka  <neleai@seznam.cz>
1220
1221         [BZ #15346]
1222         * time/getdate.c: Include ctype.h and alloca.h.
1223         (__getdate_r): Trim leading and trailing spaces of input.
1224         * time/tst-getdate.c (tests): Add tests with leading and
1225         trailing spaces.
1226
1227 2013-04-08  Roland McGrath  <roland@hack.frob.com>
1228
1229         [BZ #14280]
1230         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1231         when computing value.
1232
1233 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1234
1235         * math/README.libm-test (How can I generate "libm-test-ulps"?):
1236         Use testrun.sh to run libm tests.
1237
1238         [BZ #15309]
1239         * elf/dl-open.c (dl_open_worker): memset all of seen array.
1240
1241 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
1242
1243         [BZ #15264]
1244         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1245
1246 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1247
1248         * Makefile.in (regen-ulps): New target.
1249         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1250         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1251         [ifneq (no,$(PERL)] (regen-ulps): New target.
1252         [ifeq (no,$(PERL)] (regen-ulps): New target.
1253         * math/libm-test.inc (ulps_file_name): Define.
1254         (output_dir): New variable.
1255         (options): Add "output-dir" option.
1256         (parse_opt): Handle 'o' case.
1257         (main): If output_dir is non-NULL use it as a prefix
1258         otherwise use "".
1259         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1260
1261 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1262
1263         [BZ #10060, #10062]
1264         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1265         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1266         fail configure if __sync_val_compare_and_swap is not inlined.
1267         * sysdeps/i386/configure: Regenerate.
1268         * configure.in: Build for i686 when configured for i386.
1269         * configure: Regenerate.
1270         * README: Remove i386 reference.
1271
1272 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1273
1274         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1275         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1276
1277 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1278
1279         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1280         (lmsnanval): New variables.
1281         (F): Add conversion tests.
1282         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1283         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1284
1285         * stdio-common/tstdiomisc.c (F): Properly collect individual
1286         tests' results.
1287
1288         [BZ #14686, #15336]
1289         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1290         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1291         Instead, use input NaN values or generate a qNaN by arithmetic
1292         operation.  Also fix bugs to comply with the standard.
1293         * math/libm-test.inc (remainder_test): Add more tests.
1294
1295         [BZ #15335, #15342]
1296         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1297         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1298         input NaN values or generate a qNaN by arithmetic operation.
1299
1300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1301         unreachable code.
1302
1303         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1304         definitions.
1305
1306 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
1307
1308         [BZ #14478]
1309         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1310         underflowed result.
1311         * math/s_cexpf.c (__cexpf): Likewise.
1312         * math/s_cexpl.c (__cexpl): Likewise.
1313         * math/libm-test.inc (cexp_test): Add more tests.
1314
1315 2013-04-03  Andreas Schwab  <schwab@suse.de>
1316
1317         [BZ #15330]
1318         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1319         order arrays from heap if bigger than alloca cutoff.
1320
1321 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
1322
1323         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1324         (SNAN_TESTS_double): Refer to GCC PR56831.
1325         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1326         GCC PR56828.
1327
1328 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1329
1330         * Rules (bench): Move bench.out after the run is complete.
1331
1332         * Rules (bench): Echo currently running benchmark.
1333
1334         * benchtests/Makefile (bench): Add atan and slowatan.
1335         * benchtests/atan-inputs: New file.
1336         * benchtests/slowatan-inputs: New file.
1337         * benchtests/slowatan.c: New file.
1338
1339         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1340         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1341         its value.
1342
1343         [BZ #15305]
1344         * sysdeps/unix/sysv/linux/kernel-features.h
1345         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1346         __ASSUME_XFS_RESTRICTED_CHOWN.
1347         * sysdeps/unix/sysv/linux/pathconf.c
1348         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1349         Save and restore errno.
1350
1351 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
1352
1353         [BZ #15327]
1354         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1355         arguments using __kernel_casinh.
1356         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1357         arguments using __kernel_casinhf.
1358         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1359         arguments using __kernel_casinhl.
1360         * math/libm-test.inc (cacosh_test): Add more tests.
1361         * sysdeps/i386/fpu/libm-test-ulps: Update.
1362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1363
1364 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1365
1366         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1368
1369         * bench/Makefile (bench): Add sin and slowsin.
1370         * benchtests/sin-inputs: New file.
1371         * benchtests/slowsin-inputs: New file.
1372         * benchtests/slowsin.c: New file.
1373
1374         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1375         (bench): Add slowexp and slowpow.
1376         (exp-ITER): Increase iterations.
1377         (pow-ITER): Likewise.
1378         * benchtests/exp-inputs: Change input.
1379         * benchtests/pow-inputs: Likewise.
1380         * benchtests/slowexp-inputs: New file.
1381         * benchtests/slowexp.c: New file.
1382         * benchtests/slowpow-inputs: New file.
1383         * benchtests/slowpow.c: New file.
1384
1385 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1386
1387         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1388         instructions.
1389         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1390         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1392         * benchtests/Makefile: Add rint benchtest.
1393         * benchtests/rint-inputs: Input for rint benchtest.
1394
1395 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1396
1397         * Versions.def (libm): Add GLIBC_2.18.
1398         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1399         hidden libm prototypes.
1400         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1401         * math/Makefile (libm-calls): Add s_issignaling.
1402         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1403         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
1404         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1405         declaration.
1406         * math/math.h [__USE_GNU] (issignaling): New macro.
1407         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1408         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1409         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1410         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1411         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1412         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1413         * manual/arith.texi (issignaling): New section.
1414         * manual/libm-err-tab.pl (@all_functions): Update comment.
1415         * math/gen-libm-test.pl (parse_args): Apply special handling for
1416         issignaling.
1417         * math/libm-test.inc (print_float, issignaling_test): New
1418         functions.
1419         (check_float_internal): Add issignaling checks.
1420         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1421         default definition.
1422         * sysdeps/powerpc/math-tests.h: New file.
1423         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1424         tests.
1425         * math/test-snan.c (TEST_FUNC): Likewise.
1426
1427 2013-03-30  David S. Miller  <davem@davemloft.net>
1428
1429         * po/de.po: Update from translation team.
1430
1431 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
1432
1433         [BZ #10357]
1434         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1435         imaginary part less than 1.0 and real part less than 0.5
1436         specially.
1437         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1438         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1439         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1440         (cacos_test): Add more tests.
1441         (casin_test): Likewise.
1442         (casinh_test): Likewise.
1443         * sysdeps/i386/fpu/libm-test-ulps: Update.
1444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1445
1446 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1447
1448         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1449         ONE with its value.
1450
1451         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1452         (__pow_mp): Replace ONE and MONE with their values.
1453         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1454         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1455         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1456         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1457         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1458         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1459
1460         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1461
1462         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1463         (__pow_mp): Replace ZERO and MZERO with their values.
1464         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1465         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1466         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1467         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1468         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1469         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1470         (__sqr): Likewise.
1471
1472         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1473
1474         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1475
1476 2013-03-28  Roland McGrath  <roland@hack.frob.com>
1477
1478         * include/stdlib.h [!SHARED] (__call_tls_dtors):
1479         Declare with __attribute__ ((weak)).
1480         * stdlib/exit.c (__libc_atexit) [!SHARED]:
1481         Call __call_tls_dtors only if it's not NULL.
1482
1483 2013-03-28  Roland McGrath  <roland@hack.frob.com>
1484
1485         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1486         didn't do it already, then set _dl_phdr and _dl_phnum based on the
1487         magic __ehdr_start linker symbol if it's defined.
1488         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1489         them up here if it was already done.
1490
1491         * elf/dl-support.c (_dl_phdr): Make pointer to const.
1492         (_dl_aux_init): Use const in cast when setting it.
1493         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1494         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1495         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1496
1497         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1498         Declare them here.
1499         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1500         * csu/libc-tls.c: Nor here.
1501         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1502
1503         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1504         (__libc_message): Never call vsyslog.
1505
1506 2013-03-28  Alan Modra  <amodra@gmail.com>
1507
1508         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1509         Define as empty.
1510         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1511         Likewise.
1512
1513 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1514
1515         [BZ #15214]
1516         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1517         underflow.
1518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1519
1520 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1521
1522         [BZ #15304]
1523         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1524         Don't add gid passed as argument.
1525
1526         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1527
1528 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
1529
1530         [BZ #15307]
1531         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1532         imaginary part between 1.0 and 1.5 and real part less than 0.5
1533         specially.
1534         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1535         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1536         * math/libm-test.inc (cacos_test): Add more tests.
1537         (casin_test): Likewise.
1538         (casinh_test): Likewise.
1539         * sysdeps/i386/fpu/libm-test-ulps: Update.
1540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1541
1542 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1543
1544         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1545         constants.
1546         (norm): Likewise.
1547         (denorm): Likewise.
1548         (__dbl_mp): Likewise.
1549         (add_magnitudes): Likewise.
1550         (sub_magnitudes): Likewise.
1551         (__add): Likewise.
1552         (__sub): Likewise.
1553         (__mul): Likewise.
1554         (__sqr): Likewise.
1555         (__inv): Likewise.
1556         (__dvd): Likewise.
1557
1558         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1559         commented code.
1560         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1561         (__dubcos): Likewise.
1562         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1563         (__ieee754_acos): Likewise.
1564         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1565         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1566         (__exp1): Likewise.
1567         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1569         (log1): Likewise.
1570         (my_log2): Likewise.
1571         (checkint): Likewise.
1572         * sysdeps/ieee754/dbl-64/e_remainder.c
1573         (__ieee754_remainder): Likewise.
1574         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1576         (bsloww): Likewise.
1577         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1578
1579         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1580         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1581         MANTISSA_STORE_T to store computations on mantissa.  Use
1582         macros for rounding and division.
1583         (denorm): Likewise.
1584         (__dbl_mp): Likewise.
1585         (add_magnitudes): Likewise.
1586         (sub_magnitudes): Likewise.
1587         (__mul): Likewise.
1588         (__sqr): Likewise.
1589         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1590         powers of two in terms of TWOPOW macro.
1591         (mp_no): Make type of mantissa as MANTISSA_T.
1592         [!RADIXI]: Define RADIXI.
1593         [!TWO52]: Define TWO52.
1594         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1595
1596 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1597
1598         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1599         llroundl symbol when building for PPC32.
1600
1601 2013-03-24  Mark H Weaver  <mhw@netris.org>
1602
1603         * manual/arith.texi (Normalization Functions): Fix prototypes for
1604         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1605
1606 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1607
1608         [BZ #13889]
1609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1610         high value to check if expl overflow.
1611         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1612         to check for underflow and overflow.
1613         * math/libm-test.inc: Add exp test.
1614
1615 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
1616
1617         [BZ #11120]
1618         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1619         with NOT_IN_libc.
1620
1621 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1622
1623         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1624         symbol.
1625
1626 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1627
1628         * math/gen-libm-test.pl (parse_args, special_functions): Properly
1629         wrap blocks consisting of several statements.
1630
1631         * sysdeps/generic/math-tests.h: New file.
1632         * sysdeps/i386/fpu/math-tests.h: Likewise.
1633         * math/test-snan.c: Include it.
1634         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1635
1636 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1637
1638         [BZ #15285]
1639         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1640         (__ieee754_j0l): Do not improve calculations using cos of twice
1641         input for inputs above LDBL_MAX / 2.0L.
1642         (__ieee754_y0l): Likewise.
1643         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1644         (__ieee754_j1l): Do not improve calculations using cos of twice
1645         input for inputs above LDBL_MAX / 2.0L.
1646         (__ieee754_y1l): Likewise.
1647         * math/libm-test.inc (j0_test): Add another test.
1648         (j1_test): Likewise.
1649         (y0_test): Likewise.
1650         (y1_test): Likewise.
1651         * sysdeps/i386/fpu/libm-test-ulps: Update.
1652
1653 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1654
1655         * Rules ($(objpfx)bench-%.c): Include code from a C source
1656         file.
1657
1658 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1659
1660         [BZ #15287]
1661         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1662         imaginary part 1.0 and real part less than 0.5 specially.
1663         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1664         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1665         * math/libm-test.inc (cacos_test): Add more tests.
1666         (casin_test): Likewise.
1667         (casinh_test): Likewise.
1668         * sysdeps/i386/fpu/libm-test-ulps: Update.
1669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1670
1671 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1672
1673         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1674         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1675
1676 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
1677
1678         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1679         * config.make.in (config-cflags-sse4): Remove variable.
1680         (config-cflags-avx): Likewise.
1681         (config-cflags-sse2avx): Likewise.
1682         (config-cflags-novzeroupper): Likewise.
1683         (config-asflags-i686): Likewise.
1684         (have-mfma4): Likewise.
1685         (have-as-vis3): Likewise.
1686         (MIG): Likewise.
1687         * configure.in (MIG): Do not AC_SUBST.
1688         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1689         (libc_cv_cc_sse4): Do not AC_SUBST.
1690         (libc_cv_cc_avx): Likewise.
1691         (libc_cv_cc_sse2avx): Likewise.
1692         (libc_cv_cc_novzeroupper): Likewise.
1693         (libc_cv_cc_fma4): Likewise.
1694         (libc_cv_as_i686): Likewise.
1695         (libc_cv_sparc_as_vis3): Likewise.
1696         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1697         LIBC_CONFIG_VAR.
1698         (config-asflags-i686): Likewise.
1699         (config-cflags-avx): Likewise.
1700         (config-cflags-sse2avx): Likewise.
1701         (have-mfma4): Likewise.
1702         (config-cflags-novzeroupper): Likewise.
1703         * sysdeps/mach/configure.in (MIG): Likewise.
1704         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1705         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1706         LIBC_CONFIG_VAR.
1707         (config-cflags-avx): Likewise.
1708         (config-cflags-sse2avx): Likewise.
1709         (have-mfma4): Likewise.
1710         (config-cflags-novzeroupper): Likewise.
1711         * configure: Regenerated.
1712         * sysdeps/i386/configure: Likewise.
1713         * sysdeps/mach/configure: Likewise.
1714         * sysdeps/sparc/configure: Likewise.
1715         * sysdeps/x86_64/configure: Likewise.
1716
1717 2013-03-20  Roland McGrath  <roland@hack.frob.com>
1718
1719         [BZ #14812]
1720         * locale/programs/localedef.c (options): Put N_ translation marker
1721         on argument names, not just descriptions.
1722
1723 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1724
1725         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1726
1727 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
1728
1729         [BZ #14176]
1730         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1731
1732 2013-03-19  Roland McGrath  <roland@hack.frob.com>
1733
1734         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1735         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1736         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1737         [!BEFORE_ABORT] (before_abort): New function.
1738         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1739         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1740         (writev_for_fatal): New function.
1741         (WRITEV_FOR_FATAL): New macro; call that.
1742         (backtrace_and_maps): New function.
1743         (BEFORE_ABORT): New macro; call that.
1744         (struct str_list): Type removed.
1745         (__libc_message, __libc_fatal): Functions removed.
1746         Include <sysdeps/posix/libc_fatal.c> instead.
1747
1748 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1749
1750         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1751         constants.
1752         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1753         double constants.
1754
1755 2013-03-19  Andreas Schwab  <schwab@suse.de>
1756
1757         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1758         * sysdeps/gnu/configure: Regenerate.
1759
1760         * configure.in: Substitute libc_cv_rtlddir.
1761         * configure: Regenerate.
1762         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1763         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1764         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1765         * elf/Makefile (install-others, CFLAGS-interp.c)
1766         (ldso_install, common-ldd-rewrite): Likewise.
1767         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1768         $(inst_slibdir)/$(rtld-installed-name).
1769         * scripts/rellns-sh: Add -p option.
1770         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1771         for source.
1772
1773 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1774
1775         * manual/nptl.texi: Renamed to ...
1776         * manual/threads.texi: ... this.
1777         * manual/Makefile (chapters): Update.
1778
1779 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1780
1781         [BZ #14812]
1782         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1783         on argument names, not just descriptions.
1784         * malloc/memusagestat.c (options): Likewise.
1785         * nss/getent.c (options): Likewise.
1786
1787 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1788
1789         [BZ #14812]
1790         * iconv/iconv_prog.c (options): Put N_ translation marker
1791         on argument names, not just descriptions.
1792         * iconv/iconvconfig.c (options): Likewise.
1793
1794 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1795
1796         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1797         implementation which is faster on all x86_64 architectures.
1798         Tested on AMD, Intel Nehalem, SNB, IVB.
1799         * sysdeps/x86_64/strnlen.S: Likewise.
1800
1801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1802         Remove all multiarch strlen and strnlen versions.
1803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1804         Remove strlen and strnlen related parts.
1805
1806         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1807         Inline strlen part.
1808         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1809
1810         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1811         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1812         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1813         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1814         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1815         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1816
1817 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1818
1819         * manual/memory.texi (Malloc Tunable Parameters):
1820         Sort parameters alphabetically. Add comments for missing entries.
1821
1822 2013-03-17  David S. Miller  <davem@davemloft.net>
1823
1824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1825
1826 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1827
1828         [BZ #15283]
1829         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1830         for arguments at most half maximum finite value.
1831         * math/libm-test.inc (j0_test): Add more tests.
1832         (j1_test): Likewise.
1833         (y0_test): Likewise.
1834         (y1_test): Likewise.
1835         * sysdeps/i386/fpu/libm-test-ulps: Update.
1836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1837
1838         [BZ #14155]
1839         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1840         1 / x and functions P and Q for arguments above 0x1p256L.
1841         (__ieee754_y0l): Likewise.
1842         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1843         (__ieee754_y1l): Likewise.
1844         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1845         (j1_test): Likewise.
1846         (y0_test): Likewise.
1847         (y1_test): Likewise.
1848
1849 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1850
1851         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1852         variable.
1853
1854 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1855
1856         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1857         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1858         zero since it's initialized to EXEC_PAGESIZE.
1859
1860         * sysdeps/unix/sysv/linux/ldsodefs.h
1861         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1862         * sysdeps/generic/ldsodefs.h: ... here.
1863
1864 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1865
1866         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1867
1868         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1869         math/test-snan.c.
1870         * math/test-snan.c: Renamed from
1871         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1872         * math/Makefile (tests): Add test-snan.
1873         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1874         test-powerpc-snan.
1875
1876         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1877         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1878         functions.
1879         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1880         __builtin_nan family of functions.
1881         * math/libm-test.inc (initialize): Initialize qnan_value with
1882         __builtin_nan family of functions.
1883         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1884         Remove variables.
1885         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1886         Remove functions.
1887         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1888         storage class.  Initialize qNaN_var and sNaN_var with
1889         __builtin_nan and __builtin_nans families of functions,
1890         respectively.
1891
1892         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1893         (sqrt_test): Remove duplicate test with qNaN input.
1894         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1895         (round_test, signbit_test, significand_test): Note missing +/-Inf
1896         as well as qNaN tests.
1897
1898         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1899         qNaN_var.  Fix a few strings, too.
1900         * math/libm-test.inc (nan_value): Rename to qnan_value.
1901         * math/gen-libm-test.pl (%beautify): Adjust to that.
1902         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1903         * math/test-misc.c (main): Likewise.
1904         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1905         to __qnan_bytes, and __qnan_union, respectively.
1906         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1907         Likewise.
1908         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1909         and lqnanval, respectively.
1910         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1911         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1912         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1913         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1914
1915         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1916         * math/test-misc.c (main) [__x86_64__]: Enable test for long
1917         doubles.
1918
1919         * math/test-misc.c (main): Fix copy'n'pastos.
1920         * misc/tst-efgcvt.c (special): Likewise.
1921
1922         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1923         Remove declarations.
1924
1925 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1926
1927         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1928         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1929         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1930         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1931
1932 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1933
1934         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1935         macro to return vdso values correctly in IFUNC implementations.
1936         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1937         Optimization by using IFUNC.
1938
1939 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1940             Richard Henderson  <rth@redhat.com>
1941             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1942
1943         * Makefile.in (bench): New target.
1944         * NEWS: Mention the benchmark framework.
1945         * Rules (bench): Likewise.
1946         (binaries-bench): Generate binaries for functions to
1947         benchmark.
1948         * benchtests/Makefile: New makefile for benchmark tests.
1949         * benchtests/bench-skeleton.c: New skeleton file for benchmark
1950         programs.
1951         * benchtests/exp-inputs: New input file for EXP function.
1952         * benchtests/pow-inputs: New input file for POW function.
1953         * scripts/bench.pl: New script to generate source files for
1954         benchmark programs.
1955
1956 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1957
1958         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1959         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1960         computations on mantissa.  Use macros for rounding and
1961         division.
1962         (denorm): Likewise.
1963         (__dbl_mp): Likewise.
1964         (add_magnitudes): Likewise.
1965         (sub_magnitudes): Likewise.
1966         (__mul): Likewise.
1967         (__sqr): Likewise.
1968         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1969         powers of two in terms of TWOPOW macro.
1970         (mp_no): Make type of mantissa as MANTISSA_T.
1971         [!RADIXI]: Define RADIXI.
1972         [!TWO52]: Define TWO52.
1973         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1974
1975         * manual/nptl.texi (cindex): Modify threads to pthreads.
1976
1977 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
1978
1979         * sysdeps/x86_64/preconfigure: Regenerated.
1980
1981 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
1982
1983         [BZ #14155]
1984         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1985         0x1p28 and above.
1986         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1987         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1988         0x1p28 and above.
1989         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1990         * math/libm-test.inc (j0_test): Do not allow one spurious
1991         underflow exception.
1992         (y1_test): Likewise.
1993
1994 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1995
1996         * manual/Makefile (chapters): Add nptl.
1997         * manual/debug.texi (Debugging Support): Add link to Threads
1998         chapter.
1999         * manual/nptl.texi: New file.
2000
2001         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2002
2003 2013-03-14  Petr Baudis  <pasky@ucw.cz>
2004
2005         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2006         for non-NULL pointer before the memory validity test. Pointed
2007         out by Holger Brunck <holger.brunck@keymile.com>.
2008
2009 2013-03-13  Andreas Schwab  <schwab@suse.de>
2010
2011         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2012         instead of .os.
2013
2014 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
2015
2016         * timezone/zic.c: Update from tzcode 2013b.
2017
2018 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
2019
2020         * manual/install.texi (Configuring and compiling):
2021         Mention i686 and i586.
2022         * INSTALL: Regenerate.
2023
2024 2013-03-12  Roland McGrath  <roland@hack.frob.com>
2025
2026         * sysdeps/init_array/elf-init.c: New file.
2027         * csu/elf-init.c
2028         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2029         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2030
2031         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2032         __gmon_start__ as global, but as static with a .preinit_array pointer.
2033         * sysdeps/init_array/gmon-start.c: New file.  Use that.
2034         * sysdeps/init_array/crti.S: New file, empty except for comments.
2035         * sysdeps/init_array/crtn.S: Likewise.
2036
2037 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
2038
2039         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2040         definining bcopy.
2041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2042         Remove Prefer_SSE_for_memop.
2043         * sysdeps/x86_64/multiarch/init-arch.h: Remove
2044         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2045         HAS_PREFER_SSE_FOR_MEMOP.
2046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2047         memset-x86-64.
2048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2049         Remove bzero, memset ifunc support.
2050         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2051         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2052         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2053         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2054
2055 2013-03-11  Andreas Schwab  <schwab@suse.de>
2056
2057         [BZ #15234]
2058         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2059         by SHLIB_COMPAT.
2060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2061         (GLIBC_2.16): Remove pthread_atfork.
2062
2063 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2064
2065         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2066         (ptestcases.h): Likewise.
2067
2068 2013-03-08  Roland McGrath  <roland@hack.frob.com>
2069
2070         * Makeconfig ($(common-objpfx)config.status): Depend on
2071         sysdeps/*/preconfigure{,.in} too.
2072
2073 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
2074
2075         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2076         (__free_hook): Use void * instead of __malloc_ptr_t.
2077         (__malloc_hook): Likewise.
2078         (__realloc_hook): Likewise.
2079         (__memalign_hook): Likewise.
2080         (__after_morecore_hook): Likewise.
2081         * malloc/arena.c (save_malloc_hook): Likewise.
2082         (save_free_hook): Likewise.
2083         * malloc/hooks.c (malloc_hook_ini): Likewise.
2084         (realloc_hook_ini): Likewise.
2085         (memalign_hook_ini): Likewise.
2086         * malloc/malloc.c (malloc_hook_ini): Likewise.
2087         (realloc_hook_ini): Likewise.
2088         (memalign_hook_ini): Likewise.
2089         (__free_hook): Likewise.
2090         (__malloc_hook): Likewise.
2091         (__realloc_hook): Likewise.
2092         (__memalign_hook): Likewise.
2093         (__libc_malloc): Likewise.
2094         (__libc_free): Likewise.
2095         (__libc_realloc): Likewise.
2096         (__libc_memalign): Likewise.
2097         (__libc_valloc): Likewise.
2098         (__libc_pvalloc): Likewise.
2099         (__libc_calloc): Likewise.
2100         (__posix_memalign): Likewise.
2101         * malloc/morecore.c (__sbrk): Likewise.
2102         (__default_morecore): Likewise.
2103
2104         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2105
2106         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2107         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2108         __malloc_ptrdiff_t.
2109
2110         * malloc/malloc.h (__malloc_size_t): Remove macro.
2111         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2112         __malloc_size_t.
2113         (old_memalign_hook): Likewise.
2114         (old_realloc_hook): Likewise.
2115         (struct hdr): Likewise.
2116         (flood): Likewise.
2117         (mallochook): Likewise.
2118         (memalignhook): Likewise.
2119         (reallochook): Likewise.
2120         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2121         (tr_old_realloc_hook): Likewise.
2122         (tr_old_memalign_hook): Likewise.
2123         (tr_mallochook): Likewise.
2124         (tr_reallochook): Likewise.
2125         (tr_memalignhook): Likewise.
2126
2127 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2128
2129         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2130         default_ldbl_pack and using as default implementation.
2131         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2132         implementation.
2133         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2134         redundant definition.
2135         (ldbl_insert_mantissa): Likewise.
2136         (ldbl_canonicalize): Likewise.
2137         (ldbl_nearbyint): Likewise.
2138         (ldbl_pack): Rename to ldbl_pack_ppc.
2139         (ldbl_unpack): Rename to ldbl_unpack_ppc.
2140         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2141         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2142
2143 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2144
2145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2146         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2147         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2148         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2150         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2151         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2152         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2153
2154 2013-03-07  Andreas Jaeger  <aj@suse.de>
2155
2156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2157         bits/mman-linux.h.
2158
2159 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
2160
2161         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2162         Include mpa.h and declare __MPEXP.
2163         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2165         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2166         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2167         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2168         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2169         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2170
2171         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2172         (__slowpow): Use long double EXPL and LOGL functions to
2173         compute POW.
2174         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2175         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2176         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2177         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2178         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2179         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2180
2181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2182         intermediate variable to calculate exponent.
2183         (__sqr): Likewise.
2184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2185         Likewise.
2186         (__sqr): Likewise.
2187
2188         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2189         [!NO__SQR]: Define __sqr.
2190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2191         and NO__SQR.  Remove all code except __mul and __sqr.  Include
2192         sysdeps/ieee754/dbl-64/mpa.c.
2193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2194
2195         [BZ #12723]
2196         * posix/Makefile (tests): Add tst-pathconf.
2197         * posix/tst-pathconf.c: New test case.
2198         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2199         _PC_PIPE_BUF.
2200         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2201
2202 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
2203
2204         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2205
2206 2013-03-06  Andreas Jaeger  <aj@suse.de>
2207
2208         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2209         definition via __MAP_ANONYMOUS.
2210
2211         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2212         it's not part of Linux headers.
2213
2214         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2215         (MAP_HUGE_MASK): Define.
2216
2217         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2218         Define.
2219         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2220         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2221         Define.
2222         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2223         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2224         Define.
2225         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2226         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2227         Define.
2228         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2229
2230         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2231         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2232         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2233         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2234         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2235         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2236
2237         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2238         Handle f2fs.
2239
2240         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2241         Handle f2fs and efivarfs.
2242
2243         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2244         f2fs.
2245
2246         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2247         (EFIVARFS_MAGIC): Add.
2248         (F2FS_LINK_MAX): Add.
2249
2250 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2251
2252         * stdio-common/vfprintf.c: Replace __builtin_expect with
2253         __glibc_unlikely.
2254
2255 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
2256
2257         [BZ #13550]
2258         * sysdeps/generic/bp-sym.h: Remove file.
2259         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2260         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2261         <bp-sym.h> and <bp-asm.h>.
2262         (__longjmp): Don't use BP_SYM.
2263         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2264         and <bp-asm.h>.
2265         (memcpy): Don't use BP_SYM.
2266         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2267         <bp-sym.h> and <bp-asm.h>.
2268         (memcpy): Don't use BP_SYM.
2269         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2270         <bp-asm.h>.
2271         (memcpy): Don't use BP_SYM.
2272         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2273         <bp-asm.h>.
2274         (memset): Don't use BP_SYM.
2275         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2276         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2277         (__bzero): Don't use BP_SYM.
2278         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2279         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2280         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2281         <bp-sym.h> and <bp-asm.h>.
2282         (memcmp): Don't use BP_SYM.  Remove comment about bounded
2283         pointers.
2284         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2285         <bp-sym.h> and <bp-asm.h>.
2286         (memcpy): Don't use BP_SYM.
2287         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2288         <bp-sym.h> and <bp-asm.h>.
2289         (memset): Don't use BP_SYM.
2290         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2291         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2292         (__bzero): Don't use BP_SYM.
2293         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2294         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2295         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2296         <bp-sym.h> and <bp-asm.h>.
2297         (strncmp): Don't use BP_SYM.  Remove comment about bounded
2298         pointers.
2299         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2300         <bp-sym.h> and <bp-asm.h>.
2301         (memcpy): Don't use BP_SYM.
2302         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2303         <bp-sym.h> and <bp-asm.h>.
2304         (memset): Don't use BP_SYM.
2305         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2306         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2307         (__bzero): Don't use BP_SYM.
2308         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2309         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2310         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2311         <bp-sym.h> and <bp-asm.h>.
2312         (__memchr): Don't use BP_SYM.
2313         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2314         <bp-sym.h> and <bp-asm.h>.
2315         (memcmp): Don't use BP_SYM.  Remove comment about bounded
2316         pointers.
2317         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2318         <bp-sym.h> and <bp-asm.h>.
2319         (memcpy): Don't use BP_SYM.
2320         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2321         <bp-sym.h> and <bp-asm.h>.
2322         (__mempcpy): Don't use BP_SYM.
2323         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2324         <bp-sym.h> and <bp-asm.h>.
2325         (__memrchr): Don't use BP_SYM.
2326         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2327         <bp-sym.h> and <bp-asm.h>.
2328         (memset): Don't use BP_SYM.
2329         (__bzero): Likewise.
2330         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2331         <bp-sym.h> and <bp-asm.h>.
2332         (__rawmemchr): Don't use BP_SYM.
2333         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2334         <bp-sym.h> and <bp-asm.h>.
2335         (__STRCMP): Don't use BP_SYM.
2336         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2337         <bp-sym.h> and <bp-asm.h>.
2338         (strchr): Don't use BP_SYM.
2339         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2340         <bp-sym.h> and <bp-asm.h>.
2341         (__strchrnul): Don't use BP_SYM.
2342         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2343         <bp-sym.h> and <bp-asm.h>.
2344         (strlen): Don't use BP_SYM.
2345         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2346         <bp-sym.h> and <bp-asm.h>.
2347         (strncmp): Don't use BP_SYM.  Remove comment about bounded
2348         pointers.
2349         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2350         <bp-sym.h> and <bp-asm.h>.
2351         (__strnlen): Don't use BP_SYM.
2352         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2353         <bp-sym.h> and <bp-asm.h>.
2354         (__GI__setjmp): Don't use BP_SYM.
2355         (_setjmp): Likewise.
2356         (__sigsetjmp): Likewise.
2357         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2358         (L(start_addresses)): Don't use BP_SYM.
2359         (_start): Likewise.
2360         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2361         <bp-asm.h>.
2362         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2363         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2364         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2365         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2366         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2367         <bp-asm.h>.
2368         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2369         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
2370         about bounded pointers.
2371         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2372         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2373         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2374         <bp-asm.h>.
2375         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
2376         about bounded pointers.  Remove GKM FIXME comments.
2377         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2378         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2379         <bp-asm.h>.
2380         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2381         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
2382         Remove GKM FIXME comments.
2383         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2384         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2385         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2386         <bp-asm.h>.
2387         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
2388         about bounded pointers.  Remove GKM FIXME comment.
2389         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2390         and <bp-asm.h>.
2391         (strncmp): Don't use BP_SYM.  Remove comment about bounded
2392         pointers.
2393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2394         <bp-sym.h> and <bp-asm.h>.
2395         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2397         <bp-sym.h> and <bp-asm.h>.
2398         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
2399         comment.
2400
2401 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2402
2403         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2404         call free(NULL).
2405
2406 2013-03-05  David S. Miller  <davem@davemloft.net>
2407
2408         * po/es.po: Update from translation team.
2409
2410 2013-03-05  Andreas Jaeger  <aj@suse.de>
2411
2412         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2413         <bits/mman-linux.h>.
2414         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2415         is fine.
2416         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2417         <bits/mman-linux.h> to end of file.
2418         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2419         is fine.
2420         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2421         <bits/mman-linux.h> to end of file.
2422         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2423         is fine.
2424         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2425         <bits/mman-linux.h> to end of file.
2426
2427         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2428         (MCL_CURRENT, MCL_FUTURE): Define here.
2429
2430 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2431
2432         [BZ #15232]
2433         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2434         attribute_hidden.
2435         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2436
2437 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2438
2439         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2440         fourth parameter needed for rt_sigprocmask syscall.
2441         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2442         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2443         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2444         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2445         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2446         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2447
2448 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
2449
2450         [BZ #13550]
2451         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2452         comment about bounded pointers.
2453         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2454         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2455
2456 2013-03-04  Andreas Jaeger  <aj@suse.de>
2457
2458         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2459         common definitions.
2460
2461         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2462         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2463         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2464         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2465         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2466         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2467
2468 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2469
2470         [BZ #15055]
2471         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2472         __ieee754_sqrl instead of __sqrl.
2473
2474 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
2475
2476         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2477         * sysdeps/powerpc/fpu_control.h: ... here.
2478         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2479         * sysdeps/powerpc/bits/fenvinline.h: ... here.
2480         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2481         * sysdeps/powerpc/bits/mathinline.h: ... here.
2482
2483 2013-03-01  Roland McGrath  <roland@hack.frob.com>
2484
2485         * elf/dl-hwcaps.c (_dl_important_hwcaps):
2486         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2487         to just [NEED_DL_SYSINFO_DSO].
2488         * elf/dl-support.c: Likewise.
2489         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2490         * elf/rtld.c (dl_main): Likewise.
2491         * elf/setup-vdso.h (setup_vdso): Likewise.
2492         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2493         * sysdeps/unix/sysv/linux/dl-sysdep.c
2494         (_dl_discover_osversion): Likewise.
2495
2496 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
2497
2498         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2499         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2500
2501 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2502
2503         * NEWS: Mention libm performance improvements and non-x86 PI
2504         futex support.
2505
2506         * csu/libc-start.c (__pthread_initialize_minimal): Change
2507         function arguments.
2508         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2509
2510 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
2511
2512         [BZ #13550]
2513         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2514         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2515         <bp-sym.h> and <bp-asm.h>.
2516         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2517         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2518         and <bp-asm.h>.
2519         (memcpy): Don't use BP_SYM.
2520         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2521         <bp-asm.h>.
2522         (__mpn_add_n): Don't use BP_SYM.
2523         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2524         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2525         and <bp-asm.h>.
2526         (__mpn_addmul_1): Don't use BP_SYM.
2527         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2528         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2529         <bp-sym.h>.
2530         (_setjmp): Don't use BP_SYM.
2531         (__novmx_setjmp): Likewise.
2532         (__GI__setjmp): Likewise.
2533         (__vmx_setjmp): Likewise.
2534         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2535         <bp-sym.h>.
2536         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2537         (__bzero): Don't use BP_SYM.
2538         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2539         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2540         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2541         <bp-sym.h> and <bp-asm.h>.
2542         (memcpy): Don't use BP_SYM.
2543         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2544         <bp-sym.h> and <bp-asm.h>.
2545         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2546         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2547         <bp-sym.h> and <bp-asm.h>.
2548         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2549         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2550         <bp-asm.h>.
2551         (__mpn_lshift): Don't use BP_SYM.
2552         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2553         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2554         <bp-asm.h>.
2555         (memset): Don't use BP_SYM.
2556         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2557         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2558         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2559         <bp-asm.h>.
2560         (__mpn_mul_1): Don't use BP_SYM.
2561         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2562         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2563         <bp-sym.h> and <bp-asm.h>.
2564         (memcmp): Don't use BP_SYM.
2565         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2566         <bp-sym.h> and <bp-asm.h>.
2567         (memcpy): Don't use BP_SYM.
2568         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2569         <bp-sym.h> and <bp-asm.h>.
2570         (memset): Don't use BP_SYM.
2571         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2572         <bp-sym.h> and <bp-asm.h>.
2573         (strncmp): Don't use BP_SYM.
2574         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2575         <bp-sym.h> and <bp-asm.h>.
2576         (memcpy): Don't use BP_SYM.
2577         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2578         <bp-sym.h> and <bp-asm.h>.
2579         (memset): Don't use BP_SYM.
2580         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2581         <bp-sym.h> and <bp-asm.h>.
2582         (__memchr): Don't use BP_SYM.
2583         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2584         <bp-sym.h> and <bp-asm.h>.
2585         (memcmp): Don't use BP_SYM.
2586         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2587         <bp-sym.h> and <bp-asm.h>.
2588         (memcpy): Don't use BP_SYM.
2589         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2590         <bp-sym.h> and <bp-asm.h>.
2591         (__mempcpy): Don't use BP_SYM.
2592         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2593         <bp-sym.h> and <bp-asm.h>.
2594         (__memrchr): Don't use BP_SYM.
2595         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2596         <bp-sym.h> and <bp-asm.h>.
2597         (memset): Don't use BP_SYM.
2598         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2599         <bp-sym.h> and <bp-asm.h>.
2600         (__rawmemchr): Don't use BP_SYM.
2601         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2602         <bp-sym.h> and <bp-asm.h>.
2603         (__STRCMP): Don't use BP_SYM.
2604         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2605         <bp-sym.h> and <bp-asm.h>.
2606         (strchr): Don't use BP_SYM.
2607         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2608         <bp-sym.h> and <bp-asm.h>.
2609         (__strchrnul): Don't use BP_SYM.
2610         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2611         <bp-sym.h> and <bp-asm.h>.
2612         (strlen): Don't use BP_SYM.
2613         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2614         <bp-sym.h> and <bp-asm.h>.
2615         (strncmp): Don't use BP_SYM.
2616         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2617         <bp-sym.h> and <bp-asm.h>.
2618         (__strnlen): Don't use BP_SYM.
2619         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2620         <bp-asm.h>.
2621         (__mpn_rshift): Don't use BP_SYM.
2622         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2623         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2624         <bp-sym.h> and <bp-asm.h>.
2625         (__sigsetjmp): Don't use BP_SYM.
2626         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2627         (L(start_addresses)): Don't use BP_SYM.
2628         (_start): Likewise.
2629         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2630         <bp-asm.h>.
2631         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2632         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2633         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2634         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2635         <bp-asm.h>.
2636         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2637         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2638         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2639         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2640         <bp-asm.h>.
2641         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2642         comments.
2643         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2644         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2645         <bp-asm.h>.
2646         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
2647         FIXME comments.
2648         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2649         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2650         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2651         <bp-asm.h>.
2652         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2653         comment.
2654         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2655         and <bp-asm.h>.
2656         (strncmp): Don't use BP_SYM,
2657         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2658         <bp-asm.h>.
2659         (__mpn_sub_n): Don't use BP_SYM.
2660         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2661         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2662         and <bp-asm.h>.
2663         (__mpn_submul_1): Don't use BP_SYM.
2664         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2666         <bp-sym.h> and <bp-asm.h>.
2667         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2669         <bp-sym.h> and <bp-asm.h>.
2670         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
2671         comment.
2672
2673 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2674
2675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2676         Use ZK to minimize writes to Z.
2677         (sub_magnitudes): Simplify code a bit.
2678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2679         Use ZK to minimize writes to Z.
2680         (sub_magnitudes): Simplify code a bit.
2681
2682 2013-02-27  Roland McGrath  <roland@hack.frob.com>
2683
2684         * csu/gmon-start.c: Add special exception to license text.
2685
2686 2013-02-27  Richard Henderson  <rth@redhat.com>
2687
2688         * scripts/config.guess: Update from config.git.
2689         * scripts/config.sub: Likewise.
2690
2691 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2692
2693         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2694
2695         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2696
2697         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2698
2699         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2700
2701         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2702
2703 2013-02-26  Roland McGrath  <roland@hack.frob.com>
2704
2705         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2706         [$(build-shared = yes].
2707
2708 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2709
2710         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2711         (__mul): Reduce iterations for calculating mantissa.
2712
2713         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2714         MPTWO.
2715         (__mpranred): Likewise.
2716
2717         [BZ #15160]
2718         * malloc/memusagestat.c (main): Draw graphs for heap and stack
2719         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2720
2721 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
2722
2723         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2724         Define __attribute__.
2725
2726 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2727
2728         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2729         unused.
2730         * posix/regex_internal.h (__attribute): Remove.
2731         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2732         (re_string_context_at): Likewise.
2733         (bitset_not): Use __attribute__ and mark function as possibly
2734         unused.
2735         (bitset_merge): Likewise.
2736         (bitset_mask): Likewise.
2737         (re_string_char_size_at): Likewise.
2738         (re_string_wchar_at): Likewise.
2739         (re_string_elem_size_at): Likewise.
2740
2741 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2742
2743         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2744         code.
2745         (cc32): Likewise.
2746
2747         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2748         (__acr): Likewise.
2749         (__cpy): Likewise.
2750         (norm): Likewise.
2751         (denorm): Likewise.
2752         (__dbl_mp): Likewise.
2753         (add_magnitudes): Likewise.
2754         (sub_magnitudes): Likewise.
2755         (__mul): Likewise.
2756         (__inv): Likewise.
2757
2758         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2759         style.
2760
2761         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2762         style.
2763
2764         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2765         code.
2766
2767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2768         up changes with default code.
2769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2770         Likewise.
2771
2772 2013-02-24  Allan McRae  <allan@archlinux.org>
2773
2774         * manual/socket.texi (The Internet Namespace): Order menu items
2775         to match that in the file.
2776
2777         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2778         node listing of the info page menu.
2779
2780 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2781
2782         [BZ #13550]
2783         * sysdeps/i386/bp-asm.h: Remove file.
2784         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2785         (PARMS): Do not use macros from bp-asm.h.
2786         (S1): Likewise.
2787         (S2): Likewise.
2788         (SIZE): Likewise.
2789         (__mpn_add_n): Do not use BP_SYM
2790         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2791         "bp-asm.h".
2792         (PARMS): Do not use macros from bp-asm.h.
2793         (S1): Likewise.
2794         (SIZE): Likewise.
2795         (__mpn_addmul_1): Do not use BP_SYM
2796         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2797         "bp-asm.h".
2798         (PARMS): Do not use macros from bp-asm.h.
2799         (SIGMSK): Likewise.
2800         (_setjmp): Likewise.  Do not use BP_SYM.
2801         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2802         "bp-asm.h".
2803         (PARMS): Do not use macros from bp-asm.h.
2804         (SIGMSK): Likewise.
2805         (setjmp): Likewise.  Do not use BP_SYM.
2806         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2807         "bp-asm.h".
2808         (PARMS): Do not use macros from bp-asm.h.
2809         (__frexp): Do not use BP_SYM.
2810         (frexp): Likewise.
2811         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2812         "bp-asm.h".
2813         (PARMS): Do not use macros from bp-asm.h.
2814         (__frexpf): Do not use BP_SYM.
2815         (frexpf): Likewise.
2816         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2817         "bp-asm.h".
2818         (PARMS): Do not use macros from bp-asm.h.
2819         (__frexpl): Do not use BP_SYM.
2820         (frexpl): Likewise.
2821         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2822         "bp-asm.h".
2823         (PARMS): Do not use macros from bp-asm.h.
2824         (__remquo): Do not use BP_SYM.
2825         (remquo): Likewise.
2826         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2827         "bp-asm.h".
2828         (PARMS): Do not use macros from bp-asm.h.
2829         (__remquof): Do not use BP_SYM.
2830         (remquof): Likewise.
2831         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2832         "bp-asm.h".
2833         (PARMS): Do not use macros from bp-asm.h.
2834         (__remquol): Do not use BP_SYM.
2835         (remquol): Likewise.
2836         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2837         "bp-asm.h".
2838         (PARMS): Do not use macros from bp-asm.h.
2839         (DEST): Likewise.
2840         (SRC): Likewise.
2841         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2842         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2843         "bp-asm.h".
2844         (PARMS): Do not use macros from bp-asm.h.
2845         (strlen): Do not use BP_SYM.
2846         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2847         "bp-asm.h".
2848         (PARMS): Do not use macros from bp-asm.h.
2849         (S1): Likewise.
2850         (S2): Likewise.
2851         (SIZE): Likewise.
2852         (__mpn_add_n): Do not use BP_SYM.
2853         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2854         "bp-asm.h".
2855         (PARMS): Do not use macros from bp-asm.h.
2856         (S1): Likewise.
2857         (SIZE): Likewise.
2858         (__mpn_addmul_1): Do not use BP_SYM.
2859         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2860         weak_alias.
2861         (bzero): Likewise.
2862         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2863         "bp-asm.h".
2864         (PARMS): Do not use macros from bp-asm.h.
2865         (S): Likewise.
2866         (SIZE): Likewise.
2867         (__mpn_lshift): Do not use BP_SYM.
2868         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2869         "bp-asm.h".
2870         (PARMS): Do not use macros from bp-asm.h.
2871         (DEST): Likewise.
2872         (SRC): Likewise.
2873         (LEN): Likewise.
2874         (memcpy): Likewise.  Do not use BP_SYM.
2875         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2876         libc_hidden_def and weak_alias.
2877         (mempcpy): Do not use BP_SYM in weak_alias.
2878         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2879         "bp-asm.h".
2880         (PARMS): Do not use macros from bp-asm.h.
2881         (DEST): Likewise.
2882         (LEN): Likewise.
2883         [!BZERO_P] (CHR): Likewise.
2884         (memset): Likewise.  Do not use BP_SYM.
2885         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2886         "bp-asm.h".
2887         (PARMS): Do not use macros from bp-asm.h.
2888         (S1): Likewise.
2889         (SIZE): Likewise.
2890         (__mpn_mul_1): Do not use BP_SYM.
2891         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2892         "bp-asm.h".
2893         (PARMS): Do not use macros from bp-asm.h.
2894         (S): Likewise.
2895         (SIZE): Likewise.
2896         (__mpn_rshift): Do not use BP_SYM.
2897         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2898         "bp-asm.h".
2899         (PARMS): Do not use macros from bp-asm.h.
2900         (STR): Likewise.
2901         (CHR): Likewise.
2902         (strchr): Likewise.  Do not use BP_SYM.
2903         (index): Do not use BP_SYM in weak_alias.
2904         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2905         "bp-asm.h".
2906         (PARMS): Do not use macros from bp-asm.h.
2907         (DEST): Likewise.
2908         (SRC): Likewise.
2909         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2910         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2911         "bp-asm.h".
2912         (PARMS): Do not use macros from bp-asm.h.
2913         (strlen): Do not use BP_SYM.
2914         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2915         "bp-asm.h".
2916         (PARMS): Do not use macros from bp-asm.h.
2917         (S1): Likewise.
2918         (S2): Likewise.
2919         (SIZE): Likewise.
2920         (__mpn_sub_n): Do not use BP_SYM.
2921         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2922         "bp-asm.h".
2923         (PARMS): Do not use macros from bp-asm.h.
2924         (S1): Likewise.
2925         (SIZE): Likewise.
2926         (__mpn_submul_1): Do not use BP_SYM.
2927         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2928         "bp-asm.h".
2929         (PARMS): Do not use macros from bp-asm.h.
2930         (S1): Likewise.
2931         (S2): Likewise.
2932         (SIZE): Likewise.
2933         (__mpn_add_n): Do not use BP_SYM.
2934         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2935         weak_alias.
2936         (bzero): Likewise.
2937         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2938         "bp-asm.h".
2939         (PARMS): Do not use macros from bp-asm.h.
2940         (BLK2): Likewise.
2941         (LEN): Likewise.
2942         (memcmp): Do not use BP_SYM.
2943         (bcmp): Do not use BP_SYM in weak_alias.
2944         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2945         "bp-asm.h".
2946         (PARMS): Do not use macros from bp-asm.h.
2947         (DEST): Likewise.
2948         (SRC): Likewise.
2949         (LEN): Likewise.
2950         (memcpy): Likewise.  Do not use BP_SYM.
2951         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2952         "bp-asm.h".
2953         (PARMS): Do not use macros from bp-asm.h.
2954         (DEST): Likewise.
2955         (SRC): Likewise.
2956         (LEN): Likewise.
2957         (memmove): Likewise.  Do not use BP_SYM.
2958         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2959         "bp-asm.h".
2960         (PARMS): Do not use macros from bp-asm.h.
2961         (DEST): Likewise.
2962         (SRC): Likewise.
2963         (LEN): Likewise.
2964         (__mempcpy): Likewise.  Do not use BP_SYM.
2965         (mempcpy): Do not use BP_SYM in weak_alias.
2966         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2967         "bp-asm.h".
2968         (PARMS): Do not use macros from bp-asm.h.
2969         (DEST): Likewise.
2970         (LEN): Likewise.
2971         [!BZERO_P] (CHR): Likewise.
2972         (memset): Likewise.  Do not use BP_SYM.
2973         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2974         "bp-asm.h".
2975         (PARMS): Do not use macros from bp-asm.h.
2976         (STR2): Likewise.
2977         (strcmp): Do not use BP_SYM.
2978         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2979         "bp-asm.h".
2980         (PARMS): Do not use macros from bp-asm.h.
2981         (STR): Likewise.
2982         (DELIM): Likewise.
2983         [USE_AS_STRTOK_R] (SAVE): Likewise.
2984         (FUNCTION): Likewise.  Do not use BP_SYM.
2985         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2986         aliases.
2987         (strtok_r): Likewise.
2988         (__GI___strtok_r): Likewise.
2989         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2990         (PARMS): Do not use macros from bp-asm.h.
2991         (S): Likewise.
2992         (SIZE): Likewise.
2993         (__mpn_lshift): Do not use BP_SYM.
2994         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2995         (PARMS): Do not use macros from bp-asm.h.
2996         (STR): Likewise.
2997         (CHR): Likewise.
2998         (__memchr): Do not use BP_SYM.
2999         (memchr): Do not use BP_SYM in weak_alias.
3000         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3001         (PARMS): Do not use macros from bp-asm.h.
3002         (BLK2): Likewise.
3003         (LEN): Likewise.
3004         (memcmp): Do not use BP_SYM.
3005         (bcmp): Do not use BP_SYM in weak_alias.
3006         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3007         (PARMS): Do not use macros from bp-asm.h.
3008         (S1): Likewise.
3009         (SIZE): Likewise.
3010         (__mpn_mul_1): Do not use BP_SYM.
3011         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3012         "bp-asm.h".
3013         (PARMS): Do not use macros from bp-asm.h.
3014         (STR): Likewise.
3015         (CHR): Likewise.
3016         (__rawmemchr): Do not use BP_SYM.
3017         (rawmemchr): Do not use BP_SYM in weak_alias.
3018         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3019         (PARMS): Do not use macros from bp-asm.h.
3020         (S): Likewise.
3021         (SIZE): Likewise.
3022         (__mpn_rshift): Do not use BP_SYM.
3023         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3024         (PARMS): Do not use macros from bp-asm.h.
3025         (SIGMSK): Likewise.
3026         (__sigsetjmp): Likewise.  Do not use BP_SYM.
3027         * sysdeps/i386/start.S: Do not include "bp-sym.h".
3028         (_start): Do not use BP_SYM.
3029         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3030         (PARMS): Do not use macros from bp-asm.h.
3031         (DEST): Likewise.
3032         (SRC): Likewise.
3033         (__stpcpy): Likewise.  Do not use BP_SYM.
3034         (stpcpy): Do not use BP_SYM in weak_alias.
3035         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3036         "bp-asm.h".
3037         (PARMS): Do not use macros from bp-asm.h.
3038         (DEST): Likewise.
3039         (SRC): Likewise.
3040         (LEN): Likewise.
3041         (__stpncpy): Likewise.  Do not use BP_SYM.
3042         (stpncpy): Do not use BP_SYM in weak_alias.
3043         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3044         (PARMS): Do not use macros from bp-asm.h.
3045         (STR): Likewise.
3046         (CHR): Likewise.
3047         (strchr): Likewise.  Do not use BP_SYM.
3048         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3049         "bp-asm.h".
3050         (PARMS): Do not use macros from bp-asm.h.
3051         (STR): Likewise.
3052         (CHR): Likewise.
3053         (__strchrnul): Likewise.  Do not use BP_SYM.
3054         (strchrnul): Do not use BP_SYM in weak_alias.
3055         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3056         "bp-asm.h".
3057         (PARMS): Do not use macros from bp-asm.h.
3058         (STOP): Likewise.
3059         (strcspn): Do not use BP_SYM.
3060         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3061         "bp-asm.h".
3062         (PARMS): Do not use macros from bp-asm.h.
3063         (STR): Likewise.
3064         (STOP): Likewise.
3065         (strpbrk): Likewise.  Do not use BP_SYM.
3066         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3067         "bp-asm.h".
3068         (PARMS): Do not use macros from bp-asm.h.
3069         (STR): Likewise.
3070         (CHR): Likewise.
3071         (strrchr): Likewise.  Do not use BP_SYM.
3072         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3073         (PARMS): Do not use macros from bp-asm.h.
3074         (SKIP): Likewise.
3075         (strspn): Do not use BP_SYM.
3076         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3077         (PARMS): Do not use macros from bp-asm.h.
3078         (STR): Likewise.
3079         (DELIM): Likewise.
3080         (SAVE): Likewise.
3081         (FUNCTION): Likewise.  Do not use BP_SYM.
3082         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3083         aliases.
3084         (strtok_r): Likewise.
3085         (__GI___strtok_r): Likewise.
3086         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3087         (PARMS): Do not use macros from bp-asm.h.
3088         (S1): Likewise.
3089         (S2): Likewise.
3090         (SIZE): Likewise.
3091         (__mpn_sub_n): Do not use BP_SYM.
3092         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3093         "bp-asm.h".
3094         (PARMS): Do not use macros from bp-asm.h.
3095         (S1): Likewise.
3096         (SIZE): Likewise.
3097         (__mpn_submul_1): Do not use BP_SYM.
3098         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3099         <bp-sym.h>.
3100         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3101         and <bp-asm.h>.
3102         (PARMS): Do not use macros from bp-asm.h.
3103         (FLAGS): Likewise.
3104         (PTID): Likewise.
3105         (TLS): Likewise.
3106         (CTID): Likewise.
3107         (__clone): Do not use BP_SYM.
3108         (clone): Do not use BP_SYM in weak_alias.
3109         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3110         and <bp-asm.h>.
3111         (PARMS): Do not use macros from bp-asm.h.
3112         (LEN): Likewise.
3113         (__mmap64): Do not use BP_SYM.
3114         (mmap64): Do not use BP_SYM in weak_alias.
3115         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3116         <bp-sym.h> and <bp-asm.h>.
3117         (PARMS): Do not use macros from bp-asm.h.
3118         (__posix_fadvise64_l64): Do not use BP_SYM.
3119         * sysdeps/unix/sysv/linux/i386/semtimedop.S
3120         (PARMS): Do not use macros from bp-asm.h.
3121         (NSOPS): Likewise.
3122         (semtimedop): Do not use BP_SYM.
3123         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3124         and <bp-asm.h>.
3125
3126 2013-02-21  Allan McRae  <allan@archlinux.org>
3127
3128         * manual/message.texi (Charset conversion in gettext):
3129         Move @end statement to beginning of line.
3130
3131 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3132
3133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3134         static.
3135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3136         Likewise.
3137
3138         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3139         (denorm): Likewise.
3140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3142
3143 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3144
3145         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3146         tail-call to the resolved function if pltexit isn't needed.
3147
3148 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3149
3150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3151         or Y being zero as being unlikely.
3152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3153         Likewise.
3154
3155 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
3156
3157         * manual/nss.texi (System Databases and Name Service Switch):
3158         Remove frobnicate @pxref.
3159
3160 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
3161
3162         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3163         __attribute__ ((unused)) to __attribute__ ((__unused__)).
3164
3165 2013-02-20  Petr Machata  <pmachata@redhat.com>
3166
3167         * elf/elf.h (R_ARM_TARGET1): New macro.
3168         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3169         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3170         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3171         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3172         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3173         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3174         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3175         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3176         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3177         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3178         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3179         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3180         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3181         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3182         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3183         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3184         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3185         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3186         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3187         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3188         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3189         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3190         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3191         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3192         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3193         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3194         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3195         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3196         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3197         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3198         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3199         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3200         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3201         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3202         (R_ARM_THM_GOT_BREL12): Likewise.
3203         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3204         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3205         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3206         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3207         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3208         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3209         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3210         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3211         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3212
3213 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
3214
3215         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3216         __attribute_used__ to __attribute__ ((unused)).
3217
3218 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3219
3220         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3221         powerpc mpa.c.
3222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3223         comment formatting.
3224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3225
3226 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
3227
3228         [BZ #13550]
3229         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3230         Remove macro.
3231         (ENTER): Remove both macro definitions.
3232         (LEAVE): Likewise.
3233         (CHECK_BOUNDS_LOW): Likewise.
3234         (CHECK_BOUNDS_HIGH): Likewise.
3235         (CHECK_BOUNDS_BOTH): Likewise.
3236         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3237         (RETURN_BOUNDED_POINTER): Likewise.
3238         (RETURN_NULL_BOUNDED_POINTER): Likewise.
3239         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3240         (POP_ERRNO_LOCATION_RETURN): Likewise.
3241         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3242         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3243         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3244         macros.
3245         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3246         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3247         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3248         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3249         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3250         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3251         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3252         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3253         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3254         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3255         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3256         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3257         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3258         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3259         removed macros.
3260         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3261         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3262         macros.
3263         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3264         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3265         * sysdeps/i386/i586/memset.S (memset): Likewise.
3266         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3267         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3268         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3269         macros.
3270         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3271         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3272         Change uses of L(2) to L(out).
3273         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3274         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3275         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3276         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3277         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3278         removed macros.
3279         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3280         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3281         macros.
3282         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3283         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3284         (RETURN): Do not use macro LEAVE.
3285         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3286         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3287         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3288         * sysdeps/i386/i686/memset.S (memset): Likewise.
3289         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3290         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3291         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3292         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3293         Likewise.
3294         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3295         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
3296         L(1_2) and L(1_3) into L(1).
3297         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3298         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3300         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3301         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3302         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3303         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3304         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3305         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3306         macros.
3307         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3308         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3309         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3310         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3311         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3312         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3313         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3314         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3315         * sysdeps/i386/strcspn.S (strcspn): Likewise.
3316         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3317         * sysdeps/i386/strrchr.S (strrchr): Likewise.
3318         * sysdeps/i386/strspn.S (strspn): Likewise.
3319         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3320         conditional code.
3321         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3322         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3323         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3324         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
3325         L(1_3) into L(1_1).
3326         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3327         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3328         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3329         macros.
3330         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3331
3332 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
3333
3334         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3335         macro.
3336
3337 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3338
3339         * math/atest-exp.c (exp_mpn): Remove ROUND.
3340         * math/atest-exp2.c (exp_mpn): Likewise.
3341         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3342
3343         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3344         * stdlib/tst-tls-atexit-lib.c: Likewise.
3345         * stdlib/tst-tls-atexit.c: Likewise.
3346
3347 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
3348
3349         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3350         and __attribute_alloc_size__.
3351
3352 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
3353
3354         * include/programs/xmalloc.h: Change __attribute_alloc_size to
3355         __attribute_alloc_size__.
3356         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3357         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3358
3359 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
3360
3361         * include/programs/xmalloc.h: New file.
3362         * catgets/gencat.c: Include it.
3363         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3364         * elf/pldd.c: Likewise.
3365         * iconv/iconv_charmap.c: Likewise.
3366         * iconv/iconvconfig.c: Likewise.
3367         * iconv/strtab.c: Likewise.
3368         * locale/programs/locale.c: Likewise.
3369         * locale/programs/localedef.h: Likewise.
3370         * locale/programs/simple-hash.c: Likewise.
3371         * nscd/nscd.h: Likewise.
3372         * nss/makedb.c: Likewise.
3373         * sysdeps/generic/ldconfig.h: Likewise.
3374
3375 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3376
3377         * Versions.def: Add GLIBC_2.18.
3378         * include/link.h (struct link_map): New member l_tls_dtor_count.
3379         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3380         (__call_tls_dtors): Likewise.
3381         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3382         __cxa_thread_atexit_impl.
3383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3384         Likewise.
3385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3386         Likewise.
3387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3388         Likewise.
3389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3390         Likewise.
3391         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3393         Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3398         Likewise.
3399         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3400         (tests): Add test case tst-tls-atexit.
3401         (modules-names): Add shared library for tst-tls-atexit.
3402         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3403         (GLIBC_PRIVATE): Add __call_tls_dtors.
3404         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3405         for libstdc++.
3406         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3407         * stdlib/tst-tls-atexit.c: New test case.
3408         * stdlib/tst-tls-atexit-lib.c: New test case.
3409
3410         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3411
3412         * elf/Versions (ld): Add _dl_find_dso_for_object.
3413         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3414         * elf/dl-open.c (_dl_find_dso_for_object): New function.
3415         (dl_open_worker): Use _dl_find_dso_for_object.
3416         * elf/dl-sym.c (do_sym): Likewise.
3417         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3418
3419 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3420
3421         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3422         Syntactic changes only.
3423         (_dl_runtime_profile): Do a tail-call to the resolved function.
3424
3425 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
3426
3427         [BZ #13550]
3428         * sysdeps/x86_64/bp-asm.h: Remove file.
3429         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3430         <bp-sym.h> and <bp-asm.h>.
3431         (__clone): Do not use BP_SYM.
3432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3433         <bp-sym.h> and <bp-asm.h>.
3434         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3435         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3436         "bp-asm.h".
3437         (_setjmp): Do not use BP_SYM.
3438         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3439         "bp-asm.h".
3440         (setjmp): Do not use BP_SYM.
3441         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3442         libc_hidden_def.
3443         (mempcpy): Do not use BP_SYM in weak_alias.
3444         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3445         "bp-asm.h".
3446         (strchr): Do not use BP_SYM.
3447         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3448         "bp-asm.h".
3449         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3450         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3451         (_start): Do not use BP_SYM.
3452         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3453         "bp-asm.h".
3454         (strcat): Do not use BP_SYM.
3455         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3456         "bp-asm.h".
3457         (STRCMP): Do not use BP_SYM.
3458         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3459         "bp-asm.h".
3460         (STRCPY): Do not use BP_SYM.
3461         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3462         "bp-asm.h".
3463         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3464         "bp-asm.h".
3465         (FUNCTION): Do not use BP_SYM.
3466         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3467         weak_alias.
3468         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3469
3470 2013-02-17  Andreas Jaeger  <aj@suse.de>
3471
3472         * time/Versions: Sort entries.
3473         * string/Versions: Likewise.
3474         * resolv/Versions: Likewise.
3475         * posix/Versions: Likewise.
3476         * iconv/Versions: Likewise.
3477         * elf/Versions: Likewise.
3478         * wcsmbs/Versions: Likewise.
3479
3480 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3481
3482         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3483         loop termination condition.
3484
3485         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3486         variable to calculate EZ.
3487         (__sqr): Likewise.
3488
3489         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3490         the lower precision input.
3491
3492 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
3493
3494         [BZ #13550]
3495         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3496         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3497         (run-via-rtld-prefix): Do not handle %-bp tests.
3498         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3499         (all-object-suffixes): Remove .ob.
3500         (bppfx): Remove variable.
3501         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3502         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3503         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3504         [$(build-bounded) = yes] (libtype.ob): Likewise.
3505         * Makerules (elide-routines.ob): Remove variable.
3506         (do-tests-clean): Do not handle *-bp.out.
3507         (common-mostlyclean): Do not handle *-bp and *-bp.out.
3508         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3509         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3510         (tests): Do not include $(tests-bp.out).
3511         (xtests): Do not include $(xtests-bp.out).
3512         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3513         [$(build-bounded) = yes] ($(addprefix
3514         $(objpfx),$(binaries-bounded))): Remove rule.
3515         ($(objpfx)%-bp.out): Remove rule.
3516         * config.make.in (build-bounded): Remove variable.
3517         * crypt/Makefile [$(build-bounded) = yes]
3518         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3519         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3520         append to variable.
3521         [$(build-bounded) = yes] (install-lib): Likewise.
3522         [$(build-bounded) = yes] (generated): Likewise.
3523         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3524         Remove rule.
3525         * intl/Makefile [$(build-bounded) = yes]
3526         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3527         * math/Makefile [$(build-bounded) = yes]
3528         ($(tests:%=$(objpfx)%-bp): Likewise.
3529         * misc/Makefile [$(build-bounded) = yes]
3530         ($(objpfx)tst-tsearch-bp): Likewise.
3531         * nptl/Makeconfig (bounded-thread-library): Remove variable.
3532         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3533         Remove dependency.
3534         * string/Makefile (o-objects.ob): Remove variable.
3535         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3536         (CFLAGS-.ob): Remove variable.
3537         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3538         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3539         both definitions of variable.
3540         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3541         (ASFLAGS-.ob): Remove variable.
3542
3543 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
3544
3545         [BZ #13550]
3546         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3547         Remove __BOUNDED_POINTERS__ from condition.
3548         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3549         * string/bits/string2.h [!__NO_STRING_INLINES &&
3550         !__BOUNDED_POINTERS__]: Likewise.
3551         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3552         Likewise.
3553         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3554         Remove conditional code.
3555         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3556         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3557         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3558         condition.
3559
3560         [BZ #13550]
3561         * csu/libc-start.c: Do not include <bp-sym.h>.
3562         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3563         * elf/dl-open.c: Do not include <bp-sym.h>.
3564         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3565         * math/fegetenv.c: Do not include <bp-sym.h>.
3566         (fegetenv): Do not use BP_SYM in versioned symbols.
3567         * nptl/sysdeps/pthread/bits/libc-lockP.h
3568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3569         <bp-sym.h>.
3570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3571         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3573         (__pthread_mutex_destroy): Likewise.
3574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3575         (__pthread_mutex_lock): Likewise.
3576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3577         (__pthread_mutex_trylock): Likewise.
3578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3579         (__pthread_mutex_unlock): Likewise.
3580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3581         (__pthread_mutexattr_init): Likewise.
3582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3583         (__pthread_mutexattr_destroy): Likewise.
3584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3585         (__pthread_mutexattr_settype): Likewise.
3586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3587         (__pthread_rwlock_init): Likewise.
3588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3589         (__pthread_rwlock_destroy): Likewise.
3590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3591         (__pthread_rwlock_rdlock): Likewise.
3592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3593         (__pthread_rwlock_tryrdlock): Likewise.
3594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3595         (__pthread_rwlock_wrlock): Likewise.
3596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3597         (__pthread_rwlock_trywrlock): Likewise.
3598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3599         (__pthread_rwlock_unlock): Likewise.
3600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3601         (__pthread_key_create): Likewise.
3602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3603         (__pthread_setspecific): Likewise.
3604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3605         (__pthread_getspecific): Likewise.
3606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3607         Likewise.
3608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3609         (_pthread_cleanup_push_defer): Likewise.
3610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3611         (_pthread_cleanup_pop_restore): Likewise.
3612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3613         (pthread_setcancelstate): Likewise.
3614         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3615         <bp-sym.h>.
3616         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3617         (memchr): Do not use BP_SYM in weak_alias.
3618         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3619         (fegetenv): Do not use BP_SYM in versioned symbols.
3620         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3621         (fesetenv): Do not use BP_SYM in versioned symbols.
3622         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3623         (feupdateenv): Do not use BP_SYM in versioned symbols.
3624         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3625         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3626         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3627         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3628         (open64): Do not use BP_SYM in weak_alias.
3629         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3630         (fegetenv): Do not use BP_SYM in versioned symbols.
3631         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3632         (fesetenv): Do not use BP_SYM in versioned symbols.
3633         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3634         (feupdateenv): Do not use BP_SYM in versioned symbols.
3635         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3636         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3637         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3638         (feraiseexcept): Do not use BP_SYM in versioned symbols.
3639         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3640         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3641         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3642         <bp-sym.h>.
3643         (__libc_start_main): Do not use BP_SYM.
3644
3645 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3646
3647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3648         redundant return line.
3649         (norm): Likewise.
3650         (denorm): Likewise.
3651         (dbl_mp): Likewise.
3652         (sub_magnitudes): Likewise.
3653         (__add): Likewise.
3654         (__sub): Likewise.
3655         (__mul): Likewise.
3656         (__inv): Likewise.
3657         (__dvd): Likewise.
3658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3659         (norm): Likewise.
3660         (denorm): Likewise.
3661         (dbl_mp): Likewise.
3662         (sub_magnitudes): Likewise.
3663         (__add): Likewise.
3664         (__sub): Likewise.
3665         (__mul): Likewise.
3666         (__inv): Likewise.
3667         (__dvd): Likewise.
3668
3669         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3670         instead of __mul.
3671         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3672         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3673         (cc32): Likewise.
3674
3675         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3676         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3678         of __mul for squares.
3679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3680         function
3681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3682         Likewise.
3683         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3684         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3685
3686 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
3687
3688         [BZ #13550]
3689         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3690         code.
3691         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3692         prototype or function definition.  Rename ubp_* variables and
3693         parameters.  Remove argv definitions conditional on
3694         [__BOUNDED_POINTERS__].
3695         * debug/backtrace.c (__backtrace): Do not use __unbounded.
3696         * elf/dl-runtime.c (_dl_fixup): Likewise.
3697         * include/set-hooks.h (RUN_HOOK): Likewise.
3698         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3699         definition.
3700         * string/strcpy.c (strcpy): Do not use __unbounded.
3701         * sysdeps/generic/frame.h (struct layout): Likewise.
3702         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3703         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3704         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3705         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3706         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3707         (__backtrace): Likewise.
3708         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3709         use __ptrvalue.
3710         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3711         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3712         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3713         Likewise.
3714         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3715         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3716         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3717         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3718         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3719         Do not use __unbounded.
3720         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3721         Rename __unboundedrlimits parameter to rlimits in prototype.
3722         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3723         Do not use __unbounded.
3724         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3725         not use __ptrvalue.
3726         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3727         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3728         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3729         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3730         __ptrvalue or __unbounded.
3731         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3732         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3733         use __unbounded.
3734         (__new_msgctl): Do not use __ptrvalue.
3735         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3736         __unbounded.
3737         (__libc_msgrcv): Do not use __ptrvalue.
3738         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3739         startup_info): Do not use __unbounded.
3740         (__libc_start_main): Likewise.  Rename ubp_* variables and
3741         parameters.  Remove argv definitions conditional on
3742         [__BOUNDED_POINTERS__].
3743         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3744         __ptrvalue.
3745         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3746         use __unbounded.
3747         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3748         or __ptrvalue.
3749         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3750         use __unbounded.
3751         (__new_shmctl): Do not use __ptrvalue.
3752         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3753         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3754         Likewise.
3755         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3756         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3757         (__libc_sigaction): Likewise.
3758         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3759         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3760         Likewise.
3761         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3762
3763 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3764
3765         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3766
3767         * string/mempcpy.c: Implement by calling memcpy.
3768
3769 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770
3771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3772
3773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3774         evaluation.
3775
3776         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3777         values in the mantissa.
3778
3779         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3780         minimize writes to Z.
3781         (sub_magnitudes): Simplify code a bit.
3782
3783 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3784
3785         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3786         from the message.  The linker prefixes all warnings with that already.
3787
3788 2013-02-12  Andreas Schwab  <schwab@suse.de>
3789
3790         [BZ #15078]
3791         * posix/regexec.c (extend_buffers): Add parameter min_len.
3792         (check_matching): Pass minimum needed length.
3793         (clean_state_log_if_needed): Likewise.
3794         (get_subexp): Likewise.
3795         * posix/Makefile (tests): Add bug-regex34.
3796         (bug-regex34-ENV): Define.
3797         * posix/bug-regex34.c: New file.
3798
3799         [BZ #11561]
3800         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3801         elements compare against the byte sequence of it, not its name.
3802         * posix/Makefile (tests): Add bug-regex35.
3803         (bug-regex35-ENV): Define.
3804         * posix/bug-regex35.c: New file.
3805
3806 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3807
3808         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3809         comment.
3810         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3811         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3812         (CHECK_EOL): Add undef.
3813
3814 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3815
3816         * bits/stdlib-bsearch.h: New file.
3817         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3818         * stdlib/stdlib.h: Likewise.
3819
3820 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3821
3822         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3823         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3824         declaration.
3825         * manual/search.texi (Array Search Function): Add missing const in
3826         lfind prototype.
3827         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3828         declaration to use rlim_t.
3829         (Basic Scheduling Functions): Remove erroneous const from
3830         sched_getparam prototype.  Remove erroneous * from
3831         sched_get_priority_max and sched_get_priority_min prototypes.
3832         (Resource Usage): Fix summary @comment on vtimes to refer to
3833         sys/vtimes.h rather than vtimes.h.
3834         Add missing *s in vtimes prototype.
3835         (Limits on Resources): Fix ulimit prototype to return long int.
3836         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3837         prototypes to use long int rather than double.
3838         (BSD Random): Fix initstate and setstate to use char *, not void *.
3839         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3840         prototype to make second argument 'struct aiocb64 *const[]'.
3841         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3842         (Status of AIO Operations): Remove erroneous const in aio_return and
3843         aio_return64 prototypes.
3844         (Synchronizing I/O): Fix sync prototype to return void.
3845         * manual/startup.texi (Suboptions): Remove an erroneous const in
3846         getsubopt prototype.
3847         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3848         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3849         use size_t rather than int.
3850         (Scanning All Users): Likewise for getpwent_r.
3851         (Setting Groups): Add missing const to setgroups prototype.
3852         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3853         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3854         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3855         'const void *' rather than 'const char *'.
3856         (Host Address Functions): Likewise for inet_ntop.
3857         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3858         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3859         ssize_t for return value.
3860         (Sending Data): Likewise for send, sendto, sendmsg.
3861         (Socket Option Functions): Add a missing const in setsockopt prototype.
3862         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3863         use wchar_t for the argument.
3864         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3865         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3866         take no arguments.
3867         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3868         double/float/long double for second argument.
3869         Fix return types of significand, significandf, significandl.
3870         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3871         argument in fchmod prototype.
3872         (File Owner): Use uid_t and gid_t in fchown prototype.
3873         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3874         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3875         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3876         use 'const struct dirent **' as argument types to CMP function pointer
3877         argument.
3878         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3879         (File Times): Fix summary magic @comment for struct utimbuf and utime
3880         to refer to utime.h, not time.h.
3881         * manual/string.texi (Argz Functions): Add missing const in
3882         argz_extract and argz_next prototypes.
3883         (Finding Tokens in a String): Likewise for basename.
3884         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3885         (Copying and Concatenation): Fix typo in wmemmove prototype.
3886         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3887         (Signal Stack): Remove erroneous const in sigstack prototype.
3888         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3889         prototype.
3890         (Simple Calendar Time): Likewise for stime.
3891         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3892         prototype.
3893         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3894         say sys/sysctl.h instead.
3895         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3896         and vsyslog prototypes.
3897
3898 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3899
3900         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3901         Remove.
3902
3903 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3904
3905         * misc/sys/mman.h: Fix typo in mremap comment.
3906
3907 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3908
3909         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3910         the '\0' terminator.
3911
3912 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3913
3914         [BZ #13550]
3915         * debug/segfault.c: Don't include <bp-checks.h>.
3916         * sysdeps/generic/bp-checks.h: Remove file.
3917         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3918         (__GETDENTS): Don't use CHECK_N.
3919         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3920         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3921         (__getgroups): Don't use CHECK_N.
3922         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3923         (setgroups): Don't use CHECK_N.
3924         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3925         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3926         (__libc_msgrcv): Don't use CHECK_N.
3927         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3928         (__libc_msgsnd): Don't use CHECK_N.
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3930         <bp-checks.h>.
3931         (__libc_pread): Don't use CHECK_N.
3932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3933         include <bp-checks.h>.
3934         (__libc_pread64): Don't use CHECK_N.
3935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3936         include <bp-checks.h>.
3937         (__libc_pwrite): Don't use CHECK_N.
3938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3939         include <bp-checks.h>.
3940         (__libc_pwrite64): Don't use CHECK_N.
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3942         <bp-checks.h>.
3943         (__libc_pread): Don't use CHECK_N.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3945         include <bp-checks.h>.
3946         (__libc_pread64): Don't use CHECK_N.
3947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3948         include <bp-checks.h>.
3949         (__libc_pwrite): Don't use CHECK_N.
3950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3951         include <bp-checks.h>.
3952         (__libc_pwrite64): Don't use CHECK_N.
3953         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3954         (do_pread): Don't use CHECK_N.
3955         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3956         (do_pread64): Don't use CHECK_N.
3957         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3958         (do_pwrite): Don't use CHECK_N.
3959         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3960         (do_pwrite64): Don't use CHECK_N.
3961         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3962         (__libc_readv): Don't use CHECK_N.
3963         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3964         (semop): Don't use CHECK_N.
3965         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3966         <bp-checks.h>.
3967         (semtimedop): Don't use CHECK_N.
3968         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3969         (__libc_pread): Don't use CHECK_N.
3970         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3971         <bp-checks.h>.
3972         (__libc_pread64): Don't use CHECK_N.
3973         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3974         <bp-checks.h>.
3975         (__libc_pwrite): Don't use CHECK_N.
3976         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3977         <bp-checks.h>.
3978         (__libc_pwrite64): Don't use CHECK_N.
3979         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3980         <bp-checks.h>.
3981         (__libc_msgrcv): Don't use CHECK_N.
3982         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3983         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
3984         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3985         (__libc_writev): Don't use CHECK_N.
3986
3987 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3988
3989         * string/strcpy.c: Removed unused variable.
3990
3991         * Makeconfig (+sysdep-includes): Define with := rather than =.
3992         Use an existing include/ subdir of each sysdeps dir before it.
3993
3994 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3995
3996         * nscd/connection.c (register_traced_file): Comment function.
3997         [HAVE_INOTIFY] (union __inev): Define.
3998         [HAVE_INOTIFY] (inotify_check_files): New function.
3999         [HAVE_INOTIFY] (clear_db_cache): Likewise.
4000         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4001         clear_db_cache.
4002         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4003
4004 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4005
4006         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4007         loaded if not already and that a failure is permanent.
4008
4009 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4010
4011         [BZ #15006]
4012         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4013         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4014
4015 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
4016
4017         [BZ #13550]
4018         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4019         (CHECK_1_NULL_OK): Likewise.
4020         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4021         (__fxstat): Do not use CHECK_1.
4022         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4023         <bp-checks.h>.
4024         (___fxstat64): Do not use CHECK_1.
4025         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4026         <bp-checks.h>.
4027         (__fxstatat): Do not use CHECK_1.
4028         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4029         <bp-checks.h>.
4030         (__fxstatat64): Do not use CHECK_1.
4031         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4032         <bp-checks.h>.
4033         (__fxstat): Do not use CHECK_1.
4034         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4035         <bp-checks.h>.
4036         (__fxstatat): Do not use CHECK_1.
4037         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4038         <bp-checks.h>.
4039         (__getresgid): Do not use CHECK_1.
4040         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4041         <bp-checks.h>.
4042         (__getresuid): Do not use CHECK_1.
4043         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4044         <bp-checks.h>.
4045         (__lxstat): Do not use CHECK_1.
4046         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4047         <bp-checks.h>.
4048         (__old_msgctl): Do not use CHECK_1.
4049         (__new_msgctl): Likewise.
4050         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4051         <bp-checks.h>.
4052         (__new_setrlimit): Do not use CHECK_1.
4053         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4054         <bp-checks.h>.
4055         (__old_shmctl): Do not use CHECK_1.
4056         (__new_shmctl): Likewise.
4057         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4058         <bp-checks.h>.
4059         (__xstat): Do not use CHECK_1.
4060         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4061         (__lxstat): Do not use CHECK_1.
4062         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4063         <bp-checks.h>.
4064         (___lxstat64): Do not use CHECK_1.
4065         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4066         (__old_msgctl): Do not use CHECK_1.
4067         (__new_msgctl): Likewise.
4068         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4069         <bp-checks.h>.
4070         (__gettimeofday): Do not use CHECK_1.
4071         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4072         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4073         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4074         <bp-checks.h>.
4075         (__gettimeofday): Do not use CHECK_1.
4076         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4077         (__old_shmctl): Do not use CHECK_1_NULL_OK.
4078         (__new_shmctl): Do not use CHECK_1.
4079         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4080         <bp-checks.h>.
4081         (do_sigtimedwait): Do not use CHECK_1.
4082         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4083         <bp-checks.h>.
4084         (do_sigwaitinfo): Do not use CHECK_1.
4085         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4086         <bp-checks.h>.
4087         (msgctl): Do not use CHECK_1.
4088         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4089         <bp-checks.h>.
4090         (shmctl): Do not use CHECK_1.
4091         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4092         (ustat): Do not use CHECK_1.
4093         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4094         <bp-checks.h>.
4095         (__fxstat): Do not use CHECK_1.
4096         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4097         <bp-checks.h>.
4098         (__fxstatat): Do not use CHECK_1.
4099         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4100         <bp-checks.h>.
4101         (__lxstat): Do not use CHECK_1.
4102         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4103         <bp-checks.h>.
4104         (__xstat): Do not use CHECK_1.
4105         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4106         (__xstat): Do not use CHECK_1.
4107         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4108         (___xstat64): Do not use CHECK_1.
4109
4110         [BZ #13550]
4111         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4112         definitions.
4113         (CHECK_BOUNDS_HIGH): Likewise.
4114         * string/strcpy.c: Do not include <bp-checks.h>.
4115         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4116
4117 2013-02-07  Roland McGrath  <roland@hack.frob.com>
4118
4119         * nscd/nscd-client.h (__nscd_drop_map_ref):
4120         Add __attribute__ ((unused)).
4121         * nis/nss-nisplus.h (niserr2nss): Likewise.
4122
4123         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4124         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4125
4126         * csu/libc-tls.c (init_static_tls, init_slotinfo):
4127         Remove inline keyword.
4128         * include/rounding-mode.h (round_away): Likewise.
4129         * libio/wfileops.c (adjust_wide_data): Likewise.
4130         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4131         (__m128i_strloadu_tolower): Likewise.
4132         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4133         (__m128i_strloadu_tolower): Likewise.
4134         * time/mktime.c (ydhms_diff): Likewise.
4135         * locale/elem-hash.h (elem_hash): Likewise.
4136         * locale/setlocale.c (setdata): Likewise.
4137         * posix/regex_internal.h (re_string_char_size_at): Likewise.
4138         (re_string_wchar_at): Likewise.
4139         (bitset_not, bitset_merge, bitset_mask): Likewise.
4140         [!(__GNUC__ > 3)] (inline): Remove macro.
4141         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4142         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4143         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4144         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4145         * string/memcmp.c (memcmp_bytes): Likewise.
4146         * locale/programs/locarchive.c (compute_hashval): Likewise.
4147         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4148         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4149         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4150         * nss/getent.c (print_rpc, print_protocols): Likewise.
4151         (print_passwd, print_group, print_aliases): Likewise.
4152         * nis/nss-nisplus.h (niserr2nss): Likewise.
4153         * nscd/connections.c (restart_p): Likewise.
4154         Change return type to bool.
4155
4156 2013-02-05  Roland McGrath  <roland@hack.frob.com>
4157
4158         * Makeconfig (all-Depend-files): Add existing
4159         $(sorted-subdirs:=/Depend) files.
4160         (all-subdirs): Remove nss.
4161         * sysdeps/unix/inet/Subdirs: Add it here instead.
4162         * hesiod/Depend: New file.
4163
4164         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4165         instead of calling alloca.
4166
4167         * io/lseek.c (__lseek): Rename to __libc_lseek.
4168         Define __lseek as an alias.
4169
4170         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4171
4172 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
4173
4174         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4175         else clause and remove check for non-standard endianness.
4176
4177 2013-02-04  David S. Miller  <davem@davemloft.net>
4178
4179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4180
4181 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
4182
4183         [BZ #13550]
4184         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4185         (__ubp_memchr): Remove prototype.
4186         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4187         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4188         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4189         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4190         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4191         Remove alias.
4192         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4193         (__ubp_memchr): Likewise.
4194         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4195         (__ubp_memchr): Likewise.
4196         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4197         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4198         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4199         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4200         CHECK_STRING.
4201         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4202         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4203         (__getcwd): Do not use CHECK_STRING.
4204         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4205         <bp-checks.h>.
4206         (__real_chown): Do not use CHECK_STRING.
4207         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4208         <bp-checks.h>.
4209         (fchownat): Do not use CHECK_STRING.
4210         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4211         CHECK_STRING.
4212         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4213         <bp-checks.h>.
4214         (__lchown): Do not use CHECK_STRING.
4215         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4216         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4217         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4218         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4220         include <bp-checks.h>.
4221         (truncate64): Do not use CHECK_STRING.
4222         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4223         <bp-checks.h>.
4224         (__real_chown): Do not use CHECK_STRING.
4225         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4226         <bp-checks.h>.
4227         (__lchown): Do not use CHECK_STRING.
4228         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4229         <bp-checks.h>.
4230         (__chown): Do not use CHECK_STRING.
4231         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4232         <bp-checks.h>.
4233         (truncate64): Do not use CHECK_STRING.
4234         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4235         Likewise.
4236         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4237         (__xmknod): Do not use CHECK_STRING.
4238         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4239         <bp-checks.h>.
4240         (__xmknodat): Do not use CHECK_STRING.
4241         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4242         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4243
4244 2013-02-04  Andreas Schwab  <schwab@suse.de>
4245
4246         [BZ #14142]
4247         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4248         * include/netdb.h: Likewise for h_errno.
4249         * elf/tst-stackguard1.c: Include <tls.h>.
4250
4251 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4252
4253         * elf/link.h (struct link_map): Extend the l_addr comment.
4254         * include/link.h (struct link_map): Likewise.
4255
4256 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
4257
4258         [BZ #13550]
4259         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4260         (BOUNDED_1): Remove macro.
4261         * debug/backtrace.c: Don't include <bp-checks.h>.
4262         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4263         (__backtrace): Likewise.
4264         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4265         <bp-checks.h>.
4266         (__backtrace): Don't use BOUNDED_1.
4267         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4268         <bp-checks.h>.
4269         (__backtrace): Don't use BOUNDED_1.
4270         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4271         (__backtrace): Don't use BOUNDED_1.
4272         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4273         (shmat): Don't use BOUNDED_N.
4274
4275 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
4276
4277         [BZ #13550]
4278         * sysdeps/generic/bp-start.h: Remove file.
4279         * csu/libc-start.c: Don't include <bp-start.h>.
4280         (LIBC_START_MAIN): Set up __environ directly instead of using
4281         INIT_ARGV_and_ENVIRON.
4282         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4283         <bp-start.h>.
4284
4285         [BZ #13550]
4286         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4287         definitions.
4288         (CHECK_FCNTL): Likewise.
4289         (CHECK_N_PAGES): Likewise.
4290
4291         [BZ #13550]
4292         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4293         definitions.
4294         (CHECK_SIGSET_NULL_OK): Likewise.
4295         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4296         <bp-checks.h>.
4297         (sigpending): Don't use CHECK_SIGSET.
4298         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4299         <bp-checks.h>.
4300         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4301         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4302         <bp-checks.h>.
4303         (do_sigsuspend): Don't use CHECK_SIGSET.
4304         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4305         use CHECK_SIGSET.
4306         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4307         (do_sigwait): Don't use CHECK_SIGSET.
4308         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4309         use CHECK_SIGSET.
4310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4311         include <bp-checks.h>.
4312         (sigpending): Don't use CHECK_SIGSET.
4313         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4314         include <bp-checks.h>.
4315         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4316         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4317         <bp-checks.h>.
4318         (sigpending): Don't use CHECK_SIGSET.
4319         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4320         <bp-checks.h>.
4321         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4322
4323         [BZ #13550]
4324         * sysdeps/generic/bp-semctl.h: Remove file.
4325         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4326         <bp-checks.h> and <bp-semctl.h>.
4327         (__old_semctl): Don't use CHECK_SEMCTL.
4328         (__new_semctl): Likewise.
4329         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4330         and <bp-semctl.h>.
4331         (__old_semctl): Don't use CHECK_SEMCTL.
4332         (__new_semctl): Likewise.
4333         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4334         <bp-checks.h> and <bp-semctl.h>.
4335         (__old_semctl): Don't use CHECK_SEMCTL.
4336         (__new_semctl): Likewise.
4337         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4338         <bp-checks.h> and <bp-semctl.h>.
4339         (semctl): Don't use CHECK_SEMCTL.
4340
4341         [BZ #13550]
4342         * Makerules (elide-bp-thunks): Remove variable.
4343         (elide-routines.oS): Don't use $(elide-bp-thunks).
4344         (elide-routines.os): Likewise.
4345         (elide-routines.o): Likewise.
4346         (elide-routines.op): Likewise.
4347         (elide-routines.og): Likewise.
4348         (objects): Don't use $(bp-thunks).
4349         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4350         include.
4351         (common-generated): Do not add s-proto-bp.d.
4352         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4353         (int): Likewise.
4354         (typ): Likewise.
4355         Do not generate makefile rules for bounded-pointer thunks.
4356         * sysdeps/generic/bp-thunks.h: Remove file.
4357         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4358         * sysdeps/unix/s-proto-bp.S: Likewise.
4359
4360         [BZ #15062]
4361         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4362         parts of result separately when argument is not close to line from
4363         -i to i and one part of argument is small.
4364         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4365         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4366         * math/libm-test.inc (cacos_test): Add more tests.
4367         (casin_test): Likewise.
4368         (casinh_test): Likewise.
4369         * sysdeps/i386/fpu/libm-test-ulps: Update.
4370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4371
4372 2013-01-31  David S. Miller  <davem@davemloft.net>
4373
4374         * po/de.po: Update from translation team.
4375
4376 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
4377
4378         * time/tzfile.c: Include stdint.h for SIZE_MAX.
4379
4380 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
4381
4382         * configure.in (_AC_PROG_CC_C89): New definition.
4383         * configure: Regenerate.
4384
4385         * configure.in (AC_PROG_CPP): New definition.
4386         * configure: Regenerate.
4387
4388 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
4389
4390         * debug/tst-backtrace.h: New file.
4391         * debug/tst-backtrace2.c: Include tst-backtrace.h.
4392         (ret): Remove variable.
4393         (x): Likewise.
4394         (FAIL): Remove macro.
4395         (NO_INLINE): Likewise.
4396         (fn1): Use match function instead of strstr.
4397         * debug/tst-backtrace3.c: Include tst-backtrace.h.
4398         (ret): Remove variable.
4399         (x): Likewise.
4400         (FAIL): Remove macro.
4401         (NO_INLINE): Likewise.
4402         (fn): Use match function instead of strstr.
4403         * debug/tst-backtrace4.c: Include tst-backtrace.h.
4404         (ret): Remove variable.
4405         (x): Likewise.
4406         (FAIL): Remove macro.
4407         (NO_INLINE): Likewise.
4408         (handle_signal): Use match function instead of strstr.
4409         * debug/tst-backtrace5.c: Include tst-backtrace.h.
4410         (ret): Remove variable.
4411         (x): Likewise.
4412         (FAIL): Remove macro.
4413         (NO_INLINE): Likewise.
4414         (handle_signal): Use match function instead of strstr.
4415
4416 2013-01-23  Roland McGrath  <roland@hack.frob.com>
4417
4418         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4419
4420 2013-01-23  David S. Miller  <davem@davemloft.net>
4421
4422         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4423         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4424         argument of CAS if possible.
4425         * sysdeps/sparc/sparc64/bits/atomic.h
4426         (__arch_compare_and_exchange_val_32_acq): Likewise.
4427         (__arch_compare_and_exchange_val_64_acq): Likewise.
4428
4429 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
4430
4431         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4432         * sysdeps/posix/ulimit.c: ... this.
4433         Include <limits.h>.
4434         * sysdeps/unix/bsd/ulimit.c: Remove file.
4435
4436 2013-01-23  Adam Conrad  <adconrad@0c3.net>
4437
4438         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4439         (LDFLAGS-tst-array5): Likewise.
4440
4441 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
4442
4443         [BZ #15036]
4444         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4445         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4446         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4447         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4448
4449 2013-01-21  David S. Miller  <davem@davemloft.net>
4450
4451         * sysdeps/sparc/backtrace.c: New file.
4452         * sysdeps/sparc/sparc32/backtrace.h: New file.
4453         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4454         * sysdeps/sparc/sparc64/backtrace.h: New file.
4455         * sysdeps/sparc/sparc64/backtrace.c: Delete.
4456         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4457         -funwind-tables.
4458
4459 2013-01-21  Andreas Schwab  <schwab@suse.de>
4460
4461         [BZ #15020]
4462         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4463         closed its stdout.
4464
4465 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
4466
4467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4468         "mpa2.h".
4469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4470
4471 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
4472             Mark Mitchell  <mark@codesourcery.com>
4473             Tom de Vries  <tom@codesourcery.com>
4474             Paul Pluzhnikov  <ppluzhnikov@google.com>
4475
4476         * debug/tst-backtrace2.c: New file.
4477         * debug/tst-backtrace3.c: Likewise.
4478         * debug/tst-backtrace4.c: Likewise.
4479         * debug/tst-backtrace5.c: Likewise.
4480         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4481         (CFLAGS-tst-backtrace3.c): Likewise.
4482         (CFLAGS-tst-backtrace4.c): Likewise.
4483         (CFLAGS-tst-backtrace5.c): Likewise.
4484         (LDFLAGS-tst-backtrace2): Likewise.
4485         (LDFLAGS-tst-backtrace3): Likewise.
4486         (LDFLAGS-tst-backtrace4): Likewise.
4487         (LDFLAGS-tst-backtrace5): Likewise.
4488         (tests): Add new tests tst-backtrace2, tst-backtrace3,
4489         tst-backtrace4 and tst-backtrace5.
4490
4491 2013-01-18  Anton Blanchard  <anton@samba.org>
4492             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4493
4494         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4495         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4496         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4497         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4499         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4500         "+r" and remove output regs list as redundant.  Add explicit inline
4501         asm to specify register of return val to work around compiler codegen
4502         bug.  Remove (int) cast on return value.  Add return type parameter to
4503         use in macro so that this macro does not truncate return value for
4504         64-bit values.
4505         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4506         pass to INTERNAL_VSYSCALL_NCS.
4507         (INLINE_VSYSCALL): Add 'long int' as return type to
4508         INTERNAL_VSYSCALL_NCS macro invocation.
4509         (INTERNAL_VSYSCALL): Add 'long int' as return type to
4510         INTERNAL_VSYSCALL_NCS macro invocation.
4511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4512
4513 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4514
4515         [BZ #14496]
4516         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4517         Fix application of SIMD FP exception mask.
4518
4519         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4520         mp_no from a power of two.
4521         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4522         __mpexp_twomm1.  Use __pow_mp.
4523
4524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4525         multiplication.
4526
4527 2013-01-17  David S. Miller  <davem@davemloft.net>
4528
4529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4530
4531 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
4532
4533         [BZ #15023]
4534         * include/complex.h: Condition contents on [!_COMPLEX_H].
4535         (__kernel_casinhf): New prototype.
4536         (__kernel_casinh): Likewise.
4537         (__kernel_casinhl): Likewise.
4538         * math/Makefile (libm_calls): Add k_casinh.
4539         * math/k_casinh.c: New file.
4540         * math/k_casinhf.c: Likewise.
4541         * math/k_casinhl.c: Likewise.
4542         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4543         finite nonzero arguments.
4544         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4545         finite nonzero arguments.
4546         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4547         finite nonzero arguments.
4548         * math/s_casinh.c: Do not include <float.h>.
4549         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4550         * math/s_casinhf.c: Do not include <float.h>.
4551         (__casinhf): Move code for finite nonzero arguments to
4552         k_casinhf.c.
4553         * math/s_casinhl.c: Do not include <float.h>.
4554         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4555         redefine.
4556         (__casinhl): Move code for finite nonzero arguments to
4557         k_casinhl.c.
4558         * math/libm-test.inc (cacos_test): Add more tests.
4559         * sysdeps/i386/fpu/libm-test-ulps: Update.
4560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4561
4562 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
4563
4564         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4565         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4566         [!HAVE_MREMAP]: Remove [defined linux] case.
4567         * malloc/arena.c: Do not include <malloc-sysdep.h>.
4568
4569 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4570
4571         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4572
4573 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
4574
4575         * elf/elf.h (R_386_SIZE32): New relocation.
4576         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4577         R_386_SIZE32.
4578         (elf_machine_rela): Likewise.
4579         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4580         R_X86_64_SIZE64 and R_X86_64_SIZE32.
4581
4582 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
4583
4584         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4585         (FP_FAST_FMA): Do not define.
4586         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4587         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4588         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4589         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4590         !_SOFT_FLOAT]: Likewise.
4591         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4592         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4593         value.
4594         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4595         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4596         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4597         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4598         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4599         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4600         file.
4601
4602 2013-01-16  Andreas Schwab  <schwab@suse.de>
4603
4604         [BZ #14327]
4605         * include/stdlib.h (__mktemp): Add declaration.
4606         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4607         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4608
4609 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4610
4611         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4612         definitions.
4613         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4614         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4615         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4616         definitions here.
4617         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4618         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4619         definitions.
4620         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4621         and ONE.
4622         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4623         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4624         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4625         definitions.
4626         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4627         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4628         definitions.
4629         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4630
4631         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4632
4633 2013-01-15  David S. Miller  <davem@davemloft.net>
4634
4635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4636         trunc{,f} to libm-sysdep_routes.
4637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4639         file.
4640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4642         file.
4643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4644         file.
4645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4647         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4648         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4649         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4650         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4651         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4652         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4653
4654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4655         nearbyint{,f} to libm-sysdep_routes.
4656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4658         New file.
4659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4660         file.
4661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4662         New file.
4663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4664         file.
4665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4667         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4668         file.
4669         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4670         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4671         file.
4672         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4673         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4674         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4675
4676         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4677         libc_feholdexcept and libc_fesetenv.
4678
4679 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
4680
4681         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4682
4683 2013-01-14  David S. Miller  <davem@davemloft.net>
4684
4685         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4686         (SPARC_ASM_VIS2_IFUNC): Likewise.
4687         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4689         use of 'siam' instruction.
4690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4691         Likewise.
4692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4693         Likewise.
4694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4695         Likewise.
4696         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4697         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4701         file.
4702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4703         file.
4704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4705         file.
4706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4707         file.
4708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4713         new VIS2 routines.
4714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4717         Likewise.
4718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4721         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4723         routines to libm-sysdep_routines.
4724         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4725
4726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4727         fdim/fdimf to libm-sysdep_routines.
4728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4729         file.
4730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4732         file.
4733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4736         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4737         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4738         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4739         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4740
4741 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4742
4743         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4744         to optimize copies.
4745
4746         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4749
4750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4751         local variable MPTWO.
4752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4753         Likewise.
4754
4755 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4756
4757         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4758         GLOB_NOESCAPE.
4759
4760 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4761
4762         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4763
4764 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4765
4766         * manual/pattern.texi (glob_t): Document gl_flags.
4767         (glob64_t): Likewise.
4768
4769 2013-01-11  David S. Miller  <davem@davemloft.net>
4770
4771         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4772         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4773         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4774         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4775         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4776         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4777         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4778         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4779         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4780         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4781         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4782         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4783         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4784
4785         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4786         sparc V9 rather than using V8 code.
4787         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4788         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4789
4790         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4791         Move to...
4792         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4793         Here.
4794
4795 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4796
4797         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4798         not in the main loop.
4799         * configure: Regenerated.
4800
4801 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4802
4803         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4804         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4805         to just #else.
4806         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4807         [!__GLIBC_HAVE_LONG_LONG] case.
4808         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4809         condition to just #else.
4810         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4811         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4812         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4813         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4814         unconditional.
4815         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4816         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4817         #elif condition to just #else.
4818         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4819         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4820         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4821         #elif condition to just #else.
4822
4823 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4824
4825         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4826         (EF_MIPS_ARCH_64): Fix value.
4827         (EF_MIPS_ARCH_32R2): New.
4828         (EF_MIPS_ARCH_64R2): New.
4829
4830 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4831
4832         * Makeconfig (+link-pie-before-libc): New.
4833         (+link-pie-after-libc): Likewise.
4834         (+link-pie-tests): Likewise.
4835         (+link-pie): Rewritten.
4836         (link-before-libc): Remove $(config-LDFLAGS).
4837         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4838         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4839         (config-LDFLAGS): Renamed to ...
4840         (rtld-LDFLAGS): This.
4841         (rtld-tests-LDFLAGS): New macro.
4842         (link-libc-rpath-link): Likewise.
4843         (link-libc-tests-rpath-link): Likewise.
4844         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4845         (link-libc): Prepand $(link-libc-rpath-link).
4846         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4847         (test-program-prefix): New macro.
4848         (test-via-rtld-prefix): Likewise.
4849         (test-program-cmd): Likewise.
4850         (host-test-program-cmd): Likewise.
4851         * Makefile ($(common-objpfx)testrun.sh): Replace
4852         $(run-program-prefix) with $(test-program-prefix).
4853         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4854         $(rtld-LDFLAGS).
4855         ($(common-objpfx)shlib.lds): Likewise.
4856         (build-module-helper): Likewise.
4857         ($(common-objpfx)format.lds): Likewise.
4858         * Rules (binaries-pie-tests): New.
4859         (binaries-pie-notests): Likewise.
4860         (binaries-pie): Rewritten.
4861         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4862         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4863         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4864         (make-test-out): Replace $(host-built-program-cmd) with
4865         $(host-test-program-cmd).
4866         * config.make.in (build-hardcoded-path-in-tests): New variable.
4867         * configure.in (--enable-hardcoded-path-in-tests): New configure
4868         option.
4869         (hardcoded_path_in_tests): New AC_SUBST.
4870         * configure: Regenerated.
4871         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4872         $(built-program-cmd) with $(test-program-cmd).
4873         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4874         (test_program_cmd): This.
4875         * elf/Makefile ($(objpfx)order.out): Run test with
4876         $(test-program-prefix).
4877         ($(objpfx)order2.out): Likewise.
4878         ($(objpfx)tst-initorder.out): Likewise.
4879         ($(objpfx)tst-initorder2.out): Likewise.
4880         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4881         $(test-program-cmd).
4882         ($(objpfx)tst-array1-static.out): Likewise.
4883         ($(objpfx)tst-array2.out): Likewise.
4884         ($(objpfx)tst-array3.out): Likewise.
4885         ($(objpfx)tst-array4.out): Likewise.
4886         ($(objpfx)tst-array5.out): Likewise.
4887         ($(objpfx)tst-array5-static.out): Likewise.
4888         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4889         $(test-program-cmd).
4890         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4891         $(run-program-prefix) with $(test-program-prefix).
4892         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4893         (test_program_prefix): This.
4894         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4895         $(run-program-prefix) with $(test-program-prefix).
4896         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4897         (test_program_prefix): This.
4898         * iconvdata/tst-tables.sh: Likewise.
4899         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4900         $(run-program-prefix) with $(test-program-prefix).
4901         ($(objpfx)tst-translit.out): Likewise.
4902         ($(objpfx)tst-gettext2.out): Likewise.
4903         ($(objpfx)tst-gettext4.out): Likewise.
4904         ($(objpfx)tst-gettext6.out): Likewise.
4905         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4906         (test_program_prefix): This.
4907         * intl/tst-gettext2.sh: Likewise.
4908         * intl/tst-gettext4.sh  Likewise.
4909         * intl/tst-gettext6.sh: Likewise.
4910         * intl/tst-translit.sh: Likewise.
4911         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4912         with $(test-program-cmd).
4913         * libio/Makefile ($(objpfx)test-freopen.out): Replace
4914         $(run-program-prefix) with $(test-program-prefix).
4915         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4916         (test_program_prefix): This.
4917         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4918         $(run-program-prefix) with $(test-program-prefix).
4919         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4920         (test_program_prefix): This.
4921         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4922         * posix/Makefile ($(objpfx)globtest.out): Replace
4923         $(run-via-rtld-prefix) and $(test-wrapper) with
4924         $(test-program-prefix) and $(test-via-rtld-prefix).
4925         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4926         $(test-program-prefix).
4927         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4928         $(host-test-program-cmd).
4929         (tst-spawn-ARGS): Likewise.
4930         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4931         $(test-program-prefix).
4932         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4933         (test_via_rtld_prefix): This.
4934         (test_wrapper): Renamed to ...
4935         (test_program_prefix): This.
4936         (run_program_prefix): Replaced by test_program_prefix.
4937         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4938         (test_program_prefix): This.
4939         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4940         with $(host-test-program-cmd).
4941         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4942         $(run-program-prefix) with $(test-program-prefix).
4943         ($(objpfx)tst-printf.out): Likewise.
4944         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4945         $(test-program-cmd).
4946         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4947         (test_program_prefix): This.
4948         * stdio-common/tst-unbputc.sh: Likewise.
4949         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4950         $(run-program-prefix) with $(test-program-prefix).
4951         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4952         (test_program_prefix): This.
4953         * string/Makefile ($(objpfx)tst-svc.out):  Replace
4954         $(built-program-cmd) with $(test-program-cmd).
4955
4956 2013-01-11  Andreas Jaeger  <aj@suse.de>
4957
4958         [BZ #15003]
4959         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4960         value. Sync with Linux 3.7.
4961
4962 2013-01-10  David S. Miller  <davem@davemloft.net>
4963
4964         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4965         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4966         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4967
4968 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4969
4970         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4971         never set.
4972         * configure: Regenerated.
4973
4974 2013-01-10  David S. Miller  <davem@davemloft.net>
4975
4976         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4977         sparc V9 rather than using V8 code.
4978         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4979         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4980
4981 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4982
4983         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4984         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4985         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4986         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4987         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4988         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4989         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4990         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4991         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4992         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4993         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4994         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4995         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4996         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4997         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4998         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4999         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5000         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5001         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5002         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5003         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5004         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5005         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5006         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5007         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5008         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5009         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5010
5011 2013-01-10  David S. Miller  <davem@davemloft.net>
5012
5013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5014
5015 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
5016
5017         * posix/Makefile (tests-static): New variable.
5018         (tests): Add $(tests-static).
5019         (tst-exec-static-ARGS): New variable.
5020         (tst-spawn-static-ARGS): Likewise.
5021         * posix/tst-exec-static.c: New file.
5022         * posix/tst-spawn-static.c: Likewise.
5023         * posix/tst-exec.c: Support run directly.
5024         * posix/tst-spawn.c: Likewise.
5025
5026 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
5027
5028         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5029         long.
5030         * math/bits/mathcalls.h (llrint): Likewise.
5031         (llround): Likewise.
5032         * stdlib/stdlib.h (struct drand48_data): Likewise.
5033         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5034         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5035         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5036         Likewise.
5037         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5038         Likewise.
5039         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5040         (elf_greg_t): Likewise.
5041         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5042         (__jmp_buf): Likewise.
5043         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5044         definitions.
5045         (llrint): Likewise, for all definitions.
5046         (llrintl): Likewise.
5047
5048         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5049         Remove [__GNUC__] condition.
5050         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5051         condition to just [__USE_ISOC99].
5052         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5053
5054 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
5055
5056         [BZ #14200]
5057         * sysdeps/unix/sysv/linux/x86/bits/environments.h
5058         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5059         defined.
5060         (_POSIX_V6_ILP32_OFF32): Likewise.
5061         (_XBS5_ILP32_OFF32): Likewise.
5062         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5063         (__ILP32_OFFBIG_LDFLAGS): Likewise.
5064
5065 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5066
5067         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5068
5069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5070         doubles __mpexp_twomm1.  Adjust usage.
5071         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5072         Remove.
5073
5074 2013-01-10  Andreas Schwab  <schwab@suse.de>
5075
5076         [BZ #14964]
5077         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5078         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5079
5080 2013-01-09  David S. Miller  <davem@davemloft.net>
5081
5082         [BZ #15003]
5083         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5084         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5085         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5086         TCP_FASTOPEN): Define.
5087         (tcp_repair_opt): New structure.
5088         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5089         enum values.
5090         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5091         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5092         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5093         (tcp_cookie_transactions): New structure.
5094
5095 2013-01-09  Anton Blanchard  <anton@samba.org>
5096
5097         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5098         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5099         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5100         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5101
5102 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
5103
5104         * include/features.h (__USE_ANSI): Remove.
5105
5106 2013-01-09  Roland McGrath  <roland@hack.frob.com>
5107
5108         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5109
5110         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5111
5112 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5113
5114         * sysdeps/s390/fpu/libm-test-ulps: Update.
5115
5116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5117
5118         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5119         (__acr): Likewise.
5120         (__cpy): Likewise.
5121         (norm): Likewise.
5122         (denorm): Likewise.
5123         (__mp_dbl): Likewise.
5124         (__dbl_mp): Likewise.
5125         (add_magnitudes): Likewise.
5126         (sub_magnitudes): Likewise.
5127         (__add): Likewise.
5128         (__sub): Likewise.
5129         (__mul): Likewise.
5130         (__inv): Likewise.
5131         (__dvd): Likewise.
5132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5133         (__acr): Likewise.
5134         (__cpy): Likewise.
5135         (norm): Likewise.
5136         (denorm): Likewise.
5137         (__mp_dbl): Likewise.
5138         (__dbl_mp): Likewise.
5139         (add_magnitudes): Likewise.
5140         (sub_magnitudes): Likewise.
5141         (__add): Likewise.
5142         (__sub): Likewise.
5143         (__mul): Likewise.
5144         (__inv): Likewise.
5145         (__dvd): Likewise.
5146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5147         (__acr): Likewise.
5148         (__cpy): Likewise.
5149         (norm): Likewise.
5150         (denorm): Likewise.
5151         (__mp_dbl): Likewise.
5152         (__dbl_mp): Likewise.
5153         (add_magnitudes): Likewise.
5154         (sub_magnitudes): Likewise.
5155         (__add): Likewise.
5156         (__sub): Likewise.
5157         (__mul): Likewise.
5158         (__inv): Likewise.
5159         (__dvd): Likewise.
5160
5161 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
5162
5163         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5164         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5165         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5166         2 && __USE_EXTERN_INLINES]: Likewise.
5167
5168 2013-01-08  Andreas Jaeger  <aj@suse.de>
5169
5170         [BZ# 14985]
5171         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5172         Remove.
5173         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5174         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5175
5176 2013-01-07  Anton Blanchard  <anton@samba.org>
5177
5178         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5179         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5180         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5181         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5182         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5183         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5184         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5185         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5187         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5188         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5189         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5190         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5191         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5192         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5193         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5194         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5195         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5196         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5197         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5198         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5199         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5201         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5202         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5203         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5204         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5205         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5206         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5207         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5208         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5210         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5211         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5212         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5213         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5214         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5215         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5216         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5217         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5218         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5219         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5220         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5221
5222 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
5223
5224         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5225         (__MALLOC_PMT): Likewise.
5226         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5227         [__GNUC__], only on [_LIBC].
5228         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5229         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5230         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5231         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5232         forward declaration.
5233         (realloc_hook_ini): Likewise.
5234         (memalign_hook_ini): Likewise.
5235         (__libc_memalign): Do not use __MALLOC_PMT in variable
5236         declaration.
5237         (__libc_valloc): Likewise.
5238         (__libc_pvalloc): Likewise.
5239         (__libc_calloc): Likewise.
5240         (__posix_memalign): Likewise.
5241
5242         [BZ #14996]
5243         * math/s_casinh.c: Include <float.h>.
5244         (__casinh): Do not do computation with squaring and square root
5245         for large arguments.
5246         * math/s_casinhf.c: Include <float.h>.
5247         (__casinhf): Do not do computation with squaring and square root
5248         for large arguments.
5249         * math/s_casinhl.c: Include <float.h>.
5250         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5251         (__casinhl): Do not do computation with squaring and square root
5252         for large arguments.
5253         * math/libm-test.inc (casin_test): Add more tests.
5254         (casinh_test): Likewise.
5255         * sysdeps/i386/fpu/libm-test-ulps: Update.
5256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257
5258 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
5259
5260         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5261         (__x86_64_raw_data_cache_size): Likewise.
5262         (__x86_64_data_cache_size_half): Likewise.
5263         (__x86_64_raw_data_cache_size_half): Likewise.
5264         (__x86_64_shared_cache_size): Likewise.
5265         (__x86_64_raw_shared_cache_size): Likewise.
5266         (__x86_64_shared_cache_size_half): Likewise.
5267         (__x86_64_raw_shared_cache_size_half): Likewise.
5268         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5269         to ...
5270         (__x86_data_cache_size): This.
5271         (__x86_64_raw_data_cache_size): Renamed to ...
5272         (__x86_raw_data_cache_size): This.
5273         (__x86_64_data_cache_size_half): Renamed to ...
5274         (__x86_data_cache_size_half): This.
5275         (__x86_64_raw_data_cache_size_half): Renamed to ...
5276         (__x86_raw_data_cache_size_half): This.
5277         (__x86_64_shared_cache_size): Renamed to ...
5278         (__x86_shared_cache_size): This.
5279         (__x86_64_raw_shared_cache_size): Renamed to ...
5280         (__x86_raw_shared_cache_size): This.
5281         (__x86_64_shared_cache_size_half): Renamed to ...
5282         (__x86_shared_cache_size_half): This.
5283         (__x86_64_raw_shared_cache_size_half): Renamed to ...
5284         (__x86_raw_shared_cache_size_half): This.
5285         * sysdeps/x86_64/memcpy.S: Updated.
5286         * sysdeps/x86_64/memset.S: Likewise.
5287         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5288         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5289         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5290
5291 2013-01-04  David S. Miller  <davem@davemloft.net>
5292
5293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5294
5295 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
5296
5297         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5298         1 to avoid redefinition warning.
5299         (__USE_GNU): Don't define.
5300         (init_signaling_nan): Protoize.
5301
5302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5303
5304 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5305
5306         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5308         (__cpymn): Likewise.
5309         (norm): Remove commented code.
5310         (denorm): Likewise.
5311         (__mp_dbl): Likewise.
5312         (__inv): Likewise.
5313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5314         (__cpymn): Likewise.
5315         (norm): Remove commented code.
5316         (denorm): Likewise.
5317         (__mp_dbl): Likewise.
5318         (__inv): Likewise.
5319
5320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5321         mp_no value for 1.0 and 2.0.
5322         (norm): Use RADIXI instead of radixi.d.
5323         (denorm): Likewise.
5324         (__mul): Use 0.0 instead of zero.d.
5325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5326         mp_no value for 1.0 and 2.0.
5327         (norm): Use RADIXI instead of radixi.d.
5328         (denorm): Likewise.
5329         (__mul): Use 0.0 instead of zero.d.
5330
5331 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
5332
5333         [BZ #14994]
5334         * math/s_casinh.c (__casinh): Reduce finite argument to first
5335         quadrant then set signs of results at the end.
5336         * math/s_casinhf.c (__casinhf): Likewise.
5337         * math/s_casinhl.c (__casinhl): Likewise.
5338         * math/libm-test.inc (casin_test): Add more tests.
5339         (casinh_test): Likewise.
5340         * sysdeps/i386/fpu/libm-test-ulps: Update.
5341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5342
5343 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5344
5345         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5346
5347         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5348
5349         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5350         declarations.
5351         (denorm): Likewise.
5352         (__mp_dbl): Likewise.
5353         (__inv): Likewise.
5354
5355         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5356         and adjust the header comment.
5357
5358         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5359         variable name from declaration.
5360
5361 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
5362
5363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5364         Initialize COMMON_CPUID_INDEX_7 element.
5365         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5366         (CPUID_RTM): Likewise.
5367         (HAS_RTM): Likewise.
5368         (COMMON_CPUID_INDEX_7): New enum.
5369
5370 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
5371
5372         [BZ #14981]
5373         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5374         size is zero, record memory as freed.
5375
5376 2013-01-03  Andreas Jaeger  <aj@suse.de>
5377
5378         * po/ia.po: Add new Interlingua translation.
5379
5380 2012-01-03  Allan McRae  <allan@archlinux.org>
5381
5382         * locale/programs/localedef.c: Fix description of '--posix' flag.
5383
5384 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
5385
5386         * NEWS: Update dates in second copyright notice.
5387         * README: Update copyright dates in example.
5388         * manual/libc.texinfo: Update copyright dates.
5389         * scripts/test-installation.pl: Update copyright date in --version
5390         output.
5391
5392         * hurd/ctty-input.c: Fix copyright notice formatting.
5393         * hurd/ctty-output.c: Likewise.
5394         * hurd/dtable.c: Likewise.
5395         * hurd/hurd-raise.c: Likewise.
5396         * hurd/hurdprio.c: Likewise.
5397         * hurd/msgportdemux.c: Likewise.
5398         * misc/sys/file.h: Likewise.
5399         * misc/sys/ioctl.h: Likewise.
5400         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5401         * sysdeps/mach/hurd/chdir.c: Likewise.
5402         * sysdeps/mach/hurd/fchdir.c: Likewise.
5403         * sysdeps/mach/hurd/rename.c: Likewise.
5404         * sysdeps/mach/hurd/rmdir.c: Likewise.
5405         * sysdeps/mach/hurd/seekdir.c: Likewise.
5406         * sysdeps/mach/hurd/setsid.c: Likewise.
5407         * sysdeps/posix/wait3.c: Likewise.
5408
5409         * All files with FSF copyright notices: Update copyright dates
5410         using scripts/update-copyrights.
5411         * intl/plural.c: Regenerated.
5412         * locale/programs/charmap-kw.h: Likewise.
5413         * locale/programs/locfile-kw.h: Likewise.
5414
5415 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5416
5417         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5418         four values.
5419
5420         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5421         calculation loop and add branch prediction.
5422
5423         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5424         check access beyond bounds of m1np.
5425
5426         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5427         MPTWO.
5428         (__inv): Remove local variable MPTWO to use the global
5429         constant.
5430         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5431         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5432         variable MPTWO.
5433         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5434         MP3HALFS static const.
5435
5436 2013-01-01  David S. Miller  <davem@davemloft.net>
5437
5438         * po/ca.po: Update from translation team.
5439
5440 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
5441
5442         * scripts/update-copyrights: New file.
5443         * Makeconfig: Reformat copyright notice.
5444         * ctype/ctype.h: Likewise.
5445         * debug/swprintf_chk.c: Likewise.
5446         * elf/dl-cache.c: Likewise.
5447         * elf/dl-debug.c: Likewise.
5448         * elf/dl-object.c: Likewise.
5449         * grp/initgroups.c: Likewise.
5450         * hurd/Makefile: Likewise.
5451         * hurd/hurd/signal.h: Likewise.
5452         * hurd/hurdfault.c: Likewise.
5453         * hurd/hurdioctl.c: Likewise.
5454         * hurd/hurdlookup.c: Likewise.
5455         * hurd/intr-msg.c: Likewise.
5456         * iconv/gconv_open.c: Likewise.
5457         * libio/swprintf.c: Likewise.
5458         * locale/lc-ctype.c: Likewise.
5459         * locale/nl_langinfo.c: Likewise.
5460         * mach/Machrules: Likewise.
5461         * mach/Makefile: Likewise.
5462         * malloc/obstack.h: Likewise.
5463         * manual/Makefile: Likewise.
5464         * manual/tsort.awk: Likewise.
5465         * misc/bits/stab.def: Likewise.
5466         * nis/nis_print_group_entry.c: Likewise.
5467         * nis/nis_table.c: Likewise.
5468         * nis/nss_compat/compat-pwd.c: Likewise.
5469         * nis/nss_compat/compat-spwd.c: Likewise.
5470         * po/Makefile: Likewise.
5471         * posix/fnmatch.c: Likewise.
5472         * posix/regex.h: Likewise.
5473         * resolv/Makefile: Likewise.
5474         * resolv/nss_dns/dns-network.c: Likewise.
5475         * resolv/res_hconf.c: Likewise.
5476         * scripts/gen-sorted.awk: Likewise.
5477         * soft-fp/soft-fp.h: Likewise.
5478         * stdio-common/printf.h: Likewise.
5479         * stdlib/monetary.h: Likewise.
5480         * stdlib/random.c: Likewise.
5481         * stdlib/random_r.c: Likewise.
5482         * sysdeps/generic/Makefile: Likewise.
5483         * sysdeps/gnu/Makefile: Likewise.
5484         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5485         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5486         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5487         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5488         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5489         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5490         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5491         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5492         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5493         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5494         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5495         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5496         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5497         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5498         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5499         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5500         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5501         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5502         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5503         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5504         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5505         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5506         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5507         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5508         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5509         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5510         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5511         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5512         * sysdeps/mach/hurd/errnos.awk: Likewise.
5513         * sysdeps/mach/hurd/fork.c: Likewise.
5514         * sysdeps/mach/hurd/getcwd.c: Likewise.
5515         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5516         * sysdeps/mach/hurd/mmap.c: Likewise.
5517         * sysdeps/mach/hurd/utimes.c: Likewise.
5518         * sysdeps/mach/hurd/xmknod.c: Likewise.
5519         * sysdeps/posix/profil.c: Likewise.
5520         * sysdeps/posix/readdir_r.c: Likewise.
5521         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5522         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5523         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5524         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5525         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5526         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5527         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5528         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5530         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5531         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5532         * sysdeps/pthread/lio_listio.c: Likewise.
5533         * sysdeps/sparc/dl-procinfo.h: Likewise.
5534         * sysdeps/unix/i386/sysdep.S: Likewise.
5535         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5536         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5537         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5538         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5540         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5541         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5542         * sysdeps/unix/sysv/linux/speed.c: Likewise.
5543         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5544         * sysdeps/wordsize-32/divdi3.c: Likewise.
5545         * time/sys/time.h: Likewise.
5546         * wcsmbs/Makefile: Likewise.
5547
5548 2013-01-01  David S. Miller  <davem@davemloft.net>
5549
5550         * po/fr.po: Update from translation team.
5551
5552         * catgets/gencat.c: Update copyright year.
5553         * csu/version.c: Likewise.
5554         * debug/catchsegv.sh: Likewise.
5555         * debug/pcprofiledump.c: Likewise.
5556         * debug/xtrace.sh: Likewise.
5557         * elf/ldconfig.c: Likewise.
5558         * elf/ldd.bash.in: Likewise.
5559         * elf/pldd.c: Likewise.
5560         * elf/sotruss.ksh: Likewise.
5561         * elf/sprof.c: Likewise.
5562         * iconv/iconv_prog.c: Likewise.
5563         * iconv/iconvconfig.c: Likewise.
5564         * locale/programs/locale.c: Likewise.
5565         * locale/programs/localedef.c: Likewise.
5566         * login/programs/pt_chown.c: Likewise.
5567         * malloc/memusage.sh: Likewise.
5568         * malloc/memusagestat.c: Likewise.
5569         * malloc/mtrace.pl: Likewise.
5570         * nscd/nscd.c: Likewise.
5571         * nss/getent.c: Likewise.
5572         * nss/makedb.c: Likewise.
5573         * posix/getconf.c: Likewise.
5574
5575 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5576
5577         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5578         numbers.
5579
5580 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
5581
5582         * math/bits/mathcalls.h (modf): Use __nonnull.
5583
5584 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5585
5586         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5587         (split): Use macro CN instead of the bare value.
5588         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5589         could be used.
5590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5591         instead of the bare value.
5592         (power1): Likewise.
5593
5594 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5595
5596         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5597         __ATAN_TWOM.
5598         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5599
5600         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5601         their values.
5602         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5603         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5604         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5605         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5606
5607 2012-12-28  Andreas Jaeger  <aj@suse.de>
5608
5609         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
5610         values are from Linux 3.7.
5611
5612         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5613         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
5614
5615 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5616
5617         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5618         TRUE case.
5619
5620         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5621         (norm): Likewise.
5622         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5623         variables with preprocessor constants.
5624         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5625         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5626         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5627
5628 2012-12-27  Bruno Haible  <bruno@clisp.org>
5629
5630         [BZ #14317]
5631         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5632         only if needed.
5633
5634 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5635
5636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5637         and use variable directly.
5638         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5639
5640         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5641         MPONE.
5642         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5643         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5644         variable MPONE.
5645         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5646         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5647         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5648         include directive.  Remove local variable MPONE.
5649         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5650         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5651         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5652
5653 2012-12-25  David S. Miller  <davem@davemloft.net>
5654
5655         * version.h (RELEASE): Set to "development".
5656         (VERSION): Set to "2.17.90".
5657         * NEWS: Add 2.18 section.
5658
5659 2012-12-21  David S. Miller  <davem@davemloft.net>
5660
5661         * po/hr.po: Update from translation team.
5662
5663 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5664
5665         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5666
5667 2012-12-19  Steve Ellcey  <sellcey@mips.com>
5668
5669         * NEWS:  Mention new memcpy for MIPS.
5670
5671 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5672
5673         * manual/contrib.texi (Contributors): Spelling correction.
5674
5675 2012-12-15  David S. Miller  <davem@davemloft.net>
5676
5677         * po/ru.po: Update from translation team.
5678
5679 2012-12-13  David S. Miller  <davem@davemloft.net>
5680
5681         * NEWS: Mention IFUNC testsuite enhancements.
5682
5683         * po/pl.po: Update from translation team.
5684         * po/bg.po: Likewise.
5685
5686         * manual/contrib.texi (Contributors): Update entries for Hongjiu
5687         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
5688
5689 2012-12-11  David S. Miller  <davem@davemloft.net>
5690
5691         * po/sv.po: Update from translation team.
5692
5693         * po/vi.po: Update from translation team.
5694
5695         * po/cs.po: Update from translation team.
5696
5697         * po/de.po: Update from translation team.
5698         * po/eo.po: Likewise.
5699         * po/nl.po: Likewise.
5700
5701 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5702
5703         [BZ #14246]
5704         * manual/argp.texi (Argp Helper Functions): Move node to follow
5705         Argp Parsing State.
5706
5707         [BZ #14872]
5708         * manual/conf.texi (Limits on File System Capacity): Mention if
5709         terminating null is included in the max size.
5710
5711 2012-12-10  Andreas Jaeger  <aj@suse.de>
5712
5713         * po/cs.po: Update from translation team.
5714
5715 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5716
5717         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5718         void pointer and cast to uintptr_t.
5719         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5720         path.
5721         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5722         * sysdeps/s390/s390-64/memset.S: Likewise.
5723
5724 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
5725
5726         [BZ #14833]
5727         * menual/message.texi (Message Translation): Fix typos.
5728         (Helper programs for gettext): Likewise.
5729
5730 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
5731
5732         [BZ #14898]
5733         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5734         Change to -1.
5735
5736 2012-12-07  David S. Miller  <davem@davemloft.net>
5737
5738         * po/libc.pot: Update.
5739
5740 2012-12-07  Richard Henderson  <rth@redhat.com>
5741
5742         [BZ #10114]
5743         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5744         normal/normal case to before the switch.
5745         (_FP_DIV): Likewise.
5746
5747 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5748             Mike Frysinger  <vapier@gentoo.org>
5749
5750         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5751         check for __NR_fadvise64_64.
5752
5753 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5754
5755         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5756         0, not just to plain "0" as a statement.
5757         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5758         with cw.
5759
5760 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5761
5762         * NEWS: Use sourceware.org in Bugzilla URL.
5763
5764 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5765
5766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5767         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5768
5769         * stdio-common/tst-put-error.c (do_test): Add newline to the
5770         padded test to ensure flush.
5771
5772 2012-12-05  Jeff Law  <law@redhat.com>
5773
5774         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5775
5776 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5777
5778         * README: Don't refer to ports add-on as distributed separately.
5779         Mention AArch64 in list of systems supported in the ports add-on.
5780
5781         * LICENSES: Add more non-FSF copyright and license notices.
5782
5783         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5784         ((unused)).
5785
5786         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5787
5788         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5789         10000 as width of padded output.
5790
5791 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5792
5793         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5794
5795         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5796         variable LX with __attribute__ ((unused)).
5797         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5798         Likewise.
5799         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5800         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5801         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5802         with __attribute__ ((unused)).
5803
5804 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5805
5806         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5807
5808 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5809
5810         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5811         (CFLAGS-nldbl-acos.c): New variable.
5812         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5813         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5814         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5815         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5816         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5817         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5818         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5819         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5820         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5821         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5822         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5823         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5824         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5825         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5826         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5827         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5828         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5829         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5830         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5831         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5832         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5833         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5834         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5835         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5836         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5837         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5838         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5839         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5840         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5841         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5842         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5843         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5844         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5845         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5846         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5847         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5848         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5849         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5850         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5851         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5852         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5853         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5854         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5855         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5856         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5857         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5858         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5859         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5860         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5861         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5862         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5863         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5864         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5865         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5866         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5867         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5868         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5869         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5870         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5871         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5872         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5873         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5874         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5875         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5876         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5877         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5878         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5879         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5880         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5881         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5882         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5883         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5884         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5885         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5886         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5887         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5888         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5889         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5890         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5891         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5892         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5893         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5894         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5895         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5896         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5897         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5898         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5899         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5900         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5901         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5902         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5903         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5904         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5905         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5906         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5907         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5908         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5909
5910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5911         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5912
5913         [BZ #14914]
5914         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5915         whole low double instead of just low 47 bits when splitting values
5916         into two parts.
5917
5918 2012-12-03  Allan McRae  <allan@archlinux.org>
5919
5920         * manual/stdio.texi (Predefined Printf Handlers): Remove
5921         @hsep and @vsep usage.
5922
5923 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
5924
5925         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5926         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5927
5928 2012-12-03  Jeff Law  <law@redhat.com>
5929
5930         * time/sys/time.h (settimeofday): Do not mark TV argument
5931         as __nonnull.
5932
5933 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
5934
5935         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5936         when currently writing and seek to current position when not.
5937         * libio/Makefile (tests): Remove bug-fclose1.
5938         * libio/bug-fclose1.c: Delete.
5939
5940 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
5941
5942         * manual/arith.texi (feenableexcept): Fix typo.
5943         (fedisableexcept): Likewise.
5944
5945 2012-11-30  Roland McGrath  <roland@hack.frob.com>
5946
5947         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5948         second, differently-typed declaration, rather than a cast.
5949
5950 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5951
5952         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5953         * include/rpc/svc.h: ... here.
5954
5955 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
5956
5957         [BZ #13013]
5958         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5959         depending n and resplen2 to catch cases where answer
5960         equals answerp2.
5961
5962 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
5963
5964         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5965         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5966
5967 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
5968
5969         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5970
5971 2012-11-29  Roland McGrath  <roland@hack.frob.com>
5972
5973         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5974
5975 2012-11-28  Jeff Law  <law@redhat.com>
5976
5977         [BZ #13761]
5978         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5979         dataset_temporary.  Track alloca usage into alloca_used.
5980         If dataset is large allocate and release it via malloc/free.
5981
5982 2012-06-04  Florian Weimer  <fweimer@redhat.com>
5983
5984         [BZ #14197]
5985         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5986
5987 2012-11-28  David S. Miller  <davem@davemloft.net>
5988
5989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5990
5991 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5992
5993         [BZ #14803]
5994         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5995         of pi/2 rounded to nearest to 64 bits.
5996         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5997         nearest to 64 bits.
5998         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5999         bits.
6000
6001 2012-11-28  Jeff Law <law@redhat.com>
6002             Martin Osvald <mosvald@redhat.com>
6003
6004         [BZ #14889]
6005         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6006         * sunrpc/svc.c: Include time.h.
6007         (__svc_accept_failed): New function.
6008         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6009         any reason other than EINTR, call __svc_accept_failed.
6010         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6011         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6012
6013 2012-11-28  Andreas Schwab  <schwab@suse.de>
6014
6015         * scripts/abilist.awk: Also handle indirect functions in .opd
6016         section.
6017
6018 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
6019
6020         [BZ #13881]
6021         * sysdeps/x86/fpu/powl_helper.c: New file.
6022         * sysdeps/x86/fpu/Makefile: Likewise.
6023         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6024         (p3): New object.
6025         (__ieee754_powl): Use __powl_helper for finite arguments except
6026         integer exponents below 8.
6027         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6028         (p3): New object.
6029         (__ieee754_powl): Use __powl_helper for finite arguments except
6030         integer exponents below 8.
6031         * math/libm-test.inc (pow_test): Add more tests and enable some
6032         previously disabled tests.
6033         * sysdeps/i386/fpu/libm-test-ulps: Update.
6034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035
6036 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6037             Carlos O'Donell  <carlos_odonell@mentor.com>
6038
6039         * nss/makedb.c (is_prime): Assert that input is odd and greater
6040         than 4.  Note that fact in a comment too.
6041         (next_prime): Add 4 to input.
6042
6043 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6044
6045         [BZ #11741]
6046         * libio/Makefile (tests): Add test case tst-fwrite-error.
6047         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6048         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6049         * libio/tst-fwrite-error.c: New test case.
6050
6051 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
6052
6053         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6054         before casting to void *.
6055         * include/libc-internal.h (__pointer_type): New macro.
6056         (__integer_if_pointer_type_sub): Likewise.
6057         (__integer_if_pointer_type): Likewise.
6058         (cast_to_integer): Likewise.
6059         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6060         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6061         before casting to atomic64_t.
6062         (atomic_exchange_acq): Likewise.
6063         (__arch_exchange_and_add_body): Likewise.
6064         (__arch_add_body): Likewise.
6065         (atomic_add_negative): Likewise.
6066         (atomic_add_zero): Likewise.
6067
6068 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
6069
6070         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6071         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6072         (add_fdes): Likewise.
6073         (linear_search_fdes): Likewise.
6074         (binary_search_unencoded_fdes): Likewise.
6075
6076 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
6077
6078         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6079
6080 2012-11-24  Adam Conrad  <adconrad@0c3.net>
6081
6082         * configure.in: Autodetect C++ header directories.
6083         * configure: Regenerated.
6084
6085 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
6086
6087         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6088
6089 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
6090
6091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6092
6093 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
6094
6095         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6096         LDBL_MANT_DIG == 106]: Disable some tests.
6097         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6098         Likewise.
6099         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6100         Likewise.
6101
6102         [BZ #14871]
6103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6104         input for small inputs.  Return +/- pi/2 for large inputs.
6105         * math/libm-test.inc (atan_test): Add more tests.
6106
6107         * sysdeps/generic/unwind-dw2-fde-glibc.c
6108         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6109         __attribute__ ((unused)).
6110
6111         [BZ #14645]
6112         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6113         x * y if x and y are nonzero and z is zero.
6114
6115         [BZ #14811]
6116         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6117         nonzero exponents with absolute value below 0x1p-117 to +/-
6118         0x1p-117.
6119
6120         [BZ #14869]
6121         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6122         up arguments below 2**-450, not just those below 2**-500.
6123         * math/libm-test.inc (hypot_test): Add another test.
6124
6125         [BZ #14868]
6126         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6127         Return a+b for ratio over 2**120, not 2**60.
6128         * math/libm-test.inc (hypot_test): Add another test.
6129
6130         * math/libm-test.inc (clog_test): Use
6131         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6132         (clog10_test): Likewise.
6133
6134         [BZ #6778]
6135         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6136
6137 2012-11-22  Andreas Schwab  <schwab@suse.de>
6138
6139         * sysdeps/i386/fpu/libm-test-ulps: Update.
6140
6141 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
6142
6143         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6144         printf output with newline.
6145
6146 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
6147
6148         [BZ #14865]
6149         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6150         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6151         -z nodlopen, -z initfirst and -z execstack support.
6152         * configure: Regenerated.
6153
6154         * elf/elf.h (DF_1_NODIRECT): New macro.
6155         (DF_1_IGNMULDEF): Likewise.
6156         (DF_1_NOKSYMS): Likewise.
6157         (DF_1_NOHDR): Likewise.
6158         (DF_1_EDITED): Likewise.
6159         (DF_1_NORELOC): Likewise.
6160         (DF_1_SYMINTPOSE): Likewise.
6161         (DF_1_GLOBAUDIT): Likewise.
6162         (DF_1_SINGLETON): Likewise.
6163         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6164         DT_1_SUPPORTED_MASK bits.
6165         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6166
6167 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
6168
6169         * sysdeps/unix/make-syscalls.sh: Document prefixes.
6170
6171 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
6172
6173         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6174         macro.
6175
6176         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6177         (sendmmsg): Move declarations...
6178         * socket/sys/socket.h: ... here.
6179         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6180         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6181         include it from...
6182         * socket/recvmmsg.c: ... this new file.
6183         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6184         (sendmmsg): Rename to __sendmmsg, create weak alias and make
6185         definition of __sendmmsg hidden.
6186         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6187         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6188         Move ENOSYS stub into and include it from...
6189         * socket/sendmmsg.c: ... this new file.
6190         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6191         (sysdep_routines): Move recvmmsg and sendmmsg...
6192         * socket/Makefile (routines): ... here.
6193         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6194         (GLIBC_PRIVATE): Add __sendmmsg.
6195         * include/sys/socket.h (__sendmmsg): Add declarations.
6196         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6197         sendmmsg.
6198
6199 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
6200
6201         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6202         variable I1 with __attribute__ ((unused)).
6203         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6204
6205 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
6206
6207         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6208         DUMMY variables with __attribute__ ((unused)).
6209
6210         * bits/byteswap.h: Include <bits/types.h>.
6211         (__bswap_64): Use __uint64_t instead of unsigned long long int.
6212
6213 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
6214
6215         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6216         string_t.  Do not manually set errno.
6217         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6218         length with __strnlen.  Make sure to both set errno and return it on
6219         failure.
6220
6221 2012-11-19  David S. Miller  <davem@davemloft.net>
6222
6223         With help from Joseph Myers.
6224         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6225         very large arguments properly.
6226         * math/libm-test.inc (atan_test): New tests.
6227         (atan2_test): New tests.
6228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6230
6231 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
6232
6233         [BZ #14856]
6234         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6235         Define to 3.
6236
6237         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6238         [POSIX] (EADDRNOTAVAIL): Likewise.
6239         [POSIX] (EAFNOSUPPORT): Likewise.
6240         [POSIX] (EALREADY): Likewise.
6241         [POSIX] (ECONNABORTED): Likewise.
6242         [POSIX] (ECONNREFUSED): Likewise.
6243         [POSIX] (ECONNRESET): Likewise.
6244         [POSIX] (EDESTADDRREQ): Likewise.
6245         [POSIX] (EDQUOT): Likewise.
6246         [POSIX] (EHOSTUNREACH): Likewise.
6247         [POSIX] (EIDRM): Likewise.
6248         [POSIX] (EISCONN): Likewise.
6249         [POSIX] (ELOOP): Likewise.
6250         [POSIX] (EMULTIHOP): Likewise.
6251         [POSIX] (ENETDOWN): Likewise.
6252         [POSIX] (ENETUNREACH): Likewise.
6253         [POSIX] (ENOBUFS): Likewise.
6254         [POSIX] (ENODATA): Likewise.
6255         [POSIX] (ENOLINK): Likewise.
6256         [POSIX] (ENOMSG): Likewise.
6257         [POSIX] (ENOPROTOOPT): Likewise.
6258         [POSIX] (ENOSR): Likewise.
6259         [POSIX] (ENOSTR): Likewise.
6260         [POSIX] (ENOTCONN): Likewise.
6261         [POSIX] (ENOTSOCK): Likewise.
6262         [POSIX] (EOPNOTSUPP): Likewise.
6263         [POSIX] (EOVERFLOW): Likewise.
6264         [POSIX] (EPROTO): Likewise.
6265         [POSIX] (EPROTONOSUPPORT): Likewise.
6266         [POSIX] (EPROTOTYPE): Likewise.
6267         [POSIX] (ESTALE): Likewise.
6268         [POSIX] (ETIME): Likewise.
6269         [POSIX] (ETXTBSY): Likewise.
6270         [POSIX] (EWOULDBLOCK): Likewise.
6271         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6272         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6273         [POSIX] (SEEK_CUR): Likewise.
6274         [POSIX] (SEEK_END): Likewise.
6275         [POSIX || UNIX98] (mode_t): Do not require.
6276         [POSIX] (off_t): Likewise.
6277         [POSIX] (pid_t): Likewise.
6278         [POSIX] (sys/stat.h): Do not allow header.
6279         [POSIX] (unistd.h): Likewise.
6280         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6281         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6282         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6283         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6284         require.
6285         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6286         sigevent): Specify elements.
6287         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6288         entry.
6289         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6290         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6291
6292         * conform/data/cpio.h-data [POSIX]: Disable whole file.
6293         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6294         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6295         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6296         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6297         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6298         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6299         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6300         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6301         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6302         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6303         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6304         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6305         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6306         Likewise.
6307         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6308         Likewise.
6309         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6310         Likewise.
6311         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6312         Likewise.
6313         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6314         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6315         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6316         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6317         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6318         Specify lower bound on value.
6319         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6320         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6321         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6322         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6323         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6324         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6325         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6326         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6327         value.
6328         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6329         as optional.
6330         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6331         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6332         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6333         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6334         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6335         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6336         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6337         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6338         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6339         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6340         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6341         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6342         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6343         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6344         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6345         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6346         entry.
6347         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6348         optional.
6349         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6350         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6351         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6352         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6353         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6354         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6355         Likewise.
6356         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6357         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6358         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6359         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6360         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
6361         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6362         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6363         as optional.
6364         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6365         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6366         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6367         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6368         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6369         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6370         specify as optional.
6371         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6372         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6373         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6374         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6375         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6376         [XPG3] (NL_LANGMAX): Likewise.
6377         [POSIX || XPG3] (NL_MSGMAX): Likewise.
6378         [POSIX || XPG3] (NL_NMAX): Likewise.
6379         [POSIX || XPG3] (NL_SETMAX): Likewise.
6380         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6381         [XPG3] (NZERO): Likewise.
6382         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6383         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6384         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6385         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6386         (REG_ERANGE): Expect.
6387         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6388         optional-constant.
6389         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6390         Use (void) in prototype.
6391         [POSIX] (*_t): Allow.
6392         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6393         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6394         (WRDE_BADVAL): Expect.
6395
6396         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6397         expect.
6398         [XPG3 || XPG4] (O_RSYNC): Likewise.
6399         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6400         Likewise.
6401         [XPG3 || XPG4] (pthread_sigmask): Likewise.
6402         [XPG3 || XPG4] (sigqueue): Likewise.
6403         [XPG3 || XPG4] (sigtimedwait): Likewise.
6404         [XPG3 || XPG4] (sigwaitinfo): Likewise.
6405         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6406         [XPG3 || XPG4] (vsnprintf): Likewise.
6407         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6408         Likewise.
6409         [XPG3 || XPG4] (blksize_t): Likewise.
6410         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6411         Likewise.
6412         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6413         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6414         [XPG3 || XPG4] (struct itimerspec): Likewise.
6415         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6416         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6417         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6418         [XPG3 || XPG4] (clockid_t): Likewise.
6419         [XPG3 || XPG4] (timer_t): Likewise.
6420         [XPG3 || XPG4] (clock_getres): Likewise.
6421         [XPG3 || XPG4] (clock_gettime): Likewise.
6422         [XPG3 || XPG4] (clock_settime): Likewise.
6423         [XPG3 || XPG4] (nanosleep): Likewise.
6424         [XPG3 || XPG4] (timer_create): Likewise.
6425         [XPG3 || XPG4] (timer_delete): Likewise.
6426         [XPG3 || XPG4] (timer_gettime): Likewise.
6427         [XPG3 || XPG4] (timer_getoverrun): Likewise.
6428         [XPG3 || XPG4] (timer_settime): Likewise.
6429         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6430         [XPG3 || XPG4] (getlogin_r): Likewise.
6431         [XPG3 || XPG4] (pread): Likewise.
6432         [XPG3 || XPG4] (pthread_atfork): Likewise.
6433         [XPG3 || XPG4] (pwrite): Likewise.
6434
6435         [BZ #14835]
6436         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6437         <bits/siginfo.h>.
6438
6439 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
6440
6441         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6442         finalizing MALLSTREAM.
6443
6444         * sysdeps/mach/hurd/syncfs.c: New file.
6445
6446 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6447
6448         [BZ #14719]
6449         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6450         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6451         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6452         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6453         (_nss_dns_gethostbyname4_r): Likewise.
6454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6455         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6456
6457 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
6458
6459         [BZ #13763]
6460         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6461
6462 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
6463
6464         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6465         * elf/cache.c (print_entry): Print ",AArch64" for
6466         FLAG_AARCH64_LIB64
6467
6468         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6469         * elf/cache.c (print_entry): Print ",hard-float" for
6470         FLAG_ARM_LIBHF.
6471
6472 2012-11-18  David S. Miller  <davem@davemloft.net>
6473
6474         With help from Joseph Myers.
6475         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6476         cutoff to 2**-13.
6477         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6478         cutoff to 2**-25.
6479         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6480         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6481         small.
6482         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6483         * math/libm-test.inc (y0_test): New tests.
6484         (y1_test): New tests.
6485         * sysdeps/i386/fpu/libm-test-ulps: Update.
6486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6488
6489 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
6490
6491         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6492         64-bit targets.
6493         * configure: Regenerated.
6494
6495 2012-11-17  David S. Miller  <davem@davemloft.net>
6496
6497         [BZ #14811]
6498         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6499         nonzero exponents with absolute value below 0x1p-128 to +/-
6500         0x1p-128.
6501
6502 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
6503
6504         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6505
6506         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6507
6508         * posix/getconf-speclist.c: New file.
6509         * posix/posix-envs.def: Likewise.
6510         * posix/confstr.c (START_ENV_GROUP): New macro.
6511         (END_ENV_GROUP): Likewise.
6512         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6513         (KNOWN_PRESENT_ENV_STRING): Likewise.
6514         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6515         (UNKNOWN_ENVIRONMENT): Likewise.
6516         (confstr): Include posix-envs.def instead of handling
6517         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6518         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6519         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6520         (END_ENV_GROUP): Likewise.
6521         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6522         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6523         (UNKNOWN_ENVIRONMENT): Likewise.
6524         (__sysconf): Include posix-envs.def instead of handling associated
6525         cases directly here.
6526         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6527         preprocessing getconf-speclist.c rather than running getconf or
6528         generating empty file.
6529
6530 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
6531
6532         * scripts/check-local-headers.sh: Ignore 'mach' headers.
6533
6534 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
6535
6536         [BZ #14672]
6537         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6538
6539 2012-11-16  David S. Miller  <davem@davemloft.net>
6540
6541         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6542         smaller than LDBL_EPSILON/2.0L, just return xm1.
6543
6544 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
6545
6546         * elf/tst-array1.c (init): Set constructor priority to 1000.
6547         (fini): Set destructor priority to 1000.
6548         * elf/tst-array2dep.c: Likewise.
6549
6550 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6551
6552         [BZ #11741]
6553         * libio/fileops.c (_IO_new_file_write): Correctly return error.
6554         (_IO_new_file_xsputn): Also return EOF if none of the input
6555         data was written when overflow failed.
6556         * libio/iopadn.c (_IO_padn): Likewise.
6557         * libio/iowpadn.c (_IO_wpadn): Likewise.
6558         * stdio-common/tst-put-error.c: Add copyright notice.
6559         (do_test): Add case for printing padded string.
6560         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6561         _IO_padn returned error.
6562         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6563         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6564         return EOF.
6565
6566 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6567
6568         * libio/libioP.h: Add comment note that the references to C++
6569         bits are now obsolete.
6570
6571 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6572
6573         * math/libm-test.inc (check_complex): Use asprintf.
6574
6575 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
6576
6577         * debug/pcprofiledump.c (print_version): Update copyright year.
6578         * malloc/memusagestat.c (print_version): Likewise.
6579
6580 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6581
6582         [BZ #14831]
6583         * elf/Makefile (tests): Add tst-audit8.
6584         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6585         ($(objpfx)tst-audit8.out): New target.
6586         (tst-audit8-ENV): New variable.
6587         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6588         audit if l_reloc_result is NULL.
6589         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6590         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6591         * elf/tst-audit8.c: New file.
6592
6593 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6594
6595         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6596         * misc/Makefile (CFLAGS-select.c): Define.
6597         * posix/Makefile (CFLAGS-pause.c): Define.
6598
6599 2012-11-13  David S. Miller  <davem@davemloft.net>
6600
6601         * crypt/Makefile: Move test targets after toplevel Rules
6602         inclusion.  Grab any necessary sysdep routines when linking.
6603         * crypt/md5.c (md5_process_block): Remove define, we will always
6604         name it __md5_process_block.
6605         (md5_finish_ctx): Update md5_process_block call.
6606         (md5_stream): Likewise.
6607         (md5_process_bytes): Likewise.
6608         (md5_process_block): Rename to __md5_process_block and move to ...
6609         * crypt/md5-block.c: ... here.
6610         * crypt/sha256.c (sha256_process_block): Move to ...
6611         * crypt/sha256-block.c: ... here.
6612         * crypt/sha512.c (sha512_process_block): Move to ...
6613         * crypt/sha512-block.c: ... here.
6614         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6615         path.
6616         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6617         * sysdeps/sparc/sparc64/multiarch/Makefile
6618         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6619         crypt subdir.
6620         (localedef-aux): Add md5 crypto assembler when in locale subdir.
6621         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6622         multiarch changes.
6623         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6624         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6625         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6626         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6627         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6628         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6629         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6630         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6631         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6632         file.
6633         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6634         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6635         file.
6636         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6637
6638 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
6639
6640         * timezone/tzselect.ksh: Update from tzcode git revision
6641         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6642         * timezone/zdump.c: Likewise.
6643         * timezone/zic.c: Likewise.
6644         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6645         in TZVERSION setting, not $(PKGVERSION).
6646         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
6647         REPORT_BUGS_TO settings.
6648
6649         [BZ #14838]
6650         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6651         macro.
6652
6653 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6654
6655         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6656         detection to immediately after _FP_ROUND().
6657         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6658         bits are 0.
6659
6660 2012-11-11  David S. Miller  <davem@davemloft.net>
6661
6662         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6663         inttypes.h
6664         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6665         __close rather than their public counterparts.
6666
6667 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
6668
6669         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6670         file.
6671         [UNIX98] (sem_timedwait): Do not expect.
6672         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6673         [XPG4 || UNIX98] (sockatmark): Do not expect.
6674         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6675         (clock_getcpuclockid): Do not expect.
6676         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6677         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6678         Do not expect.
6679         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6680         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6681         [UNIX98] (vwscanf): Likewise.
6682         [UNIX98] (vswscanf): Likewise.
6683
6684 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
6685
6686         * timezone/version.h: Remove file.
6687         * timezone/README: Do not refer to version.h.
6688         * timezone/Makefile ($(objpfx)zic.o): New dependency on
6689         $(objpfx)version.h.
6690         ($(objpfx)zdump.o): Likewise.
6691         ($(objpfx)version.h): New target.
6692
6693         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6694         2012i.
6695         * timezone/README: Don't mention modification to tzselect.ksh.
6696         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6697         work on unmodified tzselect.ksh.  Substitute version numbers in
6698         tzselect.ksh.
6699
6700         * Makefile (format-me): Remove.
6701         (INSTALL): Adjust indentation.  Use commands directly instead of
6702         using $(format-me).
6703
6704         * aclocal.m4 (ACX_PKGVERSION): New macro.
6705         (ACX_BUGURL): Likewise.
6706         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6707         (PKGVERSION): New AC_DEFINE_UNQUOTED.
6708         (REPORT_BUGS_TO): Likewise.
6709         * configure: Regenerated.
6710         * config.h.in (PKGVERSION): New macro.
6711         (REPORT_BUGS_TO): Likewise.
6712         * config.make.in (PKGVERSION): New variable.
6713         (PKGVERSION_TEXI): Likewise.
6714         (REPORT_BUGS_TO): Likewise.
6715         (REPORT_BUGS_TEXI): Likewise.
6716         * Makefile (format-me): Use -I$(common-objpfx)manual.
6717         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6718         ($(common-objpfx)manual/%): New target.
6719         (manual/%): Remove target.
6720         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6721         (print_version): Use PKGVERSION.
6722         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6723         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6724         and REPORT_BUGS_TO.
6725         ($(objpfx)xtrace): Likewise.
6726         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6727         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6728         (print_version): Use PKGVERSION.
6729         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6730         (do_version): Use PKGVERSION.
6731         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6732         REPORT_BUGS_TO.
6733         (common-ldd-rewrite): Likewise.
6734         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6735         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6736         (print_version): Use PKGVERSION.
6737         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6738         * elf/pldd.c (argp_program_bug_address): Remove variable.
6739         (more_help): New function.
6740         (argp): Use more_help.
6741         (print_version): Use PKGVERSION.
6742         * elf/sln.c (main): Use PKGVERSION.
6743         (usage): Use REPORT_BUGS_TO.
6744         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6745         (top level): Use PKGVERSION.
6746         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6747         (print_version): Use PKGVERSION.
6748         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6749         (print_version): Use PKGVERSION.
6750         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6751         (print_version): Use PKGVERSION.
6752         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6753         (print_version): Use PKGVERSION.
6754         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6755         (print_version): Use PKGVERSION.
6756         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6757         (print_version): Use PKGVERSION.
6758         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6759         and BUGURL.
6760         ($(objpfx)memusage): Likewise.
6761         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6762         (do_version): Use PKGVERSION.
6763         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6764         (print_version): Use PKGVERSION.
6765         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6766         ($PKGVERSION): New variable.
6767         ($REPORT_BUGS_TO): Likewise.
6768         (usage): Use $REPORT_BUGS_TO.
6769         (top level): Use $PKGVERSION.
6770         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6771         ($(objpfx)pkgvers.texi): New rule.
6772         ($(objpfx)stamp-pkgvers): Likewise.
6773         * manual/install.texi: Include pkgvers.texi.
6774         (--with-pkgversion): Document new configure option.
6775         (--with-bugurl): Likewise.
6776         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6777         than necessarily for this particular distribution.  Use
6778         REPORT_BUGS_TO for where to report bugs.
6779         * INSTALL: Regenerated.
6780         * manual/libc.texinfo: Include pkgvers.texi.
6781         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6782         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6783         (print_version): Use PKGVERSION.
6784         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6785         (print_version): Use PKGVERSION.
6786         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6787         (print_version): Use PKGVERSION.
6788         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6789         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6790         macro.
6791         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6792         (print_version): Use PKGVERSION.
6793         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6794         (print_version): Use PKGVERSION.
6795         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6796         and PKGVERSION.
6797
6798         * timezone/checktab.awk: Update from tzcode 2012i.
6799         * timezone/ialloc.c: Likewise.
6800         * timezone/private.h: Likewise.
6801         * timezone/scheck.c: Likewise.
6802         * timezone/tzfile.h: Likewise.
6803         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6804         (TZVERSION): Hardcode tzcode version number.
6805         * timezone/zdump.c: Update from tzcode 2012i.
6806         * timezone/zic.c: Likewise.
6807         * timezone/version.h: New file.
6808         * timezone/README: Describe version.h.  Update upstream location.
6809
6810         [BZ #14824]
6811         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6812         (mktemp): Enable declaration.
6813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6814         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6816         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6817         Likewise.
6818         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6819         Likewise.
6820         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6821         Likewise.
6822         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6823         Likewise.
6824         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6825         Likewise.
6826         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6827         Likewise.
6828
6829         [BZ #14821]
6830         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6831         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6832         for copies of such integer values.
6833         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6834         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6835
6836 2012-11-09  Andreas Jaeger  <aj@suse.de>
6837
6838         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6839         definitions and declarations that are provided by
6840         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6841
6842 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6843
6844         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6845         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6846         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6847         definition.
6848
6849 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6850
6851         * elf/elf.h: Update comment before AArch64 relocations.
6852
6853 2012-11-07  David S. Miller  <davem@davemloft.net>
6854
6855         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6856         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6857         (__start_context): Declare.
6858         (__makecontext_ret): Delete.
6859         (__makecontext): Hook up __start_context instead of
6860         __makecontext_ret.
6861         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6862         (sysdep_routines): Add __start_context when in stdlib.
6863
6864 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6865
6866         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6867         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6868         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6869         hardcoded "nm".
6870         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6871         (READELF): New variable.  Use it instead of hardcoded "readelf".
6872
6873 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6874
6875         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6876         * sysdeps/x86/Makefile: Here.
6877         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6878         * sysdeps/x86/tst-xmmymm.sh: This.
6879
6880 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6881
6882         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6883         expectations.
6884         [UNIX98] (pthread_barrier_t): Do not expect.
6885         [UNIX98] (pthread_barrierattr_t): Likewise.
6886         [UNIX98] (pthread_spinlock_t): Likewise.
6887         [UNIX98] (pthread_barrier_destroy): Likewise.
6888         [UNIX98] (pthread_barrier_init): Likewise.
6889         [UNIX98] (pthread_barrier_wait): Likewise.
6890         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6891         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6892         [UNIX98] (pthread_barrierattr_init): Likewise.
6893         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6894         [UNIX98] (pthread_getcpuclockid): Likewise.
6895         [UNIX98] (pthread_mutex_timedlock): Likewise.
6896         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6897         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6898         [UNIX98] (pthread_sigmask): Likewise.
6899         [UNIX98] (pthread_spin_destroy): Likewise.
6900         [UNIX98] (pthread_spin_init): Likewise.
6901         [UNIX98] (pthread_spin_lock): Likewise.
6902         [UNIX98] (pthread_spin_trylock): Likewise.
6903         [UNIX98] (pthread_spin_unlock): Likewise.
6904         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6905         Do not expect.
6906         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6907         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6908         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6909         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6910         [XPG3 || XPG4] (pthread_key_t): Likewise.
6911         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6912         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6913         [XPG3 || XPG4] (pthread_once_t): Likewise.
6914         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6915         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6916         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6917         [XPG3 || XPG4] (pthread_t): Likewise.
6918
6919         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6920         not expect.
6921         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6922
6923         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6924         Change function return type to int.
6925
6926         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6927         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6928         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6929         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6930         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6931         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6932         [!POSIX] (posix_madvise): Likewise.
6933         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6934         && !UNIX98].
6935         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6936         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6937         (mode_t): Likewise.
6938         (posix_mem_offset): Likewise.
6939         (posix_typed_mem_get_info): Likewise.
6940         (posix_typed_mem_open): Likewise.
6941
6942         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6943         Change condition to [XOPEN2K8].
6944
6945         * conform/conformtest.pl: Preprocess allow-header data with -x c
6946         instead of from stdin.
6947         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6948         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6949         [C99-based standards] (cerfc): Likewise.
6950         [C99-based standards] (cexp2): Likewise.
6951         [C99-based standards] (cexpm1): Likewise.
6952         [C99-based standards] (clog10): Likewise.
6953         [C99-based standards] (clog1p): Likewise.
6954         [C99-based standards] (clog2): Likewise.
6955         [C99-based standards] (clgamma): Likewise.
6956         [C99-based standards] (ctgamma): Likewise.
6957         [C99-based standards] (cerff): Likewise.
6958         [C99-based standards] (cerfcf): Likewise.
6959         [C99-based standards] (cexp2f): Likewise.
6960         [C99-based standards] (cexpm1f): Likewise.
6961         [C99-based standards] (clog10f): Likewise.
6962         [C99-based standards] (clog1pf): Likewise.
6963         [C99-based standards] (clog2f): Likewise.
6964         [C99-based standards] (clgammaf): Likewise.
6965         [C99-based standards] (ctgammaf): Likewise.
6966         [C99-based standards] (cerfl): Likewise.
6967         [C99-based standards] (cerfcl): Likewise.
6968         [C99-based standards] (cexp2l): Likewise.
6969         [C99-based standards] (cexpm1l): Likewise.
6970         [C99-based standards] (clog10l): Likewise.
6971         [C99-based standards] (clog1pl): Likewise.
6972         [C99-based standards] (clog2l): Likewise.
6973         [C99-based standards] (clgammal): Likewise.
6974         [C99-based standards] (ctgammal): Likewise.
6975         * conform/data/inttypes.h-data [C99-based standards]: Include
6976         stdint.h-data.  Remove all expectations for stdint.h contents.
6977         [C99-based standards] (PRI*): Do not allow.
6978         [C99-based standards] (SCN*): Likewise.
6979         [C99-based standards] (*_t): Likewise.
6980         [C99-based-standards] (PRId8): Expect macro.
6981         [C99-based-standards] (PRIi8): Likewise.
6982         [C99-based-standards] (PRIo8): Likewise.
6983         [C99-based-standards] (PRIu8): Likewise.
6984         [C99-based-standards] (PRIx8): Likewise.
6985         [C99-based-standards] (PRIX8): Likewise.
6986         [C99-based-standards] (SCNd8): Likewise.
6987         [C99-based-standards] (SCNi8): Likewise.
6988         [C99-based-standards] (SCNo8): Likewise.
6989         [C99-based-standards] (SCNu8): Likewise.
6990         [C99-based-standards] (SCNx8): Likewise.
6991         [C99-based-standards] (PRIdLEAST8): Likewise.
6992         [C99-based-standards] (PRIiLEAST8): Likewise.
6993         [C99-based-standards] (PRIoLEAST8): Likewise.
6994         [C99-based-standards] (PRIuLEAST8): Likewise.
6995         [C99-based-standards] (PRIxLEAST8): Likewise.
6996         [C99-based-standards] (PRIXLEAST8): Likewise.
6997         [C99-based-standards] (SCNdLEAST8): Likewise.
6998         [C99-based-standards] (SCNiLEAST8): Likewise.
6999         [C99-based-standards] (SCNoLEAST8): Likewise.
7000         [C99-based-standards] (SCNuLEAST8): Likewise.
7001         [C99-based-standards] (SCNxLEAST8): Likewise.
7002         [C99-based-standards] (PRIdFAST8): Likewise.
7003         [C99-based-standards] (PRIiFAST8): Likewise.
7004         [C99-based-standards] (PRIoFAST8): Likewise.
7005         [C99-based-standards] (PRIuFAST8): Likewise.
7006         [C99-based-standards] (PRIxFAST8): Likewise.
7007         [C99-based-standards] (PRIXFAST8): Likewise.
7008         [C99-based-standards] (SCNdFAST8): Likewise.
7009         [C99-based-standards] (SCNiFAST8): Likewise.
7010         [C99-based-standards] (SCNoFAST8): Likewise.
7011         [C99-based-standards] (SCNuFAST8): Likewise.
7012         [C99-based-standards] (SCNxFAST8): Likewise.
7013         [C99-based-standards] (PRId16): Likewise.
7014         [C99-based-standards] (PRIi16): Likewise.
7015         [C99-based-standards] (PRIo16): Likewise.
7016         [C99-based-standards] (PRIu16): Likewise.
7017         [C99-based-standards] (PRIx16): Likewise.
7018         [C99-based-standards] (PRIX16): Likewise.
7019         [C99-based-standards] (SCNd16): Likewise.
7020         [C99-based-standards] (SCNi16): Likewise.
7021         [C99-based-standards] (SCNo16): Likewise.
7022         [C99-based-standards] (SCNu16): Likewise.
7023         [C99-based-standards] (SCNx16): Likewise.
7024         [C99-based-standards] (PRIdLEAST16): Likewise.
7025         [C99-based-standards] (PRIiLEAST16): Likewise.
7026         [C99-based-standards] (PRIoLEAST16): Likewise.
7027         [C99-based-standards] (PRIuLEAST16): Likewise.
7028         [C99-based-standards] (PRIxLEAST16): Likewise.
7029         [C99-based-standards] (PRIXLEAST16): Likewise.
7030         [C99-based-standards] (SCNdLEAST16): Likewise.
7031         [C99-based-standards] (SCNiLEAST16): Likewise.
7032         [C99-based-standards] (SCNoLEAST16): Likewise.
7033         [C99-based-standards] (SCNuLEAST16): Likewise.
7034         [C99-based-standards] (SCNxLEAST16): Likewise.
7035         [C99-based-standards] (PRIdFAST16): Likewise.
7036         [C99-based-standards] (PRIiFAST16): Likewise.
7037         [C99-based-standards] (PRIoFAST16): Likewise.
7038         [C99-based-standards] (PRIuFAST16): Likewise.
7039         [C99-based-standards] (PRIxFAST16): Likewise.
7040         [C99-based-standards] (PRIXFAST16): Likewise.
7041         [C99-based-standards] (SCNdFAST16): Likewise.
7042         [C99-based-standards] (SCNiFAST16): Likewise.
7043         [C99-based-standards] (SCNoFAST16): Likewise.
7044         [C99-based-standards] (SCNuFAST16): Likewise.
7045         [C99-based-standards] (SCNxFAST16): Likewise.
7046         [C99-based-standards] (PRId32): Likewise.
7047         [C99-based-standards] (PRIi32): Likewise.
7048         [C99-based-standards] (PRIo32): Likewise.
7049         [C99-based-standards] (PRIu32): Likewise.
7050         [C99-based-standards] (PRIx32): Likewise.
7051         [C99-based-standards] (PRIX32): Likewise.
7052         [C99-based-standards] (SCNd32): Likewise.
7053         [C99-based-standards] (SCNi32): Likewise.
7054         [C99-based-standards] (SCNo32): Likewise.
7055         [C99-based-standards] (SCNu32): Likewise.
7056         [C99-based-standards] (SCNx32): Likewise.
7057         [C99-based-standards] (PRIdLEAST32): Likewise.
7058         [C99-based-standards] (PRIiLEAST32): Likewise.
7059         [C99-based-standards] (PRIoLEAST32): Likewise.
7060         [C99-based-standards] (PRIuLEAST32): Likewise.
7061         [C99-based-standards] (PRIxLEAST32): Likewise.
7062         [C99-based-standards] (PRIXLEAST32): Likewise.
7063         [C99-based-standards] (SCNdLEAST32): Likewise.
7064         [C99-based-standards] (SCNiLEAST32): Likewise.
7065         [C99-based-standards] (SCNoLEAST32): Likewise.
7066         [C99-based-standards] (SCNuLEAST32): Likewise.
7067         [C99-based-standards] (SCNxLEAST32): Likewise.
7068         [C99-based-standards] (PRIdFAST32): Likewise.
7069         [C99-based-standards] (PRIiFAST32): Likewise.
7070         [C99-based-standards] (PRIoFAST32): Likewise.
7071         [C99-based-standards] (PRIuFAST32): Likewise.
7072         [C99-based-standards] (PRIxFAST32): Likewise.
7073         [C99-based-standards] (PRIXFAST32): Likewise.
7074         [C99-based-standards] (SCNdFAST32): Likewise.
7075         [C99-based-standards] (SCNiFAST32): Likewise.
7076         [C99-based-standards] (SCNoFAST32): Likewise.
7077         [C99-based-standards] (SCNuFAST32): Likewise.
7078         [C99-based-standards] (SCNxFAST32): Likewise.
7079         [C99-based-standards] (PRId64): Likewise.
7080         [C99-based-standards] (PRIi64): Likewise.
7081         [C99-based-standards] (PRIo64): Likewise.
7082         [C99-based-standards] (PRIu64): Likewise.
7083         [C99-based-standards] (PRIx64): Likewise.
7084         [C99-based-standards] (PRIX64): Likewise.
7085         [C99-based-standards] (SCNd64): Likewise.
7086         [C99-based-standards] (SCNi64): Likewise.
7087         [C99-based-standards] (SCNo64): Likewise.
7088         [C99-based-standards] (SCNu64): Likewise.
7089         [C99-based-standards] (SCNx64): Likewise.
7090         [C99-based-standards] (PRIdLEAST64): Likewise.
7091         [C99-based-standards] (PRIiLEAST64): Likewise.
7092         [C99-based-standards] (PRIoLEAST64): Likewise.
7093         [C99-based-standards] (PRIuLEAST64): Likewise.
7094         [C99-based-standards] (PRIxLEAST64): Likewise.
7095         [C99-based-standards] (PRIXLEAST64): Likewise.
7096         [C99-based-standards] (SCNdLEAST64): Likewise.
7097         [C99-based-standards] (SCNiLEAST64): Likewise.
7098         [C99-based-standards] (SCNoLEAST64): Likewise.
7099         [C99-based-standards] (SCNuLEAST64): Likewise.
7100         [C99-based-standards] (SCNxLEAST64): Likewise.
7101         [C99-based-standards] (PRIdFAST64): Likewise.
7102         [C99-based-standards] (PRIiFAST64): Likewise.
7103         [C99-based-standards] (PRIoFAST64): Likewise.
7104         [C99-based-standards] (PRIuFAST64): Likewise.
7105         [C99-based-standards] (PRIxFAST64): Likewise.
7106         [C99-based-standards] (PRIXFAST64): Likewise.
7107         [C99-based-standards] (SCNdFAST64): Likewise.
7108         [C99-based-standards] (SCNiFAST64): Likewise.
7109         [C99-based-standards] (SCNoFAST64): Likewise.
7110         [C99-based-standards] (SCNuFAST64): Likewise.
7111         [C99-based-standards] (SCNxFAST64): Likewise.
7112         [C99-based-standards] (PRIdMAX): Likewise.
7113         [C99-based-standards] (PRIiMAX): Likewise.
7114         [C99-based-standards] (PRIoMAX): Likewise.
7115         [C99-based-standards] (PRIuMAX): Likewise.
7116         [C99-based-standards] (PRIxMAX): Likewise.
7117         [C99-based-standards] (PRIXMAX): Likewise.
7118         [C99-based-standards] (SCNdMAX): Likewise.
7119         [C99-based-standards] (SCNiMAX): Likewise.
7120         [C99-based-standards] (SCNoMAX): Likewise.
7121         [C99-based-standards] (SCNuMAX): Likewise.
7122         [C99-based-standards] (SCNxMAX): Likewise.
7123         [C99-based-standards] (PRIdPTR): Likewise.
7124         [C99-based-standards] (PRIiPTR): Likewise.
7125         [C99-based-standards] (PRIoPTR): Likewise.
7126         [C99-based-standards] (PRIuPTR): Likewise.
7127         [C99-based-standards] (PRIxPTR): Likewise.
7128         [C99-based-standards] (PRIXPTR): Likewise.
7129         [C99-based-standards] (SCNdPTR): Likewise.
7130         [C99-based-standards] (SCNiPTR): Likewise.
7131         [C99-based-standards] (SCNoPTR): Likewise.
7132         [C99-based-standards] (SCNuPTR): Likewise.
7133         [C99-based-standards] (SCNxPTR): Likewise.
7134         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7135         allow.
7136         * conform/data/stdint.h-data: Update comments to clarify
7137         requirements.
7138         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
7139         type.
7140         [C99-based standards] (INT8_MAX): Likewise.
7141         [C99-based standards] (INT16_MIN): Likewise.
7142         [C99-based standards] (INT16_MAX): Likewise.
7143         [C99-based standards] (INT32_MIN): Likewise.
7144         [C99-based standards] (INT32_MAX): Likewise.
7145         [C99-based standards] (INT64_MIN): Likewise.
7146         [C99-based standards] (INT64_MAX): Likewise.
7147         [C99-based standards] (UINT8_MAX): Likewise.
7148         [C99-based standards] (UINT16_MAX): Likewise.
7149         [C99-based standards] (UINT32_MAX): Likewise.
7150         [C99-based standards] (UINT64_MAX): Likewise.
7151         [C99-based standards] (INT_LEAST8_MIN): Likewise.
7152         [C99-based standards] (INT_LEAST8_MAX): Likewise.
7153         [C99-based standards] (INT_LEAST16_MIN): Likewise.
7154         [C99-based standards] (INT_LEAST16_MAX): Likewise.
7155         [C99-based standards] (INT_LEAST32_MIN): Likewise.
7156         [C99-based standards] (INT_LEAST32_MAX): Likewise.
7157         [C99-based standards] (INT_LEAST64_MIN): Likewise.
7158         [C99-based standards] (INT_LEAST64_MAX): Likewise.
7159         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7160         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7161         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7162         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7163         [C99-based standards] (INT_FAST8_MIN): Likewise.
7164         [C99-based standards] (INT_FAST8_MAX): Likewise.
7165         [C99-based standards] (INT_FAST16_MIN): Likewise.
7166         [C99-based standards] (INT_FAST16_MAX): Likewise.
7167         [C99-based standards] (INT_FAST32_MIN): Likewise.
7168         [C99-based standards] (INT_FAST32_MAX): Likewise.
7169         [C99-based standards] (INT_FAST64_MIN): Likewise.
7170         [C99-based standards] (INT_FAST64_MAX): Likewise.
7171         [C99-based standards] (UINT_FAST8_MAX): Likewise.
7172         [C99-based standards] (UINT_FAST16_MAX): Likewise.
7173         [C99-based standards] (UINT_FAST32_MAX): Likewise.
7174         [C99-based standards] (UINT_FAST64_MAX): Likewise.
7175         [C99-based standards] (INTPTR_MIN): Likewise.
7176         [C99-based standards] (INTPTR_MAX): Likewise.
7177         [C99-based standards] (UINTPTR_MAX): Likewise.
7178         [C99-based standards] (INTMAX_MIN): Likewise.
7179         [C99-based standards] (INTMAX_MAX): Likewise.
7180         [C99-based standards] (UINTMAX_MAX): Likewise.
7181         [C99-based standards] (PTRDIFF_MIN): Likewise.
7182         [C99-based standards] (PTRDIFF_MAX): Likewise.
7183         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7184         [C99-based standards] (SIZE_MAX): Likewise.
7185         [C99-based standards] (WCHAR_MAX): Likewise.
7186         [C99-based standards] (WINT_MAX): Likewise.
7187         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
7188         constraint on value.
7189         [C99-based standards] (WCHAR_MIN): Likewise.
7190         [C99-based standards] (WINT_MIN): Likewise.
7191         [C99-based standards] (*_t): Allow.
7192         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7193         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7194         Include math.h-data and complex.h-data.  Remove all expectations
7195         of math.h and complex.h contents.
7196         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7197         at end of line.
7198         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7199         (struct tm): Expect tag.
7200         [C99-based-standards] (wcstof): Expect function.
7201         [C99-based-standards] (wcstold): Likewise.
7202         [C99-based-standards] (wcstoll): Likewise.
7203         [C99-based-standards] (wcstoull): Likewise.
7204         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7205         macro-int-constant.  Specify type.
7206         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
7207         constraint on value.
7208         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7209         Specify type.
7210         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7211         Specify value.
7212         [ISO C standards]: Do not allow headers.
7213         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7214         wcs[abcdefghijklmnopqrstuvwxyz]*.
7215         [ISO C standards] (*_t): Do not allow.
7216         * conform/data/wctype.h-data [C99-based standards] (iswblank):
7217         Expect function.
7218         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7219         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7220         Specify type.
7221         [ISO C standards]: Do not allow headers.
7222         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7223         is[abcdefghijklmnopqrstuvwxyz]*.
7224         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7225         to[abcdefghijklmnopqrstuvwxyz]*.
7226         [ISO C standards] (*_t): Do not allow.
7227         * conform/data/stdalign.h-data: New file.
7228         * conform/data/stdbool.h-data: Likewise.
7229         * conform/data/stdnoreturn.h-data: Likewise.
7230
7231 2012-11-07  Roland McGrath  <roland@hack.frob.com>
7232
7233         [BZ #14815]
7234         * manual/filesys.texi (Directory Entries): Typo fix.
7235         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7236
7237 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7238
7239         * elf/elf.h (EM_AARCH64): New macro.
7240         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7241         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7242         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7243         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7244         (R_AARCH64_TLSDESC): Likewise.
7245         (NT_ARM_TLS): Likewise.
7246         (NT_ARM_HW_BREAK): Likewise.
7247         (NT_ARM_HW_WATCH): Likewise.
7248
7249 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
7250
7251         [BZ #14811]
7252         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7253         (__ieee754_powl): Saturate nonzero exponents with absolute value
7254         below 0x1p-79 to +/- 0x1p-79.
7255         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7256         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7257         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7258         nonzero exponents with absolute value below 0x1p-32 to +/-
7259         0x1p-32.
7260         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7261         (__ieee754_powl): Saturate nonzero exponents with absolute value
7262         below 0x1p-79 to +/- 0x1p-79.
7263         * math/libm-test.inc (pow_test): Add more tests.
7264
7265 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7266
7267         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7268         _dl_s390_cap_flags with kernel. Increase string length.
7269         (_dl_s390_platforms): Add z196 and zEC12.
7270
7271 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
7272
7273         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7274         Change XOPEN21K to XOPEN2K.
7275
7276 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
7277
7278         * string/memmove.c: Use memcpy when possible.
7279
7280 2012-11-06  Andreas Jaeger  <aj@suse.de>
7281
7282         * po/eo.po: Update from translation team.
7283
7284 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
7285
7286         [BZ #14793]
7287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7288         exponent and small x and y exponents, scale x or y up.  Increase
7289         by 2 the exponent used in scaling up.
7290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7291         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7292         * math/libm-test.inc (fma_test): Add more tests.
7293         (fma_test_towardzero): Likewise.
7294         (fma_test_downward): Likewise.
7295         (fma_test_upward): Likewise.
7296
7297 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
7298
7299         [BZ #14805]
7300         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7301         fenv_t *.
7302
7303         [BZ #14801]
7304         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7305         namespace for names of struct fields.
7306         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7307         fenv_t fields.
7308         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7309         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7310
7311 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7312
7313         [BZ #3665]
7314         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7315
7316 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7317
7318         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7319         PTR_DEMANGLE.
7320
7321         [BZ #5246]
7322         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7323         PTR_DEMANGLE.
7324
7325 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
7326
7327         [BZ #14797]
7328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7329         definitely overflow as x * y not x * y + z.
7330         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7331         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7332         * math/libm-test.inc (fma_test): Add more tests.
7333         (fma_test_towardzero): Likewise.
7334         (fma_test_downward): Likewise.
7335         (fma_test_upward): Likewise.
7336
7337 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7338
7339         [BZ #157]
7340
7341         * include/stub-tag.h: Remove file.
7342         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7343         '#include' of it.
7344         * manual/maint.texi (Porting): Don't reference it.
7345         * Makerules ($(objpfx)stubs): Likewise.
7346         * dirent/closedir.c: Don't include <stub-tag.h>.
7347         * dirent/dirfd.c: Likewise.
7348         * dirent/fdopendir.c: Likewise.
7349         * dirent/getdents.c: Likewise.
7350         * dirent/getdents64.c: Likewise.
7351         * dirent/opendir.c: Likewise.
7352         * dirent/readdir.c: Likewise.
7353         * dirent/readdir64.c: Likewise.
7354         * dirent/readdir64_r.c: Likewise.
7355         * dirent/readdir_r.c: Likewise.
7356         * dirent/rewinddir.c: Likewise.
7357         * dirent/seekdir.c: Likewise.
7358         * dirent/telldir.c: Likewise.
7359         * gmon/profil.c: Likewise.
7360         * grp/setgroups.c: Likewise.
7361         * inet/if_index.c: Likewise.
7362         * io/access.c: Likewise.
7363         * io/chdir.c: Likewise.
7364         * io/chmod.c: Likewise.
7365         * io/chown.c: Likewise.
7366         * io/close.c: Likewise.
7367         * io/dup.c: Likewise.
7368         * io/dup2.c: Likewise.
7369         * io/dup3.c: Likewise.
7370         * io/euidaccess.c: Likewise.
7371         * io/faccessat.c: Likewise.
7372         * io/fchdir.c: Likewise.
7373         * io/fchmod.c: Likewise.
7374         * io/fchmodat.c: Likewise.
7375         * io/fchown.c: Likewise.
7376         * io/fchownat.c: Likewise.
7377         * io/fcntl.c: Likewise.
7378         * io/flock.c: Likewise.
7379         * io/fstatfs.c: Likewise.
7380         * io/fstatfs64.c: Likewise.
7381         * io/fstatvfs.c: Likewise.
7382         * io/fstatvfs64.c: Likewise.
7383         * io/futimens.c: Likewise.
7384         * io/fxstat.c: Likewise.
7385         * io/fxstat64.c: Likewise.
7386         * io/fxstatat.c: Likewise.
7387         * io/fxstatat64.c: Likewise.
7388         * io/getcwd.c: Likewise.
7389         * io/isatty.c: Likewise.
7390         * io/lchmod.c: Likewise.
7391         * io/lchown.c: Likewise.
7392         * io/link.c: Likewise.
7393         * io/linkat.c: Likewise.
7394         * io/lseek.c: Likewise.
7395         * io/lseek64.c: Likewise.
7396         * io/lxstat64.c: Likewise.
7397         * io/mkdir.c: Likewise.
7398         * io/mkdirat.c: Likewise.
7399         * io/mkfifo.c: Likewise.
7400         * io/mkfifoat.c: Likewise.
7401         * io/open.c: Likewise.
7402         * io/open64.c: Likewise.
7403         * io/openat.c: Likewise.
7404         * io/openat64.c: Likewise.
7405         * io/pipe.c: Likewise.
7406         * io/pipe2.c: Likewise.
7407         * io/poll.c: Likewise.
7408         * io/posix_fadvise.c: Likewise.
7409         * io/posix_fadvise64.c: Likewise.
7410         * io/posix_fallocate.c: Likewise.
7411         * io/posix_fallocate64.c: Likewise.
7412         * io/read.c: Likewise.
7413         * io/readlink.c: Likewise.
7414         * io/readlinkat.c: Likewise.
7415         * io/rmdir.c: Likewise.
7416         * io/sendfile.c: Likewise.
7417         * io/sendfile64.c: Likewise.
7418         * io/statfs.c: Likewise.
7419         * io/statfs64.c: Likewise.
7420         * io/statvfs.c: Likewise.
7421         * io/statvfs64.c: Likewise.
7422         * io/symlink.c: Likewise.
7423         * io/symlinkat.c: Likewise.
7424         * io/ttyname.c: Likewise.
7425         * io/ttyname_r.c: Likewise.
7426         * io/umask.c: Likewise.
7427         * io/unlink.c: Likewise.
7428         * io/unlinkat.c: Likewise.
7429         * io/utime.c: Likewise.
7430         * io/utimensat.c: Likewise.
7431         * io/write.c: Likewise.
7432         * io/xmknod.c: Likewise.
7433         * io/xmknodat.c: Likewise.
7434         * io/xstat.c: Likewise.
7435         * io/xstat64.c: Likewise.
7436         * login/getpt.c: Likewise.
7437         * login/grantpt.c: Likewise.
7438         * login/unlockpt.c: Likewise.
7439         * math/e_acoshl.c: Likewise.
7440         * math/e_acosl.c: Likewise.
7441         * math/e_asinl.c: Likewise.
7442         * math/e_atan2l.c: Likewise.
7443         * math/e_atanhl.c: Likewise.
7444         * math/e_coshl.c: Likewise.
7445         * math/e_expl.c: Likewise.
7446         * math/e_fmodl.c: Likewise.
7447         * math/e_gammal_r.c: Likewise.
7448         * math/e_hypotl.c: Likewise.
7449         * math/e_j0l.c: Likewise.
7450         * math/e_j1l.c: Likewise.
7451         * math/e_jnl.c: Likewise.
7452         * math/e_lgammal_r.c: Likewise.
7453         * math/e_log10l.c: Likewise.
7454         * math/e_log2l.c: Likewise.
7455         * math/e_logl.c: Likewise.
7456         * math/e_powl.c: Likewise.
7457         * math/e_rem_pio2l.c: Likewise.
7458         * math/e_sinhl.c: Likewise.
7459         * math/e_sqrtl.c: Likewise.
7460         * math/fclrexcpt.c: Likewise.
7461         * math/fedisblxcpt.c: Likewise.
7462         * math/feenablxcpt.c: Likewise.
7463         * math/fegetenv.c: Likewise.
7464         * math/fegetexcept.c: Likewise.
7465         * math/fegetround.c: Likewise.
7466         * math/feholdexcpt.c: Likewise.
7467         * math/fesetenv.c: Likewise.
7468         * math/fesetround.c: Likewise.
7469         * math/feupdateenv.c: Likewise.
7470         * math/fgetexcptflg.c: Likewise.
7471         * math/fraiseexcpt.c: Likewise.
7472         * math/fsetexcptflg.c: Likewise.
7473         * math/ftestexcept.c: Likewise.
7474         * math/k_cosl.c: Likewise.
7475         * math/k_rem_pio2l.c: Likewise.
7476         * math/k_sinl.c: Likewise.
7477         * math/k_tanl.c: Likewise.
7478         * math/s_asinhl.c: Likewise.
7479         * math/s_atanl.c: Likewise.
7480         * math/s_cbrtl.c: Likewise.
7481         * math/s_erfl.c: Likewise.
7482         * math/s_expm1l.c: Likewise.
7483         * math/s_log1pl.c: Likewise.
7484         * math/s_tanhl.c: Likewise.
7485         * misc/acct.c: Likewise.
7486         * misc/brk.c: Likewise.
7487         * misc/chflags.c: Likewise.
7488         * misc/chroot.c: Likewise.
7489         * misc/fchflags.c: Likewise.
7490         * misc/fgetxattr.c: Likewise.
7491         * misc/flistxattr.c: Likewise.
7492         * misc/fremovexattr.c: Likewise.
7493         * misc/fsetxattr.c: Likewise.
7494         * misc/fsync.c: Likewise.
7495         * misc/ftruncate.c: Likewise.
7496         * misc/futimes.c: Likewise.
7497         * misc/futimesat.c: Likewise.
7498         * misc/getdomain.c: Likewise.
7499         * misc/getdtsz.c: Likewise.
7500         * misc/gethostid.c: Likewise.
7501         * misc/gethostname.c: Likewise.
7502         * misc/getloadavg.c: Likewise.
7503         * misc/getpagesize.c: Likewise.
7504         * misc/getsysstats.c: Likewise.
7505         * misc/getxattr.c: Likewise.
7506         * misc/gtty.c: Likewise.
7507         * misc/ioctl.c: Likewise.
7508         * misc/lgetxattr.c: Likewise.
7509         * misc/listxattr.c: Likewise.
7510         * misc/llistxattr.c: Likewise.
7511         * misc/lremovexattr.c: Likewise.
7512         * misc/lsetxattr.c: Likewise.
7513         * misc/lutimes.c: Likewise.
7514         * misc/madvise.c: Likewise.
7515         * misc/mincore.c: Likewise.
7516         * misc/mlock.c: Likewise.
7517         * misc/mlockall.c: Likewise.
7518         * misc/mmap.c: Likewise.
7519         * misc/mprotect.c: Likewise.
7520         * misc/msync.c: Likewise.
7521         * misc/munlock.c: Likewise.
7522         * misc/munlockall.c: Likewise.
7523         * misc/munmap.c: Likewise.
7524         * misc/preadv.c: Likewise.
7525         * misc/preadv64.c: Likewise.
7526         * misc/ptrace.c: Likewise.
7527         * misc/pwritev.c: Likewise.
7528         * misc/pwritev64.c: Likewise.
7529         * misc/readv.c: Likewise.
7530         * misc/reboot.c: Likewise.
7531         * misc/remap_file_pages.c: Likewise.
7532         * misc/removexattr.c: Likewise.
7533         * misc/revoke.c: Likewise.
7534         * misc/select.c: Likewise.
7535         * misc/setdomain.c: Likewise.
7536         * misc/setegid.c: Likewise.
7537         * misc/seteuid.c: Likewise.
7538         * misc/sethostid.c: Likewise.
7539         * misc/sethostname.c: Likewise.
7540         * misc/setregid.c: Likewise.
7541         * misc/setreuid.c: Likewise.
7542         * misc/setxattr.c: Likewise.
7543         * misc/sstk.c: Likewise.
7544         * misc/stty.c: Likewise.
7545         * misc/swapoff.c: Likewise.
7546         * misc/swapon.c: Likewise.
7547         * misc/sync.c: Likewise.
7548         * misc/syncfs.c: Likewise.
7549         * misc/syscall.c: Likewise.
7550         * misc/truncate.c: Likewise.
7551         * misc/ualarm.c: Likewise.
7552         * misc/usleep.c: Likewise.
7553         * misc/ustat.c: Likewise.
7554         * misc/utimes.c: Likewise.
7555         * misc/vhangup.c: Likewise.
7556         * misc/writev.c: Likewise.
7557         * posix/_exit.c: Likewise.
7558         * posix/alarm.c: Likewise.
7559         * posix/execve.c: Likewise.
7560         * posix/fexecve.c: Likewise.
7561         * posix/fork.c: Likewise.
7562         * posix/fpathconf.c: Likewise.
7563         * posix/getaddrinfo.c: Likewise.
7564         * posix/getegid.c: Likewise.
7565         * posix/geteuid.c: Likewise.
7566         * posix/getgid.c: Likewise.
7567         * posix/getgroups.c: Likewise.
7568         * posix/getlogin.c: Likewise.
7569         * posix/getlogin_r.c: Likewise.
7570         * posix/getpgid.c: Likewise.
7571         * posix/getpid.c: Likewise.
7572         * posix/getppid.c: Likewise.
7573         * posix/getresgid.c: Likewise.
7574         * posix/getresuid.c: Likewise.
7575         * posix/getsid.c: Likewise.
7576         * posix/getuid.c: Likewise.
7577         * posix/glob64.c: Likewise.
7578         * posix/nanosleep.c: Likewise.
7579         * posix/pathconf.c: Likewise.
7580         * posix/pause.c: Likewise.
7581         * posix/posix_madvise.c: Likewise.
7582         * posix/pread.c: Likewise.
7583         * posix/pread64.c: Likewise.
7584         * posix/pwrite.c: Likewise.
7585         * posix/pwrite64.c: Likewise.
7586         * posix/sched_getaffinity.c: Likewise.
7587         * posix/sched_getp.c: Likewise.
7588         * posix/sched_gets.c: Likewise.
7589         * posix/sched_primax.c: Likewise.
7590         * posix/sched_primin.c: Likewise.
7591         * posix/sched_rr_gi.c: Likewise.
7592         * posix/sched_setaffinity.c: Likewise.
7593         * posix/sched_setp.c: Likewise.
7594         * posix/sched_sets.c: Likewise.
7595         * posix/sched_yield.c: Likewise.
7596         * posix/setgid.c: Likewise.
7597         * posix/setlogin.c: Likewise.
7598         * posix/setpgid.c: Likewise.
7599         * posix/setresgid.c: Likewise.
7600         * posix/setresuid.c: Likewise.
7601         * posix/setsid.c: Likewise.
7602         * posix/setuid.c: Likewise.
7603         * posix/sleep.c: Likewise.
7604         * posix/spawni.c: Likewise.
7605         * posix/sysconf.c: Likewise.
7606         * posix/times.c: Likewise.
7607         * posix/wait.c: Likewise.
7608         * posix/wait3.c: Likewise.
7609         * posix/wait4.c: Likewise.
7610         * posix/waitpid.c: Likewise.
7611         * resolv/gai_sigqueue.c: Likewise.
7612         * resource/getpriority.c: Likewise.
7613         * resource/getrlimit.c: Likewise.
7614         * resource/getrusage.c: Likewise.
7615         * resource/nice.c: Likewise.
7616         * resource/setpriority.c: Likewise.
7617         * resource/setrlimit.c: Likewise.
7618         * resource/ulimit.c: Likewise.
7619         * rt/aio_cancel.c: Likewise.
7620         * rt/aio_fsync.c: Likewise.
7621         * rt/aio_read.c: Likewise.
7622         * rt/aio_sigqueue.c: Likewise.
7623         * rt/aio_suspend.c: Likewise.
7624         * rt/aio_write.c: Likewise.
7625         * rt/clock_getres.c: Likewise.
7626         * rt/clock_gettime.c: Likewise.
7627         * rt/clock_nanosleep.c: Likewise.
7628         * rt/clock_settime.c: Likewise.
7629         * rt/lio_listio.c: Likewise.
7630         * rt/mq_close.c: Likewise.
7631         * rt/mq_getattr.c: Likewise.
7632         * rt/mq_notify.c: Likewise.
7633         * rt/mq_open.c: Likewise.
7634         * rt/mq_receive.c: Likewise.
7635         * rt/mq_send.c: Likewise.
7636         * rt/mq_setattr.c: Likewise.
7637         * rt/mq_timedreceive.c: Likewise.
7638         * rt/mq_timedsend.c: Likewise.
7639         * rt/mq_unlink.c: Likewise.
7640         * rt/shm_open.c: Likewise.
7641         * rt/shm_unlink.c: Likewise.
7642         * rt/timer_create.c: Likewise.
7643         * rt/timer_delete.c: Likewise.
7644         * rt/timer_getoverr.c: Likewise.
7645         * rt/timer_gettime.c: Likewise.
7646         * rt/timer_settime.c: Likewise.
7647         * setjmp/__longjmp.c: Likewise.
7648         * setjmp/setjmp.c: Likewise.
7649         * signal/kill.c: Likewise.
7650         * signal/killpg.c: Likewise.
7651         * signal/raise.c: Likewise.
7652         * signal/sigaction.c: Likewise.
7653         * signal/sigaltstack.c: Likewise.
7654         * signal/sigblock.c: Likewise.
7655         * signal/sigignore.c: Likewise.
7656         * signal/sigintr.c: Likewise.
7657         * signal/signal.c: Likewise.
7658         * signal/sigpause.c: Likewise.
7659         * signal/sigpending.c: Likewise.
7660         * signal/sigqueue.c: Likewise.
7661         * signal/sigreturn.c: Likewise.
7662         * signal/sigset.c: Likewise.
7663         * signal/sigsetmask.c: Likewise.
7664         * signal/sigstack.c: Likewise.
7665         * signal/sigsuspend.c: Likewise.
7666         * signal/sigtimedwait.c: Likewise.
7667         * signal/sigvec.c: Likewise.
7668         * signal/sigwait.c: Likewise.
7669         * signal/sigwaitinfo.c: Likewise.
7670         * signal/sysv_signal.c: Likewise.
7671         * socket/accept.c: Likewise.
7672         * socket/accept4.c: Likewise.
7673         * socket/bind.c: Likewise.
7674         * socket/connect.c: Likewise.
7675         * socket/getpeername.c: Likewise.
7676         * socket/getsockname.c: Likewise.
7677         * socket/getsockopt.c: Likewise.
7678         * socket/isfdtype.c: Likewise.
7679         * socket/listen.c: Likewise.
7680         * socket/recv.c: Likewise.
7681         * socket/recvfrom.c: Likewise.
7682         * socket/recvmsg.c: Likewise.
7683         * socket/send.c: Likewise.
7684         * socket/sendmsg.c: Likewise.
7685         * socket/sendto.c: Likewise.
7686         * socket/setsockopt.c: Likewise.
7687         * socket/shutdown.c: Likewise.
7688         * socket/sockatmark.c: Likewise.
7689         * socket/socket.c: Likewise.
7690         * socket/socketpair.c: Likewise.
7691         * stdio-common/ctermid.c: Likewise.
7692         * stdio-common/cuserid.c: Likewise.
7693         * stdio-common/remove.c: Likewise.
7694         * stdio-common/rename.c: Likewise.
7695         * stdio-common/renameat.c: Likewise.
7696         * stdio-common/tempname.c: Likewise.
7697         * stdlib/getcontext.c: Likewise.
7698         * stdlib/makecontext.c: Likewise.
7699         * stdlib/setcontext.c: Likewise.
7700         * stdlib/swapcontext.c: Likewise.
7701         * stdlib/system.c: Likewise.
7702         * streams/fattach.c: Likewise.
7703         * streams/fdetach.c: Likewise.
7704         * streams/getmsg.c: Likewise.
7705         * streams/getpmsg.c: Likewise.
7706         * streams/putmsg.c: Likewise.
7707         * streams/putpmsg.c: Likewise.
7708         * sysdeps/unix/bsd/getpt.c: Likewise.
7709         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7710         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7711         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7713         Likewise.
7714         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7715         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7716         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7717         * sysvipc/msgctl.c: Likewise.
7718         * sysvipc/msgget.c: Likewise.
7719         * sysvipc/msgrcv.c: Likewise.
7720         * sysvipc/msgsnd.c: Likewise.
7721         * sysvipc/semctl.c: Likewise.
7722         * sysvipc/semget.c: Likewise.
7723         * sysvipc/semop.c: Likewise.
7724         * sysvipc/semtimedop.c: Likewise.
7725         * sysvipc/shmat.c: Likewise.
7726         * sysvipc/shmctl.c: Likewise.
7727         * sysvipc/shmdt.c: Likewise.
7728         * sysvipc/shmget.c: Likewise.
7729         * termios/tcdrain.c: Likewise.
7730         * termios/tcflow.c: Likewise.
7731         * termios/tcflush.c: Likewise.
7732         * termios/tcgetattr.c: Likewise.
7733         * termios/tcgetpgrp.c: Likewise.
7734         * termios/tcsendbrk.c: Likewise.
7735         * termios/tcsetattr.c: Likewise.
7736         * termios/tcsetpgrp.c: Likewise.
7737         * time/adjtime.c: Likewise.
7738         * time/clock.c: Likewise.
7739         * time/getitimer.c: Likewise.
7740         * time/gettimeofday.c: Likewise.
7741         * time/setitimer.c: Likewise.
7742         * time/settimeofday.c: Likewise.
7743         * time/stime.c: Likewise.
7744         * time/time.c: Likewise.
7745
7746 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7747
7748         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7749         /usr/old/bin.
7750
7751         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7752         instead of spaces.
7753         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7754
7755 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7756
7757         [BZ #14796]
7758         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7759         FE_TONEAREST before applying Dekker multiplication and Knuth
7760         addition.  Clear inexact exceptions and check for exact zero
7761         results afterwards.
7762         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7763         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7764         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7765         * math/libm-test.inc (fma_test): Add more tests.
7766         (fma_test_towardzero): Likewise.
7767         (fma_test_downward): Likewise.
7768         (fma_test_upward): Likewise.
7769         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7770         function.
7771         (libc_fesetround): New macro.
7772         (libc_fesetroundf): Likewise.
7773         (libc_fesetroundl): Likewise.
7774         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7775         function.
7776         (libc_fesetround_387): Likewise.
7777         (libc_fesetroundf): New macro.
7778         (libc_fesetround): Likewise.
7779         (libc_fesetroundl): Likewise.
7780         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7781         function.
7782         (libc_fesetroundf): New macro.
7783         (libc_fesetround): Likewise.
7784         (libc_fesetroundl): Likewise.
7785         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7786         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7787         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7788         libm_hidden_ver.
7789         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7790         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7791         libm_hidden_def.
7792         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7793         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7794         libm_hidden_ver.
7795         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7796         libm_hidden_def.
7797
7798         [BZ #3439]
7799         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7800         integer constant usable in #if and use that to give value to enum
7801         constant.
7802         (FE_DIVBYZERO): Likewise.
7803         (FE_UNDERFLOW): Likewise.
7804         (FE_OVERFLOW): Likewise.
7805         (FE_INVALID): Likewise.
7806         (FE_INVALID_SNAN): Likewise.
7807         (FE_INVALID_ISI): Likewise.
7808         (FE_INVALID_IDI): Likewise.
7809         (FE_INVALID_ZDZ): Likewise.
7810         (FE_INVALID_IMZ): Likewise.
7811         (FE_INVALID_COMPARE): Likewise.
7812         (FE_INVALID_SOFTWARE): Likewise.
7813         (FE_INVALID_SQRT): Likewise.
7814         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7815         (FE_TONEAREST): Likewise.
7816         (FE_TOWARDZERO): Likewise.
7817         (FE_UPWARD): Likewise.
7818         (FE_DOWNWARD): Likewise.
7819         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7820         (FE_DIVBYZERO): Likewise.
7821         (FE_OVERFLOW): Likewise.
7822         (FE_UNDERFLOW): Likewise.
7823         (FE_INEXACT): Likewise.
7824         (FE_TONEAREST): Likewise.
7825         (FE_DOWNWARD): Likewise.
7826         (FE_UPWARD): Likewise.
7827         (FE_TOWARDZERO): Likewise.
7828         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7829         (FE_UNDERFLOW): Likewise.
7830         (FE_OVERFLOW): Likewise.
7831         (FE_DIVBYZERO): Likewise.
7832         (FE_INVALID): Likewise.
7833         (FE_TONEAREST): Likewise.
7834         (FE_TOWARDZERO): Likewise.
7835         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7836         (FE_OVERFLOW): Likewise.
7837         (FE_UNDERFLOW): Likewise.
7838         (FE_DIVBYZERO): Likewise.
7839         (FE_INEXACT): Likewise.
7840         (FE_TONEAREST): Likewise.
7841         (FE_TOWARDZERO): Likewise.
7842         (FE_UPWARD): Likewise.
7843         (FE_DOWNWARD): Likewise.
7844         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7845         (FE_DIVBYZERO): Likewise.
7846         (FE_OVERFLOW): Likewise.
7847         (FE_UNDERFLOW): Likewise.
7848         (FE_INEXACT): Likewise.
7849         (FE_TONEAREST): Likewise.
7850         (FE_DOWNWARD): Likewise.
7851         (FE_UPWARD): Likewise.
7852         (FE_TOWARDZERO): Likewise.
7853
7854 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7855
7856         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7857
7858 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7859
7860         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7861         commands.  Quote $PWD.
7862         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7863         -x" by "export".
7864         (remove_newlines): Remove.
7865
7866 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7867
7868         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7869         * stdlib/stdlib.h (atof): Moved to ...
7870         * include/bits/stdlib-float.h: Here.  New file.
7871         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7872         * stdlib/bits/stdlib-float.h: New file.
7873         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7874         -mno-sse -mno-mmx.
7875         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7876         <xmmintrin.h>.
7877
7878 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7879
7880         * conform/conformtest.pl (@headers): Add fenv.h.
7881         * conform/data/fenv.h-data: New file.
7882         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7883         include of <math/fenv.h>.
7884
7885         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7886         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7887         && !UNIX98].  Enables tests for XOPEN2K8.
7888         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7889         POSIX2008]: Likewise.
7890
7891         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7892         (struct rusage): Do not expect type or its members.
7893
7894         [BZ #3439]
7895         * math/math.h (FP_NAN): Define macro to integer constant usable in
7896         #if and use that to give value to enum constant.
7897         (FP_INFINITE): Likewise.
7898         (FP_ZERO): Likewise.
7899         (FP_SUBNORMAL): Likewise.
7900         (FP_NORMAL): Likewise.
7901
7902 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7903
7904         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7905         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7906         arguments.
7907
7908 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7909
7910         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7911         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7912         autoconf-time if not.
7913         * configure.in: Remove AC_PREREQ.
7914
7915 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7916
7917         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7918         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7919         of the internal implementation.
7920
7921 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7922
7923         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7924         except include of <misc/sys/syslog.h>.
7925
7926 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7927
7928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7929         function returns with a NULL context exit with zero.
7930
7931 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7932
7933         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7934
7935 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
7936
7937         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7938         (run_program_cmd): This.
7939         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7940         (tst_langinfo): New variable.  Use it.
7941
7942 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
7943
7944         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7945         floating point opcodes.
7946
7947 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7948
7949         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7950         variable.
7951
7952         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7953
7954         * sysdeps/mach/hurd/powerpc: Remove directory.
7955         * sysdeps/mach/powerpc: Likewise.
7956
7957 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7958
7959         * scripts/check-local-headers.sh: Ignore c++ headers.
7960
7961 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7962
7963         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7964         __libc_cleanup_region_start argument.
7965
7966 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
7967
7968         [BZ #14784]
7969         [BZ #14785]
7970         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7971         x * y using scaling, not as x * y + z.
7972         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7974         * math/libm-test.inc (fma_test): Add more tests.
7975         (fma_test_towardzero): Likewise.
7976         (fma_test_downward): Likewise.
7977         (fma_test_upward): Likewise.
7978
7979 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7980
7981         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7982
7983 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7984
7985         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7986         New variable.
7987
7988 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
7989
7990         * rt/tst-shm.c (worker): Correct checking for mmap failure.
7991
7992 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7993
7994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7995         Fix sort order.
7996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7997         Likewise.
7998
7999 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8000
8001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8002         Fix the order of the list for glibc 2.17.
8003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8004         Likewise.
8005
8006 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8007
8008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8009
8010 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
8011
8012         [BZ #14610]
8013         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8014         for low part of x being zero before using __atanl (y).
8015         * math/libm-test.inc (atan2_test): Add another test.
8016
8017         * manual/install.texi (Configuring and compiling): Document
8018         general use of test-wrapper and test-wrapper-env.
8019         * INSTALL: Regenerated.
8020
8021         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8022         (__fma): Do not extract and scale down low bits on after-rounding
8023         systems when result rounded to normal precision would have normal
8024         exponent.
8025         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8026         (__fmal): Do not extract and scale down low bits on after-rounding
8027         systems when result rounded to normal precision would have normal
8028         exponent.
8029         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8030         (__fmal): Do not extract and scale down low bits on after-rounding
8031         systems when result rounded to normal precision would have normal
8032         exponent.
8033         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8034         macro.
8035         (fma_test): Add more tests.
8036         (fma_test_towardzero): Likewise.
8037         (fma_test_downward): Likewise.
8038         (fma_test_upward): Likewise.
8039
8040 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
8041
8042         * sysdeps/i386/tininess.h: Renamed to ...
8043         * sysdeps/x86/tininess.h: This.
8044         * sysdeps/x86_64/tininess.h: Removed.
8045
8046 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
8047
8048         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8049         input.  Use $(build-program-cmd).
8050         ($(objpfx)tst-array1-static.out): Likewise.
8051         ($(objpfx)tst-array2.out): Likewise.
8052         ($(objpfx)tst-array3.out): Likewise.
8053         ($(objpfx)tst-array4.out): Likewise.
8054         ($(objpfx)tst-array5.out): Likewise.
8055         ($(objpfx)tst-array5-static.out): Likewise.
8056
8057 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
8058
8059         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8060         if defined.
8061
8062         * nss/nsswitch.h (nss_interface_function): Provide new
8063         macro for use with NSS functions.
8064         * grp/initgroups.c: Use new macro.
8065         * nss/getXXbyYY.c: Likewise.
8066         * nss/getXXbyYY_r.c: Likewise.
8067         * nss/getXXent.c: Likewise.
8068         * nss/getXXent_r.c: Likewise.
8069         * sysdeps/posix/getaddrinfo.c: Likewise.
8070
8071 2012-10-30  Andreas Jaeger  <aj@suse.de>
8072
8073         * po/ru.po: Update Russion translation from translation project.
8074
8075 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
8076
8077         [BZ #14152]
8078         [BZ #14783]
8079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8080         result and shift together with sticky bit instead of replicating
8081         round-to-nearest rounding.
8082         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8083         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8084         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
8085         missing underflow exceptions.
8086         (fma_test_towardzero): Add more tests.
8087         (fma_test_downward): Likewise.
8088         (fma_test_upward): Likewise.
8089
8090         [BZ #14047]
8091         * sysdeps/generic/tininess.h: New file.
8092         * sysdeps/i386/tininess.h: Likewise.
8093         * sysdeps/sh/tininess.h: Likewise.
8094         * sysdeps/x86_64/tininess.h: Likewise.
8095         * stdlib/tst-strtod-underflow.c: Likewise.
8096         * stdlib/tst-tininess.c: Likewise.
8097         * stdlib/strtod_l.c: Include <tininess.h>.
8098         (round_and_return): Do not set errno for exact underflow cases.
8099         Force an underflow exception when setting errno for underflow.
8100         Determine underflow based on rounding to normal precision if
8101         TININESS_AFTER_ROUNDING.
8102         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8103         ERANGE for exact underflow cases.
8104         * stdlib/Makefile (tests): Add tst-tininess and
8105         tst-strtod-underflow.
8106         ($(objpfx)tst-tininess): Use $(link-libm).
8107         ($(objpfx)tst-strtod-underflow): Likewise.
8108
8109 2012-10-30  Andreas Jaeger  <aj@suse.de>
8110
8111         [BZ#14767]
8112         * elf/Makefile (tests): Remove conditional for have-initfini-array
8113         since this is now always required and the variable does not exist
8114         anymore.
8115         (tests-static): Likewise.
8116         (modules-names): Likewise.
8117
8118         * po/eo.po: Add Esperanto translation from translation project.
8119
8120         * elf/tst-array1.c (fini_array): Make writeable so that it can be
8121         merged with constructor/destructor.
8122         (init_array): Likewise.
8123         * elf/tst-array2dep.c (fini_array): Likewise.
8124         (init_array): Likewise.
8125
8126 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
8127
8128         * manual/message.texi: Delete @cartouche tags.
8129
8130 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
8131
8132         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8133         EOPNOTSUPP.
8134         * sysdeps/mach/hurd/fsync.c: Likewise.
8135
8136         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8137         [_POSIX_REALTIME_SIGNALS]: Change condition to
8138         [_POSIX_REALTIME_SIGNALS > 0].
8139
8140 2012-10-27  Andreas Jaeger  <aj@suse.de>
8141
8142         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8143         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8144         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8145         [__WORDSIZE != 64]: Likewise.
8146
8147 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
8148
8149         *  iconvdata/tst-table.sh: Remove ${SHELL}.
8150         *  iconvdata/tst-tables.sh: Likewise.
8151
8152 2012-10-25  David S. Miller  <davem@davemloft.net>
8153
8154         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8155         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8156         of strtoull.
8157
8158         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8159         ifunc-impl-list.c
8160         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8161         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8162         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8163         file.
8164
8165 2012-10-25  Roland McGrath  <roland@hack.frob.com>
8166
8167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8168         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8169         __getdirentries.
8170
8171 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
8172             Jim Blandy  <jimb@codesourcery.com>
8173
8174         * scripts/cross-test-ssh.sh: New file.
8175         * manual/install.texi (Configuring and compiling): Document use of
8176         cross-test-ssh.sh.
8177         * INSTALL: Regenerated.
8178
8179 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
8180
8181         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8182         EOPNOTSUPP.
8183
8184 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
8185
8186         * Makeconfig (run-program-prefix): Fix comment.
8187
8188 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
8189             Jim Blandy  <jimb@codesourcery.com>
8190
8191         * Makeconfig (test-wrapper): New variable,
8192         (test-wrapper-env): Likewise.
8193         [$(cross-compiling) = yes && $(test-wrapper) != ""]
8194         (run-built-tests): Define to yes.
8195         (run-program-prefix): Use $(test-wrapper).
8196         (built-program-cmd): Likewise.
8197         * Rules (make-test-out): Use $(test-wrapper-env) and
8198         $(host-built-program-cmd).
8199         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8200         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8201         tst-pathopt.sh.
8202         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8203         $(test-wrapper-env) to tst-rtld-load-self.sh.
8204         ($(objpfx)order2.out): Use $(test-wrapper).
8205         ($(objpfx)tst-initorder.out): Likewise.
8206         ($(objpfx)tst-initorder2.out): Likewise.
8207         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8208         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8209         (test_wrapper_env): New variable.  Use it to run ld.so.
8210         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8211         Use it to run ld.so.
8212         (test_wrapper_env): Likewise.
8213         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8214         $(test-wrapper) to run-iconv-test.sh.
8215         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8216         (ICONV): Use $test_wrapper.
8217         * posix/Makefile ($(objpfx)globtest.out): Pass
8218         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8219         globtest.sh, not $(run-program-prefix).
8220         * posix/globtest.sh (run_via_rtld_prefix): New variable.
8221         (test_wrapper): Likewise.
8222         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
8223         set together with run_via_rtld_prefix.
8224         (run_program_prefix): Define in terms of test_wrapper and
8225         run_via_rtld_prefix.
8226
8227 2012-10-24  Roland McGrath  <roland@hack.frob.com>
8228
8229         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8230         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8231         Targets removed.
8232
8233         [BZ #14743]
8234         * include/time.h: Remove librt_hidden_proto (clock_gettime).
8235         Declare __clock_getres, __clock_gettime, __clock_settime,
8236         __clock_nanosleep, and __clock_getcpuclockid.
8237         * rt/clock_gettime.c: Define __clock_gettime as an alias.
8238         Remove librt_hidden_def (clock_gettime).
8239         * sysdeps/unix/clock_gettime.c: Likewise.
8240         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8241         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8242         * rt/clock_getres.c: Define __clock_getres as an alias.
8243         * sysdeps/posix/clock_getres.c: Likewise.
8244         * rt/clock_settime.c: Define __clock_settime as an alias.
8245         * sysdeps/unix/clock_settime.c: Likewise.
8246         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8247         * sysdeps/unix/clock_nanosleep.c: Likewise.
8248         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8249         * rt/clock-compat.c: New file.
8250         * rt/Makefile (librt-routines): Add clock-compat and move
8251         $(clock-routines) to ...
8252         (routines): ... here, new variable.
8253         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8254         Don't add get_clockfreq here.
8255         * rt/Versions (libc: GLIBC_2.17): New version set.
8256         Add clock_* symbols here.
8257         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
8258         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8259         (GLIBC_2.17): Add clock_* symbols.
8260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8262         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8264         Likewise.
8265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8266         Likewise.
8267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8271         * NEWS: Mention the move.
8272
8273         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8274         Use __open, __read, __close rather than their public counterparts.
8275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8276         (__get_clockfreq_via_cpuinfo): Likewise.
8277         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8278         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8279
8280         * config.h.in (HAVE_IFUNC): New #undef.
8281         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8282         was successful.
8283         * configure: Regenerated.
8284
8285 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
8286
8287         * configure.in: Move READELF check to start of file.
8288         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8289         libc_cv_asm_gnu_indirect_function in the process.
8290         * configure: Regenerated.
8291
8292 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
8293
8294         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8295         send the output to /dev/null.
8296         (libc_cv_cc_with_libunwind): Likewise.
8297         (libc_cv_as_noexecstack): Likewise.
8298         * configure: Regenerate.
8299
8300 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
8301
8302         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8303
8304         * posix/globtest.sh (TMPDIR): Do not set.
8305         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8306         (testout): Likewise.
8307
8308 2012-10-24  Andreas Jaeger  <aj@suse.de>
8309
8310         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8311         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8312         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8313         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8314         posix_fadvise64, posix_fallocate64.
8315
8316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8317         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8318         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8319         Likewise.
8320         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8321         Likewise.
8322         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8323
8324         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8325         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8326         <bits/fcntl-linux.h>.
8327         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8328
8329         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8330         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8331         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8332         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8333         [__WORDSIZE != 64]: Likewise.
8334
8335 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
8336
8337         * Makeconfig (run-built-tests): New variable.
8338         * Rules [$(cross-compiling) = yes]: Change condition to
8339         [$(run-built-tests) = no].
8340         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8341         to [$(run-built-tests) = yes].
8342         * elf/Makefile [$(cross-compiling) = no]: Likewise
8343         * grp/Makefile [$(cross-compiling) = no]: Likewise.
8344         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8345         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8346         * intl/Makefile [$(cross-compiling) = no]: Likewise.
8347         * io/Makefile [$(cross-compiling) = no]: Likewise.
8348         * libio/Makefile [$(cross-compiling) = no]: Likewise.
8349         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8350         * misc/Makefile [$(cross-compiling) = no]: Likewise.
8351         * posix/Makefile [$(cross-compiling) = no]: Likewise.
8352         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8353         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8354         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8355         * string/Makefile [$(cross-compiling) = no]: Likewise.
8356
8357         * posix/Makefile ($(objpfx)globtest.out): Pass
8358         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8359         $(rtld-installed-name).
8360         * posix/globtest.sh (elf_objpfx): Remove variable.
8361         (rtld_installed_name): Likewise.
8362         (library_path): Likewise.
8363         (run_program_prefix): New variable.  Use for running globtest
8364         binary.
8365
8366 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
8367             Joseph Myers  <joseph@codesourcery.com>
8368
8369         * Makeconfig (host-built-program-cmd): New variable.
8370         * elf/Makefile (tst-stackguard1-ARGS): Use
8371         $(host-built-program-cmd).
8372         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8373         (tst-spawn-ARGS): Likewise.
8374         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8375
8376 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
8377             Jim Blandy  <jimb@codesourcery.com>
8378
8379         * Makeconfig (run-via-rtld-prefix): New variable.
8380         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8381         (built-program-cmd): Likewise.
8382
8383 2012-10-22  Andreas Jaeger  <aj@suse.de>
8384
8385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8386         __O_RSYNC if it exists, otherwise to O_SYNC.
8387
8388 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
8389             Joseph Myers  <joseph@codesourcery.com>
8390
8391         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8392         /dev/null.
8393         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8394         from /dev/null
8395         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8396         /dev/null.
8397
8398 2012-10-22  Andreas Jaeger  <aj@suse.de>
8399
8400         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8401         Define always.
8402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8403
8404         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8405         bits/fcntl-linux.h.
8406
8407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8408         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8409
8410         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8411         to __O_LARGEFILE.
8412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8413         to __O_LARGEFILE.
8414
8415 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
8416             Joseph Myers  <joseph@codesourcery.com>
8417
8418         * config.make.in (NM): New variable.
8419
8420 2012-10-21  Andreas Jaeger  <aj@suse.de>
8421
8422         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8423         definitions and declarations that are provided by
8424         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8425
8426 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
8427
8428         [BZ #14683]
8429         * elf/Makefile (tests-static): Add tst-leaks1-static.
8430         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8431         ($(objpfx)tst-leaks1-static): New rule.
8432         ($(objpfx)tst-leaks1-static-mem): Likewise.
8433         (tst-leaks1-static-ENV): New macro.
8434         * elf/dl-open.c (dl_open_worker): Check the main application
8435         only if SHARED is defined.
8436         * elf/tst-leaks1-static.c: New file.
8437
8438 2012-10-20  Andreas Jaeger  <aj@suse.de>
8439
8440         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8441         generic values for Linux.
8442         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8443         and declarations that are provided by <bits/fcntl-linux.h> and
8444         include <bits/fcntl-linux.h>.
8445         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8447
8448 2012-10-20  Roland McGrath  <roland@hack.frob.com>
8449
8450         * io/fcntl.h: Move include of <bits/types.h> to the top and
8451         include it unconditionally.
8452
8453 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
8454
8455         * wcsmbs/Makefile (tests-ifunc): New variable.
8456         (tests): Add $(tests-ifunc).
8457         * wcsmbs/test-wcschr-ifunc.c: New file.
8458         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8459         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8460         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8461         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8462         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8463
8464         * string/Makefile (tests-ifunc): New variable.
8465         (tests): Add $(tests-ifunc).
8466         * string/test-memccpy.c (TEST_NAME): New macro.
8467         * string/test-memchr.c (TEST_NAME): Likewise.
8468         * string/test-memcmp.c (TEST_NAME): Likewise.
8469         * string/test-memcpy.c (TEST_NAME): Likewise.
8470         * string/test-memmem.c (TEST_NAME): Likewise.
8471         * string/test-memmove.c (TEST_NAME): Likewise.
8472         * string/test-memset.c (TEST_NAME): Likewise.
8473         * string/test-rawmemchr.c (TEST_NAME): Likewise.
8474         * string/test-stpcpy.c (TEST_NAME): Likewise.
8475         * string/test-stpncpy.c (TEST_NAME): Likewise.
8476         * string/test-strcasecmp.c (TEST_NAME): Likewise.
8477         * string/test-strcasestr.c (TEST_NAME): Likewise.
8478         * string/test-strcat.c (TEST_NAME): Likewise.
8479         * string/test-strchr.c (TEST_NAME): Likewise.
8480         * string/test-strcmp.c(TEST_NAME): Likewise.
8481         * string/test-strcpy.c (TEST_NAME): Likewise.
8482         * string/test-strcspn.c (TEST_NAME): Likewise.
8483         * string/test-strlen.c (TEST_NAME): Likewise.
8484         * string/test-strncasecmp.c (TEST_NAME): Likewise.
8485         * string/test-strncmp.c (TEST_NAME): Likewise.
8486         * string/test-strncpy.c (TEST_NAME): Likewise.
8487         * string/test-strnlen.c (TEST_NAME): Likewise.
8488         * string/test-strpbrk.c (TEST_NAME): Likewise.
8489         * string/test-strrchr.c (TEST_NAME): Likewise.
8490         * string/test-strspn.c (TEST_NAME): Likewise.
8491         * string/test-strstr.c (TEST_NAME): Likewise.
8492         * string/test-bcopy-ifunc.c: New file.
8493         * string/test-bzero-ifunc.c: Likewise.
8494         * string/test-memccpy-ifunc.c: Likewise.
8495         * string/test-memchr-ifunc.c: Likewise.
8496         * string/test-memcmp-ifunc.c: Likewise.
8497         * string/test-memcpy-ifunc.c: Likewise.
8498         * string/test-memmem-ifunc.c: Likewise.
8499         * string/test-memmove-ifunc.c: Likewise.
8500         * string/test-mempcpy-ifunc.c: Likewise.
8501         * string/test-memset-ifunc.c: Likewise.
8502         * string/test-rawmemchr-ifunc.c: Likewise.
8503         * string/test-stpcpy-ifunc.c: Likewise.
8504         * string/test-stpncpy-ifunc.c: Likewise.
8505         * string/test-strcasecmp-ifunc.c: Likewise.
8506         * string/test-strcasestr-ifunc.c: Likewise.
8507         * string/test-strcat-ifunc.c: Likewise.
8508         * string/test-strchr-ifunc.c: Likewise.
8509         * string/test-strchrnul-ifunc.c: Likewise.
8510         * string/test-strcmp-ifunc.c: Likewise.
8511         * string/test-strcpy-ifunc.c: Likewise.
8512         * string/test-strcspn-ifunc.c: Likewise.
8513         * string/test-strlen-ifunc.c: Likewise.
8514         * string/test-strncasecmp-ifunc.c: Likewise.
8515         * string/test-strncat-ifunc.c: Likewise.
8516         * string/test-strncmp-ifunc.c: Likewise.
8517         * string/test-strncpy-ifunc.c: Likewise.
8518         * string/test-strnlen-ifunc.c: Likewise.
8519         * string/test-strpbrk-ifunc.c: Likewise.
8520         * string/test-strrchr-ifunc.c: Likewise.
8521         * string/test-strspn-ifunc.c: Likewise.
8522         * string/test-strstr-ifunc.c: Likewise.
8523
8524         * debug/Makefile (tests-ifunc): New variable.
8525         (tests): Add $(tests-ifunc).
8526         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8527         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8528         * debug/test-stpcpy_chk-ifunc.c: New file.
8529         * debug/test-strcpy_chk-ifunc.c: Likewise.
8530
8531 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8532
8533         [BZ #13601]
8534         * elf/dl-load.c (open_verify): Retry read if the entire ELF
8535         header is not read in.
8536
8537 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
8538
8539         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
8540         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
8541         directly.  Pass built executable to script as
8542         $(built-program-cmd).
8543         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
8544         $testprogram without using LD_LIBRARY_PATH and $ldso.
8545
8546         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8547         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8548         $(rtld-installed-name).
8549         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8550         (rtld_installed_name): Likewise.
8551         (library_path): Likewise.
8552         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
8553         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8554         $(run-program-prefix) to tst-tables.sh.
8555         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
8556         it to run tst-table-from and tst-table-to.
8557         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8558         Pass it to tst-table.sh.
8559         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8560         $(run-program-prefix) to tst-gettext.sh.
8561         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8562         tst-translit.sh.
8563         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8564         tst-gettext2.sh.
8565         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
8566         to run tst-gettext.
8567         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
8568         to run tst-gettext2.
8569         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
8570         to run tst-translit.
8571         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8572         $(run-program-prefix) to tst-mtrace.sh.
8573         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
8574         to run tst-mtrace.
8575         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8576         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8577         $(rtld-installed-name).
8578         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8579         (rtld_installed_name): Likewise.
8580         (run_program_prefix): New variable.  Use it to run wordexp-test.
8581
8582         * Makeconfig (ARCH): Remove all definitions.
8583         (machine): Likewise.
8584         [ARCH]: Remove conditional code.
8585         [!objdir]: Give error.
8586         [!objdir] (objpfx): Remove.
8587         [!objdir] (common-objpfx): Likewise.
8588         [!objdir] (common-objdir): Likewise.
8589         * configure.in (config_makefile): Remove.  Hardcode Makefile in
8590         AC_CONFIG_FILES call.
8591         * configure: Regenerated.
8592
8593         [BZ #13888]
8594         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8595         or TMPDIR.
8596         (testout): Likewise.
8597
8598         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8599         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8600         $(rtld-installed-name).
8601         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8602         (rtld_installed_name): Likwise.
8603         (runit): Remove function.
8604         (run_getconf): New variable,  Use it for running getconf binary.
8605
8606 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
8607
8608         [BZ #14716]
8609         * string/test-memmem.c (check_result): New function.
8610         (do_one_test): Use it.
8611         (check1): New function.
8612         (test_main): Use it.
8613
8614 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
8615
8616         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8617
8618 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
8619
8620         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8621         (_G_LSEEK64): Likewise.
8622         (_G_MMAP64): Likewise.
8623         (_G_FSTAT64): Likewise.
8624         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8625         (_G_LSEEK64): Likewise.
8626         (_G_MMAP64): Likewise.
8627         (_G_FSTAT64): Likewise.
8628         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8629         unconditional.  Call __mmap64 directly.
8630         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8631         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
8632         __lseek64 directly.
8633         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8634         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
8635         __mmap64 directly.
8636         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8637         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8638         __lseek64 directly.
8639         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8640         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8641         __lseek64 directly.
8642         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8643         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
8644         __lseek64 directly.
8645         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8646         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
8647         __fxstat64 directly.
8648         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8649         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8650         unconditional.
8651         (freopen64) [!_G_OPEN64]: Remove conditional code.
8652         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8653         unconditional.
8654         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8655         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8656         unconditional.
8657         (ftello64) [!_G_LSEEK64]: Remove conditional code.
8658         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8659         unconditional.
8660         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8661         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8662         unconditional.
8663         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8664         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8665         unconditional.
8666         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8667         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8668         unconditional.
8669         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8670         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8671         unconditional.
8672         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8673
8674 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8675
8676         [BZ #12140]
8677         * manual/memory.texi (Malloc Tunable Parameters): Add note
8678         about free list pointers overwriting some perturb bytes.
8679         Wording suggested by Roland McGrath.
8680
8681 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
8682
8683         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8684         (lgamma_test): Likewise.
8685         (tgamma_test): Likewise.
8686
8687 2012-10-16  Florian Weimer  <fweimer@redhat.com>
8688
8689         [BZ #14700]
8690         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8691         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8692
8693 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
8694
8695         * NEWS: Mention BZ #14716.
8696         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8697         when removing AVAILABLE1_USES_J macro.
8698
8699 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8700
8701         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8702         (__bswap_64): __uint64_t for unsigned 64-bit int.
8703
8704 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
8705
8706         * include/string.h (memmem): Declare libc hidden alias.
8707         * string/memmem.c (memmem): Define libc hidden alias.
8708         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8709         __read, __close instead of open, read, close.
8710
8711 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
8712
8713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8714         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8715         global and hidden.
8716         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8717         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8718         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8719         Likewise.
8720         (__rawmemchr_sse2): Likewise.
8721         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8722         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8723         (__strchr_sse2): Likewise.
8724         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8725         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8726         (__strcasecmp_sse2): Likewise.
8727         (__strncasecmp_sse2): Likewise.
8728         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8729         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8730         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8731         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8732         (__strrchr_sse2): Likewise.
8733         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8734         ifunc-impl-list.c.
8735         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8736         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8737         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8738         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8739         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8740         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8741         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8742         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8743         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8744         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8745         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8746         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8747         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8748         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8749         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8750         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8751         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8752         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8753         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8754         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8755         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8756         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8757         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8758         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8759         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8760         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8761         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8762         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8763         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8764         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8765
8766         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8767         global and hidden.
8768         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8769         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8770         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8771         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8772         Likewise.
8773         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8774         Likewise.
8775         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8776         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8777         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8778         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8779         ifunc-impl-list.c.
8780         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8781         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8782         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8783         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8784         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8785         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8786         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8787         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8788         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8789         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8790         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8791         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8792         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8793         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8794         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8795         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8796         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8797         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8798         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8799         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8800         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8801         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8802         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8803         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8804         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8805         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8806         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8807         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8808         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8809         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8810         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8811         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8812         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8813         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8814         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8815         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8816         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8817         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8818         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8819         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8820         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8821
8822         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8823         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8824         * include/ifunc-impl-list.h: New file.
8825         * misc/ifunc-impl-list.c: Likewise.
8826         * misc/Makefile (routines): Add ifunc-impl-list.
8827         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8828         * string/test-string.h: Include <ifunc-impl-list.h>.
8829         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8830         impl_array): New variables.
8831         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8832         are defined.
8833         (test_init): Call __libc_ifunc_impl_list to initialize
8834         func_list if TEST_IFUNC and TEST_NAME are defined.
8835
8836         * string/Makefile (strop-tests): Add bcopy and bzero.
8837         * string/test-bcopy.c: New file.
8838         * string/test-bzero.c: Likewise.
8839         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8840         defined.
8841         * string/test-memset.c: Support bzero test if TEST_BZERO is
8842         defined.
8843         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8844         __libc_memmove.
8845         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8846         __libc_memset.
8847         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8848         of memset.
8849
8850 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8851
8852         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8853         * configure: Regenerated.
8854
8855         * Makeconfig (+link-static-before-libc): Don't include
8856         $(link-static-libc).
8857
8858         * libio/libio.h (_IO_pos_t): Remove.
8859
8860 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8861
8862         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8863         McGrath.
8864
8865 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8866
8867         * crypt/crypt-entry.c: Include fips-private.h.
8868         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8869         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8870         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8871         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8872
8873 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8874
8875         * crypt/crypt-private.h: Include stdbool.h.
8876         (_ufc_setup_salt_r): Return bool.
8877         * crypt/crypt-entry.c: Include errno.h.
8878         (__crypt_r): Return NULL with EINVAL for bad salt.
8879         * crypt/crypt_util.c (bad_for_salt): New.
8880         (_ufc_setup_salt_r): Check that salt is long enough and within
8881         the specified alphabet.
8882         * crypt/badsalttest.c: New file.
8883         * crypt/Makefile (tests): Add it.
8884         ($(objpfx)badsalttest): New.
8885
8886 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8887
8888         * NEWS: Add entry for BZ #14602.
8889
8890 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8891
8892         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8893         type-generic.
8894         * math/libm-test.inc: Update comment listing what functions and
8895         macros are tested.
8896         (isgreater_test): New function.
8897         (isgreaterequal_test): Likewise.
8898         (isless_test): Likewise.
8899         (islessequal_test): Likewise.
8900         (islessgreater_test): Likewise.
8901         (isunordered_test): Likewise.
8902         (main): Call the new functions.
8903
8904 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8905
8906         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8907         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8908         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8909         * sysdeps/i386/configure: Regenerated.
8910         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8911         * sysdeps/mach/configure: Regenerated.
8912         * sysdeps/mach/hurd/configure: Regenerated.
8913         * sysdeps/powerpc/configure: Regenerated.
8914         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8915         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8916         * sysdeps/s390/s390-32/configure: Regenerated.
8917         * sysdeps/s390/s390-64/configure: Regenerated.
8918         * sysdeps/sh/configure: Regenerated.
8919         * sysdeps/sparc/configure: Regenerated.
8920         * sysdeps/unix/sysv/linux/configure: Regenerated.
8921         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8922         * sysdeps/x86_64/configure: Regenerated.
8923
8924         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8925         defined.  Don't check if MAP is NULL.
8926
8927 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8928
8929         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8930         (_G_stat64): Likewise.
8931         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8932         (_G_stat64): Likewise.
8933         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8934         instead of struct _G_stat64.
8935         * libio/fileops.c (mmap_remap_check): Likewise.
8936         (decide_maybe_mmap): Likewise.
8937         (_IO_new_file_seekoff): Likewise.
8938         (_IO_file_stat): Likewise.
8939         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8940         _G_off64_t.
8941         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8942         instead of struct _G_stat64.
8943         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8944
8945 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
8946
8947         [BZ #14602]
8948         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8949         Replace with ...
8950         (CHECK_EOL): New macro.
8951         (two_way_short_needle): Check beginning of haystack for EOL.  Use
8952         CHECK_EOL.
8953         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8954         Replace with CHECK_EOL.
8955         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8956         Replace with CHECK_EOL.
8957
8958 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
8959
8960         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8961         type-generic.
8962         * math/libm-test.inc: Update comment listing what functions and
8963         macros are tested.
8964         (finite_test): New function.
8965         (isinf_test): Likewise.
8966         (isnan_test): Likewise.
8967         (fpclassify_test): Test subnormal input.
8968         (isfinite_test): Likewise.
8969         (isnormal_test): Likewise.
8970         (main): Call the new functions.
8971
8972 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
8973
8974         [BZ #14660]
8975         * Makerules (%.dynsym): Force C locale when running
8976         $(OBJDUMP) --dynamic-syms.
8977
8978 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
8979
8980         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8981         <stdint.h>.
8982
8983 2012-10-06  David S. Miller  <davem@davemloft.net>
8984
8985         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8986         upper 32-bits of the length value in %o2 since we use branch-on-register
8987         tests which consider the entire 64-bit register.
8988
8989 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
8990
8991         * string/test-strstr.c (check2): Add a test for page boundary.
8992
8993 2012-10-05  David S. Miller  <davem@davemloft.net>
8994
8995         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8996         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8997         file.
8998         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8999         sysdep_routines.
9000         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9001         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9002         and bzero when HWCAP_SPARC_CRYPTO is present.
9003
9004 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
9005
9006         [BZ #14602]
9007         * string/test-strstr.c (check2): New function.
9008         (test_main): Call check2.
9009
9010         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9011         and bug-strchr1.
9012         * string/bug-strcasestr1.c (do_test): Moved to ...
9013         * string/test-strcasestr.c (check1): Here.  New function.
9014         (do_one_test): Break out result checking code into ...
9015         (check_result): This.  New function.
9016         (do_one_test): Call check_result.
9017         (test_main): Call check1.
9018         * string/bug-strchr1.c (do_test): Moved to ...
9019         * string/test-strchr.c (check1): Here.  New function.
9020         (do_one_test): Break out result checking code into ...
9021         (check_result): This.  New function.
9022         (do_one_test): Call check_result.
9023         (test_main): Call check1.
9024         * string/bug-strstr1.c (main): Moved to ...
9025         * string/test-strstr.c (check1): Here.  New function.
9026         (do_one_test): Break out result checking code into ...
9027         (check_result): This.  New function.
9028         (do_one_test): Call check_result.
9029         (test_main): Call check1.
9030         * string/bug-strcasestr1.c: Removed.
9031         * string/bug-strchr1.c: Likewise.
9032         * string/bug-strstr1.c: Likewise.
9033
9034         * elf/Makefile (dl-routines): Add hwcaps.
9035         * elf/dl-support.c (_dl_important_hwcaps): Removed.
9036         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9037         (_dl_important_hwcaps): Moved to ...
9038         * elf/dl-hwcaps.c: Here.  New file.
9039         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9040
9041         [BZ #14557]
9042         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9043         if IS_IN_rtld isn't defined.
9044
9045         * elf/dl-support.c (_dl_sysinfo_map): New.
9046         Include "get-dynamic-info.h" and "setup-vdso.h".
9047         (_dl_non_dynamic_init): Call setup_vdso.
9048         * elf/dynamic-link.h: Don't include <assert.h>.
9049         (elf_get_dynamic_info): Moved to ...
9050         * elf/get-dynamic-info.h: Here.  New file.
9051         * elf/dynamic-link.h: Include "get-dynamic-info.h".
9052         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9053         * elf/setup-vdso.h: Here.  New file.
9054         * elf/rtld.c: Include "setup-vdso.h".
9055         (dl_main): Call setup_vdso.
9056
9057 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
9058
9059         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9060         creal in comment listing functions tested.  List finite, isinf,
9061         isnan, isless, islessequal, isgreater, isgreaterequal,
9062         islessgreater, isunordered, lgamma_r and pow10 as functions and
9063         macros not tested.  Mention which functions not tested are aliases
9064         for other functions.  Fix typo.  Note that signs of NaNs are not
9065         tested.
9066
9067         * scripts/config.guess: Update from config.git.
9068         * scripts/config.sub: Likewise.
9069
9070 2012-10-04  Roland McGrath  <roland@hack.frob.com>
9071
9072         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9073         * misc/madvise.c (madvise): Renamed to __madvise.
9074         Make madvise a weak alias.
9075         * include/sys/mman.h: Declare __madvise.
9076         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9077         * sysdeps/unix/syscalls.list
9078         (madvise): Make __madvise the strong name, and madvise a weak alias.
9079         * sysdeps/unix/sysv/linux/syscalls.list
9080         (madvise, mmap): Remove redundant entries.
9081         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9082         * malloc/malloc.c (mtrim): Likewise.
9083         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9084
9085 2012-10-03  Roland McGrath  <roland@hack.frob.com>
9086
9087         * sysdeps/mach/hurd/dl-cache.c: File removed.
9088         * config.h.in (USE_LDCONFIG): New #undef.
9089         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9090         * configure: Regenerated.
9091         * elf/Makefile (dl-routines): Add dl-cache only under
9092         [$(use-ldconfig) = yes].
9093         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9094         cache on [USE_LDCONFIG].
9095         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9096         [USE_LDCONFIG].
9097         * elf/rtld.c (dl_main): Likewise.
9098
9099 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
9100
9101         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9102         _SC_LEVEL4_CACHE_LINESIZE.
9103
9104 2012-10-03  Roland McGrath  <roland@hack.frob.com>
9105
9106         * sysdeps/unix/bsd/confstr.h: File removed.
9107
9108 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
9109
9110         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9111         sys/sdt-config.h.
9112
9113 2012-10-02  Roland McGrath  <roland@hack.frob.com>
9114
9115         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9116         Make 'mapoff' field ElfW(Off) rather than off_t.
9117
9118 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
9119
9120         * nscd/Makefile: Remove nscd-cflags and all its users.
9121         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9122         (CFLAGS-nonlib): Add compiler flags for nscd modules.
9123
9124         [BZ #10631]
9125         * malloc.c (malloc_printerr): Clarify error message.
9126
9127 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
9128
9129         [BZ #14648]
9130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9131         Set bit_FMA_Usable if FMA is supported.
9132         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9133         macro.
9134         (bit_FMA4_Usable): Updated.
9135         (index_FMA_Usable): New macro.
9136         (CPUID_FMA): Likewise
9137         (HAS_FMA): Defined with bit_FMA_Usable.
9138
9139 2012-10-01  Roland McGrath  <roland@hack.frob.com>
9140
9141         * bits/types.h (__swblk_t): Type removed.
9142         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9143         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9144         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9145         (__SWBLK_T_TYPE): Likewise.
9146         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9147         (__SWBLK_T_TYPE): Likewise.
9148         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9149         (__SWBLK_T_TYPE): Likewise.
9150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9151         (__SWBLK_T_TYPE): Likewise.
9152
9153 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
9154             Honza Horak <hhorak@redhat.com>
9155
9156         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9157         (xdr_mapname): Use YPMAXMAP as maxsize.
9158         (xdr_peername): Use YPMAXPEER as maxsize.
9159         (xdr_keydat): Use YPAXRECORD as maxsize.
9160         (xdr_valdat): Use YPMAXRECORD as maxsize.
9161
9162 2012-10-01  Roland McGrath  <roland@hack.frob.com>
9163
9164         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9165
9166         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9167         * csu/init-first.c: ... here.
9168         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9169         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9170         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9171         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9172         * sysdeps/i386/init-first.c: File removed.
9173         * sysdeps/sh/init-first.c: File removed.
9174
9175 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
9176
9177         [BZ #14645]
9178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9179         if x * y might underflow to zero and z is zero.
9180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9182         * math/libm-test.inc (min_subnorm_value): New variable.
9183         (fma_test): Add more tests.
9184         (fma_test_towardzero): Likewise.
9185         (fma_test_downward): Likewise
9186         (fma_test_upward): Likewise.
9187         (initialize): Set min_subnorm_value.
9188
9189 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
9190
9191         [BZ #14638]
9192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9193         0 + 0.
9194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9195         mode for addition resulting in exact zero.
9196         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9198         exact 0 + 0.
9199         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9200         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9201         * math/libm-test.inc (fma_test): Add more tests.
9202         (fma_test_towardzero): New function.
9203         (fma_test_downward): Likewise.
9204         (fma_test_upward): Likewise.
9205         (main): Call the new functions.
9206
9207 2012-09-28  David S. Miller  <davem@davemloft.net>
9208
9209         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9210
9211 2012-09-28  Roland McGrath  <roland@hack.frob.com>
9212
9213         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9214         instead of SIGALRM.
9215
9216         * sysdeps/gnu/_G_config.h: Moved to ...
9217         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9218         * sysdeps/mach/hurd/_G_config.h: Moved to ...
9219         * sysdeps/generic/_G_config.h: ... here.
9220
9221         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
9222
9223         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9224
9225         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9226         Conditionalize target on [libnss_test1.so-version].
9227
9228         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9229
9230         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9231         (elfobjdir): Move out of conditionals.
9232
9233         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9234         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9235         (__nss_lookup_function): Conditionalize label remove_from_tree on
9236         [!DO_STATIC_NSS || SHARED], matching its only use.
9237
9238 2012-09-28  David S. Miller  <davem@davemloft.net>
9239
9240         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9241         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9242         file.
9243         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9244         sysdep_routines.
9245         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9247         when HWCAP_SPARC_CRYPTO is present.
9248
9249 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
9250
9251         * io/tst-mknodat.c: Create a FIFO instead of a socket.
9252
9253 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
9254
9255         [BZ #6530]
9256         * stdio-common/vfprintf.c (process_string_arg): Revert
9257         2000-07-22 change.
9258
9259 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
9260
9261         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9262         for testcase.
9263         * stdio-common/tst-sprintf.c: Include <locale.h>
9264         (main): Test sprintf's handling of incomplete multibyte
9265         characters.
9266
9267 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
9268
9269         * elf/dl-runtime.c (VERSYMIDX): Removed.
9270         * elf/dl-version.c (VERSYMIDX): Likewise.
9271         * elf/do-rel.h (VERSYMIDX): Likewise.
9272         (VALIDX): Likewise.
9273         * elf/dynamic-link.h (VERSYMIDX): Likewise.
9274         * elf/rtld.c (VALIDX): Likewise.
9275         (ADDRIDX): Likewise.
9276         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9277         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9278         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9279         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9280         (VALIDX): Likewise.
9281         (ADDRIDX): Likewise.
9282
9283 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
9284
9285         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9286
9287 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
9288
9289         [BZ #11438]
9290         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9291         to global scope.
9292         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9293         addresses are in the same scope as 192.0.2/24.
9294         * posix/gai.conf: Document new scope table defaults.
9295
9296 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9297
9298         [BZ #5298]
9299         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9300         for ftell.  Compute offsets from write pointers instead.
9301         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9302
9303 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9304
9305         [BZ #14543]
9306         * libio/Makefile (tests): New test case tst-fseek.
9307         * libio/tst-fseek.c: New test case to verify that fseek/ftell
9308         combination works in wide mode.
9309         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9310         state when the external buffer state changes.
9311
9312 2012-09-27  David S. Miller  <davem@davemloft.net>
9313
9314         [BZ #14376]
9315         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9316         pass reloc->r_addend in as the 'high' argument to
9317         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9318
9319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9320
9321 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
9322
9323         * rt/tst-aio2.c: Include <pthread.h>.
9324         * rt/tst-aio3.c: Likewise.
9325
9326 2012-09-27  Steve Ellcey  <sellcey@mips.com>
9327
9328         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9329
9330 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9331
9332         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9333         contents on [SHARED].
9334
9335 2012-09-26  Marek Polacek  <polacek@redhat.com>
9336
9337         [BZ #14530]
9338         [BZ #13741]
9339         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9340         for C++ and GCC <4.3 as well as for non GCC compilers.
9341
9342 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9343
9344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9345
9346 2012-09-25  Roland McGrath  <roland@hack.frob.com>
9347
9348         * Makefile.in (all, install): Declare with .PHONY.
9349         Reported by Michael Hope <michael.hope@linaro.org>.
9350
9351 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9352
9353         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9354         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9355         system header.
9356         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9357         Likewise.
9358         (sydep_routines): Add the new and the internal functions.
9359         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9360         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9362         (GLIBC_2.17): Add the new function.
9363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9364         (GLIBC_2.17): Likewise.
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9366         (GLIBC_2.17): Likewise.
9367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9368         (GLIBC_2.17): Likewise.
9369         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9370
9371 2012-09-25  Alan Modra  <amodra@gmail.com>
9372
9373         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9374         Add release barrier before setting once_control to say
9375         initialisation is done.  Add hints on lwarx.  Use macro in
9376         place of isync.
9377         (clear_once_control): Add release barrier.
9378
9379 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
9380
9381         [BZ #13629]
9382         * math/s_clog.c (__clog): Handle more values close to |z| = 1
9383         specially.
9384         * math/s_clog10.c (__clog10): Likewise.
9385         * math/s_clog10f.c (__clog10f): Likewise.
9386         * math/s_clog10l.c (__clog10l): Likewise.
9387         * math/s_clogf.c (__clogf): Likewise.
9388         * math/s_clogl.c (__clogl): Likewise.
9389         * math/Makefile (libm-calls): Add x2y2m1.
9390         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9391         (__x2y2m1): Likewise.
9392         (__x2y2m1l): Likewise.
9393         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9394         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9395         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9396         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9397         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9398         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9399         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9400         * sysdeps/i386/fpu/libm-test-ulps: Update.
9401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9402
9403         [BZ #14621]
9404         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9405         int as type of variable DEPTH.
9406         (glob): Use size_t instead of int as type of variables NEWCOUNT
9407         and OLD_PATHC.
9408
9409 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9410
9411         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9412         Add s_sincosf-sse2.
9413         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9414         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9415         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9416         macros for using routine as __sincosf_ia32.
9417         Use macro for function declaration and weak_alias.
9418         * sysdeps/i386/fpu/libm-test-ulps: Update.
9419
9420         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9422
9423         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9424         subnormal argument.
9425         * math/s_cexpf.c (__cexpf): Likewise.
9426         * math/s_csinf.c (__csinf): Likewise.
9427         * math/s_csinhf.c (__csinhf): Likewise.
9428         * math/s_ctanf.c (__ctanf): Likewise.
9429         * math/s_ctanhf.c (__ctanhf): Likewise.
9430         * math/s_ccosh.c (__ccoshf): Likewise.
9431         * math/s_cexp.c (__cexpl): Likewise.
9432         * math/s_csin.c (__csin): Likewise.
9433         * math/s_csinh.c (__csinh): Likewise.
9434         * math/s_ctan.c (__ctan): Likewise.
9435         * math/s_ctanh.c (ctanh): Likewise.
9436         * math/s_ccoshl.c (__ccoshl): Likewise.
9437         * math/s_cexpl.c (__cexpl): Likewise.
9438         * math/s_csinl.c (__csinl): Likewise.
9439         * math/s_csinhl.c (__csinhl): Likewise.
9440         * math/s_ctanl.c (__ctanl): Likewise.
9441         * math/s_ctanhl.c (__ctanhl): Likewise.
9442
9443 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
9444
9445         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9446         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9447         (_IO_off_t): Define to __off_t, not _G_off_t.
9448         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9449         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9450         (_IO_wint_t): Define to wint_t, not _G_wint_t.
9451         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9452         type of __dummy and __dummy2 fields.
9453         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9454         (_G_ssize_t): Likewise.
9455         (_G_off_t): Likewise.
9456         (_G_pid_t): Likewise.
9457         (_G_uid_t): Likewise.
9458         (_G_wchar_t): Likewise.
9459         (_G_wint_t): Likewise.
9460         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9461         (_G_ssize_t): Likewise.
9462         (_G_off_t): Likewise.
9463         (_G_pid_t): Likewise.
9464         (_G_uid_t): Likewise.
9465         (_G_wchar_t): Likewise.
9466         (_G_wint_t): Likewise.
9467         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9468         (_G_ssize_t): Likewise.
9469         (_G_off_t): Likewise.
9470         (_G_pid_t): Likewise.
9471         (_G_uid_t): Likewise.
9472         (_G_wchar_t): Likewise.
9473         (_G_wint_t): Likewise.
9474
9475 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9476
9477         * malloc/arena.c: Include malloc-sysdep.h.
9478         (shrink_heap): Use check_may_shrink_heap to decide if madvise
9479         is sufficient to shrink the heap or an unmap is needed.
9480         * sysdeps/generic/malloc-sysdep.h: New file.  Define
9481         new function check_may_shrink_heap.
9482         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
9483         new function check_may_shrink_heap.
9484
9485 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9486
9487         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9488         comments.
9489
9490 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
9491
9492         * catgets/test-gencat.sh: Add "set -e".
9493         * elf/tst-pathopt.sh: Likewise.
9494         * grp/tst_fgetgrent.sh: Likewise.
9495         * iconvdata/run-iconv-test.sh: Likewise.
9496         * intl/tst-gettext.sh: Likewise.
9497         * intl/tst-gettext2.sh: Likewise.
9498         * intl/tst-gettext4.sh: Likewise.
9499         * intl/tst-gettext6.sh: Likewise.
9500         * intl/tst-translit.sh: Likewise.
9501         * io/ftwtest-sh: Likewise.
9502         * libio/test-freopen.sh: Likewise.
9503         * malloc/tst-mtrace.sh: Likewise.
9504         * posix/globtest.sh: Likewise.
9505         * posix/tst-getconf.sh: Likewise.
9506         * posix/wordexp-tst.sh: Likewise.
9507         * stdio-common/tst-printf.sh: Likewise.
9508         * stdio-common/tst-unbputc.sh: Likewise.
9509         * stdlib/tst-fmtmsg.sh: Likewise.
9510         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9511         * catgets/Makefile: Do not specify -e option when running
9512         testsuite shell scripts.
9513         * elf/Makefile: Likewise.
9514         * grp/Makefile: Likewise.
9515         * iconvdata/Makefile: Likewise.
9516         * intl/Makefile: Likewise.
9517         * io/Makefile: Likewise.
9518         * libio/Makefile: Likewise.
9519         * malloc/Makefile: Likewise.
9520         * posix/Makefile: Likewise.
9521         * stdio-common/Makefile: Likewise.
9522         * stdlib/Makefile: Likewise.
9523         * sysdeps/x86_64/Makefile: Likewise.
9524
9525         * io/ftwtest-sh: Add copyright header.
9526         * posix/globtest.sh: Likewise.
9527         * posix/tst-getconf.sh: Likewise.
9528         * posix/wordexp-tst.sh: Likewise.
9529         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9530
9531 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
9532
9533         [BZ #13679]
9534         * Makeconfig (+link): Defined as $(+link-static) if
9535         $(build-shared) isn't yes.
9536         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9537         isn't yes.
9538         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9539
9540         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9541
9542         [BZ #14562]
9543         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9544         new chunk size with MALLOC_ALIGN_MASK.
9545
9546 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
9547
9548         [BZ #5044]
9549         * stdio-common/printf_fphex.c: Include <stdbool.h> and
9550         <rounding-mode.h>.
9551         (__printf_fphex): Determine rounding using get_rounding_mode and
9552         round_away.
9553         * stdio-common/tst-printf-round.c (struct hex_test): New
9554         structure.
9555         (hex_tests): New variable.
9556         (test_hex_in_one_mode): New function.
9557         (do_test): Also run tests for hex float output.
9558
9559 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
9560
9561         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9562         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9563         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9564         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9565         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9566         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9567         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9568         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9569
9570 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
9571
9572         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9573         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9574         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9575         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9576
9577 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
9578
9579         [BZ #14579]
9580         * elf/rtld.c (dl_main): Limit the check for self loading to normal
9581         mode only.
9582         * elf/tst-rtld-load-self.sh: New test.
9583         * elf/Makefile: Run it.
9584
9585 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
9586
9587         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9588         (tst-writev-ENV): Remove.
9589         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9590
9591 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
9592
9593         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9594
9595 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
9596
9597         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9598         unconditional.
9599         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9600         Likewise.
9601         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9602         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9603         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9604         Likewise.
9605
9606 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9607
9608         [BZ #14587]
9609         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9610         * config.make.in (have-cpp-asm-debuginfo): Removed.
9611         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9612         * configure: Regenerated.
9613
9614 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
9615
9616         [BZ #5044]
9617         * stdio-common/printf_fp.c: Include <stdbool.h> and
9618         <rounding-mode.h>.
9619         (___printf_fp): Determine rounding using get_rounding_mode and
9620         round_away.
9621         * stdio-common/tst-printf-round.c: New file.
9622         * stdio-common/Makefile (tests): Add tst-printf-round.
9623         (link-libm): New variable.
9624         ($(objpfx)tst-printf-round): Depend in $(link-libm).
9625
9626 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
9627
9628         [BZ #14576]
9629         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9630         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9631         Likewise.
9632         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9633         Likewise.
9634
9635 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
9636
9637         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9638         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9639         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9640         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9641
9642 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
9643
9644         [BZ #14518]
9645         * include/rounding-mode.h: New file.
9646         * sysdeps/generic/get-rounding-mode.h: Likewise.
9647         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9648         * stdlib/strtod_l.c: Include <rounding-mode.h>.
9649         (MAX_VALUE): New macro.
9650         (MIN_VALUE): Likewise.
9651         (overflow_value): New function.
9652         (underflow_value): Likewise.
9653         (round_and_return): Use overflow_value and underflow_value to
9654         determine return values in overflow and underflow cases.  Use
9655         round_away to determine rounding depending on rounding mode.
9656         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9657         determine return values in overflow and underflow cases.
9658         * stdlib/tst-strtod-round.c: Include <fenv.h>.
9659         (struct test_results): New structure.
9660         (struct test): Use struct test_results to store expected results
9661         for all rounding modes.
9662         (TEST): Include expected results for all rounding modes.
9663         (test_in_one_mode): New function.
9664         (do_test): Use test_in_one_mode to compute and check results.
9665         Check results for all rounding modes.
9666         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9667         $(link-libm).
9668
9669 2012-12-09  Allan McRae  <allan@archlinux.org>
9670
9671         * sysdeps/i386/fpu/libm-test-ulps: Update
9672
9673 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
9674
9675         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9676         (_G_int32_t): Likewise.
9677         (_G_uint16_t): Likewise.
9678         (_G_uint32_t): Likewise.
9679         (_G_HAVE_BOOL): Likewise.
9680         (_G_HAVE_ATEXIT): Likewise.
9681         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9682         (_G_HAVE_IO_FILE_OPEN): Likewise.
9683         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9684         (_G_int32_t): Likewise.
9685         (_G_uint16_t): Likewise.
9686         (_G_uint32_t): Likewise.
9687         (_G_HAVE_BOOL): Likewise.
9688         (_G_HAVE_ATEXIT): Likewise.
9689         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9690         (_G_HAVE_IO_FILE_OPEN): Likewise.
9691         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9692         (_G_int32_t): Likewise.
9693         (_G_uint16_t): Likewise.
9694         (_G_uint32_t): Likewise.
9695         (_G_HAVE_BOOL): Likewise.
9696         (_G_HAVE_ATEXIT): Likewise.
9697         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9698         (_G_HAVE_IO_FILE_OPEN): Likewise.
9699
9700 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
9701
9702         * csu/libc-tls.c: Update copyright years.
9703
9704 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
9705
9706         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9707         [!_G_USING_THUNKS]: Remove conditional code.
9708         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9709         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9710
9711         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9712         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9713         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9714         (_G_VTABLE_LABEL_PREFIX): Likewise.
9715         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9716         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9717         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9718         (_G_VTABLE_LABEL_PREFIX): Likewise.
9719         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9720         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9721         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9722         (_G_VTABLE_LABEL_PREFIX): Likewise.
9723         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9724
9725 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
9726
9727         * libio/Makefile: Include ../Makeconfig before tests.
9728         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9729         only if $(build-shared) is yes.
9730
9731         * iconv/gconv_db.c: Update copyright years.
9732
9733 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9734
9735         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9736         unwind info if defined PIC. Fix special cases description.
9737         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9738
9739         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9740         DP_HI_MASK entry.
9741         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9742
9743 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9744
9745         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9746
9747         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9748         is NULL.
9749
9750         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9751         (LDLIBS-tst-chk4): This.
9752         (LDFLAGS-tst-chk5): Renamed to ...
9753         (LDLIBS-tst-chk5): This.
9754         (LDFLAGS-tst-chk6): Renamed to ...
9755         (LDLIBS-tst-chk6): This.
9756         (LDFLAGS-tst-lfschk4): Renamed to ...
9757         (LDLIBS-tst-lfschk4): This.
9758         (LDFLAGS-tst-lfschk5): Renamed to ...
9759         (LDLIBS-tst-lfschk5): This.
9760         (LDFLAGS-tst-lfschk6): Renamed to ...
9761         (LDLIBS-tst-lfschk6): This.
9762
9763         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9764         on $(common-objpfx)soversions.mk.
9765
9766 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9767
9768         [BZ #10014]
9769         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9770         example host name.
9771
9772 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9773
9774         * malloc/arena.c (arena_get_retry): New function that gets
9775         another arena for the caller to try its request on.
9776         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9777         current arena cannot fulfill the request.
9778         (__libc_memalign): Likewise.
9779         (__libc_memalign): Likewise.
9780         (__libc_pvalloc): Likewise.
9781         (__libc_calloc): Likewise.
9782
9783 2012-09-05  John Tobey  <john.tobey@gmail.com>
9784
9785         [BZ #13542]
9786         * manual/arith.texi (Operations on Complex): Fix description
9787         of carg branch cut.
9788
9789 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9790
9791         [BZ #10014]
9792         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9793         host name.
9794
9795         [BZ #10038]
9796         * manual/memory.texi (Memory): Make order of menu items match
9797         order of sections.
9798
9799 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9800
9801         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9802         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9803         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9804
9805 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9806
9807         * csu/libc-tls.c (static_dtv): Renamed to ...
9808         (_dl_static_dtv): This.  Make it global.
9809         (_dl_initial_dtv): Removed.
9810         (__libc_setup_tls): Updated.
9811         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9812         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9813         DL_INITIAL_DTV.
9814
9815 2012-09-06  Petr Machata  <pmachata@redhat.com>
9816
9817         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9818         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9819         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9820         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9821
9822 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9823
9824         [BZ #14545]
9825         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9826         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9827         freeing dtv[-1].
9828
9829 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9830
9831         [BZ #14544]
9832         * Makeconfig (link-static-before-libc): Replace $(+prector)
9833         with $(+prectorT).
9834         (link-static-after-libc): Replace $(+postctor) with
9835         $(+postctorT).
9836         (link-bounded): Replace $(+prector)/$(+postctor) with
9837         $(+prectorT)/$(+postctorT).
9838         (+prectorT): New macro.
9839         (+postctorT): Likewise.
9840
9841 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9842
9843         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9844         (round_str): Handle values above the maximum for IBM long double
9845         as inexact.
9846         * stdlib/tst-strtod-round.c (tests): Regenerated.
9847
9848 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9849
9850         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9851         assembler flag.
9852         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9853         zarch_nohighgprs around the zarch optimized routines.
9854         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9855         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9856         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9857         for zarch.
9858
9859 2012-09-05  David S. Miller  <davem@davemloft.net>
9860
9861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9862
9863         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9864         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9865         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9866         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9867         entries.
9868
9869 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9870
9871         * malloc/arena.c: Fold copyright years.
9872         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9873
9874 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9875
9876         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9877
9878 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9879
9880         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9881
9882 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9883
9884         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9885         change internal state upon failure.
9886
9887 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9888
9889         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9890         * malloc/memusage.c (mmap): Likewise.
9891         (mmap64, mremap): Likewise.  Adjust name in comment.
9892
9893 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9894
9895         * libio/fileops.c: Fix typos in comments.
9896         * libio/oldfileops.c: Likewise.
9897         * libio/wfileops.c: Likewise.
9898
9899 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9900
9901         [BZ #1349]
9902         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9903         (tst-malloc-usable-ENV): Set environment for test case.
9904         * malloc/hooks.c (malloc_check_get_size): New function to get
9905         requested size.
9906         * malloc/malloc.c (musable): Use malloc_check_get_size.
9907         * malloc/tst-malloc-usable.c: New test case.
9908
9909 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9910
9911         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9912
9913 2012-09-05  Allan McRae  <allan@archlinux.org>
9914
9915         [BZ #13966]
9916         * configure.in (CXX_SYSINCLUDES): Use compiler output to
9917         determine header location.
9918         * configure: Regenerated.
9919
9920 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9921
9922         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9923         float format.
9924         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9925         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9926         format.
9927         (test): Regenerate.
9928
9929 2012-09-04  David S. Miller  <davem@davemloft.net>
9930
9931         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9932         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9933         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9934
9935 2012-09-04  Florian Weimer  <fweimer@redhat.com>
9936
9937         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9938         failures.
9939
9940         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9941
9942 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
9943
9944         [BZ #9914]
9945         * libio/iogetdelim.c: Include <limits.h>.
9946         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9947         + len + 1 would overflow.
9948
9949 2012-09-03  Andreas Jaeger  <aj@suse.de>
9950
9951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9952         * sysdeps/i386/fpu/libm-test-ulps: Update.
9953
9954 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9955
9956         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9957         Add s_sinf-sse2, s_conf-sse2.
9958
9959         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9960         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9961         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9962         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9963
9964         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9965         for using routine as __sinf_ia32.
9966         Use macro for function declaration and weak_alias.
9967         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9968         for using routine as __cosf_ia32.
9969         Use macro for function declaration and weak_alias.
9970
9971         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9972         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9973
9974         * sysdeps/x86_64/fpu/s_sinf.S: New file.
9975         * sysdeps/x86_64/fpu/s_cosf.S: New file.
9976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9977
9978         * math/libm-test.inc (cos_test): Add more test cases.
9979         (sin_test): Likewise.
9980         (sincos_test): Likewise.
9981
9982 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9983
9984         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9985         (IFUNC_RESOLVE): Make pointers to the specialized implementations
9986         hidden.
9987         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9988
9989 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
9990
9991         [BZ #14538]
9992         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9993         first element of the GOT.
9994         (elf_machine_load_address): Return the difference between
9995         the runtime address of _DYNAMIC and elf_machine_dynamic ().
9996
9997 2012-09-01  Allan McRae  <allan@archlinux.org>
9998
9999         [BZ #13412]
10000         * configure.in (AWK): Require gawk version 3.0 or later.
10001         * configure: Regenerated.
10002
10003 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
10004
10005         * sysdeps/unix/sysv/linux/kernel-features.h
10006         (__ASSUME_POSIX_CPU_TIMERS): Remove.
10007         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10008         [__NR_clock_getres]: Make code unconditional.
10009         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10010         (clock_getcpuclockid): Remove code left unreachable by removal of
10011         conditionals.
10012         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10013         code unconditional.
10014         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10015         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10016         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10017         Make code unconditional.
10018         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10019         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10020         * sysdeps/unix/sysv/linux/clock_settime.c
10021         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10022         conditional code.
10023         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10024         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10025
10026 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
10027
10028         [BZ #14476]
10029         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10030         scripts/test-installation.pl.
10031
10032         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10033         and $ld_so_version if it is set.
10034
10035 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10036
10037         [BZ #14516]
10038         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10039         failure if reading from procfs failed.
10040         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10041
10042 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
10043
10044         * sysdeps/unix/sysv/linux/kernel-features.h
10045         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10046         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10047         Remove conditional code.
10048         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10049         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10050         Remove conditional code.
10051         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10052         * sysdeps/unix/sysv/linux/i386/fxstat.c
10053         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10054         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10055         * sysdeps/unix/sysv/linux/i386/fxstatat.c
10056         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10057         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10058         * sysdeps/unix/sysv/linux/i386/lxstat.c
10059         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10060         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10061         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10062         Remove conditional code.
10063         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10064         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10065         Remove conditional code.
10066         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10067         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10068         <kernel-features.h>.
10069         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10070         Remove.
10071         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10072         Remove conditional code.
10073         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10074         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10075         Remove conditional.
10076
10077 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
10078
10079         [BZ #5400]
10080         * NEWS: Add fixed bug number.
10081
10082 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
10083
10084         [BZ #14519]
10085         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10086         underflowing exponent in case of negative sign.
10087         * stdlib/tst-strtod-round-data: Add more tests.
10088         * stdlib/tst-strtod-round.c (tests): Regenerated.
10089
10090         [BZ #3479]
10091         * stdlib/strtod_l.c (NDIG): Remove.
10092         (HEXNDIG): Likewise.
10093         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10094         smallest representable value.
10095         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10096         lie within an exact representation of 1/2 ulp of the result.
10097         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10098         unconditionally.
10099         (TENS_P9_IDX): Define unconditionally.
10100         (TENS_P9_SIZE): Likewise.
10101         (TENS_P10_IDX): Likewise.
10102         (TENS_P10_SIZE): Likewise.
10103         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10104         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10105         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10106         entries for 10^2^13 and 10^2^14.
10107         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10108         (TENS_P13_IDX): Define.
10109         (TENS_P13_SIZE): Likewise.
10110         (TENS_P14_IDX): Likewise.
10111         (TENS_P14_SIZE): Likewise.
10112         (_fpioconst_pow10): Change array size to
10113         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
10114         unconditional.
10115         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10116         1024]: Add entries for 10^2^13 and 10^2^14.
10117         [LAST_POW10 > _LAST_POW10]: Remove #error.
10118         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10119         (_fpioconst_pow10): Change array size to
10120         FPIOCONST_POW10_ARRAY_SIZE.
10121         * stdlib/gen-fpioconst.c: New file.
10122         * stdlib/gen-tst-strtod-round.c: Likewise.
10123         * stdlib/tst-strtod-round-data: Likewise.
10124         * stdlib/tst-strtod-round.c: Likewise.
10125         * stdlib/Makefile (tests): Add tst-strtod-round.
10126
10127         [BZ #14459]
10128         * stdlib/strtod_l.c: Include <stdint.h>.
10129         (NDEBUG): Do not define.
10130         (round_and_return): Change EXPONENT parameter to type intmax_t.
10131         Rearrange calculations to avoid internal overflow possibilities.
10132         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10133         Rearrange calculations to avoid internal overflow possibilities.
10134         Assert that number fits inside MPNSIZE limbs.
10135         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10136         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
10137         calculations and add assertions to avoid internal overflow
10138         possibilities.  Add casts to avoid signed/unsigned operations.
10139         * stdlib/tst-strtod-overflow.c: New file.
10140         * stdlib/Makefile (tests): Add tst-strtod-overflow.
10141
10142 2012-08-25  Marek Polacek  <polacek@redhat.com>
10143
10144         * time/time.h: Fix some typos in comments.
10145
10146 2012-08-23  Roland McGrath  <roland@hack.frob.com>
10147
10148         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10149         * posix/tst-rfc3484-2.c: Likewise.
10150         * posix/tst-rfc3484-3.c: Likewise.
10151
10152 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
10153
10154         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10155         (EF_ARM_ABI_FLOAT_HARD): Likewise.
10156
10157 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
10158
10159         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10160         #include of fxstatat64.c.
10161
10162 2012-08-22  Roland McGrath  <roland@hack.frob.com>
10163
10164         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10165         * shadow/getspent_r.c: Likewise.
10166         * shadow/getspnam.c: Likewise.
10167         * shadow/getspnam_r.c: Likewise.
10168         * gshadow/getsgent.c: Likewise.
10169         * gshadow/getsgent_r.c: Likewise.
10170         * gshadow/getsgnam.c: Likewise.
10171         * gshadow/getsgnam_r.c: Likewise.
10172         * inet/getnetbyad.c: Likewise.
10173         * inet/getnetbyad_r.c: Likewise.
10174         * inet/getnetbynm.c: Likewise.
10175         * inet/getnetbynm_r.c: Likewise.
10176         * inet/getnetent.c: Likewise.
10177         * inet/getnetent_r.c: Likewise.
10178         * inet/getproto.c: Likewise.
10179         * inet/getproto_r.c: Likewise.
10180         * inet/getprtent.c: Likewise.
10181         * inet/getprtent_r.c: Likewise.
10182         * inet/getprtname.c: Likewise.
10183         * inet/getprtname_r.c: Likewise.
10184         * inet/getrpcbyname.c: Likewise.
10185         * inet/getrpcbyname_r.c: Likewise.
10186         * inet/getrpcbynumber.c: Likewise.
10187         * inet/getrpcbynumber_r.c: Likewise.
10188         * inet/getrpcent.c: Likewise.
10189         * inet/getrpcent_r.c: Likewise.
10190         * inet/getaliasent.c: Likewise.
10191         * inet/getaliasent_r.c: Likewise.
10192         * inet/getaliasname.c: Likewise.
10193         * inet/getaliasname_r.c: Likewise.
10194         * nscd/getgrgid_r.c: Likewise.
10195         * nscd/getgrnam_r.c: Likewise.
10196         * nscd/gethstbyad_r.c: Likewise.
10197         * nscd/gethstbynm3_r.c: Likewise.
10198         * nscd/getpwnam_r.c: Likewise.
10199         * nscd/getpwuid_r.c: Likewise.
10200         * nscd/getsrvbynm_r.c: Likewise.
10201         * nscd/getsrvbypt_r.c: Likewise.
10202         * nscd/gai.c: Likewise.
10203
10204         * configure.in (build_nscd): New substituted variable, set
10205         by --disable-build-nscd and defaults to $use_nscd.
10206         * configure: Regenerated.
10207         * config.make.in (build-nscd): New substituted variable.
10208         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10209         Change conditional to require [$(build-nscd) = yes] as well.
10210         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10211
10212         [BZ# 13696]
10213         * configure.in (use_nscd): New substituted variable, set by
10214         --disable-nscd.  If enabled, define USE_NSCD.
10215         * configure: Regenerated.
10216         * config.h.in: Add USE_NSCD.
10217         * config.make.in (use-nscd): New substituted variable.
10218         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10219         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10220         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10221         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10222         (CFLAGS-getgrnam_r.c): Likewise.
10223         (CFLAGS-initgroups.c): Likewise.
10224         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10225         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10226         Variables removed.
10227         * inet/getnetgrent_r.c
10228         (nscd_setnetgrent): New function, broken out of ...
10229         (setnetgrent): ... here.  Call it.
10230         (innetgr): Conditionalize nscd bits on [USE_NSCD].
10231         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10232         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10233         * nscd/Makefile (routines, aux): Move definitions after include of
10234         Makeconfig.  Conditionalize on [$(use-nscd) != no].
10235         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10236         Conditionalize on [USE_NSCD].
10237         (is_nscd, nscd_init_cb): Likewise.
10238         (nss_load_library): Conditionalize init callback on [USE_NSCD].
10239         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10240         * nss/nss_db/db-init.c: Likewise.
10241         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10242         [USE_NSCD].
10243         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10244         (make_request): Use it.
10245         (cache_valid_p): New function.
10246         (__check_pf): Use it.
10247         * NEWS: Add item for --disable-nscd.
10248
10249 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
10250
10251         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10252         to support sed >= 4.2.1-20-ga9bf076.
10253         * configure: Regenerated.
10254
10255 2012-08-22  Roland McGrath  <roland@hack.frob.com>
10256
10257         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10258         Conditionalize whole body on [IREL].
10259
10260 2012-08-22  Jeff Law <law@redhat.com>
10261
10262         [BZ #14505]
10263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10264         if the family is PF_UNSPEC.
10265
10266 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
10267
10268         * Makerules (lib-version): Rename from V.
10269         (install-lib-nosubdir): Change V to lib-version.
10270
10271 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
10272
10273         [BZ #14252]
10274         * powerpc32/power6/wcschr.c: New file.
10275         * powerpc32/power6/wcscpy.c: New file.
10276         * powerpc32/power6/wcsrchr.c: New file.
10277         * powerpc64/power6/wcschr.c: New file.
10278         * powerpc64/power6/wcscpy.c: New file.
10279         * powerpc64/power6/wcsrchr.c: New file.
10280
10281 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
10282
10283         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10284         (two_way_short_needle): Use it.
10285         * string/strstr.c (AVAILABLE1_USES_J): Define.
10286         * string/strcasestr.c: Likewise.
10287
10288         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10289         array references.
10290         * string/strcasestr.c (TOLOWER): Make side-effect safe.
10291
10292         [BZ #11607]
10293         * NEWS: Add an entry.
10294         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10295         define their defaults.
10296         (two_way_short_needle): Detect end-of-string on-the-fly.
10297         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10298         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10299         * string/bug-strcasestr1.c: New test.
10300         * string/Makefile: Run it.
10301
10302 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
10303
10304         [BZ #11607]
10305         * string/str-two-way.h (two_way_short_needle): Optimize matching of
10306         the first character.
10307
10308 2012-08-21  Roland McGrath  <roland@hack.frob.com>
10309
10310         * csu/elf-init.c (__libc_csu_irel): Function removed.
10311         * csu/libc-start.c (apply_irel): New function.
10312         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10313
10314 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
10315
10316         * sysdeps/unix/sysv/linux/kernel-features.h
10317         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10318         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10319         <kernel-features.h>.
10320         [__NR_fadvise64_64]: Make code unconditional.
10321         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10322         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10323         !__NR_fadvise64_64)]: Likewise.
10324         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10325         !__NR_fadvise64_64))]: Likewise.
10326         [__NR_fadvise64]: Make code unconditional.
10327         [!__NR_fadvise64]: Remove conditional code.
10328         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10329         <kernel-features.h>.
10330         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10331         unconditional.
10332         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10333         conditional code.
10334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10335         not include <kernel-features.h>.
10336         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10337         unconditional.
10338         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10339         conditional code.
10340         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10341         include <kernel-features.h>.
10342         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10343         unconditional.
10344         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10345         conditional code.
10346
10347 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
10348
10349         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10350         slight instruction rearrangements per scrollpipe analysis.
10351         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10352
10353 2012-08-20  Roland McGrath  <roland@hack.frob.com>
10354
10355         * manual/syslog.texi (syslog; vsyslog, closelog):
10356         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10357         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10358
10359         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10360         DSOCAPS to match condition on defining it.
10361
10362 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
10363
10364         * sysdeps/unix/sysv/linux/kernel-features.h
10365         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10367         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10368         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10370         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10371         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10373         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10374         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10375
10376         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10377         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10378
10379         * sysdeps/unix/sysv/linux/kernel-features.h
10380         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10381         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10382         unconditional.
10383         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10384         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10385         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10386         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10387         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10388         Make code unconditional.
10389         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10390         (__mmap64) [!__NR_mmap2]: Likewise.
10391         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10392         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10393         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10394         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10395         [__NR_mmap2]: Make code unconditional.
10396         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10397         (__mmap64) [!__NR_mmap2]: Likewise.
10398
10399 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10400
10401         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10402
10403 2012-08-18  Andreas Jaeger  <aj@suse.de>
10404
10405         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10406
10407 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
10408
10409         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10410         * include/unistd.h (__have_sock_cloexec): Likewise.
10411         (__have_pipe2): Likewise.
10412         (__have_dup3): Likewise.
10413
10414 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
10415
10416         [BZ #9685]
10417         * include/unistd.h (__have_pipe2): Change define into an extern int.
10418         (__have_dup3): Likewise.
10419         * socket/have_sock_cloexec.c: Include fcntl.h.
10420         (__have_pipe2): New variable.
10421         (__have_dup3): Likewise.
10422
10423 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
10424
10425         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10426
10427 2012-08-17  Marek Polacek  <polacek@redhat.com>
10428
10429         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10430         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10431
10432 2012-08-17  Roland McGrath  <roland@hack.frob.com>
10433
10434         * configure.in: Add AC_SUBST for sysheaders.
10435         * configure: Regenerated.
10436         * config.make.in (sysheaders): New substituted variable.
10437
10438         * sysdeps/unix/mkfifo.c: Moved ...
10439         * sysdeps/posix/mkfifo.c: ... here.
10440         * sysdeps/unix/mkfifoat.c: Moved ...
10441         * sysdeps/posix/mkfifoat.c: ... here.
10442
10443         * sysdeps/unix/utime.c: Moved ...
10444         * sysdeps/posix/utime.c: ... here.
10445
10446         * sysdeps/unix/time.c: Moved ...
10447         * sysdeps/posix/time.c: ... here.
10448         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10449         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10450
10451         * sysdeps/unix/nice.c: Moved ...
10452         * sysdeps/posix/nice.c: ... here.
10453
10454         * sysdeps/unix/alarm.c: Moved ...
10455         * sysdeps/posix/alarm.c: ... here.
10456
10457         * intl/Makefile ($(codeset_mo)): Depend on the input file.
10458
10459 2012-08-17  Jeff Law <law@redhat.com>
10460
10461         * intl/Makefile (codeset_mo): New variable.
10462         ($(codeset_mo)): New target.
10463         (tst-codeset.out): Depend on that.  Remove explicit rule.
10464         (tst-gettext3.out, tst-gettext5.out): Likewise.
10465         (LOCPATH-ENV, tst-codeset-ENV): New variables.
10466         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10467         * intl/tst-codeset.sh: Remove.
10468         * intl/tst-gettext3.sh: Likewise.
10469         * intl/tst-gettext5.sh: Likewise.
10470
10471 2012-08-17  Roland McGrath  <roland@hack.frob.com>
10472
10473         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
10474         * sysdeps/unix/syscalls.list: ... here.
10475
10476         * sysdeps/posix/getaddrinfo.c
10477         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10478         (gaiconf_init, gaiconf_reload): Use them.
10479         [!_STATBUF_ST_NSEC]
10480         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10481         Define using time_t rather than struct timespec.
10482
10483         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10484         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10485         Macros removed.
10486         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10487         [!NO_THREADS].
10488         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10489         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10490         Likewise.
10491
10492         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10493         __libc_cleanup_push argument.
10494
10495         * bits/param.h: New file.
10496         * misc/sys/param.h: New file.
10497         * include/sys/param.h: New file.
10498         * misc/Makefile (headers): Add bits/param.h.
10499         * sysdeps/generic/sys/param.h: File removed.
10500         * sysdeps/unix/sysv/linux/bits/param.h: New file.
10501         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10502         * sysdeps/mach/hurd/bits/param.h: New file.
10503         * sysdeps/mach/hurd/sys/param.h: File removed.
10504
10505         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10506         last change.
10507
10508         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10509         [_IO_MTSAFE_IO].
10510         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10511         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10512         New macros.
10513
10514         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10515         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10516         rather than -D_IO_MTSAFE_IO conditionally.
10517         * stdio-common/Makefile (CPPFLAGS): Likewise.
10518         * wcsmbs/Makefile (CPPFLAGS): Likewise.
10519         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10520         Use $(libio-mtsafe).
10521         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10522         of -D_IO_MTSAFE_IO.
10523         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10524         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10525         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10526         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10527         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10528         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10529         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10530         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10531         (CFLAGS-fread_u_chk.c): Likewise.
10532         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10533         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10534         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10535         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10536         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10537         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10538         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10539         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10540         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10541
10542         * libio/Makefile: Test [$(libc-reentrant) = yes]
10543         instead of [$(filter %REENTRANT, $(defines)) nonempty].
10544
10545         * Makeconfig
10546         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10547         * sysdeps/pthread/configure: File removed.
10548         * sysdeps/pthread/Makeconfig: New file.
10549         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10550         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10551
10552 2012-08-16  Gary Benson  <gbenson@redhat.com>
10553
10554         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10555         unmapping the first object in a namespace.
10556
10557 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10558
10559         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10560         (__internal_setnetgrent): ... this.  Add internal_function to
10561         definition.  Add libc_hidden_def.
10562         (setnetgrent): Update caller.
10563         (internal_endnetgrent): Renamed to ...
10564         (__internal_endnetgrent): ... this.  Add internal_function to
10565         definition.  Add libc_hidden_def.
10566         (endnetgrent): Update caller.
10567         (internal_getnetgrent_r): Renamed to ...
10568         (__internal_getnetgrent_r): ... this.  Add internal_function to
10569         definition.  Add libc_hidden_def.
10570         (__getnetgrent_r): Update caller.
10571         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
10572
10573 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10574
10575         * stdlib/longlong.h: Update from GCC.
10576
10577 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10578
10579         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10580         on _QL, which is set by umul_ppmm but never used.
10581         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10582         variables, which are set by GMP macros but never used.
10583         * stdio-common/_itowa.c (_itowa): Likewise.
10584         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10585         * stdlib/mod_1.c (mpn_mod_1): Likewise.
10586
10587 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
10588
10589         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10590         struct La_sh_regs is not constant.
10591         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10592         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10593         and struct La_sparc64_regs are not constant.
10594
10595 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10596
10597         * sysdeps/unix/sysv/linux/kernel-features.h
10598         (__ASSUME_POSIX_TIMERS): Remove.
10599         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10600         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10601         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10602         Make code unconditional.
10603         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10604         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10605         Make code unconditional.
10606         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10607         * sysdeps/unix/sysv/linux/clock_nanosleep.c
10608         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10609         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10610         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10611         Make code unconditional.
10612         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10613         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10614         (__libc_missing_posix_timers): Remove.
10615
10616 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10617
10618         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10619         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10620
10621         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10622
10623         * elf/dl-sym.c: Include <stdlib.h>.
10624
10625         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10626         constants, which avoids warnings in 32-bit builds.
10627
10628         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10629         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10630
10631         * misc/lseek.c: File moved to ...
10632         * io/lseek.c: ... here.
10633
10634         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10635
10636         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10637         shifting LEN more than 31 bits at once.
10638
10639 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10640
10641         [BZ #14195]
10642         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10643         segmentation fault for a case of two empty input strings.
10644         * string/test-strncasecmp.c (check1): Renamed to...
10645         (bz12205): ...this.
10646         (bz14195): Add new testcase for two empty input strings and N > 0.
10647         (test_main): Call new testcase, adapt for renamed function.
10648
10649 2012-08-15  Andreas Jaeger  <aj@suse.de>
10650
10651         [BZ #14090]
10652         * crypt/md5test2.c: New test, based on test supplied by Serge
10653         Belyshev <belyshev@depni.sinp.msu.ru>.
10654         * crypt/Makefile (xtests): Add md5test-giant..
10655         * crypt/Makefile ($(objpfx)md5test-giant): Add.
10656
10657 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
10658
10659         [BZ #14090]
10660         * crypt/md5.c (md5_process_block): Don't assume the buffer
10661         length is less than 2**32.
10662         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10663         length is less than 2**64.
10664
10665 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10666
10667         * string/str-two-way.h: Include <sys/param.h>.
10668         (MAX): Macro removed.
10669
10670         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10671         Move #define and #undef of memmove to just before and after
10672         including <string.h>.
10673
10674         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10675         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10676         and after including <string.h>.  Move declarations of
10677         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10678         to before #include "string/memmove.c".
10679
10680         * include/dirent.h: Declare __getdirentries.
10681
10682         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10683         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10684
10685 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
10686
10687         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10688         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10689         * sysdeps/i386/configure: Regenerated.
10690         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10691         STABS_CURRENT_FILE, and STABS_FUN.
10692         (END): Remove call to STABS_FUN_END.
10693         (STABS_CURRENT_FILE1): Delete.
10694         (STABS_CURRENT_FILE): Likewise.
10695         (STABS_FUN): Likewise.
10696         (STABS_FUN_END): Likewise.
10697         (STABS_FUN2): Likewise.
10698         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10699         * sysdeps/x86_64/configure: Regenerated.
10700
10701 2012-08-14  Roland McGrath  <roland@hack.frob.com>
10702
10703         * elf/dl-open.c: Include <atomic.h>.
10704         * elf/dl-lookup.c: Likewise.
10705
10706 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
10707
10708         * sysdeps/unix/sysv/linux/kernel-features.h
10709         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10710         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10711         unconditionally.
10712         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10713         unconditionally.
10714         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10715         condition on __ASSUME_CLONE_THREAD_FLAGS.
10716
10717 2012-08-14  Andreas Jaeger  <aj@suse.de>
10718
10719         * sysdeps/i386/fpu/libm-test-ulps: Update.
10720
10721 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
10722
10723         * include/atomic.h (atomic_exchange_and_add): Split into ...
10724         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10725         New atomic macros.
10726
10727 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
10728
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10730
10731 2012-08-13  Jeff Law <law@redhat.com>
10732
10733         * manual/stdio.texi (snprintf): Clarify handling of the trailing
10734         null byte in the output string.
10735
10736 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
10737
10738         * sysdeps/unix/sysv/linux/kernel-features.h
10739         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10740         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10741         (__ASSUME_ARG_MAX_STACK_BASED): Define.
10742         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10743         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10744         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10745         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10746
10747 2012-08-09  Jeff Law <law@redhat.com>
10748
10749         [BZ #13939]
10750         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10751         When avoid_arena is set, don't retry in the that arena.  Pick the
10752         next one, whatever it might be.
10753         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10754         (arena_lock): Pass in new parameter to arena_get2.
10755         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10756         arena_get2.
10757         (__libc_malloc): Unify retrying after main arena failure with
10758         __libc_memalign version.
10759         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10760
10761 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10762
10763         [BZ #14166]
10764         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10765         to __redirect_strstr.
10766         (__strstr_sse42): Use typeof __redirect_strstr.
10767         (__strstr_ia32): Likewise.
10768         (__libc_strstr): New prototype.
10769         (strstr): Renamed to ...
10770         (__libc_strstr): This.
10771         (strstr): New strong alias of __libc_strstr.
10772         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10773         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10774         __redirect_time.
10775         Include <time.h>.
10776         (__libc_time): New prototype.
10777         (time_ifunc): Replace time with __libc_time.
10778         (time): New strong alias and hidden definition of __libc_time.
10779         (__GI_time): Remove strong alias.
10780         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10781         Include <stddef.h>.
10782         (memmove): Redefined to __redirect_memmove.
10783         (__memmove_sse2): Use typeof __redirect_memmove.
10784         (__memmove_ssse3): Likewise.
10785         (__memmove_ssse3_back): Likewise.
10786         (__libc_memmove): New prototype.
10787         (memmove): Renamed to ...
10788         (__libc_memmove): This.
10789         (memmove): New strong alias of __libc_memmove.
10790
10791 2012-08-08  Mark Salter  <msalter@redhat.com>
10792
10793         * elf/elf.h
10794         (R_MN10300_TLS_GD): Define.
10795         (R_MN10300_TLS_LD): Likewise.
10796         (R_MN10300_TLS_LDO): Likewise.
10797         (R_MN10300_TLS_GOTIE): Likewise.
10798         (R_MN10300_TLS_IE): Likewise.
10799         (R_MN10300_TLS_LE): Likewise.
10800         (R_MN10300_TLS_DTPMOD): Likewise.
10801         (R_MN10300_TLS_DTPOFF): Likewise.
10802         (R_MN10300_TLS_TPOFF): Likewise.
10803         (R_MN10300_SYM_DIFF): Likewise.
10804         (R_MN10300_ALIGN): Likewise.
10805         (R_MN10300_NUM): Update.
10806
10807 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10808
10809         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10810         Remove.
10811
10812 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10813
10814         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10815
10816         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10817         sysdeps/unix -> sysdeps/posix move.
10818         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10819
10820 2012-08-07      Allan McRae     <allan@archlinux.org>
10821
10822         [BZ #14303]
10823         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10824         (SUNOS_CPP): Likewise.
10825         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10826         not found.
10827         (open_input): Call CPP using execvp.
10828
10829 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10830
10831         * sysdeps/unix/sysv/linux/kernel-features.h
10832         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10833         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10834         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10835         (__ASSUME_WAITID_SYSCALL): Likewise.
10836         * sysdeps/unix/sysv/linux/dl-execstack.c
10837         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10838         code unconditional.
10839         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10840         conditional code.
10841         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10842         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10843         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10844         code.
10845         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10846         unconditional.
10847         [__ASSUME_WAITID_SYSCALL]: Likewise.
10848         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10849
10850 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10851
10852         * sysdeps/unix/closedir.c: Renamed to ...
10853         * sysdeps/posix/closedir.c: ... here.
10854         * sysdeps/unix/dirfd.c: Renamed to ...
10855         * sysdeps/posix/dirfd.c: ... here.
10856         * sysdeps/unix/dirstream.h: Renamed to ...
10857         * sysdeps/posix/dirstream.h: ... here.
10858         * sysdeps/unix/fdopendir.c: Renamed to ...
10859         * sysdeps/posix/fdopendir.c: ... here.
10860         * sysdeps/unix/opendir.c: Renamed to ...
10861         * sysdeps/posix/opendir.c: ... here.
10862         * sysdeps/unix/readdir.c: Renamed to ...
10863         * sysdeps/posix/readdir.c: ... here.
10864         * sysdeps/unix/readdir_r.c: Renamed to ...
10865         * sysdeps/posix/readdir_r.c: ... here.
10866         * sysdeps/unix/rewinddir.c: Renamed to ...
10867         * sysdeps/posix/rewinddir.c: ... here.
10868         * sysdeps/unix/seekdir.c: Renamed to ...
10869         * sysdeps/posix/seekdir.c: ... here.
10870         * sysdeps/unix/telldir.c: Renamed to ...
10871         * sysdeps/posix/telldir.c: ... here.
10872         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10873         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10874         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10875         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10876
10877         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10878         * bits/fcntl.h: ... here.
10879
10880         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10881         not 0.
10882         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10883         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10884         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10885         (struct flock): Move l_start, l_len to the beginning.
10886         Use __pid_t for l_pid.
10887         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10888         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10889         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10890         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10891         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10892         [__USE_LARGEFILE64] (struct flock64): New type.
10893         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10894
10895         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10896         * bits/dirent.h: ... here.
10897
10898         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10899         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10900
10901 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10902
10903         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10904         Change from 2.6.0 to 2.6.16.
10905         * sysdeps/unix/sysv/linux/configure: Regenerated.
10906         * sysdeps/unix/sysv/linux/kernel-features.h
10907         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10908         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10909         version.
10910         (__ASSUME_UTIMES): Likewise.
10911         (__ASSUME_CLONE_STOPPED): Remove.
10912         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10913         architectures, not kernel version.
10914         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10915         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10916         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10917         (__ASSUME_WAITID_SYSCALL): Likewise.
10918         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10919         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10920         * README: State 2.6.16 as minimum Linux kernel version.  Do not
10921         refer to older versions.
10922
10923 2012-08-06  Roland McGrath  <roland@hack.frob.com>
10924
10925         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10926         Define alphasort64 as an alias.
10927         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10928         Define versionsort64 as an alias.
10929         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10930         Define scandir64 as an alias.
10931         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10932         Define scandirat64 as an alias.
10933         * dirent/alphasort64.c (alphasort64):
10934         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10935         * dirent/versionsort64.c: Likewise.
10936         * dirent/scandir64.c: Likewise.
10937         * dirent/scandirat64.c: Likewise.
10938         * sysdeps/wordsize-64/alphasort.c: File removed.
10939         * sysdeps/wordsize-64/alphasort64.c: File removed.
10940         * sysdeps/wordsize-64/scandir.c: File removed.
10941         * sysdeps/wordsize-64/scandir64.c: File removed.
10942         * sysdeps/wordsize-64/scandirat.c: File removed.
10943         * sysdeps/wordsize-64/scandirat64.c: File removed.
10944         * sysdeps/wordsize-64/versionsort.c: File removed.
10945         * sysdeps/wordsize-64/versionsort64.c: File removed.
10946         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10947         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10948         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10949         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10950         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10951         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10952         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10953         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10954
10955         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10956         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10957         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10958         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10959         [defined __arch64__ || defined __sparcv9]
10960         (__INO_T_MATCHES_INO64_T): New macro.
10961         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10962         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10963         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10964         * sysdeps/unix/sysv/linux/bits/dirent.h
10965         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10966         (_DIRENT_MATCHES_DIRENT64): New macro.
10967
10968         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10969         Define lockf64 as an alias.
10970         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10971         Define fseeko64 as an alias.
10972         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10973         Define ftello64 as an alias.
10974         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10975         Define _IO_fgetpos64 and fgetpos64 as aliases.
10976         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10977         Define _IO_fsetpos64 and fsetpos64 as aliases.
10978         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10979         Conditionalize body on this.
10980         * libio/fseeko64.c: Likewise.
10981         * libio/ftello64.c: Likewise.
10982         * libio/iofgetpos64.c: Likewise.
10983         * libio/iofsetpos64.c: Likewise.
10984         * sysdeps/wordsize-64/lockf.c: File removed.
10985         * sysdeps/wordsize-64/lockf64.c: File removed.
10986         * sysdeps/wordsize-64/fseeko.c: File removed.
10987         * sysdeps/wordsize-64/fseeko64.c: File removed.
10988         * sysdeps/wordsize-64/ftello.c: File removed.
10989         * sysdeps/wordsize-64/ftello64.c: File removed.
10990         * sysdeps/wordsize-64/iofgetpos.c: File removed.
10991         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10992         * sysdeps/wordsize-64/iofsetpos.c: File removed.
10993         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10994         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10995         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10996         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10997         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10998         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10999         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11000         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11001         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11002         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11003         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11004
11005         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11006         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11007         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11009         [defined __arch64__ || defined __sparcv9]
11010         (__OFF_T_MATCHES_OFF64_T): New macro.
11011         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11012         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11013         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11014         (__OFF_T_MATCHES_OFF64_T): New macro.
11015
11016 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
11017
11018         * stdlib/secure-getenv.c (__secure_getenv): Replace
11019         GLIBC_2_16 with GLIBC_2_17.
11020
11021 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
11022
11023         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11024         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11025
11026 2012-08-03  David S. Miller  <davem@davemloft.net>
11027
11028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11029
11030 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
11031
11032         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11033         Remove.
11034         (__ASSUME_CORRECT_SI_PID): Likewise.
11035         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11036         (__ASSUME_TMPFS_NAME): Likewise.
11037         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11038         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11039         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11040         (HAVE_AUX_SECURE): Make definition unconditional.
11041         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11042         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11043
11044 2012-08-03  Roland McGrath  <roland@hack.frob.com>
11045
11046         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11047         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11048         * sysdeps/mach/hurd/eloop-threshold.h: New file.
11049         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11050         __eloop_threshold instead of SYMLOOP_MAX.
11051
11052         * sysdeps/generic/eloop-threshold.h: New file.
11053         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11054         of MAXSYMLINKS.
11055         * elf/chroot_canon.c (chroot_canon): Likewise.
11056
11057 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
11058
11059         [BZ #13717]
11060         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11061         Change to 2.6.0 everywhere.
11062         * sysdeps/unix/sysv/linux/configure: Regenerated.
11063         * sysdeps/unix/sysv/linux/kernel-features.h
11064         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11065         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11066         kernel versions.
11067         (__ASSUME_POSIX_TIMERS): Define unconditionally.
11068         (__ASSUME_FUTEX_REQUEUE): Remove.
11069         (__ASSUME_STATFS64): Define unconditionally.
11070         (__ASSUME_AT_SECURE): Likewise.
11071         (__ASSUME_CORRECT_SI_PID): Likewise.
11072         (__ASSUME_TGKILL): Define without depending on kernel version for
11073         i386.
11074         (__ASSUME_UTIMES): Likewise.
11075         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11076         kernel version.
11077         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11078         (__ASSUME_TMPFS_NAME): Likewise.
11079         * README: Update reference to Linux kernel versions.
11080
11081 2012-08-02  Marek Polacek  <polacek@redhat.com>
11082
11083         [BZ# 14150]
11084         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
11085         libc_cv_asm_type_prefix with %.
11086         * configure: Regenerated.
11087         * include/libc-symbols.h: Remove comment about
11088         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11089         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11090         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11091         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11092         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11093         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11094         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11095         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11096         * elf/tst-unique2mod1.c: Likewise.
11097         * elf/tst-unique1mod2.c: Likewise.
11098         * elf/tst-unique1mod1.c: Likewise.
11099         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11100         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11101         Replace ASM_TYPE_DIRECTIVE with .type.
11102         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11103         * sysdeps/i386/sysdep.h: Likewise.
11104         * sysdeps/x86_64/sysdep.h: Likewise.
11105         * sysdeps/sh/sysdep.h: Likewise.
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11107         Do not define ASM_TYPE_DIRECTIVE.
11108         * sysdeps/powerpc/sysdep.h: Likewise.
11109         * sysdeps/powerpc/powerpc32/sysdep.h:
11110         Replace ASM_TYPE_DIRECTIVE with .type.
11111         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11112         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11113         * sysdeps/i386/fpu/e_powf.S: Likewise.
11114         * sysdeps/i386/fpu/e_expl.S: Likewise.
11115         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11116         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11117         * sysdeps/i386/fpu/e_pow.S: Likewise.
11118         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11119         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11120         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11121         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11122         * sysdeps/i386/fpu/e_log2.S: Likewise.
11123         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11124         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11125         * sysdeps/i386/fpu/e_powl.S: Likewise.
11126         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11127         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11128         * sysdeps/i386/fpu/e_logl.S: Likewise.
11129         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11130         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11131         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11132         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11133         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11134         * sysdeps/i386/fpu/e_log.S: Likewise.
11135         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11136         * sysdeps/i386/fpu/e_logf.S: Likewise.
11137         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11138         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11139         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11140         * sysdeps/i386/fpu/e_log10.S: Likewise.
11141         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11142         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11143         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11144         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11145         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11146         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11147         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11148         * sysdeps/i386/i686/strtok.S: Likewise.
11149         * sysdeps/i386/i386-mcount.S: Likewise.
11150         * sysdeps/i386/strtok.S: Likewise.
11151         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11152         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11153         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11154         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11155         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11156         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11157         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11158         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11159         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11160         * sysdeps/x86_64/_mcount.S: Likewise.
11161         * sysdeps/x86_64/strtok.S: Likewise.
11162         * sysdeps/sh/_mcount.S: Likewise.
11163
11164 2012-08-01  Roland McGrath  <roland@hack.frob.com>
11165
11166         * libio/iofopen.c: Include <fcntl.h>.
11167         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11168         (_IO_fopen64, fopen64): Define as aliases.
11169         * libio/iofopen64.c: Include <fcntl.h>.
11170         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11171         Conditionalize body on this.
11172         * sysdeps/wordsize-64/iofopen.c: File removed.
11173         * sysdeps/wordsize-64/iofopen64.c: File removed.
11174
11175 2012-08-01  Marek Polacek  <polacek@redhat.com>
11176
11177         * libc/Makeconfig: Use elf in place of binfmt-subdir.
11178         Use dlfcn directly instead of a variable.
11179         (binfmt-subdir): Do not define.
11180         (dlfcn): Likewise.
11181
11182 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
11183
11184         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11185         Remove all definitions.
11186         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11187         <kernel-features.h>.
11188         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11189         (miss_F_GETOWN_EX): Remove all definitions.
11190         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11191         macro definition.
11192         [!__ASSUME_FCNTL64]: Remove conditional code.
11193         [__ASSUME_FCNTL64]: Make code unconditional.
11194         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11195         <kernel-features.h>.
11196         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11197         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11198         (lockf64) [__NR_fcntl64]: Make code unconditional.
11199         (lockf64) [__ASSUME_FCNTL64]: Likewise.
11200
11201         * sysdeps/unix/sysv/linux/kernel-features.h
11202         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11203         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11204         Make code unconditional.
11205         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11206         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11208         [__NR_vfork]: Make code unconditional.
11209         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11210         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11212         [__NR_vfork]: Make code unconditional.
11213         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11214         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11215
11216 2012-08-01  Roland McGrath  <roland@hack.frob.com>
11217
11218         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11219         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11220
11221         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11222         Define mkstemp64 as an alias.
11223         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11224         Define mkstemps64 as an alias.
11225         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11226         Define mkostemp64 as an alias.
11227         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11228         Define mkostemps64 as an alias.
11229         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11230         Conditionalize body on this.
11231         * misc/mkostemp64.c: Likewise.
11232         * misc/mkostemps64.c: Likewise.
11233         * misc/mkstemps64.c: Likewise.
11234         * sysdeps/wordsize-64/mkstemp64.c: File removed.
11235         * sysdeps/wordsize-64/mkostemp64.c: File removed.
11236         * sysdeps/wordsize-64/mkostemp.c: File removed.
11237         * sysdeps/wordsize-64/mkstemp.c: File removed.
11238         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11239         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11240         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11241         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11242
11243         [BZ #14138]
11244         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11245         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11246         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11247         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11248
11249         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11250         compat_symbol macros from <shlib-compat.h> rather than the underlying
11251         default_symbol_version and symbol_version macros, so that DEFAULT
11252         lines in shlib-versions are respected.
11253         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11254
11255 2012-08-01  Florian Weimer  <fweimer@redhat.com>
11256
11257         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11258         Declare with warn_unused_result.
11259         (setgid, setregid, setegid, setresgid): Likewise.
11260         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11261         Likewise.
11262         * WUR-REPORT: Remove set*id functions.
11263
11264 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
11265
11266         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11267
11268 2012-07-31  Roland McGrath  <roland@hack.frob.com>
11269
11270         [BZ #10191]
11271         * include/sys/socket.h (__libc_accept, __libc_accept4):
11272         Add attribute_hidden.
11273         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11274
11275         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11276         use of PTR_MANGLE.
11277         * inet/getnetgrent_r.c (setup): Likewise.
11278
11279         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11280
11281 2012-07-31  David S. Miller  <davem@davemloft.net>
11282
11283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11284
11285 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
11286
11287         [BZ #13629]
11288         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11289         value between 1.0 and 2.0 and smaller part has absolute value less
11290         than 1.0.
11291         * math/s_clog10.c (__clog10): Likewise.
11292         * math/s_clog10f.c (__clog10f): Likewise.
11293         * math/s_clog10l.c (__clog10l): Likewise.
11294         * math/s_clogf.c (__clogf): Likewise.
11295         * math/s_clogl.c (__clogl): Likewise.
11296         * math/libm-test.inc (clog_test): Add more tests.
11297         (clog10_test): Likewise.
11298         * sysdeps/i386/fpu/libm-test-ulps: Update.
11299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11300
11301 2012-07-31  Florian Weimer  <fweimer@redhat.com>
11302
11303         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11304         Exit with zero in case no suitable GID is found, and write a
11305         message to standard error.
11306
11307 2012-07-30  Roland McGrath  <roland@hack.frob.com>
11308
11309         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11310         rather than to 1.
11311         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11312         (MAXPATHLEN): Removed.
11313         (NOGROUP, NODEV): New macros.
11314         (setbit, clrbit, isset, isclr): New macros.
11315         (howmany, roundup, powerof2): New macros.
11316         (DEV_BSIZE): New macro.
11317
11318         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11319         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11320
11321         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11322         definition on [!__NO_LONG_DOUBLE_MATH].
11323
11324         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11325         PTR_MANGLE and PTR_DEMANGLE.
11326
11327         * socket/accept4.c (accept4): Rename to __libc_accept4.
11328         Define accept4 as a weak alias.
11329
11330         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11331         on [_DIRENT_HAVE_D_TYPE].
11332         * io/ftw.c (ftw_dir): Likewise.
11333
11334         * io/xmknod.c (__xmknod): Don't check PATH for being null.
11335
11336         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11337
11338         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11339         Use the BSD numbers rather than the arbitrary ones we had.
11340         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11341         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11342         (SIGXCPU, SIGXFSZ): New macros.
11343         (_NSIG): Now 32.
11344
11345         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11346         initializer on [_LIBC_REENTRANT].
11347
11348         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11349         definitions inside [_POSIX_MAPPED_FILES].
11350
11351         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11352
11353         * dirent/opendir.c: Include <fcntl.h>.
11354
11355         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11356         (__libc_getspecific): Likewise.
11357         (__libc_key_create): Likewise.
11358
11359         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11360         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11361         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11362         (tmpfile64): Define as alias.
11363         * sysdeps/wordsize-64/tmpfile.c: File removed.
11364         * sysdeps/wordsize-64/tmpfile64.c: File removed.
11365         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11366         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11367
11368         * stdio-common/vfscanf.c: Include <stdbool.h>.
11369         * nss/makedb.c: Likewise.
11370         * stdio-common/_i18n_number.h: Likewise.
11371         * argp/argp-help.c: Likewise.
11372         * posix/wordexp.c: Likewise.
11373         * sysdeps/posix/spawni.c: Likewise.
11374         * nss/nss_files/files-initgroups.c: Likewise.
11375         * stdio-common/reg-modifier.c: Include <stdlib.h>.
11376         * nss/nss_files/files-initgroups.c: Likewise.
11377         * nss/nss_db/db-netgrp.c: Likewise.
11378         * nss/nss_db/db-initgroups.c: Likewise.
11379         * io/fchmodat.c: Include <sys/stat.h>.
11380
11381         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11382         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11383
11384         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11385         [HAVE_MMAP].
11386
11387         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11388         Add multiple inclusion protection.
11389
11390 2012-07-27  David S. Miller  <davem@davemloft.net>
11391
11392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11393
11394 2012-07-27  Gary Benson  <gbenson@redhat.com>
11395
11396         [BZ #14298]
11397         * elf/rtld.c: Include <stap-probe.h>.
11398         (dl_main): Added static probes "init_start" and "init_complete".
11399         * elf/dl-load.c: Include <stap-probe.h>.
11400         (lose): Take new parameter "nsid".
11401         Added static probe "map_failed".
11402         (_dl_map_object_from_fd): Pass namespace id to lose.
11403         Added static probe "map_start".
11404         (open_verify): Pass namespace id to lose.
11405         * elf/dl-open.c: Include <stap-probe.h>.
11406         (dl_open_worker) Added static probes "map_complete", "reloc_start"
11407         and "reloc_complete".
11408         * elf/dl-close.c: Include <stap-probe.h>.
11409         (_dl_close_worker): Added static probes "unmap_start" and
11410         "unmap_complete".
11411         * elf/rtld-debugger-interface.txt: New file documenting the above.
11412
11413 2012-07-26  Roland McGrath  <roland@hack.frob.com>
11414
11415         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11416         rather than a string variable.
11417         * sunrpc/rpc_main.c (h_output): Likewise.
11418         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11419
11420 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
11421
11422         * inet/check_native.c: New file.
11423
11424 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
11425
11426         [BZ #13629]
11427         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11428         if larger part has absolute value 1.0.
11429         * math/s_clog10.c (__clog10): Likewise.
11430         * math/s_clog10f.c (__clog10f): Likewise.
11431         * math/s_clog10l.c (__clog10l): Likewise.
11432         * math/s_clogf.c (__clogf): Likewise.
11433         * math/s_clogl.c (__clogl): Likewise.
11434         * math/libm-test.inc (clog_test): Add more tests.
11435         (clog10_test): Likewise.
11436         * sysdeps/i386/fpu/libm-test-ulps: Update.
11437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11438
11439         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11440         (pltexit): Likewise.
11441         (La_regs): Likewise.
11442         (La_retval): Likewise.
11443         (int_retval): Likewise.
11444         Update #error for removed macros to refer only to definitions in
11445         tst-audit.h.
11446         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11447         macro.
11448         (pltexit): Likewise.
11449         (La_regs): Likewise.
11450         (La_retval): Likewise.
11451         (int_retval): Likewise.
11452         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11453         macro.
11454         (pltexit): Likewise.
11455         (La_regs): Likewise.
11456         (La_retval): Likewise.
11457         (int_retval): Likewise.
11458         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11459         macro.
11460         (pltexit): Likewise.
11461         (La_regs): Likewise.
11462         (La_retval): Likewise.
11463         (int_retval): Likewise.
11464         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11465         macro.
11466         (pltexit): Likewise.
11467         (La_regs): Likewise.
11468         (La_retval): Likewise.
11469         (int_retval): Likewise.
11470         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11471         macro.
11472         (pltexit): Likewise.
11473         (La_regs): Likewise.
11474         (La_retval): Likewise.
11475         (int_retval): Likewise.
11476         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11477         macro.
11478         (pltexit): Likewise.
11479         (La_regs): Likewise.
11480         (La_retval): Likewise.
11481         (int_retval): Likewise.
11482         * sysdeps/generic/tst-audit.h: Update comment to refer only to
11483         macro definitions in tst-audit.h.
11484         * sysdeps/i386/tst-audit.h: New file.
11485         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11486         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11487         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11488         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11489         * sysdeps/sh/tst-audit.h: Likewise.
11490         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11491         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11492         * sysdeps/x86_64/tst-audit.h: Likewise.
11493
11494 2012-07-26  Andreas Jaeger  <aj@suse.de>
11495
11496         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11497         ptrace.
11498
11499         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11500         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11501         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11502         PTRACE_O_MASK.
11503         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11504         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11505         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11506
11507         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11508         value.
11509
11510         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11511         _sigsys.
11512         (si_call_addr, si_syscall, si_arch): Define new macro.
11513         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11514         _sigsys.
11515         (si_call_addr, si_syscall, si_arch): Define new marcro.
11516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11517         _sigsys.
11518         (si_call_addr, si_syscall, si_arch): Define new macro.
11519         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11520         _sigsys.
11521         (si_call_addr, si_syscall, si_arch): Define new macro.
11522
11523 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
11524
11525         [BZ #13717]
11526         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11527         Change to 2.4.21 where previously 2.4.1.
11528         * sysdeps/unix/sysv/linux/configure: Regenerated.
11529         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11530         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11531         Linux kernel version.
11532         (__ASSUME_STD_AUXV): Remove.
11533         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11534         kernel version.
11535         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11536         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11537         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11538         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11539         (__ASSUME_NETLINK_SUPPORT): Likewise.
11540         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11541         (__no_netlink_support): Remove conditional definition.
11542         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11543         Remove.
11544         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11545         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11546         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11547         (if_nameindex_ioctl): Remove.
11548         (if_nameindex_netlink): Do not handle __no_netlink_support.
11549         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11550         code.
11551         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11552         Remove conditional code.
11553         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11554         code.
11555         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11556         unconditional.
11557         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11558         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11559         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11560         Remove.
11561         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11562         [!__ASSUME_STD_AUXV]: Remove conditional code.
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11564         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11565         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11567         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11568         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11569         code.
11570         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11572         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11573         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11574         conditional code.
11575         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11577         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11578         code.
11579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11580         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11581         conditional code.
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11583         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11584         code unconditional.
11585         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11586         conditional code.
11587         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11588         unconditional.
11589         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11590         conditional code.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11592         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11593         unconditional.
11594         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11595         conditional code.
11596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11597         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11598         code unconditional.
11599         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11600         conditional code.
11601         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11602         unconditional.
11603         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11604         conditional code.
11605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11606         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11607         code unconditional.
11608         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11609         conditional code.
11610         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11611         unconditional.
11612         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11613         conditional code.
11614
11615 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
11616
11617         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11618         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11619         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11620         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11621         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11622         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11623         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11624         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11625         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11626         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11627         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11628         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11629         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11630         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11631         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11632         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11633         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11634         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11635         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11637         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11638         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11639         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11640
11641 2012-07-25  Florian Weimer  <fweimer@redhat.com>
11642
11643         * Versions.def: Add GLIBC_2.17.
11644         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11645         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11646         Introduce __libc_secure_getenv.
11647         * stdlib/Versions (2.17): Add secure_getenv
11648         (GLIBC_PRIVATE): Add __libc_secure_getenv.
11649         * stdlib/secure-getenv.c: Rename __secure_getenv to
11650         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
11651         symbol __secure_getenv for GLIBC_2.0.
11652         * stdlib/tst-secure-getenv.c: New.
11653         * stdlib/Makefile (tests): Add testcase.
11654         * manual/startup.texi (Environment Access): Document
11655         secure_getenv.
11656         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11657         __libc_secure_getenv.
11658         * inet/ruserpass.c (ruserpass): Likewise.
11659         * malloc/mtrace.c (mtrace): Likewise.
11660         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11661         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11662         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11663         * sysdeps/posix/tempname.c: Likewise.  Evaluate
11664         HAVE_SECURE_GETENV.
11665         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11666         __secure_getenv to __libc_secure_getenv.
11667         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11669         Likewise.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11671         Likewise.
11672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11679
11680 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
11681
11682         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11683         (struct La_i86_retval): Likewise.
11684         (struct La_x86_64_regs): Likewise.
11685         (struct La_x86_64_retval): Likewise.
11686         (struct La_x32_regs): Likewise.
11687         (struct La_x32_retval): Likewise.
11688         (struct La_ppc32_regs): Likewise.
11689         (struct La_ppc32_retval): Likewise.
11690         (struct La_ppc64_regs): Likewise.
11691         (struct La_ppc64_retval): Likewise.
11692         (struct La_sh_regs): Likewise.
11693         (struct La_sh_retval): Likewise.
11694         (struct La_s390_32_regs): Likewise.
11695         (struct La_s390_32_retval): Likewise.
11696         (struct La_s390_64_regs): Likewise.
11697         (struct La_s390_64_retval): Likewise.
11698         (struct La_sparc32_regs): Likewise.
11699         (struct La_sparc32_retval): Likewise.
11700         (struct La_sparc64_regs): Likewise.
11701         (struct La_sparc64_retval): Likewise.
11702         (struct audit_ifaces): Remove architecture-specific pltenter and
11703         pltexit members.
11704         * sysdeps/i386/ldsodefs.h: New file.
11705         * sysdeps/powerpc/ldsodefs.h: Likewise.
11706         * sysdeps/s390/ldsodefs.h: Likewise.
11707         * sysdeps/sh/ldsodefs.h: Likewise.
11708         * sysdeps/sparc/ldsodefs.h: Likewise.
11709         * sysdeps/x86_64/ldsodefs.h: Likewise.
11710
11711 2012-07-25  Marek Polacek  <polacek@redhat.com>
11712
11713         [BZ #6808]
11714         * math/libm-test.inc (yn_test): Add another test.
11715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11716         to ERANGE when the result is +-Inf.
11717         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11718         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11719         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11720         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11721
11722 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
11723
11724         * conform/data/time.h-data (NULL): Use macro-constant.  Require
11725         equal to 0.
11726         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
11727         clock_t.
11728         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
11729
11730 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
11731
11732         * configure.in <sysdeps resolving>: Correct printing
11733         Implies_before.
11734         * configure: Regenerate.
11735
11736 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
11737
11738         * math/w_ilogb.c: Include <limits.h>.
11739         * math/w_ilogbl.c: Likewise.
11740
11741 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11742
11743         * manual/lang.texi (__va_copy): Document primarily as ISO C99
11744         va_copy.  Document allowing for unavailable va_copy only as
11745         pre-C99 compatibility.
11746         * manual/string.texi (Copying and Concatenation): Use va_copy
11747         instead of __va_copy in concat example.
11748
11749 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11750
11751         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11752         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11753         it if not null.
11754
11755         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11756         with O_NOLINK passed to __file_name_lookup.
11757
11758         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11759         with O_NOLINK passed to __file_name_lookup.
11760
11761         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11762         negative N or less than NGIDS.
11763
11764         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11765         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11766         enough.  Use memcpy instead of strncpy.
11767
11768 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11769
11770         * elf/Makefile (check-data): Remove.
11771         (localplt.data): New vpath directive.
11772         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11773         instead of $(check-data).
11774         * scripts/data/localplt-generic.data: Move to ...
11775         * sysdeps/generic/localplt.data: ... here.
11776         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11777         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11778         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11780         ... here.
11781         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11783         ... here.
11784         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11786         ... here.
11787         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11789         ... here.
11790         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11792         ... here.
11793         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11795         ... here.
11796
11797 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11798
11799         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11800         PPC32 and PPC64 files.
11801         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11802         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11803
11804 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11805
11806         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11807         __makecontext_ret to ...
11808         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11809         ... here and call exit if uc_link is NULL.  New file.
11810         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11811         __makecontext_ret.S.
11812         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11813         __makecontext_ret to ...
11814         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11815         ... here and call exit if uc_link is NULL.  New file.
11816         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11817         __makecontext_ret.S.
11818
11819 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11820
11821         * elf/elf.h (R_390_IRELATIVE): New definition.
11822         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11823         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11824         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11825         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11826         (elf_machine_lazy_rel): Likewise.
11827         * sysdeps/s390/dl-irel.h: New file.
11828         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11829         * sysdeps/s390/s390-64/memset.S: New asm code.
11830         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11831         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11832         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11833         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11834         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11835         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11836         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11837         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11838         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11839         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11840         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11841         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11842         * sysdeps/s390/s390-32/memset.S: New asm code.
11843         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11844
11845 2012-07-17  Marek Polacek  <polacek@redhat.com>
11846
11847         [BZ #14349]
11848         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11849         * sysdeps/s390/s390-64/configure.in: Likewise.
11850         * sysdeps/sparc/configure.in: Likewise.
11851         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11852         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11853         * sysdeps/i386/configure.in: Likewise.
11854         * sysdeps/x86_64/configure.in: Likewise.
11855         * sysdeps/sh/configure.in: Likewise.
11856         * sysdeps/s390/s390-32/configure: Regenerated.
11857         * sysdeps/s390/s390-64/configure: Likewise.
11858         * sysdeps/x86_64/configure: Likewise.
11859         * sysdeps/sh/configure: Likewise.
11860         * sysdeps/powerpc/powerpc64/configure: Likewise.
11861         * sysdeps/powerpc/powerpc32/configure: Likewise.
11862         * sysdeps/sparc/configure: Likwise.
11863         * sysdeps/i386/configure: Likewise.
11864
11865         * elf/dl-open.c: Comment fixes.
11866
11867 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11868
11869         * Makefile [CXX] (check-data): Remove.
11870         [CXX] (c++-types.data): New vpath directive.
11871         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11872         vpath.  Do not allow for C++ type data being missing.
11873         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11874         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11875         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11876         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11877         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11878         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11879         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11881         ... here.
11882         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11884         ... here.
11885         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11887         ... here.
11888         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11890         ... here.
11891         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11893         ... here.
11894         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11896         ... here.
11897         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11899         ... here.
11900         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11902
11903         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11904         definitions to architecture-specific files.
11905         (TLS_IE): Likewise.
11906         (TLS_LD): Likewise.
11907         (TLS_GD): Likewise.
11908         * sysdeps/i386/tls-macros.h: New file.
11909         * sysdeps/powerpc/tls-macros.h: Likewise.
11910         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11911         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11912         * sysdeps/sh/tls-macros.h: Likewise.
11913         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11914         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11915         * sysdeps/x86_64/tls-macros.h: Likewise.
11916
11917 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11918
11919         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11920         zero value for regular exit case.
11921
11922         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11923         (__start_context): Preserve zero value for regular exit case.
11924
11925 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11926             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11927
11928         * manual/setjmp.texi (setcontext): Clarify normal process
11929         termination when uc_link is the null pointer.
11930         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11931         exit call.
11932
11933 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
11934
11935         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11936         preprocessor.  Test for each exception mask separately.
11937
11938 2012-07-16  Andreas Jaeger  <aj@suse.de>
11939
11940         * po/ru.po: Update from translation team.
11941
11942 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
11943
11944         * conform/data/string.h-data (NULL): Use macro-constant.  Require
11945         equal to 0.
11946         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11947         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11948         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11949         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11950         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11951
11952 2012-07-13  Andreas Jaeger  <aj@suse.de>
11953
11954         * po/fr.po: Update from translation team.
11955
11956 2012-07-12  Marek Polacek  <polacek@redhat.com>
11957
11958         [BZ #14173]
11959         * math/libm-test.inc (yn_test): Add test for BZ #14173.
11960         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11961         loop condition.
11962
11963 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
11964
11965         [BZ #13717]
11966         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11967         Change to 2.4.1 where previously 2.4.0.
11968         * sysdeps/unix/sysv/linux/configure: Regenerated.
11969         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11970         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11971         version.
11972         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11973         (__ASSUME_AT_CLKTCK): Remove.
11974         (__ASSUME_AT_PAGESIZE): Likewise.
11975         (__ASSUME_AT_XID): Likewise.
11976         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11977         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11978         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11979         unconditionally.
11980         (HAVE_AUX_PAGESIZE): Likewise.
11981         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11982         [__ASSUME_AT_CLKTCK]: Make code unconditional.
11983         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11984
11985 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
11986
11987         [BZ #14307]
11988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11989         the temporary buffer used to invoke __gethostbyname2_r,
11990         __gethostbyaddr_r and gethostbyname4_r to make room for struct
11991         host_data / struct gaih_addrtuple.
11992         * resolv/nss_dns/dns-host.c (global scope): Move definition of
11993         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11994         header file nss/nsswitch.h.
11995         * nss/nsswitch.h (global scope): Add definition of implementation
11996         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11997         resolv/nss_dns/dns-host.c).
11998
11999 2012-07-11  Andreas Jaeger  <aj@suse.de>
12000
12001         * po/fr.po: Update from translation team.
12002
12003         * po/sv.po: Update from translation team
12004         * po/fr.po: Another update from translation team.
12005
12006 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12007
12008         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12009         for subnormals or multiply small sinh result by itself.
12010         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12012
12013 2012-07-11  David S. Miller  <davem@davemloft.net>
12014
12015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12016
12017 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
12018
12019         [BZ #14347]
12020         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12021         (INTERNAL_MARK): Shift it here.
12022
12023 2012-07-10  Marek Polacek  <polacek@redhat.com>
12024
12025         [BZ #14151]
12026         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
12027         libc_cv_asm_global_directive with .globl.
12028         * configure: Regenerated.
12029         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12030         with .globl.
12031         * sysdeps/i386/configure: Regenerated.
12032         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12033         with .globl.
12034         * sysdeps/x86_64/configure: Regenerated.
12035         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12036         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12037         * elf/tst-unique2mod2.c: Likewise.
12038         * elf/tst-unique2mod1.c: Likewise.
12039         * elf/tst-unique1mod2.c: Likewise.
12040         * elf/tst-unique1mod1.c: Likewise.
12041         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12042         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12043         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12044         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12045         * sysdeps/mach/sysdep.h: Likewise.
12046         * sysdeps/i386/sysdep.h: Likewise.
12047         * sysdeps/i386/i386-mcount.S: Likewise.
12048         * sysdeps/x86_64/_mcount.S: Likewise.
12049         * sysdeps/x86_64/sysdep.h: Likewise.
12050         * sysdeps/sh/_mcount.S: Likewise.
12051         * sysdeps/sh/sysdep.h: Likewise.
12052         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12053         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12054         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12055         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12056         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12057         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12058         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12059         * locale/localeinfo.h: Likewise.
12060         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12061         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12062
12063 2012-07-09  Roland McGrath  <roland@hack.frob.com>
12064
12065         [BZ #14336]
12066         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12067         system".
12068         * manual/message.texi (The Uniforum approach): Likewise.
12069         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12070         (glibc iconv Implementation): Likewise.
12071
12072 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
12073
12074         [BZ #14337]
12075         * math/s_clog.c (__clog): Avoid scaling a value down where that
12076         could result in underflow.
12077         * math/s_clog10.c (__clog10): Likewise.
12078         * math/s_clog10f.c (__clog10f): Likewise.
12079         * math/s_clog10l.c (__clog10l): Likewise.
12080         * math/s_clogf.c (__clogf): Likewise.
12081         * math/s_clogl.c (__clogl): Likewise.
12082         * math/libm-test.inc (clog_test): Add more tests.
12083         (clog10_test): Likewise.
12084         * sysdeps/i386/fpu/libm-test-ulps: Update.
12085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12086
12087 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
12088
12089         [BZ #14283]
12090         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12091         by 7 not 8 to examine high bit of fractional part.
12092
12093         [BZ #14042]
12094         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12095         for call to __mcount_internal.
12096         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12097         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12098         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12099
12100 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
12101
12102         [BZ #14154]
12103         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12104         approximation for values within 0x1p-13f of an odd multiple of
12105         pi/4.
12106         * math/libm-test.inc (tan_test): Do not allow spurious underflow
12107         exception.  Add more tests.
12108         * sysdeps/i386/fpu/libm-test-ulps: Update.
12109
12110         [BZ #6778]
12111         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12112         inputs and return -1 for them.  Do not check for +Inf in case not
12113         reachable for +Inf.
12114         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12115         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12116         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12117         and return -1 for them.  Do not check for +Inf in case not
12118         reachable for +Inf.
12119         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12120         define.
12121         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12122         and return -1 for them.  Do not check for +Inf in case not
12123         reachable for +Inf.
12124         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
12125         spurious underflow.
12126         * sysdeps/i386/fpu/libm-test-ulps: Update.
12127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12128
12129 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
12130
12131         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12132
12133 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
12134
12135         [BZ #14157]
12136         [BZ #14331]
12137         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12138         could result in spurious underflow.  Scale down values above
12139         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12140         * math/s_csqrtf.c (__csqrtf): Likewise.
12141         * math/s_csqrtl.c (__csqrtl): Likewise.
12142         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
12143         spurious underflow.
12144         * sysdeps/i386/fpu/libm-test-ulps: Update.
12145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146
12147 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12148
12149         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12150         xopen-msg.sed.
12151         * catgets/xopen-msg.awk: New file.
12152         * catgets/xopen-msg.sed: Removed.
12153
12154         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12155         po2text.sed.
12156         * intl/po2test.awk: New file.
12157         * intl/po2test.sed: Removed.
12158
12159 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
12160
12161         [BZ #14328]
12162         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12163         or multiply small sinh result by itself.
12164         * math/s_ctanf.c (__ctanf): Likewise.
12165         * math/s_ctanh.c (__ctanh): Likewise.
12166         * math/s_ctanhf.c (__ctanhf): Likewise.
12167         * math/s_ctanhl.c (__ctanhl): Likewise.
12168         * math/s_ctanl.c (__ctanl): Likewise.
12169         * math/libm-test.inc (ctan_test_tonearest): New function.
12170         (ctan_test_towardzero): Likewise.
12171         (ctan_test_downward): Likewise.
12172         (ctan_test_upward): Likewise.
12173         (ctanh_test_tonearest): Likewise.
12174         (ctanh_test_towardzero): Likewise.
12175         (ctanh_test_downward): Likewise.
12176         (ctanh_test_upward): Likewise.
12177         (main): Call these new functions.
12178         * sysdeps/i386/fpu/libm-test-ulps: Update.
12179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12180
12181 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
12182
12183         * .gitignore: Delete /ports entry.
12184
12185 2012-07-03  Andreas Jaeger  <aj@suse.de>
12186
12187         * po/bg.po: Update from translation team.
12188         * po/cs.po: Likewise.
12189         * po/de.po: Likewise.
12190         * po/hr.po: Likewise.
12191         * po/nl.pl: Likewise.
12192         * po/pl.po: Likewise.
12193         * po/vi.po: Likewise.
12194
12195 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
12196
12197         * Makeconfig [!+link] (+link-before-libc): New variable.
12198         [!+link] (+link-after-libc): Likewise.
12199         [!+link] (+link-tests): Likewise.
12200         [!+link] (+link): Define in terms of $(+link-before-libc) and
12201         $(+link-after-libc).
12202         [!+link-static] (+link-static-before-libc): New variable.
12203         [!+link-static] (+link-static-after-libc): Likewise.
12204         [!+link-static] (+link-static-tests): Likewise.
12205         [!+link-static] (+link-static): Define in terms of
12206         $(+link-static-before-libc) and $(+link-static-after-libc).
12207         [build-shared] (link-libc-before-gnulib): New variable.
12208         [build-shared] (link-libc-tests): Likewise.
12209         [build-shared] (link-libc): Define in terms of
12210         $(link-libc-before-gnulib).
12211         [!build-shared] (link-libc-tests): New variable.
12212         (link-libc-static-tests): New variable.
12213         [!gnulib] (gnulib-arch): New variable.
12214         [!gnulib] (gnulib-tests): Likewise.
12215         [!gnulib] (static-gnulib-arch): Likewise.
12216         [!gnulib] (static-gnulib-tests): Likewise.
12217         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
12218         Define with "=" instead of ":=".
12219         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
12220         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
12221         * Rules (binaries-all-notests): New variable.
12222         (binaries-all-tests): Likewise.
12223         (binaries-static-notests): Likewise.
12224         (binaries-static-tests): Likewise.
12225         (binaries-all): Define using $(binaries-all-notests) and
12226         $(binaries-all-tests).
12227         (binaries-static): Define using $(binaries-static-notests) and
12228         $(binaries-static-tests).
12229         (binaries-shared-tests): New variable.
12230         (binaries-shared-notests): Likewise.
12231         (binaries-shared): Remove variable.
12232         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12233         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12234         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12235         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12236         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12237         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12238         * elf/Makefile (sln-modules): New variable.
12239         (extra-objs): Add $(sln-modules:=.o).
12240         (ldconfig-modules): Add static-stubs.
12241         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12242         * elf/static-stubs.c: New file.
12243
12244         [BZ #14283]
12245         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12246         by 7 not 8 to examine high bit of fractional part.  Use volatile
12247         variables when splitting into final array of floats if
12248         __FLT_EVAL_METHOD__ != 0.
12249         * math/libm-test.inc (cos_test): Add another test.
12250         (sin_test): Likewise.
12251         * sysdeps/i386/fpu/libm-test-ulps: Update.
12252
12253         [BZ #14273]
12254         * math/libm-test.inc (cosh_test): Add more tests.
12255
12256         * version.h (RELEASE): Set to "development".
12257         (VERSION): Set to "2.16.90".
12258
12259 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
12260
12261         * NEWS: Update copyright. Remove last-updated date.
12262         Mention math library bug fixes and timezone data changes.
12263         * README: Mention GNU/Hurd, x32, and HPPA support status.
12264
12265 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
12266
12267         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12268
12269 2012-06-27  Andreas Jaeger  <aj@suse.de>
12270
12271         * manual/contrib.texi (Contributors): Add Samuel Thibault.
12272
12273 2012-06-25  Andreas Jaeger  <aj@suse.de>
12274
12275         * sysdeps/s390/fpu/libm-test-ulps: Update.
12276
12277 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
12278             Thomas Schwinge  <thomas@codesourcery.com>
12279
12280         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12281         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12282         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12283         fanotify_mark.
12284
12285 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
12286
12287         * sysdeps/mach/start.c: Remove file.
12288         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12289         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12290         * sysdeps/sh/init-first.c: Likewise.
12291
12292         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12293         registers for frame unwinding purposes, add CFI directives.
12294         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12295         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12296         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12297         Likewise.
12298
12299         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12300         __fortify_fail returning.
12301         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12302
12303         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12304         sysdeps/sh/____longjmp_chk.S.
12305         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12306         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12307         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12308         (gen-as-const-headers): Append sigaltstack-offsets.sym.
12309
12310         * sysdeps/sh/abort-instr.h: New file.
12311         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12312         process in case exit returns.
12313
12314         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12315         initialize the GOT register before use.
12316
12317         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12318         calculation of ARGC > 4.
12319
12320         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12321         meaningful names to some local labels.
12322
12323 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12324             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12325
12326         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12327         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12328         (__arch_compare_and_exchange_val_16_acq): Likewise.
12329         (__arch_compare_and_exchange_val_32_acq): Likewise.
12330         (atomic_exchange_and_add): Fix gUSA sequence.
12331         (atomic_add): Likewise.
12332         (atomic_add_negative): Likewise.
12333         (atomic_add_zero): Likewise.
12334         (atomic_bit_test_set): Likewise.
12335
12336 2012-06-22  Andreas Schwab  <schwab@redhat.com>
12337
12338         [BZ #13579]
12339         * include/link.h (struct link_map): Add l_free_initfini.
12340         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12341         l_initfini.
12342         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12343         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12344         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12345         set.
12346
12347 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
12348
12349         * configure.in: Use AC_LANG_SOURCE.
12350         * configure: Regenerate.
12351
12352 2012-06-22  Roland McGrath  <roland@hack.frob.com>
12353
12354         * configure.in (libc_cv_localstatedir): New substituted variable.
12355         * configure: Regenerated.
12356         * config.make.in (localstatedir): New variable, substituted from
12357         libc_cv_localstatedir.
12358         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12359         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12360         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12361         * sysdeps/gnu/configure: Regenerated.
12362
12363 2012-06-21  Jeff Law  <law@redhat.com>
12364
12365         [BZ #14277]
12366         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12367         free.  Simplify list management for _LIBC case.
12368
12369 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
12370
12371         [BZ #14273]
12372         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12373         Clear sign bit of 64-bit integer value before comparing against
12374         overflow value.
12375
12376         * sysdeps/mach/configure: Regenerated.
12377
12378 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
12379
12380         [BZ #14278]
12381         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12382
12383 2012-06-21  Jeff Law  <law@redhat.com>
12384
12385         [BZ #13882]
12386         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
12387         uint16_t for elements in the "seen" array to avoid char overflows.
12388         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12389         * elf/dl-open.c (dl_open_worker): Likewise.
12390
12391 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
12392
12393         * scripts/list-sources.sh: Scan PORTS for translations.
12394         * po/libc.pot: Regenerated.
12395
12396 2012-06-21  Andreas Jaeger  <aj@suse.de>
12397
12398         [BZ #12194]
12399         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12400         warning.
12401         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12402         * bits/byteswap-16.h (__bswap_16): Likewise.
12403         * bits/byteswap.h (__bswap_constant_16): Likewise.
12404
12405 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
12406
12407         [BZ #14117]
12408         * sysdeps/i386/fpu_control.h: Removed.
12409         * sysdeps/x86_64/fpu_control.h: Moved to ...
12410         * sysdeps/x86/fpu_control.h: Here.
12411
12412         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12413         (_FPU_SETCW): Likewise.
12414
12415 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
12416
12417         [BZ #14117]
12418         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12419         * sysdeps/x86/fpu/bits/mathinline.h: This.
12420         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12421
12422         [BZ #14050]
12423         [BZ #14117]
12424         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12425         functions if __x86_64__ is defined.
12426
12427 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
12428
12429         * string/endian.h: Add !__ASSEMBLER__ condition for including
12430         conversion interfaces.
12431
12432 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
12433
12434         [BZ #14241]
12435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12436         of ABS(x) in calculating zero to negative powers other than odd
12437         integers.
12438         * math/libm-test.inc (pow_test): Add more tests.
12439
12440 2012-06-15  Andreas Jaeger  <aj@suse.de>
12441
12442         * manual/contrib.texi (Contributors): Update entry of Liubov
12443         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12444         Machado Filho.
12445
12446 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
12447
12448         * string/string.h: Add __wur to GNU version of strerror_r.
12449
12450 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
12451
12452         [BZ #14229]
12453         * string/Makefile (tests): Add tst-strtok_r.
12454         * string/tst-strtok_r.c: New file.
12455         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12456         RAX_LP/RDX_LP on SAVE_PTR.
12457
12458 2012-06-14  Roland McGrath  <roland@hack.frob.com>
12459
12460         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12461
12462 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
12463
12464         * libm_test.inc (csqrt_test): Allow more spurious underflow
12465         exceptions.
12466         (j0_test): Likewise.
12467         (j1_test): Likewise.
12468         (y0_test): Likewise.
12469         (y1_test): Likewise.
12470
12471 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
12472
12473         * po/Makefile (libc.pot): Use UTF-8 charset.
12474
12475 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
12476
12477         [BZ #14210]
12478         Suppress sign-conversion warning from FD_SET.
12479         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12480         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12481         not unsigned long int.
12482         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12483
12484 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
12485
12486         [BZ #14050]
12487         [BZ #14117]
12488         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12489         __extern_always_inline instead of __extern_inline.
12490         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12491         (__signbit): Likewise.
12492         (__signbitl): Support C++ namespace.
12493         (lrintf): New inline function.
12494         (lrint): Likewise.
12495         (llrintf): Likewise.
12496         (llrint): Likewise.
12497         (fmaxf): Likewise.
12498         (fmax): Likewise.
12499         (fminf): Likewise.
12500         (fmin): Likewise.
12501         (rint): Likewise.
12502         (rintf): Likewise.
12503         (ceil): Likewise.
12504         (ceilf): Likewise.
12505         (floor): Likewise.
12506         (floorf): Likewise.
12507         (nearbyint): Likewise.
12508         (nearbyintf): Likewise.
12509
12510 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
12511
12512         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12513         non-default versions.
12514
12515 2012-06-11  Roland McGrath  <roland@hack.frob.com>
12516
12517         [BZ #14218]
12518         * manual/argp.texi (Argp): Reword argp_parse description slightly.
12519
12520 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
12521
12522         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12523         (FE_UPWARD, FE_DOWNWARD): Don't define.
12524         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12525         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12526
12527         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12528         reading it.
12529         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12530         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12531
12532 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12533
12534         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12535         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12536         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12537         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12538
12539 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12540
12541         [BZ #14117]
12542         * sysdeps/i386/fpu/bits/fenv.h: Removed.
12543         * sysdeps/i386/fpu/Implies: New file.
12544         * sysdeps/x86_64/fpu/Implies: Likewise.
12545         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12546         * sysdeps/x86/fpu/bits/fenv.h: This.
12547
12548         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12549         __SSE_MATH__.
12550
12551 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12552
12553         [BZ #14134]
12554         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12555         character 0xffff that matches the last element of the
12556         conversion table.
12557
12558 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12559
12560         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12561         fmodl commit.
12562
12563 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12564
12565         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12566         values higher than 25.6283.
12567
12568 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12569
12570         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12571         subnormal exponent extraction and add some __builtin_expect.
12572         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12573         Fix for subnormal mantissa calculation.
12574
12575 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
12576
12577         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12578         cpu2 is -1 and errno is not ENOSYS.
12579
12580 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
12581
12582         [BZ #14117]
12583         * sysdeps/i386/i486/bits/string.h: Renamed to ...
12584         * sysdeps/x86/bits/string.h: This.
12585         * sysdeps/x86_64/bits/string.h: Removed.
12586
12587         * sysdeps/i386/i486/bits/string.h: Define inline functions only
12588         if not compiling for x86-64, but compiling for >= i486.
12589
12590         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12591         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12592
12593         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12594         New macro from Linux kernel 3.4.0.
12595         (FP_XSTATE_MAGIC2): Likewise.
12596         (FP_XSTATE_MAGIC2_SIZE): Likewise.
12597         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12598         (struct _fpx_sw_bytes): New struct.
12599         (struct _xsave_hdr): Likewise.
12600         (struct _ymmh_state): Likewise.
12601         (struct _xstate): Likewise.
12602
12603         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12604         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12605         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12606         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12607         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12608         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12609
12610         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12611         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12612         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12613         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12614         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12615         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12616
12617 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12618
12619         [BZ #13743]
12620         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12621         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12622         (sysdep_headers): Include sys/platform/ppc.h.
12623         * sysdeps/powerpc/test-gettimebase.c: Test for
12624         __ppc_get_timebase() to catch future ISA opcode/insn changes.
12625         * manual/Makefile (appendices): Include platform.texi.
12626         * manual/contrib.texi (Contributors): Update @node pointers.
12627         * manual/maint.texi (Maintenance): Likewise.
12628         (Platform): New node.
12629         * manual/platform.texi: New file.  Document the new features.
12630
12631 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12632             Jakub Jelinek  <jakub@redhat.com>
12633
12634         [BZ #14188]
12635         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12636         where __builtin_expect is unavailable.
12637
12638 2012-06-03  David S. Miller  <davem@davemloft.net>
12639
12640         * stdlib/longlong.h: Updated from GCC.
12641
12642 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
12643
12644         [BZ #14042]
12645         * sysdeps/powerpc/powerpc32/mcount.c: New file.
12646         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12647         __mcount_internal.
12648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12649         (GLIBC_2.16): Likewise.
12650
12651 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12652
12653         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12654
12655 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12656
12657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12658         (default-abi): New variable.
12659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12660         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12661         variable.
12662         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12663         Likewise.
12664         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12665         Likewise.
12666         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12667         Likewise.
12668
12669         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12670         definition.  Document in comment.
12671
12672 2012-06-01  David S. Miller  <davem@davemloft.net>
12673
12674         * stdlib/longlong.h: Updated from GCC.
12675
12676 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12677
12678         [BZ #14117]
12679         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12680         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12681         sys/debugreg.h sys/io.h here.
12682         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12683         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12684         sys/io.h.
12685         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12686         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12687         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12688         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12689         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12690         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12691
12692         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12693         Define only if __x86_64__ is defined.
12694
12695 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12696
12697         [BZ #14048]
12698         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12699         Use int64_t for variable i.
12700         * math/libm-test.inc (fmod_test): Add more tests.
12701
12702         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12703         z computation is not scheduled after fetestexcept.
12704         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12705         Use math_force_eval instead of asm to ensure calculation scheduled
12706         before exception test.
12707         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12708         Ensure a1 + u.d computation is not scheduled after fetestexcept.
12709
12710 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
12711
12712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12713         computation is not scheduled after fetestexcept.
12714
12715 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12716
12717         [BZ #14117]
12718         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12719         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12720
12721 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12722
12723         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12724         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12725
12726 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12727
12728         [BZ #14117]
12729         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12730         <bits/wordsize.h>.
12731         (__WCHAR_MIN): Support __WORDSIZE == 64.
12732         (__WCHAR_MAX): Likewise.
12733
12734         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12735         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12736
12737         [BZ #14183]
12738         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12739         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12740
12741         [BZ #14117]
12742         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12743         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12744
12745         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12746         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12747
12748         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12749         Defined to 1 if __x86_64__ isn't defined.
12750         (_STAT_VER_LINUX_OLD): New.
12751         (st_atime): Remove duplicate.
12752         (st_mtime): Likewise.
12753         (st_ctime): Likewise.
12754
12755 2012-05-31  David S. Miller  <davem@davemloft.net>
12756
12757         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12758         entries.
12759
12760 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12761
12762         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12763         gen-libm-test.pl.
12764
12765         [BZ #14132]
12766         * elf/dl-reloc.c: Include <_itoa.h>.
12767         (_dl_reloc_bad_type): Remove use of INTUSE.
12768         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12769         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12770         * stdio-common/psiginfo.c (psiginfo): Likewise.
12771         * stdio-common/psignal.c (psignal): Likewise.
12772         * string/strsignal.c (strsignal): Likewise.
12773         * include/signal.h (_sys_siglist): Declare hidden proto.
12774         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12775         INTVARDEF with libc_hidden_data_def.
12776         * stdio-common/itoa-udigits.c: Likewise.
12777         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12778         (_itoa_lower_digits_internal): Remove declaration.
12779         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12780         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12781         (_sys_sigabbrev_internal): Remove aliases.
12782         (_sys_siglist): Define hidden alias.
12783
12784 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12785
12786         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12787         bits/sysctl.h.
12788
12789 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12790
12791         [BZ #14117]
12792         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12793         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12794
12795         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12796         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12797         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12798         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12799         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12800         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12801
12802         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12803         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12804         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12805
12806         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12807         with __addr.
12808         (insw): Likewise.
12809         (insl): Likewise.
12810         (outsb): Likewise.
12811         (outsw): Likewise.
12812         (outsl): Likewise.
12813
12814         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12815         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12816         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12817
12818         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12819         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12820         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12821         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12822         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12823         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12824
12825         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12826         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12827
12828         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12829         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12830
12831         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12832         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12833         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12834
12835         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12836         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12837         to ...
12838         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12839
12840         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12841         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12842         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12843
12844         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12845         for x86-64.
12846         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12847
12848 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12849
12850         * math/math.h (M_El): Use two more decimal places.
12851         (M_LOG2El): Likewise.
12852         (M_LOG10El): Likewise.
12853         (M_LN2l): Likewise.
12854         (M_LN10l): Likewise.
12855         (M_PIl): Likewise.
12856         (M_PI_2l): Likewise.
12857         (M_PI_4l): Likewise.
12858         (M_1_PIl): Likewise.
12859         (M_2_PIl): Likewise.
12860         (M_2_SQRTPIl): Likewise.
12861         (M_SQRT2l): Likewise.
12862         (M_SQRT1_2l): Likewise.
12863
12864 2012-05-31  David S. Miller  <davem@davemloft.net>
12865
12866         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12867         values between float registers.
12868         * sysdeps/sparc/sparc64/memset.S: Likewise.
12869         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12870
12871 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12872
12873         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12874         -D_FORTIFY_SOURCE=1.
12875         (CPPFLAGS-tst-longjmp_chk.c): Define.
12876         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12877         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12878         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12879         CFLAGS-tst-wchar-h.c.
12880
12881 2012-05-31  Marek Polacek  <polacek@redhat.com>
12882
12883         [BZ #14132]
12884         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12885         __endmntent_internal): Remove declaration.
12886         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12887         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12888         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12889
12890 2012-05-30  David S. Miller  <davem@davemloft.net>
12891
12892         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12893         (___Q_simulate_exceptions): Use real FP ops rather than writing
12894         into the %fsr.
12895         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12896         Likewise.
12897
12898 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12899
12900         [BZ #14117]
12901         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12902         * sysdeps/x86/bits/xtitypes.h: This.
12903
12904         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12905         * sysdeps/x86/bits/wordsize.h: This.
12906
12907         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12908         * sysdeps/x86/bits/huge_vall.h: This.
12909
12910         * sysdeps/i386/bits/select.h: Removed.
12911         * sysdeps/x86_64/bits/select.h: Renamed to ...
12912         * sysdeps/x86/bits/select.h: This.
12913
12914         * sysdeps/i386/bits/setjmp.h: Removed.
12915         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12916         * sysdeps/x86/bits/setjmp.h: This.
12917
12918         * sysdeps/i386/bits/mathdef.h: Removed.
12919         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12920         * sysdeps/x86/bits/mathdef.h: This.
12921
12922 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
12923
12924         [BZ #14132]
12925         * include/sys/socket.h (__connect_internal)
12926         (__libc_sa_len_internal): Remove declaration.
12927         (__connect, __libc_sa_len): Declare hidden_proto.
12928         (SA_LEN): Remove use of INTUSE.
12929         * socket/connect.c: Add libc_hidden_def.
12930         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12931         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12932         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12933         alias.
12934         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12935         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12936         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12937         of adding _internal alias.
12938
12939 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12940
12941         [BZ #14117]
12942         * sysdeps/i386/bits/link.h: Removed.
12943         * sysdeps/i386/bits/linkmap.h: Likewise.
12944         * sysdeps/x86_64/bits/link.h: Renamed to ...
12945         * sysdeps/x86/bits/link.h: This.
12946         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12947         * sysdeps/x86/bits/linkmap.h: This.
12948
12949         * sysdeps/i386/bits/endian.h: Removed.
12950         * sysdeps/x86_64/bits/endian.h: Renamed to ...
12951         * sysdeps/x86/bits/endian.h: This.
12952
12953         * sysdeps/i386/bits/byteswap.h: Removed.
12954         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12955         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12956         * sysdeps/x86/bits/byteswap.h: This.
12957         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12958         * sysdeps/x86/bits/byteswap-16.h: This.
12959         * sysdeps/i386/Implies: Add x86.
12960         * sysdeps/x86_64/Implies: Likewise.
12961
12962 2012-05-30  David S. Miller  <davem@davemloft.net>
12963
12964         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12965         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12966         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12967         (FP_TRAPPING_EXCEPTIONS): Define.
12968         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12969         (FP_TRAPPING_EXCEPTIONS): Define.
12970         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12971         subnormals only when inexact has been signalled or underflow
12972         exceptions are enabled.
12973         (_FP_PACK_CANONICAL): Likewise.
12974
12975 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12976
12977         [BZ #14183]
12978         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12979         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12980
12981 2012-05-30  Richard Henderson  <rth@twiddle.net>
12982
12983         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12984         with #ifndef NOT_IN_libc.
12985
12986         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
12987         marked to avoid plt entry.
12988
12989 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12990
12991         [BZ #14112]
12992         * Makeconfig (default-abi): New macro.
12993         (abi-includes): Likewise.
12994         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
12995         $(abi-$(default-abi)-lib-soname) for soname if defined.
12996         ($(common-objpfx)gnu/lib-names.stmp): Generate from
12997         abi-variants.
12998         * Makefile (installed-stubs): Likewise.
12999         * include/stubs-biarch.h: Removed.
13000         * scripts/lib-names.awk: Only handle one library at a time.
13001         * scripts/soversions.awk: Remove WORDSIZE support.
13002         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13003         entries.
13004         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13005         Removed.
13006         (syscall-list-default-condition): Likewise.
13007         (syscall-list-default-condition): Likewise.
13008         (syscall-list-includes): Likewise.
13009         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13010         syscall-list-* with abi-*.  Handle undefined abi-variants.
13011         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13012         * sysdeps/unix/sysv/linux/i386/Implies: New file.
13013         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13014         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13015         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13016         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13017         Removed.
13018         (syscall-list-32-options): Likewise.
13019         (syscall-list-32-condition): Likewise.
13020         (syscall-list-64-options): Likewise.
13021         (syscall-list-64-condition): Likewise.
13022         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13023         macro.
13024         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13025         Renamed to ...
13026         (abi-*): This.
13027         (abi-64-ld-soname): New macro.
13028         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13029         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13030         Renamed to ...
13031         (abi-*): This.
13032         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13033         * sysdeps/x86_64/x32/shlib-versions: Likewise.
13034
13035 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
13036
13037         * sysdeps/unix/sysv/linux/kernel-features.h
13038         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13039         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13040         include <kernel-features.h>.
13041         [!__NR_ftruncate64]: Remove conditional code.
13042         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13043         [__NR_ftruncate64]: Make code unconditional.
13044         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13045         * sysdeps/unix/sysv/linux/truncate64.c: Do not
13046         include <kernel-features.h>.
13047         [!__NR_ftruncate64]: Remove conditional code.
13048         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13049         [__NR_ftruncate64]: Make code unconditional.
13050         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13052         include <kernel-features.h>.
13053         [!__NR_ftruncate64]: Remove conditional code.
13054         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13055         [__NR_ftruncate64]: Make code unconditional.
13056         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13058         include <kernel-features.h>.
13059         [!__NR_ftruncate64]: Remove conditional code.
13060         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13061         [__NR_ftruncate64]: Make code unconditional.
13062         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13063
13064         * configure.in (libc_cv_fpie): Weaken to a compile test using
13065         LIBC_TRY_CC_OPTION.
13066         * configure: Regenerated.
13067
13068 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13069
13070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13074         Refreshed.
13075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13081         Refreshed.
13082
13083 2012-05-27  David S. Miller  <davem@davemloft.net>
13084
13085         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13086         (___Q_zero): New.
13087         (__Q_simulate_exceptions): Return void.  Change to simulate
13088         exceptions by writing into the %fsr.
13089         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13090         (__Qp_handle_exceptions): Likewise.
13091         (numbers): Delete.
13092         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13093         __Qp_handle_exceptions.
13094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13095         __Qp_handle_exceptions.
13096         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13097         as unused and give dummy FP_RND_NEAREST initializer.
13098         (FP_INHIBIT_RESULTS): Define.
13099         (___Q_simulate_exceptions): Update declaration.
13100         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13101         formatting.
13102         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13103         as unused and give dummy FP_RND_NEAREST initializer.
13104         (__Qp_handle_exceptions): Update declaration.
13105         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13106         formatting.
13107
13108 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
13109
13110         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13111         the temporary FPU control word.
13112         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13113         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13114         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13115         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13116         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13117         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13118         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13119         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13120         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13121         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13122         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13123
13124 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13125
13126         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13127         fields.
13128
13129 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
13130
13131         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13132         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13133         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13134         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13135         Likewise.
13136         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13137         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13138         Likewise.
13139
13140 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
13141
13142         * po/h.po: Update from translation team.
13143
13144 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
13145
13146         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13147
13148         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13149         handling of denormals.
13150         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13151         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13152         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13153         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13154         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13156         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13157         Likewise.
13158
13159 2012-05-26  Marek Polacek  <polacek@redhat.com>
13160
13161         [BZ #14152]
13162         * math/libm-test.inc (fma_test): Don't always expect underflow
13163         exception.
13164
13165 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13166
13167         [BZ #12416]
13168         * elf/tst-execstack.c: Include stackinfo.h.
13169         (do_test): Adjust test case to ensure that pthread_getattr_np
13170         behaviour remains the same after marking stack executable.
13171
13172 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
13173
13174         * sysdeps/unix/sysv/linux/kernel-features.h
13175         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13176         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13177         kernel-features.h.
13178         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13179         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13180         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13181         kernel-features.h.
13182         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13183         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13184
13185 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
13186
13187         * configure.in: Define the default includes to being none.
13188         * configure: Regenerated.
13189
13190 2012-05-25  Roland McGrath  <roland@hack.frob.com>
13191
13192         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13193         * sysdeps/x86_64/setjmp.S: Likewise.
13194         * sysdeps/i386/bsd-setjmp.S: Likewise.
13195         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13196         * sysdeps/i386/setjmp.S: Likewise.
13197         * sysdeps/i386/__longjmp.S: Likewise.
13198         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13199         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13200
13201         * include/stap-probe.h: New file.
13202         * configure.in: Handle --enable-systemtap.
13203         * configure: Regenerated.
13204         * config.h.in (USE_STAP_PROBE): New #undef.
13205         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13206         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13207         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13208
13209 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
13210
13211         [BZ #13717]
13212         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13213         to 2.4.0 where earlier.
13214         * sysdeps/unix/sysv/linux/configure: Regenerated.
13215         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13216         <kernel-features.h>.
13217         [__ASSUME_32BITUIDS]: Make code unconditional.
13218         [!__ASSUME_32BITUIDS]: Remove conditional code.
13219         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13220         <kernel-features.h>.
13221         [__ASSUME_32BITUIDS]: Make code unconditional.
13222         [!__ASSUME_32BITUIDS]: Remove conditional code.
13223         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13224         [__ASSUME_32BITUIDS]: Make code unconditional.
13225         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13226         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13227         <kernel-features.h>.
13228         [__ASSUME_32BITUIDS]: Make code unconditional.
13229         [!__ASSUME_32BITUIDS]: Remove conditional code.
13230         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13231         <kernel-features.h>.
13232         [__ASSUME_32BITUIDS]: Make code unconditional.
13233         [!__ASSUME_32BITUIDS]: Remove conditional code.
13234         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13235         <kernel-features.h>.
13236         [__ASSUME_32BITUIDS]: Make code unconditional.
13237         [!__ASSUME_32BITUIDS]: Remove conditional code.
13238         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13239         <kernel-features.h>.
13240         [__ASSUME_32BITUIDS]: Make code unconditional.
13241         [!__ASSUME_32BITUIDS]: Remove conditional code.
13242         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13243         <kernel-features.h>.
13244         [__ASSUME_32BITUIDS]: Make code unconditional.
13245         [!__ASSUME_32BITUIDS]: Remove conditional code.
13246         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13247         <kernel-features.h>.
13248         [__ASSUME_32BITUIDS]: Make code unconditional.
13249         [!__ASSUME_32BITUIDS]: Remove conditional code.
13250         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13251         <kernel-features.h>.
13252         [__ASSUME_32BITUIDS]: Make code unconditional.
13253         [!__ASSUME_32BITUIDS]: Remove conditional code.
13254         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13255         <kernel-features.h>.
13256         [__ASSUME_32BITUIDS]: Make code unconditional.
13257         [!__ASSUME_32BITUIDS]: Remove conditional code.
13258         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13259         <kernel-features.h>.
13260         [__ASSUME_32BITUIDS]: Make code unconditional.
13261         [!__ASSUME_32BITUIDS]: Remove conditional code.
13262         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13263         <kernel-features.h>.
13264         [__ASSUME_32BITUIDS]: Make code unconditional.
13265         [!__ASSUME_32BITUIDS]: Remove conditional code.
13266         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13267         <kernel-features.h>.
13268         [__NR_setresgid] (__setresgid): Do not declare.
13269         [__ASSUME_32BITUIDS]: Make code unconditional.
13270         [!__ASSUME_32BITUIDS]: Remove conditional code.
13271         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13272         <kernel-features.h>.
13273         [__NR_setresuid] (__setresuid): Do not declare.
13274         [__ASSUME_32BITUIDS]: Make code unconditional.
13275         [!__ASSUME_32BITUIDS]: Remove conditional code.
13276         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13277         <kernel-features.h>.
13278         [__ASSUME_32BITUIDS]: Make code unconditional.
13279         [!__ASSUME_32BITUIDS]: Remove conditional code.
13280         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13281         <kernel-features.h>.
13282         [__ASSUME_32BITUIDS]: Make code unconditional.
13283         [!__ASSUME_32BITUIDS]: Remove conditional code.
13284         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13285         <kernel-features.h>.
13286         [__ASSUME_32BITUIDS]: Make code unconditional.
13287         [!__ASSUME_32BITUIDS]: Remove conditional code.
13288         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13289         <kernel-features.h>.
13290         [__ASSUME_32BITUIDS]: Make code unconditional.
13291         [!__ASSUME_32BITUIDS]: Remove conditional code.
13292         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13293         <kernel-features.h>.
13294         [__ASSUME_32BITUIDS]: Make code unconditional.
13295         [!__ASSUME_32BITUIDS]: Remove conditional code.
13296         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13297         <kernel-features.h>.
13298         [__ASSUME_32BITUIDS]: Make code unconditional.
13299         [!__ASSUME_32BITUIDS]: Remove conditional code.
13300         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13301         <kernel-features.h>.
13302         [__ASSUME_32BITUIDS]: Make code unconditional.
13303         [!__ASSUME_32BITUIDS]: Remove conditional code.
13304         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13305         <kernel-features.h>.
13306         [__ASSUME_32BITUIDS]: Make code unconditional.
13307         [!__ASSUME_32BITUIDS]: Remove conditional code.
13308         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13309         <kernel-features.h>.
13310         [__ASSUME_32BITUIDS]: Make code unconditional.
13311         [!__ASSUME_32BITUIDS]: Remove conditional code.
13312         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13313         <kernel-features.h>.
13314         [__ASSUME_32BITUIDS]: Make code unconditional.
13315         [!__ASSUME_32BITUIDS]: Remove conditional code.
13316         * sysdeps/unix/sysv/linux/kernel-features.h
13317         (__ASSUME_SETRESUID_SYSCALL): Remove.
13318         (__ASSUME_SETRESGID_SYSCALL): Likewise.
13319         (__ASSUME_32BITUIDS): Likewise.
13320         (__ASSUME_LDT_WORKS): Likewise.
13321         (__ASSUME_O_DIRECTORY): Likewise.
13322         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13323         architecture but not kernel version.
13324         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13325         (__ASSUME_MMAP2_SYSCALL): Likewise.
13326         (__ASSUME_STAT64_SYSCALL): Likewise.
13327         (__ASSUME_IPC64): Likewise.
13328         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13329         <kernel-features.h>.
13330         [__ASSUME_32BITUIDS]: Make code unconditional.
13331         [!__ASSUME_32BITUIDS]: Remove conditional code.
13332         * sysdeps/unix/sysv/linux/opendir.c: Do not include
13333         <kernel-features.h>.
13334         [__ASSUME_O_DIRECTORY]: Make code unconditional.
13335         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13336         132096]: Remove conditional code.
13337         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13338         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13339         <kernel-features.h>.
13340         [__ASSUME_32BITUIDS]: Make code unconditional.
13341         [!__ASSUME_32BITUIDS]: Remove conditional code.
13342         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13343         <kernel-features.h>.
13344         [__ASSUME_32BITUIDS]: Make code unconditional.
13345         [!__ASSUME_32BITUIDS]: Remove conditional code.
13346         * sysdeps/unix/sysv/linux/setegid.c: Do not include
13347         <kernel-features.h>.
13348         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13349         unconditional.
13350         (__setresgid): Do not declare.
13351         [__ASSUME_32BITUIDS]: Make code unconditional.
13352         [!__ASSUME_32BITUIDS]: Remove conditional code.
13353         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13354         <kernel-features.h>.
13355         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13356         unconditional.
13357         (__setresuid): Do not declare.
13358         [__ASSUME_32BITUIDS]: Make code unconditional.
13359         [!__ASSUME_32BITUIDS]: Remove conditional code.
13360         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13361         <kernel-features.h>.
13362         [__ASSUME_32BITUIDS]: Make code unconditional.
13363         [!__ASSUME_32BITUIDS]: Remove conditional code.
13364         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13365         <kernel-features.h>.
13366         [__ASSUME_32BITUIDS]: Make code unconditional.
13367         [!__ASSUME_32BITUIDS]: Remove conditional code.
13368
13369 2012-05-25  Richard Henderson  <rth@twiddle.net>
13370
13371         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13372         dl_hwcap to ifunc resolver.
13373         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13374         elf_ifunc_invoke.
13375         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13376         dl_hwcap to ifunc resolver.
13377         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13378
13379 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13380
13381         [BZ #14153]
13382         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13383         for |x| <= 2**-26, not 2**-57.
13384         * math/libm-test.inc (acos_test): Do not allow spurious underflow
13385         exception.
13386
13387 2012-05-24  Jeff Law  <law@redhat.com>
13388
13389         * stdio-common/Makefile (tests): Add bug25.
13390         * stdio-common/bug25.c: New test.
13391
13392 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13393
13394         [BZ #13576]
13395         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13396         multiple of MALLOC_ALIGNMENT in size.
13397         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13398
13399 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13400
13401         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13402         Require >= 256.
13403         (FILENAME_MAX): Use macro-int-constant.
13404         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
13405         (_IOFBF): Use macro-int-constant.
13406         (_IOLBF): Likewise.
13407         (_IONBF): Likewise.
13408         (SEEK_CUR): Likewise.
13409         (SEEK_END): Likewise.
13410         (SEEK_SET): Likewise.
13411         (TMP_MAX): Likewise.
13412         (EOF): Use macro-int-constant.  Require < 0.
13413         (NULL): Use macro-constant.  Require == 0.
13414         (stdin): Require type to be FILE *.
13415         (stdout): Likewise.
13416         (stderr): Likewise.
13417         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13418         macro-int-constant.
13419         (EXIT_SUCCESS): Likewise.
13420         (NULL): Use macro-constant.  Require == 0.
13421         (RAND_MAX): Use macro-int-constant.
13422         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13423         [C99-based standards] (strtof): Require function.
13424         [C99-based standards] (strtold): Likewise.
13425         [C99-based standards] (strtoll): Likewise.
13426         [C99-based standards] (strtoull): Likewise.
13427         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13428         [ISO || ISO99 || ISO11] (limits.h): Likewise.
13429         [ISO || ISO99 || ISO11] (math.h): Likewise.
13430         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13431         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13433
13434 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
13435
13436         [BZ #14132]
13437         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13438         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13439         * intl/dgettext.c (DCGETTEXT): Likewise.
13440         * intl/gettext.c (DCGETTEXT): Likewise.
13441         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13442         * posix/regex_internal.h (gettext): Likewise.
13443         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13444         Remove declaration.
13445         * include/argz.h (__argz_count_internal)
13446         (__argz_stringify_internal): Remove declaration.
13447         (__argz_count, __argz_stringify): Declare hidden proto.
13448         * intl/dcgettext.c: Remove use of INTDEF.
13449         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13450         * string/argz-stringify.c: Likewise.
13451         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13452         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13453         Declare hidden proto.
13454         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13455         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13456         Declare hidden proto.
13457         * include/stdio.h (__asprintf_internal): Don't declare.
13458         (__asprintf): Don't define as macro.  Declare hidden proto.
13459         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13460         (__fsetlocking): Declare hidden proto.
13461         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13462         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13463         hidden proto.
13464         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13465         (_IO_setlinebuf): Remove use of INTUSE.
13466         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13467         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13468         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13469         Remove declaration.
13470         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13471         (_IO_do_flush): Remove use of INTUSE.
13472         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13473         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13474         (_IO_adjust_column, _IO_least_wmarker)
13475         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13476         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13477         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13478         (_IO_default_doallocate, _IO_wdefault_doallocate)
13479         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13480         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13481         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13482         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13483         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13484         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13485         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13486         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13487         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13488         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13489         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13490         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13491         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13492         proto.
13493         (_IO_flush_all_internal, _IO_adjust_column_internal)
13494         (_IO_default_uflow_internal, _IO_default_finish_internal)
13495         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13496         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13497         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13498         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13499         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13500         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13501         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13502         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13503         (_IO_file_close_internal, _IO_file_close_it_internal)
13504         (_IO_file_underflow_internal, _IO_file_overflow_internal)
13505         (_IO_file_init_internal, _IO_file_attach_internal)
13506         (_IO_file_fopen_internal, _IO_file_read_internal)
13507         (_IO_file_sync_internal, _IO_file_seek_internal)
13508         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13509         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13510         (_IO_str_underflow_internal, _IO_str_overflow_internal)
13511         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13512         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13513         (_IO_list_all_internal, _IO_link_in_internal)
13514         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13515         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13516         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13517         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13518         (_IO_do_write_internal, _IO_padn_internal)
13519         (_IO_getline_info_internal, _IO_getline_internal)
13520         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13521         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13522         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13523         (_IO_vfscanf_internal, _IO_vfprintf_internal)
13524         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13525         (_IO_init_internal, _IO_un_link_internal): Don't declare.
13526         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13527         with libc_hidden_ver, remove use of INTUSE.
13528         * libio/genops.c: Likewise.
13529         * libio/freopen.c: Likewise.
13530         * libio/freopen64.c: Likewise.
13531         * libio/iofclose.c: Likewise.
13532         * libio/iofdopen.c: Likewise.
13533         * libio/iofflush.c: Likewise.
13534         * libio/iofflush_u.c: Likewise.
13535         * libio/iofgets.c: Likewise.
13536         * libio/iofgets_u.c: Likewise.
13537         * libio/iofopen.c: Likewise.
13538         * libio/iofopncook.c: Likewise.
13539         * libio/iofread.c: Likewise.
13540         * libio/iofread_u.c: Likewise.
13541         * libio/ioftell.c: Likewise.
13542         * libio/iofwrite.c: Likewise.
13543         * libio/iogetline.c: Likewise.
13544         * libio/iogets.c: Likewise.
13545         * libio/iogetwline.c: Likewise.
13546         * libio/iopadn.c: Likewise.
13547         * libio/iopopen.c: Likewise.
13548         * libio/ioseekoff.c: Likewise.
13549         * libio/ioseekpos.c: Likewise.
13550         * libio/iosetbuffer.c: Likewise.
13551         * libio/iosetvbuf.c: Likewise.
13552         * libio/ioungetc.c: Likewise.
13553         * libio/ioungetwc.c: Likewise.
13554         * libio/iovdprintf.c: Likewise.
13555         * libio/iovsprintf.c: Likewise.
13556         * libio/iovsscanf.c: Likewise.
13557         * libio/memstream.c: Likewise.
13558         * libio/obprintf.c: Likewise.
13559         * libio/oldfileops.c: Likewise.
13560         * libio/oldiofclose.c: Likewise.
13561         * libio/oldiofdopen.c: Likewise.
13562         * libio/oldiofopen.c: Likewise.
13563         * libio/oldiopopen.c: Likewise.
13564         * libio/oldstdfiles.c: Likewise.
13565         * libio/putc.c: Likewise.
13566         * libio/setbuf.c: Likewise.
13567         * libio/setlinebuf.c: Likewise.
13568         * libio/stdfiles.c: Likewise.
13569         * libio/strops.c: Likewise.
13570         * libio/vasprintf.c: Likewise.
13571         * libio/vscanf.c: Likewise.
13572         * libio/vsnprintf.c: Likewise.
13573         * libio/vswprintf.c: Likewise.
13574         * libio/wfiledoalloc.c: Likewise.
13575         * libio/wfileops.c: Likewise.
13576         * libio/wgenops.c: Likewise.
13577         * libio/wmemstream.c: Likewise.
13578         * libio/wstrops.c: Likewise.
13579         * libio/__fpurge.c: Likewise.
13580         * libio/__fsetlocking.c: Likewise.
13581         * assert/assert.c: Likewise.
13582         * debug/fgets_chk.c: Likewise.
13583         * debug/fgets_u_chk.c: Likewise.
13584         * debug/fread_chk.c: Likewise.
13585         * debug/fread_u_chk.c: Likewise.
13586         * debug/gets_chk.c: Likewise.
13587         * debug/obprintf_chk.c: Likewise.
13588         * debug/vasprintf_chk.c: Likewise.
13589         * debug/vdprintf_chk.c: Likewise.
13590         * debug/vsnprintf_chk.c: Likewise.
13591         * debug/vsprintf_chk.c: Likewise.
13592         * malloc/mtrace.c: Likewise.
13593         * misc/error.c: Likewise.
13594         * misc/syslog.c: Likewise.
13595         * stdio-common/asprintf.c: Likewise.
13596         * stdio-common/fxprintf.c: Likewise.
13597         * stdio-common/getw.c: Likewise.
13598         * stdio-common/isoc99_fscanf.c: Likewise.
13599         * stdio-common/isoc99_scanf.c: Likewise.
13600         * stdio-common/isoc99_vfscanf.c: Likewise.
13601         * stdio-common/isoc99_vscanf.c: Likewise.
13602         * stdio-common/isoc99_vsscanf.c: Likewise.
13603         * stdio-common/printf-prs.c: Likewise.
13604         * stdio-common/printf_fp.c: Likewise.
13605         * stdio-common/printf_fphex.c: Likewise.
13606         * stdio-common/printf_size.c: Likewise.
13607         * stdio-common/putw.c: Likewise.
13608         * stdio-common/scanf.c: Likewise.
13609         * stdio-common/sprintf.c: Likewise.
13610         * stdio-common/tmpfile.c: Likewise.
13611         * stdio-common/vfprintf.c: Likewise.
13612         * stdio-common/vfscanf.c: Likewise.
13613         * stdlib/strfmon_l.c: Likewise.
13614         * sunrpc/openchild.c: Likewise.
13615         * sunrpc/xdr_stdio.c: Likewise.
13616         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13617         * sysdeps/mach/hurd/tmpfile.c: Likewise.
13618
13619 2012-05-24  Roland McGrath  <roland@hack.frob.com>
13620
13621         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13622
13623         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13624         in the third column, to generate for the shared library an IFUNC
13625         that uses _dl_vdso_vsym.
13626         * Makerules (COMPILE.c, compile-stdin.c): New variables.
13627         * Makeconfig (object-suffixes-noshared): New variable.
13628
13629         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13630         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13631         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13632         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13633
13634         [BZ #14132]
13635         * include/sys/time.h (__gettimeofday): Remove macro.
13636         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13637         * time/gettimeofday.c (__gettimeofday): Remove #undef.
13638         Remove INTDEF.
13639         (__gettimeofday): Add libc_hidden_def.
13640         (gettimeofday): Add libc_hidden_weak.
13641         * sysdeps/mach/gettimeofday.c: Likewise.
13642         * sysdeps/posix/gettimeofday.c: Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13644         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13645         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13646         (__gettimeofday_internal): Remove strong_alias.
13647         (__gettimeofday): Add libc_hidden_def.
13648         (gettimeofday): Add libc_hidden_weak.
13649         * sysdeps/unix/syscalls.list (gettimeofday):
13650         Remove __gettimeofday_internal alias.
13651
13652 2012-05-24  Daniel Jacobowitz  <drow@false.org>
13653             H.J. Lu  <hongjiu.lu@intel.com>
13654
13655         [BZ #12495]
13656         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13657         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13658         (largebin_index_32_big): New.
13659         (largebin_index): Use it for 16-byte alignment.
13660         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
13661         correction with front_misalign.
13662
13663 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13664
13665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13667         Likewise.
13668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13669         Likewise.
13670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13671         Likewise.
13672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13673         Likewise.
13674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13675         Likewise.
13676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13677         Likewise.
13678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13679         Likewise.
13680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13681         Likewise.
13682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13683         Likewise.
13684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13685         Likewise.
13686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13687         Likewise.
13688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13689         Likewise.
13690
13691         * scripts/data/c++-types-x32-linux-gnu.data: New file.
13692         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13693
13694 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13695
13696         [BZ #10846]
13697         [BZ #14036]
13698         * math/libm-test.inc (exp_test): Add test from bug 14036.
13699         (pow_test): Add test from bug 10846.
13700
13701         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13702         and other flags.
13703         (special_function): Do not include flags in test name.
13704         (parse_args): Likewise.
13705         * sysdeps/i386/fpu/libm-test-ulps: Update.
13706         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13707         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13708         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13710
13711         * math/gen-libm-test.pl (%beautify): Add entries for underflow
13712         exceptions.
13713         * math/libm-test.inc ("Philosophy"): Update comment about
13714         exception testing.
13715         (UNDERFLOW_EXCEPTION): New macro.
13716         (UNDERFLOW_EXCEPTION_OK): Likewise.
13717         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13718         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13719         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13720         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13721         (INVALID_EXCEPTION_OK): Update value.
13722         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13723         (OVERFLOW_EXCEPTION_OK): Likewise.
13724         (IGNORE_ZERO_INF_SIGN): Likewise.
13725         (test_exceptions): Handle underflow exceptions.
13726         (acos_test): Update for underflow exception expectations.
13727         (cexp_test): Likewise.
13728         (clog_test): Likewise.
13729         (clog10_test): Likewise.
13730         (csqrt_test): Likewise.
13731         (ctan_test): Likewise.
13732         (ctanh_test): Likewise.
13733         (exp_test): Likewise.
13734         (exp10_test): Likewise.
13735         (exp2_test): Likewise.
13736         (expm1_test): Likewise.
13737         (fma_test): Likewise.
13738         (j0_test): Likewise.
13739         (jn_test): Likewise.
13740         (nexttoward_test): Likewise.
13741         (pow_test): Likewise.
13742         (scalbn_test): Likewise.
13743         (scalbln_test): Likewise.
13744         (tan_test): Likewise.
13745         (y1_test): Likewise.
13746         * sysdeps/i386/fpu/libm-test-ulps: Update.
13747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13748
13749 2012-05-23  David S. Miller  <davem@davemloft.net>
13750
13751         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13752         (__libc_sigaction): Remove unused local variables.
13753
13754 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13755
13756         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13757
13758 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13759
13760         mktime: avoid signed integer overflow
13761         * time/mktime.c (__mktime_internal): Do not mishandle the case
13762         where diff == INT_MIN.
13763
13764         mktime: simplify computation of average
13765         * time/mktime.c (ranged_convert): Use new time_t_avg function
13766         instead of rolling our own (probably-slower) code.
13767
13768         mktime: do not assume signed right shift propagates sign bit
13769         * time/mktime.c (isdst_differ): New static function.
13770         (__mktime_internal): No need to normalize tm_isdst now.
13771         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13772         tm_isdst values.
13773
13774         mktime: merge another wrapv change from gnulib
13775         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13776         from some compilers.
13777
13778         mktime: remove incorrect attempt at unusual arithmetics
13779         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13780         The code didn't really work on such machines anyway.
13781         (TYPE_MINIMUM): Assume two's complement.
13782         (twos_complement_arithmetic): Verify that long_int and time_t
13783         are two's complement (or unsigned, in the latter case).
13784
13785         mktime: check signed shifts on long_int and time_t, too
13786         * time/mktime.c (SHR): Check that shifts work as desired
13787         on the types long_int and time_t too, as SHR is used on
13788         such types.
13789
13790         mktime: do not assume 'long' is wide enough
13791         * time/mktime.c (verify): Move decl up.
13792         (long_int): New type.
13793         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13794         to remove assumption in the code that 'long' is wide enough to
13795         store year values.  This assumption is not true on x32 and on
13796         some non-glibc platforms.
13797
13798         mktime: merge wrapv change from gnulib
13799         * time/mktime.c (WRAPV): New macro.
13800         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13801         (guess_time_tm, __mktime_internal): Do not assume that signed
13802         integer overflow wraps around; modern compilers generate code
13803         where this assumption is no longer valid.
13804
13805 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13806
13807         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13808         Replace "jmp L(pseudo_end)" with "ret".
13809         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13810         Likewise.
13811
13812 2012-05-23  Andreas Jaeger  <aj@suse.de>
13813
13814         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13815         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13816
13817 2012-05-23  Andreas Jaeger  <aj@suse.de>
13818             Maximilian Attems  <max@stro.at>
13819
13820         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13821         New macros.
13822
13823 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13824
13825         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13826         code so that pseudo_end is just ret and the stack pointer is
13827         correct also for static library in error case.
13828
13829 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13830
13831         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13832         move to syscalls.list.
13833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13837
13838         * manual/install.texi (Running make install): Do not mention Linux
13839         kernel version for which pt_chown is not needed.
13840         (Linux): Do not mention problems with nscd with 2.0 kernels.
13841         * INSTALL: Regenerated.
13842
13843 2012-05-23  Andreas Jaeger  <aj@suse.de>
13844
13845         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13846         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13847         macro.
13848         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13849         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13850         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13851         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13852         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13853         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13855         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13856         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13857         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13858         * sysdeps/unix/sysv/linux/bits/in.h
13859         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13860
13861 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13862
13863         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13864         (PREPARE_VERSION): Just use assert instead, it will be elided
13865         under [NDEBUG] anyway.
13866
13867 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13868
13869         * sysdeps/unix/sysv/linux/Makefile: Include
13870         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13871         (sysdep_routines): Remove sysctl.
13872         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13873         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13874         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13875         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13876         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13877
13878 2012-05-22  Andreas Jaeger  <aj@suse.de>
13879
13880         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13881         that pseudo_end is just ret and the stack pointer is correct also
13882         for static library in error case.
13883
13884 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13885
13886         [BZ #14122]
13887         * nss/nsswitch.c (defconfig_entries): New variable.
13888         (__nss_database_lookup): Don't leak defconfig entries.
13889         (nss_parse_service_list): Don't leak on error paths.
13890         (free_database_entries): New function.
13891         (free_defconfig): New function.
13892         (free_mem): Move common code to free_database_entries.
13893
13894 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13895
13896         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13897         Add arch_prctl.
13898         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13899
13900         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13901         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13903         New macro.
13904         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13905         (INTERNAL_SYSCALL_TYPES): Likewise.
13906         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13907         (LOAD_REGS_TYPES_[1-6]): Likewise.
13908         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13909         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13910
13911 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13912
13913         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13914         copysignl for GLIBC_2_0.
13915         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13916         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13917         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13918         logbl for GLIBC_2_0.
13919         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13920         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13921
13922 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13923
13924         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13925         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13926
13927         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13928         Use "neg %eax".
13929
13930         * time/mktime.c: Update copyright years.
13931
13932 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13933
13934         mktime: merge comment-quoting-style change from gnulib
13935         * time/mktime.c: Quote 'like this' in comments.
13936         The GNU coding standards suggest that we no longer quote `like this',
13937         as "`" and "'" are typically rendered asymmetrically nowadays.
13938         The typical gnulib style is to quote 'like this' when quoting
13939         code, and "like this" when quoting English.
13940
13941         * time/mktime.c (compile-command): Add "-I.".
13942
13943         mktime: merge mktime-internal.h change from gnulib
13944         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13945
13946         mktime: merge time_r change from gnulib
13947         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13948
13949         mktime: merge DEBUG change from gnulib
13950         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13951         case system <time.h> has a #define.
13952
13953         mktime: merge <sys/types.h> change from gnulib
13954         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13955         since <time.t> is now guaranteed to define time_t.
13956
13957         mktime: merge HAVE_CONFIG_H change from gnulib
13958         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13959
13960 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13961
13962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13963         Use "neg %eax".
13964
13965         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13966         __rlim_t cast.
13967         (struct rusage): Use anonymous union to pad each field to
13968         __syscall_slong_t.
13969
13970 2012-05-21  David S. Miller  <davem@davemloft.net>
13971
13972         * Makefules (o-iterator): Remove .s cases.
13973         (compile-command.s): Delete.
13974         (COMPILE.s): Delete.
13975         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13976
13977 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
13978
13979         * configure.in (libc_cv_predef_stack_protector): Only consider
13980         "foobar" and "__stack_chk_fail" lines in libc_undefs.
13981         * configure: Regenerated.
13982
13983 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13984
13985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13986         New macro.  Use R*LP on int and pointer.
13987         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13988         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13989         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13990         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13991
13992         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13993         [__WORDSIZE_TIME64_COMPAT32] instead of
13994         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13995         (struct utmp): Likewise.
13996         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13997         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13998         Renamed to ...
13999         (__WORDSIZE_TIME64_COMPAT32): This.
14000         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14001         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14002         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14003         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14004         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14005         (__WORDSIZE_TIME64_COMPAT32): New macro.
14006
14007 2012-05-21  Andreas Jaeger  <aj@suse.de>
14008
14009         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14010         only if [SHARED]. Add prototype for __wcschr_ia32.
14011
14012 2012-05-21  Roland McGrath  <roland@hack.frob.com>
14013
14014         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14015         of %rbp unmolested in the jmp_buf while mangling the low bits.
14016         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14017         unmolested high bits of %rbp while demangling the low bits.
14018         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14019
14020 2012-05-21  Andreas Jaeger  <aj@suse.de>
14021
14022         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14023         * sunrpc/svc_simple.c: Use it for registerrpc.
14024         * sunrpc/xcrypt.c: Use it for passwd2des.
14025
14026         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14027
14028 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14029
14030         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14031         Don't define if [__SYSCALL_WORDSIZE != 32].
14032         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14033         New macro.
14034
14035 2012-05-21  Bruno Haible  <bruno@clisp.org>
14036             Andreas Jaeger  <aj@suse.de>
14037
14038         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14039         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14040         inptr and inend for must_buffer_ch.
14041         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14042         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14043         * stdio-common/Makefile (tests): Remove bug15.
14044         (bug15-ENV): Remove macro.
14045         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14046         anymore.
14047
14048 2012-05-19  Andreas Jaeger  <aj@suse.de>
14049             Roland McGrath  <roland@hack.frob.com>
14050
14051         * manual/contrib.texi: Completely rewritten. It contains now an
14052         alphabetical list of contributors and their contributions.
14053
14054 2012-05-21  Richard Henderson  <rth@twiddle.net>
14055
14056         * misc/getauxval.c (__getauxval): Use unsigned long int.
14057         * misc/sys/auxv.h: Include <sys/cdefs.h>.
14058         (getauxval): Use unsigned long int.
14059
14060 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14061
14062         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14063
14064 2012-05-21  Roland McGrath  <roland@hack.frob.com>
14065
14066         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14067         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14068         __alignof__ (long double).
14069
14070 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14071
14072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14073
14074 2012-05-20  Richard Henderson  <rth@twiddle.net>
14075
14076         * misc/getauxval.c: New file.
14077         * misc/sys/auxv.h: New file.
14078         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14079         (routines): Add getauxval.
14080         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14081         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14082         * elf/dl-sysdep.c (_dl_auxv): Remove.
14083         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14084         * elf/dl-support.c (_dl_auxv): New variable.
14085         (_dl_aux_init): Initialize it.
14086         * manual/startup.texi (Auxiliary Vector): New node.
14087         * sysdeps/generic/bits/hwcap.h: New file.
14088         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14089         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
14090         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14091         * sysdeps/sparc/sysdep.h: ... here.  Include it.
14092         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14093         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14095         Update.
14096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14099         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14104
14105 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14106
14107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14108
14109 2012-05-19  David S. Miller  <davem@davemloft.net>
14110
14111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14112
14113 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
14114
14115         [BZ #14123]
14116         * math/s_ccosh.c: Include <float.h>
14117         (__ccosh): Avoid internal overflow calculating sinh and cosh
14118         values before multiplying by sin and cos values.
14119         * math/s_ccoshf.c: Likewise.
14120         * math/s_ccoshl.c: Likewise.
14121         * math/s_csin.c: Likewise.
14122         * math/s_csinf.c: Likewise.
14123         * math/s_csinl.c: Likewise.
14124         * math/s_csinh.c: Likewise.
14125         * math/s_csinhf.c: Likewise.
14126         * math/s_csinhl.c: Likewise.
14127         * math/libm-test.inc (ccos_test): Add more tests.
14128         (ccosh_test): Likewise.
14129         (csin_test): Likewise.
14130         (csinh_test): Likewise.
14131         * sysdeps/i386/fpu/libm-test-ulps: Update.
14132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14133
14134 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14135
14136         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14137         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14138
14139         * sysdeps/x86_64/x32/_itoa.h: Add comment.
14140
14141 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
14142
14143         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14144         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14145         * sysdeps/powerpc/soft-fp/Versions: Likewise.
14146         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14147         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14148         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14149         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14150         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14151         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14152         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14153         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14154         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14155         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14156         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14157         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14158         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14159         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14160         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14161         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14162         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14163         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14164         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14165         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14166         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14167         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14168         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14169         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14170         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14171         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14172         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14173         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14174
14175 2012-05-18  Andreas Jaeger  <aj@suse.de>
14176
14177         * csu/.gitignore: Delete.
14178
14179 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14180
14181         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14182         (timex): Use __syscall_slong_t.
14183
14184 2012-05-18  Andreas Jaeger  <aj@suse.de>
14185             Carlos O'Donell  <carlos_odonell@mentor.com>
14186
14187         * manual/install.texi (Configuring and compiling): Update
14188         description about files modified in the source directory.
14189         * INSTALL: Regenerated.
14190
14191 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14192
14193         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14194         value.  Use "or" to set return value to -1.
14195         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14196         negate return value.
14197
14198 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14199
14200         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14201         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14202         failure if the compiler has Graphite support disabled.
14203         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14204         Likewise.
14205         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14206         CFLAGS-memmove.c): Likewise.
14207         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14208         Likewise.
14209
14210 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14211
14212         * sysdeps/x86_64/x32/_itoa.h: New file.
14213
14214         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14215         getdents system call only if kernel and user dirents have the
14216         same d_ino and d_off.
14217
14218         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14219         LLONG_MAX != LONG_MAX.
14220         (_itoa_word): Use _ITOA_WORD_TYPE on value.
14221         (_fitoa_word): Likewise.
14222
14223         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14224         years.
14225         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14226         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14227         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14228
14229         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14230         include <bits/wordsize.h>.  Check __x86_64__ instead of
14231         __WORDSIZE.
14232         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14233         if __x86_64__ is defined.  Use anonymous union on fpstate.
14234
14235         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14236         anonymous union.
14237
14238 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
14239
14240         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14241         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14242         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14243         Refer to _rtld_local_ro instead of _rtld_global_ro.
14244         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14245         Likewise.
14246         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14247         Likewise.
14248         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14249         Likewise.
14250         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14251         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14252         of _rtld_global, and rtld_progname instead of _dl_argv[0].
14253
14254         * sysdeps/powerpc/powerpc32/dl-machine.c
14255         (__elf_machine_runtime_setup) [PROF]: Don't reference
14256         _dl_prof_resolve.
14257
14258 2012-05-18  Andreas Jaeger  <aj@suse.de>
14259
14260         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14261         function only available for GCCs before 3.4 since GCC 3.4
14262         introduced a builtin.
14263         (lrint): Likewise.
14264         (llrintf): Likewise.
14265         (llrint): Likewise.
14266         (fmaxf): Likewise.
14267         (fmax): Likewise.
14268         (fminf): Likewise.
14269         (fmin): Likewise.
14270         (rint): Likewise.
14271         (rintf): Likewise.
14272         (nearbyint): Likewise.
14273         (nearbyintf): Likewise.
14274         (ceil): Likewise.
14275         (ceilf): Likewise.
14276         (floor): Likewise.
14277         (floorf): Likewise.
14278
14279 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14280
14281         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14282         on both fields and cast pointer to __syscall_ulong_t.
14283
14284         * bits/types.h (__fsword_t): New type.
14285         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14286         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14288         (__FSWORD_T_TYPE): Likewise.
14289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14290         (__FSWORD_T_TYPE): Likewise.
14291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14292         (__FSWORD_T_TYPE): Likewise.
14293         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14294         (__FSWORD_T_TYPE): Likewise.
14295         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14296         __SWORD_TYPE with __fsword_t.
14297         (statfs64): Likewise.
14298
14299 2012-05-17  David S. Miller  <davem@davemloft.net>
14300
14301         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14302
14303 2012-05-17  Andreas Jaeger  <aj@suse.de>
14304
14305         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14306         warning.
14307
14308 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14309
14310         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14311
14312 2012-05-17  Andreas Jaeger  <aj@suse.de>
14313
14314         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14315         when it is used.
14316
14317 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
14318
14319         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14320
14321 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14322
14323         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14324         * sysdeps/x86_64/tst-mallocalign1.c: New file.
14325
14326 2012-05-17  Andreas Jaeger  <aj@suse.de>
14327             Carlos O'Donell  <carlos_odonell@mentor.com>
14328
14329         [BZ #14059]
14330         * sysdeps/x86_64/multiarch/init-arch.h
14331         (bit_YMM_Usable): Rename to...
14332         (bit_AVX_Usable): ... this.
14333         (bit_FMA4_Usable): New macro.
14334         (bit_XMM_state): New macro.
14335         (bit_YMM_state): New macro.
14336         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14337         [__ASSEMBLER__] (index_AVX_Usable): ... this.
14338         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14339         (CPUID_OSXSAVE): New macro.
14340         (CPUID_AVX): New macro.
14341         (CPUID_FMA4): New macro.
14342         (index_YMM_Usable): Rename to...
14343         (index_AVX_Usable): ... this.
14344         (HAS_AVX): Use HAS_ARCH_FEATURE.
14345         (HAS_FMA4): Likewise.
14346         (HAS_YMM_USABLE): Remove.
14347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14348         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14349         are present.
14350         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14351         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14352         * sysdeps/x86_64/multiarch/Makefile: Likewise.
14353         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14354         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14355
14356 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
14357
14358         * math/libm-test.c: Support platforms without multiple rounding modes.
14359         * math/bug-nextafter.c: Support platforms without FP exceptions.
14360         * math/bug-nexttoward.c: Likewise.
14361         * math/test-fenv.c: Likewise.
14362         * math/test-misc.c: Likewise.
14363         * stdlib/bug-getcontext.c: Likewise.
14364
14365 2012-05-17  Andreas Jaeger  <aj@suse.de>
14366
14367         * manual/examples/search.c (critter_cmp): Change signature to
14368         avoid warnings.
14369         * manual/string.texi (Collation Functions): Likewise.
14370
14371 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14372
14373         * bits/types.h: Fold copyright years.
14374         * bits/typesizes.h: Likewise.
14375         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14376         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14377         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14379         * time/time.h: Likewise.
14380
14381 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
14382
14383         [BZ #208]
14384         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14385         in instead of returning them.  Return void.
14386         (__libc_mallinfo): Accumulate over all arenas.
14387         (__malloc_stats): Adjust for change in int_mallinfo interface.
14388
14389 2012-05-16  Roland McGrath  <roland@hack.frob.com>
14390
14391         [BZ #10375]
14392         * configure.in (NM): Add AC_CHECK_TOOL for it.
14393         (libc_extra_cflags): New substituted variable.
14394         Check for -fstack-protector being used implicitly.
14395         * configure: Regenerated.
14396         * config.make.in (config-extra-cflags): New variable,
14397         gets @libc_extra_cflags@.
14398         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14399
14400         [BZ #10375]
14401         * configure.in: Check for _FORTIFY_SOURCE being predefined.
14402         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14403         * configure: Regenerated.
14404         * config.make.in (CPPUNDEFS): New substituted variable.
14405         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14406         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14407         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14408
14409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14410
14411         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14412         (mq_attr): Use __syscall_slong_t.
14413
14414 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14415
14416         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14417         Check __x86_64__ instead of __WORDSIZE.
14418         (_STAT_VER_LINUX): Likewise.
14419         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
14420         __syscall_ulong_t and __syscall_slong_t.
14421         (stat64): Likewise.
14422
14423 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14424
14425         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14426
14427 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14428
14429         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14430
14431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14432
14433         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14434         __syscall_ulong_t.
14435
14436         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14437         include <bits/wordsize.h>.  Check __x86_64__ instead of
14438         __WORDSIZE.
14439         (greg_t): Use "__extension__ long long int" if __x86_64__ is
14440         defined.
14441         (mcontext_t): Replace "unsigned long" with "unsigned long long".
14442
14443         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14444         include <bits/wordsize.h>.  Check __x86_64__ instead of
14445         __WORDSIZE.
14446         (user_regs_struct): Use "__extension__ unsigned long long"
14447         instead of "unsigned long" if __x86_64__ is defined.
14448         (user): Likewise.  Pad after pointer field if __ILP32__ is
14449         defined.
14450
14451 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
14452
14453         * configure.in (makeinfo): Require version 4.5 or later.  Allow
14454         versions 5 to 9.
14455         * configure: Regenerated.
14456         * manual/install.texi (texinfo): Increase version requirement to
14457         4.5 or later.
14458         * INSTALL: Regenerated.
14459
14460         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14461
14462 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14463
14464         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14465
14466         * sysdeps/x86_64/x32/ffs.c: New file.
14467
14468         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14469         __syscall_ulong_t.
14470         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14471         defined.  Use __syscall_ulong_t.
14472         (shminfo): Use __syscall_ulong_t.
14473         (shm_info): Likewise.
14474
14475         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14476         __syscall_ulong_t.
14477
14478         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14479         <bits/wordsize.h>.
14480         (msgqnum_t): Use __syscall_ulong_t.
14481         (msglen_t): Likewise.
14482         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
14483         __syscall_ulong_t.
14484
14485         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14486         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
14487
14488         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14489
14490         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14491         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14492
14493         * sysvipc/sys/msg.h (msgbuf): Replace long int with
14494         __syscall_slong_t.
14495
14496         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14497         include <bits/wordsize.h>.  Check __x86_64__ instead of
14498         __WORDSIZE.
14499
14500         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14501         "unsigned long long int" if __x86_64__ is defined.
14502         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14503
14504         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14505         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
14506         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14507
14508         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14509         <stdint.h>.
14510         (GET_PC): Cast to uintptr_t first.
14511         (GET_FRAME): Likewise.
14512         (GET_STACK): Likewise.
14513
14514         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14515         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14516         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14517         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14518         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14519         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14520         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14521         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14522         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14523         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14524         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14525         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14526         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14527         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14528         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14529         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14530         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14531         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14532         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14533         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14534         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14535         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14536         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14537         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14538         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14539         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14540         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14541         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14542         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14543
14544 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
14545
14546         * Makerules (+depfiles): Also collect depfiles from .oS in
14547         $(extra-objs).
14548         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14549         .oS, $(libnldbl-routines)).
14550
14551         * Makerules (native-compile-mkdep-flags): Define.
14552         * sunrpc/Makefile (extra-objs): Add $(addprefix
14553         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14554         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14555         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
14556         calling $(make-target-directory).
14557
14558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14559
14560         * bits/types.h (__snseconds_t): Removed.
14561         * time/time.h (struct timespec): Replace __snseconds_t with
14562         __syscall_slong_t.
14563         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14564         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14565         Likewise.
14566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14567         (__SNSECONDS_T_TYPE): Likewise.
14568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14569         (__SNSECONDS_T_TYPE): Likewise.
14570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14571         (__SNSECONDS_T_TYPE): Likewise.
14572
14573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14574
14575         * sysdeps/mach/hurd/bits/typesizes.h
14576         (__SYSCALL_SLONG_TYPE): New macro.
14577         (__SYSCALL_ULONG_TYPE): Likewise.
14578
14579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14580
14581         * bits/types.h (__syscall_slong_t): New type.
14582         (__syscall_ulong_t): Likewise.
14583
14584         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14585         (__SYSCALL_ULONG_TYPE): Likewise.
14586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14587         (__SYSCALL_SLONG_TYPE): Likewise.
14588         (__SYSCALL_ULONG_TYPE): Likewise.
14589         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14590         (__SYSCALL_SLONG_TYPE): Likewise.
14591         (__SYSCALL_ULONG_TYPE): Likewise.
14592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14593         (__SYSCALL_SLONG_TYPE): Likewise.
14594         (__SYSCALL_ULONG_TYPE): Likewise.
14595
14596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14597
14598         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14599         Add sigaltstack-offsets.sym.
14600         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14601         <sigaltstack-offsets.h>.
14602         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
14603         longjmp_msg pointer.
14604         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
14605         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14606         signal stack.
14607         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14608
14609 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14610
14611         * elf/stackguard-macros.h: Remove file.
14612         * sysdeps/generic/stackguard-macros.h: New file.
14613         * sysdeps/i386/stackguard-macros.h: Likewise.
14614         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14615         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14616         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14617         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14618         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14619         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14620         * sysdeps/x86_64/stackguard-macros.h: Likewise.
14621         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14622         <elf/stackguard-macros.h>.
14623
14624         [BZ #14109]
14625         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14626         __aligned__ in attribute.
14627         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14628         (gregset_t): Likewise.
14629
14630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14631
14632         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14633         * sysdeps/x86_64/64/Implies-after: Here.  New file.
14634         * sysdeps/x86_64/x32/Implies-after: New file.
14635
14636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14637
14638         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14639         and access return value for _dl_profile_fixup.  Use R10_LP to
14640         load frame size.
14641
14642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14643
14644         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14645
14646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14647
14648         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14649         * sysdeps/x86_64/x32/sysdep.h: New file.
14650
14651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14652
14653         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14654         * sysdeps/x86_64/setjmp.S: Likewise.
14655
14656 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14657
14658         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14659         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14660         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14661         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14662         remove unused global constant.
14663
14664 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
14665
14666         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14667         include of <not-cancel.h>.
14668
14669 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14670
14671         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14672
14673 2012-05-15  Jeff Law  <law@redhat.com>
14674             Andreas Jaeger  <aj@suse.de>
14675
14676         [BZ #13594]
14677         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14678         out from...
14679         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14680         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14681         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14682         code changing __hst_map_handle.map.
14683
14684 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14685
14686         * configure.in (sysnames): Look for Implies-before and Implies-after
14687         files.
14688         * configure: Regenerated.
14689
14690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14691
14692         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14693         8-byte data alignment with LP_SIZE alignment.
14694
14695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14696
14697         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14698         into R10_LP.
14699
14700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14701
14702         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14703
14704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14705
14706         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14707         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14708         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14709         Likewise.
14710         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14711
14712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14713
14714         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14715         (stackinfo_sub_sp): Likewise.
14716
14717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14718
14719         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14720         RAX_LP.
14721
14722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14723
14724         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14725         into R*_LP.
14726
14727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14728
14729         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14730         sizes into R*_LP.
14731
14732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14733
14734         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14735
14736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14737
14738         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14739         into R11_LP and load __x86_64_shared_cache_size_half into
14740         R8_LP.
14741
14742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14743
14744         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14745         R8_LP.
14746
14747 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14748
14749         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14750         logb for POWER7.
14751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14752         logbf for POWER7.
14753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14754         logbl for POWER7.
14755         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14756         powerpc32/power7/fpu/s_logb.c via #include.
14757         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14758         powerpc32/power7/fpu/s_logbf.c via #include.
14759         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14760         powerpc32/power7/fpu/s_logbl.c via #include.
14761
14762 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14763
14764         * README.libm: Remove file.
14765
14766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14767
14768         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14769         count for x32.  Use R*_LP and omit operand-size suffix.
14770
14771 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14772
14773         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14774         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14775         * sysdeps/x86_64/x32/shlib-versions: New file.
14776
14777 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14778
14779         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14780         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14781         Use _dl_fatal_printf instead.
14782
14783 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14784
14785         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14786         set if not set by the user.  Do not allow for being unset.
14787         * sysdeps/unix/sysv/linux/configure: Regenerated.
14788
14789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14790
14791         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14792         the `q' suffix from lea and replace .quad with ASM_ADDR.
14793
14794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14795
14796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14797         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14798         instead of $17.
14799         (PTR_DEMANGLE): Likewise.
14800
14801 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14802
14803         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14804         (LP_OP): Likewise.
14805         (ASM_ADDR): Likewise.
14806         (RAX_LP): Likewise.
14807         (RBP_LP): Likewise.
14808         (RBX_LP): Likewise.
14809         (RCX_LP): Likewise.
14810         (RDI_LP): Likewise.
14811         (RSI_LP): Likewise.
14812         (RSP_LP): Likewise.
14813         (R8_LP): Likewise.
14814         (R9_LP): Likewise.
14815         (R10_LP): Likewise.
14816         (R10_LP): Likewise.
14817         (R11_LP): Likewise.
14818         (R12_LP): Likewise.
14819         (R13_LP): Likewise.
14820         (R14_LP): Likewise.
14821         (R15_LP): Likewise.
14822
14823 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14824
14825         * sysdeps/x86_64/x32/dl-machine.h: New file.
14826
14827 2012-05-14  Andreas Jaeger  <aj@suse.de>
14828
14829         * manual/Makefile (subdir): Remove export of subdir.
14830         (all): Remove target.
14831         (.PHONY): Remove all from list.
14832         (mkinstalldirs): Remove.
14833         (.PHONY): Remove installdirs from list.
14834         ($(inst_infodir)/libc.info): Use make-target-directory.
14835         (installdirs): Remove.
14836         (subdir_%): Remove.
14837         (glibc-targets): Remove.
14838         (lib): Remove.
14839         (stubs): Remove.
14840         ($(objpfx)stubs ../po/manual.pot): Remove.
14841         ($(objpfx)stamp%): Remove.
14842         (make-target-directory): Remove.
14843         (subdir_install): Remove.
14844         (routines): Remove.
14845         (aux): Remove.
14846         (sources): Remove.
14847         (objects): Remove.
14848         (headers): Remove.
14849
14850         [BZ #13750]
14851         * manual/.gitignore: Remove, it's not needed anymore.
14852         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14853         all files in it.
14854         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14855         directory.
14856         (texis): Renamed to $(objpfx)texis.
14857         (texis-path): New, contains path to generated files.
14858         (chapters.%): Use texis-path for complete path, add extra argument
14859         libc-texinfo.sh.
14860         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14861         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14862         (summary,texi, stamp-summary): Use complete path of
14863         files. Generate files in build dir.
14864         (dir-add.texi): Build in build dir.
14865         (libm-err.texi,stamp-libm-err): Likewise.
14866         (version.texi, stamp-version): Likewise.
14867         (.%c.texi): Likewise.
14868         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14869         (mostlyclean): Remove target.
14870         (realclean): Remove target.
14871         (generated): Add new variable with contents from mostlyclean and
14872         realclean, remove entries duplicated in common-mostlyclean, add
14873         stamp-libm-err and stamp-version.
14874         (generated-dirs): Add libc directory.
14875         ($(inst_infodir)/libc.info): Install files from build dir.
14876
14877         * manual/install.texi (Configuring and compiling): Adjust since
14878         the info files are not part of the tar ball anymore.
14879
14880 2012-05-14  Andreas Jaeger  <aj@suse.de>
14881
14882         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14883         variable.
14884
14885 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14886
14887         [BZ #13717]
14888         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14889         to 2.2.0 where earlier.
14890         * sysdeps/unix/sysv/linux/configure: Regenerated.
14891         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14892         Remove conditional code.
14893         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14894         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14895         Remove conditional code.
14896         [!__NR_lchown]: Likewise.
14897         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14898         [__NR_lchown]: Likewise.
14899         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14900         comment referencing __ASSUME_LCHOWN_SYSCALL.
14901         * sysdeps/unix/sysv/linux/i386/sigaction.c
14902         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14903         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14904         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14905         Remove conditional code.
14906         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14907         (__protocol_available): Remove #if 0 code.
14908         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14909         conditional code.
14910         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14911         * sysdeps/unix/sysv/linux/kernel-features.h
14912         (__ASSUME_GETCWD_SYSCALL): Don't define.
14913         (__ASSUME_REALTIME_SIGNALS): Likewise.
14914         (__ASSUME_PREAD_SYSCALL): Likewise.
14915         (__ASSUME_PWRITE_SYSCALL): Likewise.
14916         (__ASSUME_POLL_SYSCALL): Likewise.
14917         (__ASSUME_LCHOWN_SYSCALL): Likewise.
14918         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14919         non-SPARC.
14920         (__ASSUME_SIOCGIFNAME): Don't define.
14921         (__ASSUME_MSG_NOSIGNAL): Likewise.
14922         (__ASSUME_SENDFILE): Define unconditionally.
14923         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14924         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14925         conditional code.
14926         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14927         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14928         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14929         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14930         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14931         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14932         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14934         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14935         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14937         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14938         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14940         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14943         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14944         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14946         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14949         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14950         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14952         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14955         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14956         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14957         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14958         Remove conditional code.
14959         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14960         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14961         Remove conditional code.
14962         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14963         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14964         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14965         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14966         Remove conditional code.
14967         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14968         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14969         Remove conditional code.
14970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14971         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14972         Remove conditional code.
14973         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14974         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14975         Remove conditional code.
14976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14977         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14978         Remove conditional code.
14979         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14980         * sysdeps/unix/sysv/linux/sh/pwrite64.c
14981         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14983         * sysdeps/unix/sysv/linux/sigaction.c
14984         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14985         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14986         * sysdeps/unix/sysv/linux/sigpending.c
14987         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14988         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14989         * sysdeps/unix/sysv/linux/sigprocmask.c
14990         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14991         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14992         * sysdeps/unix/sysv/linux/sigsuspend.c
14993         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14994         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14995         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14996         (__libc_missing_rt_sigs): Remove.
14997         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14998         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14999         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15000         Remove conditional code.
15001         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15002         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15003         return 1.
15004         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15005         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15006         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15007         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15008
15009 2012-05-14  Andreas Jaeger  <aj@suse.de>
15010
15011         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15012         it's not used in glibc.
15013         (__coshm1): Likewise.
15014         (__acosh1p): Likewise.
15015         (__sgn): Likewise.
15016
15017         * manual/string.texi (Copying and Concatenation): Add missing
15018         variable in concat example.
15019         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15020
15021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15022
15023         [BZ #14103]
15024         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15025         __builtin_clzl with __builtin_clzll.
15026
15027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15028
15029         [BZ #14104]
15030         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15031         libc_freeres_ptr.
15032
15033 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15034
15035         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15036         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15037         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15038         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15039
15040 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
15041
15042         * NEWS: Update ia64 info.
15043
15044 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
15045
15046         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15047         used as bcopy.
15048
15049 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
15050
15051         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15052         * sysdeps/unix/syscalls.list (dup3): Likewise.
15053         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15054         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15055
15056 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15057
15058         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15059         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15060
15061 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15062
15063         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15064         thread pointer.
15065         (TLS_IE): Use mov/add instead of movq/addq to load thread
15066         pointer.
15067         (TLS_GD_PREFIX): New.
15068         (TLS_GD): Use it.
15069
15070 2012-05-11  David S. Miller  <davem@davemloft.net>
15071
15072         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15073         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15074         (_FPU_SETCW): Likewise.
15075
15076 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15077
15078         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15079         is 32-byte aligned.
15080
15081 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
15082
15083         [BZ #11837]
15084         * iconvdata/gb18030.c: Update tables.
15085         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
15086         characters specially.
15087         (BODY for TO_LOOP): Add encoding of missing ranges.
15088
15089 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
15090
15091         [BZ #13673]
15092         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15093         * sysdeps/mach/hurd/dup3.c: Likewise.
15094         * sysdeps/mach/hurd/readlinkat.c: Likewise.
15095         * sysdeps/powerpc/memmove.c:: Likewise.
15096
15097 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15098
15099         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15100         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15101
15102 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15103
15104         * elf/elf.h (R_X86_64_RELATIVE64): New.
15105         (R_X86_64_NUM): Updated.
15106         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15107         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
15108         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15109         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15110         tst-quad1pie tst-quad2pie
15111         (modules-names): Add tst-quadmod1 tst-quadmod2.
15112         ($(objpfx)tst-quad1): New dependency.
15113         ($(objpfx)tst-quad2): Likewise.
15114         ($(objpfx)tst-quad1pie): Likewise.
15115         ($(objpfx)tst-quad2pie): Likewise.
15116         * sysdeps/x86_64/tst-quad1.c: New file.
15117         * sysdeps/x86_64/tst-quad1pie.c: New file.
15118         * sysdeps/x86_64/tst-quad2.c: Likewise.
15119         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15120         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15121         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15122         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15123         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15124
15125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15126
15127         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15128         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15129         * streams/stropts.h (t_scalar_t): Define type.
15130
15131         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15132         (_PATH_PRESERVE): Set to "/var/lib".
15133         (_PATH_RWHODIR): Set to "/var/spool/rwho".
15134
15135         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15136         instead of int.
15137
15138         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15139         if __dir_mkfile succeeded.
15140
15141         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15142         checking for _hurd_dtablesize.  Unlock it right after having
15143         finished _hurd_dtable allocation.
15144
15145 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15146
15147         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15148         * sysdeps/mach/hurd/configure: Regenerated.
15149         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15150         special-casing to...
15151         * sysdeps/gnu/configure.in: ... this new file.
15152         * sysdeps/unix/sysv/linux/configure: Regenerated.
15153         * sysdeps/gnu/configure: New generated file.
15154
15155         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15156         for Linux: use nsec instead of usec, as well as:
15157         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15158         members of type struct timespec.
15159         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15160         New macros.
15161         (struct stat64): Likewise.
15162         (_STATBUF_ST_NSEC): New macro.
15163         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15164
15165         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15166         __strtoul_internal rather than strtoul.
15167
15168 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15169
15170         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15171         and reject them.
15172
15173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15174
15175         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15176         which preserves existing values.
15177         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15178
15179 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15180
15181         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15182         TIMEOUT values.  Return EINVAL for NFDS values either negative or
15183         greater than FD_SETSIZE.
15184
15185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15186
15187         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15188         allocated, call __vm_protect to finish enabling the existing space, and
15189         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15190         allocate the remainder.
15191
15192 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15193
15194         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15195         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
15196
15197 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15198
15199         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15200         sysdeps/mach/hurd/readlink.c.
15201
15202         * posix/tst-sysconf.c (posix_options): Only use
15203         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15204         _POSIX_SYNCHRONIZED_IO when they are defined
15205         * sysdeps/mach/hurd/bits/posix_opt.h:
15206         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15207         (_XOPEN_REALTIME): Undefine macro.
15208         (_XOPEN_REALTIME_THREADS): Undefine macro.
15209         (_XOPEN_SHM): Undefine macro.
15210         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15211         macro to -1.
15212         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15213         macro to -1.
15214         (_POSIX_ASYNC_IO): Undefine macro.
15215         (_POSIX_PRIORITIZED_IO): Undefine macro.
15216         (_POSIX_SPIN_LOCKS): Define macro to -1.
15217
15218         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15219         SA_NODEFER, SA_RESETHAND.
15220         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15221         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15222         F_DUPFD_CLOEXEC.
15223
15224 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15225
15226         * elf/Makefile (pldd-modules): Define unconditionally.
15227
15228 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15229
15230         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15231
15232 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15233
15234         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15235         Return ENOENT when name is empty.
15236         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15237
15238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15239
15240         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15241
15242         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15243
15244 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15245
15246         Fix mlock in all cases except non-readable pages.
15247         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15248         instead of VM_PROT_ALL as parameter to __vm_wire function.
15249
15250         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15251         (__mkdir): When path is `/', just fail with EEXIST.
15252         * sysdeps/mach/hurd/mkdirat.c: Likewise.
15253
15254 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15255
15256         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15257         <sys/uio.h> (for writev).
15258         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15259         and <sys/param.h> (for MIN).
15260
15261 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15262
15263         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15264         REQUESTED_TIME.  Properly set the remaining time and return EINTR
15265         if interrupted.
15266
15267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15268
15269         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15270         Depend on against $(link-rpcuserlibs).
15271
15272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15273
15274         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15275         (__libc_stack_end): Do not use attribute_relro.
15276         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15277         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15278         to libthread-provided value.
15279         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15280         attribute_relro.
15281
15282 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15283
15284         [BZ #3748]
15285         * bits/libc-lock.h (__libc_once_get): New macro.
15286         * sysdeps/mach/bits/libc-lock.h: Likewise.
15287         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15288         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15289         instead of using implementation details.
15290
15291         * libio/fileops.c: Unconditionally include <kernel-features.h>.
15292         * libio/freopen.c: Likewise.
15293         * libio/freopen64.c: Likewise.
15294         * misc/syslog.c: Likewise.
15295         * nscd/connections.c: Likewise.
15296         * nscd/netgroupcache.c: Likewise.
15297         * sysdeps/posix/getcwd.c: Likewise.
15298
15299 2012-05-10  Roland McGrath  <roland@hack.frob.com>
15300
15301         * math/w_ilogbf.c: Add #include <limits.h>.
15302
15303 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15304
15305         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15306         path instead of returning without unlocking.
15307
15308         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15309         immediate-write ioctls.
15310         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15311
15312 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15313
15314         * sysdeps/mach/hurd/i386/init-first.c (init): Use
15315         __builtin_frame_address instead of making assumptions about the
15316         location of the return address relative to DATA.  Force early load of
15317         the return address.
15318         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15319         __builtin_frame_address.
15320
15321         dup3 for GNU Hurd.
15322         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15323         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
15324         implement dup3 and do some further code clean-ups.
15325         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15326         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15327
15328 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15329
15330         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15331
15332         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15333         HURD_CRITICAL_END around holding _hurd_dtable_lock.
15334         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15335         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15336         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15337         d->port.lock.
15338
15339         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15340         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
15341         when handler == SIG_ERR, not when handler != SIG_ERR.
15342
15343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15344
15345         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15346         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15347         definitions.
15348
15349         accept4 for GNU Hurd.
15350         * include/sys/socket.h (__libc_accept4): New prototype.
15351         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
15352         to implement __libc_accept4.
15353         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15354         __libc_accept4.
15355         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15356
15357         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15358         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15359         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15360         signal-defines.sym.
15361
15362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15363
15364         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15365
15366 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15367
15368         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15369         assertion on O_CLOEXEC flag.
15370         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15371         * hurd/intern-fd.c: Likewise.
15372         * hurd/port2fd.c: Likewise.
15373
15374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15375
15376         [BZ #3906]
15377         * bits/in.h (IPV6_PKTINFO): Define new macro.
15378         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15379
15380 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15381
15382         [BZ #13954]
15383         [BZ #13955]
15384         [BZ #13956]
15385         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15386         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15387         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15388         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15390         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15391         * math/libm-test.inc (logb_test) : Additional logb tests.
15392
15393 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
15394             Andreas Jaeger  <aj@suse.de>
15395
15396         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15397         * configure: Regenerated.
15398         * config.h.in (LINK_OBSOLETE_RPC): New macro.
15399         * config.make.in (link-obsolete-rpc): New substituted variable.
15400         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15401         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15402         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15403         (shared-only-routines): Don't set it under [link-obsolete-rpc],
15404         so that libc.a contains the symbols.
15405         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15406         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15407         * sunrpc/auth_none.c: Likewise.
15408         * sunrpc/auth_unix.c: Likewise.
15409         * sunrpc/authdes_prot.c: Likewise.
15410         * sunrpc/authuxprot.c: Likewise.
15411         * sunrpc/clnt_gen.c: Likewise.
15412         * sunrpc/clnt_perr.c: Likewise.
15413         * sunrpc/clnt_raw.c: Likewise.
15414         * sunrpc/clnt_simp.c: Likewise.
15415         * sunrpc/clnt_tcp.c: Likewise.
15416         * sunrpc/clnt_udp.c: Likewise.
15417         * sunrpc/clnt_unix.c: Likewise.
15418         * sunrpc/des_crypt.c: Likewise.
15419         * sunrpc/des_soft.c: Likewise.
15420         * sunrpc/get_myaddr.c: Likewise.
15421         * sunrpc/key_call.c: Likewise.
15422         * sunrpc/key_prot.c: Likewise.
15423         * sunrpc/netname.c: Likewise.
15424         * sunrpc/pm_getmaps.c: Likewise.
15425         * sunrpc/pm_getport.c: Likewise.
15426         * sunrpc/pmap_clnt.c: Likewise.
15427         * sunrpc/pmap_prot.c: Likewise.
15428         * sunrpc/pmap_prot2.c: Likewise.
15429         * sunrpc/pmap_rmt.c: Likewise.
15430         * sunrpc/publickey.c: Likewise.
15431         * sunrpc/rpc_cmsg.c: Likewise.
15432         * sunrpc/rpc_common.c: Likewise.
15433         * sunrpc/rpc_dtable.c: Likewise.
15434         * sunrpc/rpc_prot.c: Likewise.
15435         * sunrpc/rpc_thread.c: Likewise.
15436         * sunrpc/rtime.c: Likewise.
15437         * sunrpc/svc.c: Likewise.
15438         * sunrpc/svc_auth.c: Likewise.
15439         * sunrpc/svc_raw.c: Likewise.
15440         * sunrpc/svc_run.c: Likewise.
15441         * sunrpc/svc_tcp.c: Likewise.
15442         * sunrpc/svc_udp.c: Likewise.
15443         * sunrpc/svc_unix.c: Likewise.
15444         * sunrpc/svcauth_des.c: Likewise.
15445         * sunrpc/xcrypt.c: Likewise.
15446         * sunrpc/xdr.c: Likewise.
15447         * sunrpc/xdr_array.c: Likewise.
15448         * sunrpc/xdr_float.c: Likewise.
15449         * sunrpc/xdr_intXX_t.c: Likewise.
15450         * sunrpc/xdr_mem.c: Likewise.
15451         * sunrpc/xdr_rec.c: Likewise.
15452         * sunrpc/xdr_ref.c: Likewise.
15453         * sunrpc/xdr_sizeof.c: Likewise.
15454         * sunrpc/xdr_stdio.c: Likewise.
15455
15456 2012-05-10  Roland McGrath  <roland@hack.frob.com>
15457
15458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15459         change.  Update copyright years.
15460
15461 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
15462
15463         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15464
15465 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
15466             Joseph Myers  <joseph@codesourcery.com>
15467             Paul Pluzhnikov  <ppluzhnikov@google.com>
15468
15469         [BZ #14012]
15470         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15471         requiring rpcgen.
15472         [cross-compiling] (extra-libs): Likewise.
15473         [cross-compiling] (extra-libs-others): Likewise.
15474         [cross-compiling] (librpcsvc-routines): Likewise.
15475         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15476         [cross-compiling] (omit-deps): Likewise.
15477         (sunrpc-CPPFLAGS): New variable.
15478         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15479         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15480         (cross-rpcgen-objs): New variable.
15481         (extra-objs): Append $(cross-rpcgen-objs).
15482         ($(cross-rpcgen-objs)): New rule.
15483         ($(objpfx)cross-rpcgen): Likewise.
15484         (rpcgen-cmd): Define to use $(built-program-file).  Expand
15485         comment.
15486         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15487         ($(objpfx)x%.stmp): Likewise.
15488         * sunrpc/proto.h [IS_IN_build] (_): Define.
15489         [IS_IN_build] (_libc_intl_domainname): Likewise.
15490
15491 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15492
15493         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15494         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15495         and R_X86_64_TPOFF64.
15496
15497 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
15498
15499         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15500         sysdeps/unix/sysv/syscalls.list.
15501         (stime): Likewise.
15502         (utime): Likewise.
15503         * sysdeps/unix/sysv/syscalls.list: Remove file.
15504
15505 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
15506
15507         [BZ #3440]
15508         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15509         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15510         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15511         (__LC_IDENTIFICATION): Make these macros useful in #if
15512         expressions, as required by C99.
15513
15514 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
15515
15516         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15517         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
15518         after this.
15519
15520 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
15521
15522         * stdlib/longlong.h: Updated from GCC.
15523
15524 2012-05-09  Andreas Jaeger  <aj@suse.de>
15525
15526         * nscd/nscd.c (run_modes): Make named enum, reorder so that
15527         default is first entry.
15528         (run_mode): Set type.
15529         (main): Remove informal message about syslog.
15530         (options): Fix typo.
15531
15532         [BZ #14053]
15533         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15534         to asm.
15535         (lrint): Likewise.
15536         (llrintf): Likewise.
15537         (llrint): Likewise.
15538         (rint): Likewise.
15539         (rintf): Likewise.
15540         (nearbyint): Likewise.
15541         (nearbyintf): Likewise.
15542
15543 2012-05-09  Andreas Jaeger  <aj@suse.de>
15544             Pedro Alves  <palves@redhat.com>
15545
15546         * nscd/nscd.c (run_mode): Use enum.
15547         (main): Cleanup coding style issue.
15548
15549 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
15550             Andreas Jaeger  <aj@suse.de>
15551
15552         * nscd/nscd.c (go_background): Replaced with...
15553         (run_mode): ... this.
15554         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15555         (options): Add -F --foreground.
15556         (main): Implement it.
15557         (parse_opt): Parse it.
15558
15559 2012-05-09  Andreas Jaeger  <aj@suse.de>
15560
15561         [BZ #14083]
15562         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15563         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15564         -Wconversion warning.
15565         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15566         Likewise.
15567
15568 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
15569
15570         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
15571         == 0.
15572         (LC_ALL): Use macro-int-constant.
15573         (LC_COLLATE): Likewise.
15574         (LC_CTYPE): Likewise.
15575         (LC_MESSAGES): Likewise.
15576         (LC_MONETARY): Likewise.
15577         (LC_NUMERIC): Likewise.
15578         (LC_TIME): Likewise.
15579         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15580         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15581         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15582         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15583         Specify type.
15584         [C99-based standards] (float_t): Expect type.
15585         [C99-based standards] (double_t): Expect type.
15586         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
15587         type.
15588         [C99-based standards] (HUGE_VALL): Likewise.
15589         [C99-based standards] (INFINITY): Likewise.
15590         [C99-based standards] (NAN): Likewise.
15591         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15592         [C99-based standards] (FP_NAN): Likewise.
15593         [C99-based standards] (FP_NORMAL): Likewise.
15594         [C99-based standards] (FP_SUBNORMAL): Likewise.
15595         [C99-based standards] (FP_ZERO): Likewise.
15596         [C99-based standards] (FP_FAST_FMA): Use
15597         optional-macro-int-constant.  Specify type.  Require == 1.
15598         [C99-based standards] (FP_FAST_FMAF): Likewise.
15599         [C99-based standards] (FP_FAST_FMAL): Likewise.
15600         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15601         [C99-based standards] (FP_ILOGBNAN): Likewise.
15602         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15603         Specify type.
15604         [C99-based standards] (MATH_ERREXCEPT): Likewise.
15605         [C99-based standards] (math_errhandling): Specify type.
15606         [ISO99 || ISO11] (signgam): Do not allow.
15607         [non-C99-based standards] (copysignf): Do not allow.
15608         [non-C99-based standards] (exp2f): Likewise.
15609         [non-C99-based standards] (log2f): Likewise.
15610         [non-C99-based standards] (modff): Allow.
15611         [non-C99-based standards] (erff): Do not allow.
15612         [non-C99-based standards] (erfcf): Likewise.
15613         [non-C99-based standards] (gammaf): Likewise.
15614         [non-C99-based standards] (hypotf): Likewise.
15615         [non-C99-based standards] (j0f): Likewise.
15616         [non-C99-based standards] (j1f): Likewise.
15617         [non-C99-based standards] (jnf): Likewise.
15618         [non-C99-based standards] (lgammaf): Likewise.
15619         [non-C99-based standards] (tgammaf): Likewise.
15620         [non-C99-based standards] (y0f): Likewise.
15621         [non-C99-based standards] (y1f): Likewise.
15622         [non-C99-based standards] (ynf): Likewise.
15623         [non-C99-based standards] (isnanf): Likewise.
15624         [non-C99-based standards] (acoshf): Likewise.
15625         [non-C99-based standards] (asinhf): Likewise.
15626         [non-C99-based standards] (atanhf): Likewise.
15627         [non-C99-based standards] (cbrtf): Likewise.
15628         [non-C99-based standards] (expm1f): Likewise.
15629         [non-C99-based standards] (ilogbf): Likewise.
15630         [non-C99-based standards] (log1pf): Likewise.
15631         [non-C99-based standards] (logbf): Likewise.
15632         [non-C99-based standards] (nextafterf): Likewise.
15633         [non-C99-based standards] (remainderf): Likewise.
15634         [non-C99-based standards] (rintf): Likewise.
15635         [non-C99-based standards] (scalbf): Likewise.
15636         [non-C99-based standards] (copysignl): Likewise.
15637         [non-C99-based standards] (exp2l): Likewise.
15638         [non-C99-based standards] (log2l): Likewise.
15639         [non-C99-based standards] (modfl): Allow.
15640         [non-C99-based standards] (erfl): Do not allow.
15641         [non-C99-based standards] (erfcl): Likewise.
15642         [non-C99-based standards] (gammal): Likewise.
15643         [non-C99-based standards] (hypotl): Likewise.
15644         [non-C99-based standards] (j0l): Likewise.
15645         [non-C99-based standards] (j1l): Likewise.
15646         [non-C99-based standards] (jnl): Likewise.
15647         [non-C99-based standards] (lgammal): Likewise.
15648         [non-C99-based standards] (tgammal): Likewise.
15649         [non-C99-based standards] (y0l): Likewise.
15650         [non-C99-based standards] (y1l): Likewise.
15651         [non-C99-based standards] (ynl): Likewise.
15652         [non-C99-based standards] (isnanl): Likewise.
15653         [non-C99-based standards] (acoshl): Likewise.
15654         [non-C99-based standards] (asinhl): Likewise.
15655         [non-C99-based standards] (atanhl): Likewise.
15656         [non-C99-based standards] (cbrtl): Likewise.
15657         [non-C99-based standards] (expm1l): Likewise.
15658         [non-C99-based standards] (ilogbl): Likewise.
15659         [non-C99-based standards] (log1pl): Likewise.
15660         [non-C99-based standards] (logbl): Likewise.
15661         [non-C99-based standards] (nextafterl): Likewise.
15662         [non-C99-based standards] (remainderl): Likewise.
15663         [non-C99-based standards] (rintl): Likewise.
15664         [non-C99-based standards] (scalbl): Likewise.
15665         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15666         [non-C99-based standards] (FP_*): Do not allow.
15667         [C99-based standards] (FP_*): Change to
15668         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15669         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15670         allow.
15671         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15672         (SIG_ERR): Likewise.
15673         [X/Open-based standards] (SIG_HOLD): Likewise.
15674         (SIG_IGN): Likewise.
15675         (SIGABRT): Use macro-int-constant.  Specify type.  Require
15676         positive value.
15677         (SIGFPE): Likewise.
15678         (SIGILL): Likewise.
15679         (SIGINT): Likewise.
15680         (SIGSEGV): Likewise.
15681         (SIGTER): Likewise.
15682         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15683         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15684         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15685         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15686         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15687         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15688         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15689         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15690         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15691         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15692         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15693         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15694         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15695         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15696         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15697         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15698         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15699         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15700         [X/Open-based standards] (SIGTRAP): Likewise.
15701         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15702         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15703         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15704         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15705         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15706         allow.
15707
15708 2012-05-08  Ian Wienand  <ianw@vmware.com>
15709
15710         [BZ #14080]
15711         * time/tzset.c (__tzset_parse_tz): Update default rules for
15712         daylight time changes in the Energy Policy Act of 2005.
15713
15714 2012-05-09  Andreas Jaeger  <aj@suse.de>
15715
15716         [BZ #13983]
15717         * elf/ldconfig.c (parse_conf): Change string to make clear that
15718         ldconfig only issued a warning if ld.so.conf does not exist.
15719
15720 2012-05-08  David S. Miller  <davem@davemloft.net>
15721
15722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15723         movxtod instead of popping the value on the stack.
15724
15725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15726
15727 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
15728
15729         * config.h.in: Add HAVE_ARM_PCS_VFP.
15730
15731 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
15732
15733         [BZ #13979]
15734         * include/features.h: Warn if user requests __FORTIFY_SOURCE
15735         checking but the checks are disabled for any reason.
15736
15737 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15738
15739         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15740         and ELF64_R_TYPE with ELFW(R_TYPE).
15741
15742 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
15743
15744         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15745         (ulimit): Likewise.
15746
15747         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15748         (settimeofday): Likewise.
15749
15750 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15751
15752         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15753         a struct th_u2 inside the union, and move tu_block/tu_code into
15754         a new th_u3 union of tu_block/tu_code inside of that.  Move
15755         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15756         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15757         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15758         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15759         (th_stuff): Change to th_u1.tu_stuff.
15760         (th_data): Define.
15761         (th_msg): Change to th_u1.th_u2.tu_data.
15762
15763 2012-05-07  David S. Miller  <davem@davemloft.net>
15764
15765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15766
15767         [BZ #14074]
15768         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15769         (SETUP_PIC_REG): Use it.
15770         (SETUP_PIC_REG_LEAF): Use it.
15771
15772 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15773
15774         [BZ #13885]
15775         [BZ #13923]
15776         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15777         USE_AS_EXPM1L.
15778         (EXPL_FINITE): Likewise.
15779         (FLDLOG): Likewise.
15780         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15781         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15782         e_expl.S.
15783         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15784         USE_AS_EXPM1L.
15785         (EXPL_FINITE): Likewise.
15786         (FLDLOG): Likewise.
15787         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15788         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15789         e_expl.S.
15790         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15791         test of -max_value argument for long double.
15792         * sysdeps/i386/fpu/libm-test-ulps: Update.
15793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15794
15795 2012-05-06  David S. Miller  <davem@davemloft.net>
15796
15797         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15798         quad soft-float symbols whose references which are compiler
15799         generated.
15800         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15801
15802 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15803
15804         [BZ #13884]
15805         [BZ #13914]
15806         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15807         USE_AS_EXP10L.
15808         (EXPL_FINITE): Likewise.
15809         (FLDLOG): Likewise.
15810         (c0): Likewise.
15811         (c1): Likewise.
15812         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15813         Adjust comments for base varying.
15814         (__expl_finite): Change alias to EXPL_FINITE.
15815         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15816         e_expl.S.
15817         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15818         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15819         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15820         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15821         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15822         USE_AS_EXP10L.
15823         (EXPL_FINITE): Likewise.
15824         (FLDLOG): Likewise.
15825         (c0): Likewise.
15826         (c1): Likewise.
15827         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15828         Adjust comments for base varying.
15829         (__expl_finite): Change alias to EXPL_FINITE.
15830         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15831         tests for bugs.
15832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15833
15834         [BZ #14064]
15835         * math/libm-test.inc (check_float_internal): Correct ulp
15836         calculation for subnormal expected results.
15837
15838 2012-05-06  Andreas Jaeger  <aj@suse.de>
15839
15840         * Makeconfig (+math-flags): New, set to -frounding-math.
15841         (+cflags): Add +math-flags so that all of glibc gets compiled with
15842         it.
15843
15844         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15845
15846 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15847
15848         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15849         Disable one test.
15850
15851         [BZ #13787]
15852         [BZ #13922]
15853         [BZ #14036]
15854         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15855         (__ieee754_expl): Allow for and saturate large arguments.
15856         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15857         (u_threshold): Likewise.
15858         (__exp): Call __ieee754_exp before checking for overflow and
15859         underflow.
15860         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15861         (u_threshold): Likewise.
15862         (__expf): Call __ieee754_expf before checking for overflow and
15863         underflow.
15864         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15865         (u_threshold): Likewise.
15866         (__expl): Call __ieee754_expl before checking for overflow and
15867         underflow.
15868         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15869         (__ieee754_expl): Allow for and saturate large arguments.
15870         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15871         missing overflow exception on overflow.
15872         (expm1_test): Do not allow missing overflow exception on overflow.
15873
15874         * sysdeps/i386/fpu/e_expl.c: Move to ...
15875         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15876         rather than using inline asm.
15877         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15878         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15879         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15880
15881         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15882         (nice): Likewise.
15883         (poll): Likewise.
15884         (signal): Likewise.
15885         (time): Likewise.
15886         (times): Likewise.
15887
15888 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15889
15890         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15891         sysdeps/unix/common/syscalls.list.
15892         (fchmod): Likewise.
15893         (fchown): Likewise.
15894         (ftruncate): Likewise.
15895         (getrusage): Likewise.
15896         (gettimeofday): Likewise.
15897         (setpgid): Likewise.
15898         (setregid): Likewise.
15899         (setreuid): Likewise.
15900         (sigaction): Likewise.
15901         (truncate): Likewise.
15902         (vhangup): Likewise.
15903         * sysdeps/unix/common/syscalls.list: Remove file.
15904         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15905         * sysdeps/unix/sysv/linux/Implies: Likewise.
15906
15907 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15908
15909         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15911         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15912         Moved to ...
15913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15914         Here.
15915         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15916         to ...
15917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15918         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15919         to ...
15920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15921         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15922         to ...
15923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15924         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15925         to ...
15926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15927         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15928         to ...
15929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15930         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15931         to ...
15932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15933         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15934         to ...
15935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15936         Here.
15937         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15938         to ...
15939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15940         Here.
15941         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15942         to ...
15943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15944         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15945         Moved to ...
15946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15947         Here.
15948         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15949         to ...
15950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15951
15952 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15953
15954         * sysdeps/unix/common/bits/dirent.h: Remove file.
15955         * sysdeps/unix/common/bits/fcntl.h: Likewise.
15956
15957         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15958         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15959         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15960         * sysdeps/unix/bsd/isatty.c: Likewise.
15961         * sysdeps/unix/bsd/tcdrain.c: Likewise.
15962         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15963         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15964
15965 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15966
15967         [BZ #13563]
15968         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15969         long double comparison inaccuracies.
15970         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15972
15973 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
15974
15975         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15977
15978 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15979
15980         [BZ #14049]
15981         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15982         nonzero digits before rounding a hex value.
15983         * stdlib/tst-strtod.c (tests): Add another test.
15984
15985 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15986
15987         * sysdeps/s390/fpu/libm-test-ulps: Update.
15988
15989 2012-05-03  Andreas Jaeger  <aj@suse.de>
15990
15991         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15992         does not get optimized out.
15993         (malloc_opt_barrier): New.
15994
15995 2012-05-03  Andreas Jaeger  <aj@suse.de>
15996             Roland McGrath  <roland@hack.frob.com>
15997
15998         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15999         intermediate file deletion.
16000         (generated): Add .symlist files.
16001
16002 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
16003
16004         [BZ #13775]
16005         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16006         Redirect under this condition.
16007         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16008         [__USE_GNU] (__dprintf_chk): Not under this condition.
16009         [__USE_GNU] (__vdprintf_chk): Likewise.
16010         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16011         under this condition.
16012         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16013         [__USE_XOPEN2K8] (dprintf): Define under this condition.
16014         [__USE_XOPEN2K8] (vdprintf): Likewise.
16015         [__USE_GNU] (__dprintf_chk): Not under this condition.
16016         [__USE_GNU] (__vdprintf_chk): Likewise.
16017         [__USE_GNU] (dprintf): Likewise.
16018         [__USE_GNU] (vdprintf): Likewise.
16019
16020 2012-05-03  Roland McGrath  <roland@hack.frob.com>
16021
16022         * elf/Makefile (common-generated): Set this instead of generated for
16023         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
16024         $(all-built-dso)-derived lists.
16025
16026 2012-05-03  Andreas Jaeger  <aj@suse.de>
16027
16028         * sysdeps/i386/fpu/libm-test-ulps: Update.
16029
16030         * FAQ: Removed.
16031         * FAQ.in: Likewise.
16032         * scripts/gen-FAQ.pl: Likewise.
16033         * manual/install.texi (Installation): Point to online location of
16034         FAQ.
16035         * Makefile (files-for-dist): Remove FAQ.
16036         (FAQ): Remove.
16037
16038 2012-05-02  Allan McRae  <allan@archlinux.org>
16039
16040         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16041         (LDFLAGS-reldepmod5.so): Likewise.
16042         (LDFLAGS-reldep6mod1.so): Likewise.
16043         (LDFLAGS-reldep6mod4.so): Likewise.
16044         (LDFLAGS-reldep8mod3.so): Likewise.
16045         (LDFLAGS-unload4mod1.so): Likewise.
16046         (LDFLAGS-unload4mod2.so): Likewise.
16047         (LDFLAGS-tst-initorder): Likewise.
16048         (LDFLAGS-tst-initordera2.so): Likewise.
16049         (LDFLAGS-tst-initordera3.so): Likewise.
16050         (LDFLAGS-tst-initordera4.so): Likewise.
16051         (LDFLAGS-tst-initorderb2.so): Likewise.
16052         (LDFLAGS-noload): Likewise.
16053         (LDFLAGS-next): Likewise.
16054         (LDFLAGS-order2mod1.so): Likewise.
16055         (LDFLAGS-order2mod2.so): Likewise.
16056         (LDFLAGS-tst-initorder2): Likewise.
16057         (LDFLAGS-tst-initorder2a.so): Likewise.
16058         (LDFLAGS-tst-initorder2b.so): Likewise.
16059         (LDFLAGS-tst-initorder2c.so): Likewise.
16060         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16061
16062 2012-05-02  David S. Miller  <davem@davemloft.net>
16063
16064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16065
16066 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16067
16068         [BZ #14055]
16069         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16070
16071 2012-05-02  Andreas Jaeger  <aj@suse.de>
16072
16073         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16074         since we manipulate rounding mode.
16075         (CPPFLAGS-test-idouble.c): Likewise.
16076         (CPPFLAGS-test-ifloat.c): Likewise.
16077         (CFLAGS-test-ldouble.c): Likewise.
16078         (CFLAGS-test-double.c): Likewise.
16079         (CFLAGS-test-float.c): Likewise.
16080         (CFLAGS-test-misc.c): Likewise.
16081         (CFLAGS-test-test-fenv.c): Likewise.
16082
16083 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16084
16085         [BZ #2550]
16086         [BZ #2570]
16087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16088         comparisons to determine direction to adjust input.
16089
16090 2012-05-01  Roland McGrath  <roland@hack.frob.com>
16091
16092         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16093         output to the target.
16094
16095         * scripts/localplt.awk: New file.
16096         * elf/Makefile ($(objpfx)check-localplt): Target removed.
16097         (check-localplt-CFLAGS): Variable removed.
16098         ($(all-built-dso:=.jmprel)): New static pattern rule.
16099         (generated): Add those targets.
16100         (localplt-built-dso): New variable.
16101         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16102
16103         * elf/check-localplt.c: File removed.
16104
16105         * scripts/check-execstack.awk: New file.
16106         * elf/Makefile ($(objpfx)check-execstack): Target removed.
16107         (check-execstack-CFLAGS): Variable removed.
16108         ($(objpfx)check-execstack.h): Target removed.
16109         ($(objpfx)execstack-default): New target.
16110         (generated): Add that instead of check-execstack.h.
16111         ($(all-built-dso:=.phdr)): New static pattern rule.
16112         (generated): Add those targets.
16113         * elf/check-execstack.c: File removed.
16114
16115         * scripts/check-textrel.awk: New file.
16116         * elf/Makefile ($(objpfx)check-textrel): Target removed.
16117         (check-textrel-CFLAGS): Variable removed.
16118         (all-built-dso): Use := to define.o
16119         ($(all-built-dso:=.dyn)): New static pattern rule.
16120         (generated): Add those targets.
16121         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16122         * config.make.in (READELF): New substituted variable.
16123         * elf/check-textrel.c: File removed.
16124
16125 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
16126
16127         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16128         allow.
16129         * conform/data/ctype.h-data [C99-based standards] (isblank):
16130         Expect function.
16131         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16132         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16134         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16135         Specify type.  Require positive value.
16136         (EILSEQ): Likewise.
16137         (ERANGE): Likewise.
16138         [ISO || POSIX] (EILSEQ): Do not expect.
16139         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16140         Specify type.  Require positive value.
16141         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16142         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16143         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16144         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16145         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16146         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16147         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16148         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16149         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16150         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16151         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16152         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16153         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16154         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16155         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16156         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16157         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16158         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16159         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16160         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16161         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16162         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16163         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16164         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16165         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16166         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16167         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16168         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16169         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16170         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16171         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16172         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16173         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16174         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16175         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16176         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16177         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16178         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16179         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16180         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16181         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16182         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16183         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16184         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16185         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16186         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16187         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16188         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16189         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16190         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16191         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16192         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16193         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16194         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16195         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16196         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16197         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16198         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16199         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16200         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16201         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16202         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16203         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16204         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16205         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16206         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16207         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16208         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16209         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16210         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16211         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16212         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16213         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16214         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16215         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16216         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16217         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16218         Require >= 2.
16219         (FLT_ROUNDS): Expect as macro, not constant.
16220         (FLT_MANT_DIG): Use macro-int-constant.
16221         (DBL_MANT_DIG): Likewise.
16222         (LDBL_MANT_DIG): Likewise.
16223         (FLT_DIG): Likewise.
16224         (DBL_DIG): Likewise.
16225         (LDBL_DIG): Likewise.
16226         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
16227         (DBL_MIN_EXP): Likewise.
16228         (LDBL_MIN_EXP): Likewise.
16229         (FLT_MAX_EXP): Use macro-int-constant.
16230         (DBL_MAX_EXP): Likewise.
16231         (LDBL_MAX_EXP): Likewise.
16232         (FLT_MAX_10_EXP): Likewise.
16233         (DBL_MAX_10_EXP): Likewise.
16234         (LDBL_MAX_10_EXP): Likewise.
16235         (FLT_MAX): Use macro-constant.
16236         (DBL_MAX): Likewise.
16237         (LDBL_MAX): Likewise.
16238         (FLT_EPSILON): Use macro-constant.  Give upper bound.
16239         (DBL_EPSILON): Likewise.
16240         (LDBL_EPSILON): Likewise.
16241         (FLT_MIN): Likewise.
16242         (DBL_MIN): Likewise.
16243         (LDBL_MIN): Likewise.
16244         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16245         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16246         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16247         [ISO11] (FLT_HAS_SUBNORM): Likewise.
16248         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16249         [ISO11] (DBL_DECIMAL_DIG): Likewise.
16250         [ISO11] (FLT_DECIMAL_DIG): Likewise.
16251         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16252         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16253         [ISO11] (FLT_TRUE_MIN): Likewise.
16254         [ISO11] (LDBL_TRUE_MIN): Likewise.
16255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16256         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16257         (SCHAR_MIN): Use macro-int-constant.  Specify type.
16258         (SCHAR_MAX): Likewise.
16259         (UCHAR_MAX): Likewise.
16260         (CHAR_MIN): Likewise.
16261         (CHAR_MAX): Likewise.
16262         (MB_LEN_MAX): Use macro-int-constant.
16263         (SHRT_MIN): Use macro-int-constant.  Specify type.
16264         (SHRT_MAX): Likewise.
16265         (USHRT_MAX): Likewise.
16266         (INT_MAX): Likewise.
16267         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
16268         bound negative.
16269         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
16270         bound with "U".
16271         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
16272         bound with "L".
16273         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
16274         bound negative.  Suffix upper bound with "L".
16275         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
16276         bound with "UL".
16277         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16278         Specify type.
16279         [C99-based standards] (LLONG_MAX): Likewise.
16280         [C99-based standards] (ULLONG_MAX): Likewise.
16281         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
16282         == 0.
16283         [ISO11] (max_align_t): Require type.
16284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16285
16286         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16287         from $CFLAGS, without defining away __attribute__ calls.
16288         (checknamespace): Use $CFLAGS_namespace.
16289
16290         * conform/conformtest.pl (@keywords): Only include C99 keywords
16291         for standards based on C99 or C11.
16292
16293         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16294         Disable tests.
16295         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16296         UNIX98]: Likewise.
16297
16298         * conform/conformtest.pl: Handle "macro-int-constant" and test for
16299         usability of symbols in #if.
16300
16301         * conform/conformtest.pl: If macro or constant types start
16302         "promoted:", expect the symbol to be of the following type
16303         promoted by the integer promotions.
16304
16305         * conform/conformtest.pl: Parse all "constant" and "macro" lines
16306         in one place.  Also handle "macro-constant".
16307
16308         * conform/conformtest.pl: Only accept expected macro values with
16309         "==".  Parse all "macro" lines in one place.
16310         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16311
16312         * conform/conformtest.pl: Handle braced types on "constant" lines
16313         instead of handling "typed-constant".
16314         * conform/data/signal.h-data: Use "constant" instead of
16315         "typed-constant".
16316
16317         * conform/conformtest.pl: Handle "optional-" at start of lines in
16318         one place rather than duplicating several cases.  Handle each
16319         format of "macro" line with initial "optional-".
16320
16321         * conform/conformtest.pl: Only accept expected constant or
16322         optional-constant values with "==".  Parse all "constant" lines in
16323         one place.  Parse all "optional-constant" lines in one place.
16324         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16325         * conform/data/fmtmsg.h-data: Likewise.
16326         * conform/data/netinet/in.h-data: Likewise.
16327         * conform/data/tar.h-data: Likewise.
16328         * conform/data/limits.h-data: Use "==" form on "constant" and
16329         "optional-constant" lines.
16330
16331         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16332         Use -std=c99 for XOPEN2K.
16333         (@knownproblems): Remove.
16334         (newtoken): Don't check %isknown.
16335
16336         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16337         Do not expect macro.
16338         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16339         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16340         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16341         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16342         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16343         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16344         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16345         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16346         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16347         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16348         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16349         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16350         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16351         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16352         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16353         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16354         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16355         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16356         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16357         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16358         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16359         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16360         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16361         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16362         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16363         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16364         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16365         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16366         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16367         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16368         [XPG3] (acosh): Likewise.
16369         [XPG3] (asinh): Likewise.
16370         [XPG3] (atanh): Likewise.
16371         [XPG3] (cbrt): Likewise.
16372         [XPG3] (expm1): Likewise.
16373         [XPG3] (ilogb): Likewise.
16374         [XPG3] (log1p): Likewise.
16375         [XPG3] (logb): Likewise.
16376         [XPG3] (nextafter): Likewise.
16377         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16378         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16379         [XPG3] (remainder): Likewise.
16380         [XPG3] (rint): Likewise.
16381         [XPG3 || XPG4 || UNIX98] (round): Likewise.
16382         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16383         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16384         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16385         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16386         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16387         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16388         [UNIX98 || XOPEN2K] (scalb): Expect.
16389         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16390         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16391         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16392         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16393         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16394         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16395         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16396         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16397         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16398         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16399         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16400         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16401         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16402         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16403         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16404         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16405         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16406         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16407         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16408         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16409         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16410         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16411         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16412         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16413         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16414         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16415         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16416         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16417         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16418         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16419         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16420         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16421         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16422         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16423         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16424         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16425         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16426         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16427         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16428         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16429         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16430         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16431         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16432         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16433         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16434         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16435         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16436         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16437         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16438         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16439         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16440         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16441         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16442         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16443         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16444         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16445         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16446         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16447         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16448         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16449         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16450         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16451         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16452         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16453         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16454         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16455         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16456         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16457         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16458         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16459         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16460         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16461         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16462         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16463         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16464         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16465         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16466         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16467         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16468         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16469         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16470         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16471         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16472         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16473         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16474         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16475         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16476         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16477         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16478         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16479         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16480         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16481         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16482         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16483         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16484         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16485         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16486         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16487         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16488         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16489         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16490         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16491         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16492         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16493         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16494         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16495         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16496         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16497         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16498         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16499         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16500         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16501         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16502         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16503         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16504         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16505         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16506         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16507         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16508         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16509         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16510         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16511         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16512         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16513         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16514         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16515         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16516         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16517         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16518         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16519         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16520         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16521         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16522         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16523         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16524         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16525         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16526
16527         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16528         _XOPEN_SOURCE_EXTENDED for XPG4.
16529
16530         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16531
16532         * Makeconfig (localtime): Remove variable.
16533         (inst_localtime-file): Likewise.
16534
16535 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16536
16537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16538         Update.
16539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16540         Update.
16541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16542         Update.
16543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16544         Update.
16545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16546         Update.
16547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16548         Update.
16549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16550         Update.
16551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16552         Update.
16553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16554         Update.
16555
16556 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
16557
16558         [BZ #2550]
16559         [BZ #2570]
16560         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16561         comparisons to determine direction to adjust input.
16562         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16563         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16564         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16565         Likewise.
16566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16567         Likewise.
16568         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16569         Likewise.
16570         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16571         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16572         Likewise.
16573         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16574         Likewise.
16575         * math/libm-test.inc (nexttoward_test): Add more tests.
16576
16577 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16578
16579         [BZ #14040]
16580         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16581         in version GLIBC_2.1, not GLIBC_2.0.
16582         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16583         Likewise.
16584
16585 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
16586
16587         [BZ #13942]
16588         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16589         (1 - x) * (1 + x).
16590         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16591         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16592         * math/libm-test.inc (acos_test): Add more tests.
16593         (asin_test): Likewise.
16594         * sysdeps/i386/fpu/libm-test-ulps: Update.
16595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16596
16597         [BZ #14034]
16598         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16599         of square root.
16600         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16601         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16602         * math/libm-test.inc (acos_test_tonearest): New function.
16603         (acos_test_towardzero): Likewise.
16604         (acos_test_downward): Likewise.
16605         (acos_test_upward): Likewise.
16606         (asin_test_tonearest): Likewise.
16607         (asin_test_towardzero): Likewise.
16608         (asin_test_downward): Likewise.
16609         (asin_test_upward): Likewise.
16610         (main): Call the new functions.
16611         * sysdeps/i386/fpu/libm-test-ulps: Update.
16612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16613
16614         [BZ #13884]
16615         [BZ #13924]
16616         * math/e_exp10.c: Include <float.h>.
16617         (__ieee754_exp10): Handle underflow here rather than multiplying
16618         large negative argument by M_LN10.
16619         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16620         of __ieee754_expf.
16621         * math/e_exp10l.c: Include <float.h>.
16622         (__ieee754_exp10l): Handle underflow here rather than multiplying
16623         large negative argument by M_LN10l.
16624         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
16625         spurious overflow exception on underflow.
16626
16627 2012-04-29  Marek Polacek  <polacek@redhat.com>
16628
16629         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16630         (__fortify_function): New macro.
16631         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16632         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16633         __extern_always_inline.
16634         * libio/bits/stdio2.h: Likewise.
16635         * libio/bits/stdio.h: Likewise.
16636         * string/string.h: Likewise.
16637         * string/bits/string3.h: Likewise.
16638         * include/stdio.h: Likewise.
16639         * stdlib/bits/stdlib.h: Likewise.
16640         * stdlib/stdlib.h: Likewise.
16641         * rt/bits/mqueue2.h: Likewise.
16642         * rt/mqueue.h: Likewise.
16643         * posix/bits/unistd.h: Likewise.
16644         * posix/unistd.h: Likewise.
16645         * io/bits/poll2.h: Likewise.
16646         * io/bits/fcntl2.h: Likewise.
16647         * io/fcntl.h: Likewise.
16648         * io/sys/poll.h: Likewise.
16649         * misc/bits/syslog.h: Likewise.
16650         * misc/bits/syslog-ldbl.h: Likewise.
16651         * misc/sys/syslog.h: Likewise.
16652         * socket/bits/socket2.h: Likewise.
16653         * socket/sys/socket.h: Likewise.
16654         * debug/tst-chk1.c: Likewise.
16655         * wcsmbs/bits/wchar2.h: Likewise.
16656         * wcsmbs/bits/wchar-ldbl.h: Likewise.
16657         * wcsmbs/wchar.h: Likewise.
16658
16659 2012-04-29  Andreas Jaeger  <aj@suse.de>
16660
16661         * Makerules (tests): Remove enable-check-abi protection.
16662         (check-abi-warn): Remove.
16663         (check-abi-%): Remove check-abi-warn usage.
16664
16665         * configure.in: Remove check-abi configure option.
16666         * configure: Regenerated.
16667         * config.make.in (enable-check-abi): Remove.
16668
16669 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
16670
16671         [BZ #14033]
16672         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16673         double functions to double *_finite functions.
16674
16675         [BZ #13941]
16676         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16677         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16678         LDBL_MIN_EXP.
16679         * stdio-common/Makefile (tests): Add tst-sprintf3.
16680         * stdio-common/tst-sprintf3.c: New file.
16681
16682         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16683         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16684
16685 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16686
16687         * conform/conformtest.pl: Remove duplicate typed-constant
16688         handling.
16689
16690 2012-04-28  David S. Miller  <davem@davemloft.net>
16691
16692         * Makerules (%.abilist): Add vpath on sysdep_dirs.
16693         (check-abi-%): Remove AWK script prerequisite and explicit
16694         abilist directory.
16695         (check-abi): Rewrite to just diff the symlist with the abilist.
16696         (config-tls, config-abi-config): Delete, no longer used.
16697         (update-abi-%): Remove AWK script and explicit abilist directory.
16698         (update-abi): Rewrite to simply compare and conditionally copy the
16699         symlist and the sysdep abilist file.  Remove update-abi-config
16700         checks.
16701         * abilist/ld.abilist: Remove.
16702         * abilist/libBrokenLocale.abilist: Remove.
16703         * abilist/libanl.abilist: Remove.
16704         * abilist/libcrypt.abilist: Remove.
16705         * abilist/libdl.abilist: Remove.
16706         * abilist/librt.abilist: Remove.
16707         * abilist/libthread_db.abilist: Remove.
16708         * abilist/libutil.abilist: Remove.
16709         * scripts/extract-abilist.awk: Remove.
16710         * scripts/merge-abilist.awk: Remove.
16711         * sysdeps/generic/libcidn.abilist: New file.
16712         * sysdeps/generic/libnss_compat.abilist: New file.
16713         * sysdeps/generic/libnss_db.abilist: New file.
16714         * sysdeps/generic/libnss_dns.abilist: New file.
16715         * sysdeps/generic/libnss_files.abilist: New file.
16716         * sysdeps/generic/libnss_hesiod.abilist: New file.
16717         * sysdeps/generic/libnss_nis.abilist: New file.
16718         * sysdeps/generic/libnss_nisplus.abilist: New file.
16719         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16720         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16721         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16722         file.
16723         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16724         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16725         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16726         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16727         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16728         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16729         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16730         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16731         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16732         file.
16733         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16734         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16735         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16736         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16737         file.
16738         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16739         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16740         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16741         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16742         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16743         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16744         file.
16745         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16746         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16747         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16748         file.
16749         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16751         New file.
16752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16753         New file.
16754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16755         New file.
16756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16757         New file.
16758         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16759         New file.
16760         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16761         New file.
16762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16763         New file.
16764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16765         New file.
16766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16767         New file.
16768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16769         New file.
16770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16771         New file.
16772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16773         New file.
16774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16775         New file.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16777         file.
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16779         New file.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16781         New file.
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16783         file.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16785         New file.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16787         New file.
16788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16789         file.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16791         New file.
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16793         New file.
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16795         New file.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16797         New file.
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16799         New file.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16801         New file.
16802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16804         file.
16805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16806         New file.
16807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16808         file.
16809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16810         file.
16811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16812         file.
16813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16814         file.
16815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16816         file.
16817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16818         New file.
16819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16820         file.
16821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16822         file.
16823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16824         New file.
16825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16826         file.
16827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16829         file.
16830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16831         New file.
16832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16833         file.
16834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16835         file.
16836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16837         file.
16838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16839         file.
16840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16841         file.
16842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16843         New file.
16844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16845         file.
16846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16847         file.
16848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16849         New file.
16850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16851         file.
16852         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16853         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16854         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16855         file.
16856         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16857         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16858         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16859         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16860         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16861         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16862         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16863         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16864         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16865         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16868         file.
16869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16870         New file.
16871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16872         file.
16873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16874         file.
16875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16876         file.
16877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16878         file.
16879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16880         file.
16881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16882         New file.
16883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16884         New file.
16885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16886         file.
16887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16888         New file.
16889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16890         file.
16891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16893         file.
16894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16895         New file.
16896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16897         file.
16898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16899         file.
16900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16901         file.
16902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16903         file.
16904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16905         file.
16906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16907         New file.
16908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16909         New file.
16910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16911         file.
16912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16913         New file.
16914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16915         file.
16916
16917 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16918
16919         * conform/conformtest.pl: Fix typo in handling typed-constant from
16920         allow-header.
16921
16922 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16923
16924         * README: Cut down references to pre-2.6 Linux kernels and
16925         Linuxthreads.  Update lists of configurations in libc and ports
16926         and sort alphabetically.  Say "or newer" with Linux kernel version
16927         requirements.
16928
16929         * config.h.in [IS_IN_build]: Allow compiling without optimization.
16930
16931 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16932
16933         [BZ #887]
16934         * math/libm-test.inc (logb_test_downward): New test to expose
16935         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16936         rounding mode.
16937
16938 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16939
16940         [BZ #14027]
16941         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16942         to be done.
16943         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16944         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16945
16946 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
16947
16948         * sysdeps/unix/i386/brk.S: Remove file.
16949         * sysdeps/unix/i386/dl-brk.S: Likewise.
16950         * sysdeps/unix/i386/pipe.S: Likewise.
16951         * sysdeps/unix/i386/sigreturn.S: Likewise.
16952         * sysdeps/unix/i386/syscall.S: Likewise.
16953         * sysdeps/unix/i386/vfork.S: Likewise.
16954         * sysdeps/unix/i386/wait.S: Likewise.
16955
16956         * sysdeps/unix/common/tcsendbrk.c: Move to ...
16957         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16958
16959         * configure.in (arm*-none*): Do not allow without
16960         --enable-hacker-mode.
16961         (netbsd*): Remove case setting base_os.
16962         (386bsd*): Likewise.
16963         (freebsd*): Likewise.
16964         (bsdi*): Likewise.
16965         (osf*): Likewise.
16966         (sunos*): Likewise.
16967         (ultrix*): Likewise.
16968         (newsos*): Likewise.
16969         (dynix*): Likewise.
16970         (*bsd*): Likewise.
16971         (sysv*): Likewise.
16972         (isc*): Likewise.
16973         (esix*): Likewise.
16974         (sco*): Likewise.
16975         (minix*): Likewise.
16976         (irix4*): Likewise.
16977         (irix6*): Likewise.
16978         (solaris[2-9]*): Likewise.
16979         (none): Likewise.
16980         * configure: Regenerated.
16981
16982 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16983
16984         [BZ #11521]
16985         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16986         overflow or cancellation in calculating denominator.
16987         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16989         down expression to avoid unexpected rounding in newer GCCs.
16990         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16991
16992 2012-04-26  David S. Miller  <davem@davemloft.net>
16993
16994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16995         long-double compat symbols.
16996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17009
17010 2012-04-25  David S. Miller  <davem@davemloft.net>
17011
17012         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17013         HWCAP_* values only after the memory barriers have been defined.
17014         (atomic_full_barrier): Define.
17015         (atomic_read_barrier): Define.
17016         (atomic_write_barrier): Define.
17017
17018 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17019
17020         * shlib-versions: Add libgcc_s version information.
17021         * sysdeps/generic/libgcc_s.h: Remove.
17022         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17023         libgcc_s.h.
17024         * sysdeps/gnu/unwind-resume.c: Likewise.
17025         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17026
17027 2012-04-25  David S. Miller  <davem@davemloft.net>
17028
17029         * sysdeps/unix/sparc/brk.S: Delete.
17030         * sysdeps/unix/sparc/dl-brk.S: Delete.
17031         * sysdeps/unix/sparc/pipe.S: Delete.
17032         * sysdeps/unix/sparc/sysdep.S: Delete.
17033         * sysdeps/unix/sparc/sysdep.h: Delete.
17034         * sysdeps/unix/sparc/vfork.S: Delete.
17035         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17036         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17037         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17038         ret_ERRVAL, r0, r1, MOVE): Define.
17039         (JUMPTARGET): Remove.
17040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17041         sysdeps/unix/sparc/sysdep.h
17042         (ENTRY, END): Remove.
17043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17044
17045 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
17046
17047         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17048         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17049         -DIS_IN_build.
17050
17051         * timezone/README: Update upstream location and email address for
17052         tzcode and tzdata.
17053         * timezone/zdump.c: Update from tzcode 2012b.
17054         * timezone/zic.c: Likewise.
17055
17056         * configure.in (libc_cv_as_needed): Remove test.
17057         * configure: Regenerated.
17058         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17059         conditional definition.
17060         [$(have-as-needed) != yes] (no-as-needed): Likewise.
17061         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17062         * config.make.in (have-as-needed): Remove variable.
17063
17064 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17065             Paul Pluzhnikov  <ppluzhnikov@google.com>
17066
17067         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17068         strings correctly.
17069
17070 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17071
17072         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17073         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17074         * sysdeps/sh/strlen.S: Likewise.
17075
17076 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
17077
17078         * sysdeps/unix/fork.S: Remove file.
17079         * sysdeps/unix/i386/fork.S: Likewise.
17080         * sysdeps/unix/sparc/fork.S: Likewise.
17081
17082         * sysdeps/unix/system.c: Remove file.
17083         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17084
17085         * sysdeps/unix/getegid.S: Remove file.
17086         * sysdeps/unix/geteuid.S: Likewise.
17087
17088 2012-04-24  Roland McGrath  <roland@hack.frob.com>
17089
17090         * scripts/check-localplt.awk: New file.
17091         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17092         of diff.
17093         * scripts/data/localplt-generic.data: Add a comment.
17094
17095         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17096         NODE when __dir_mkfile failed.
17097         * sysdeps/mach/hurd/symlinkat.c: Likewise.
17098         Reported by Ludovic Courtès <ludo@gnu.org>.
17099
17100 2012-04-24  Andreas Jaeger  <aj@suse.de>
17101
17102         * Makerules (common-clean): Also remove gen-as-const-headers
17103         files.
17104
17105 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
17106
17107         * Makerules (native-compile): Do not change working directory for
17108         build.  Use $(OUTPUT_OPTION) in command.
17109         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17110
17111 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17112
17113         [BZ #13886]
17114         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17115         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17116         * math/libm-test.inc (floor_test): Add more tests.
17117         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17118
17119 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
17120
17121         * sysdeps/unix/getdents.c: Remove file.
17122         * sysdeps/unix/sysv/getdents.c: Likewise.
17123         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17124
17125         * sysdeps/unix/syscalls.list (madvise): Add syscall from
17126         sysdeps/unix/mman/syscalls.list.
17127         (mmap): Likewise.
17128         (mprotect): Likewise.
17129         (msync): Likewise.
17130         (munmap): Likewise.
17131         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17132         * sysdeps/unix/mman/syscalls.list: Remove.
17133         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17134
17135         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17136         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17137         * configure: Regenerated.
17138         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17139         $(libgcc_s_suffix).
17140         * config.make.in (libgcc_s_suffix): Remove variable.
17141
17142 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
17143
17144         * sysdeps/unix/sysv/gethostname.c: Move to ...
17145         * sysdeps/posix/gethostname.c: ... here.
17146
17147         * sysdeps/unix/execve.S: Remove file.
17148
17149         * sysdeps/unix/_exit.S: Remove file.
17150
17151 2012-04-23  Andreas Jaeger  <aj@suse.de>
17152
17153         [BZ #13739]
17154         * manual/Makefile: Remove make dist support, there's no
17155         need for a stand-alone documentation tar ball.
17156         (TEXI2DVI): Define always, it's not in Makeconfig.
17157         (dist): Removed.
17158         (tar-it): Removed.
17159         (edition): Removed.
17160         (glibc-doc-$(edition).tar): Removed
17161         (%.Z): Removed.
17162         (%.gz): Removed.
17163         (%.uu): Removed.
17164         (ETAGS): Remove, it's in Makeconfig.
17165         (move-if-change): Remove, it's in Makeconfig.
17166
17167 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
17168
17169         [BZ #13970]
17170         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17171         (strtod, strtof, strtold, strtol, strtoul, strtoq)
17172         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17173         (strtod_l, strtof_l, strtold_l): Remove __wur.
17174         It is not necessarily an error to ignore strtol's return value.
17175         One can reliably look at the stored endptr to decide whether
17176         the number had valid syntax.
17177
17178 2012-04-21  Andreas Jaeger  <aj@suse.de>
17179
17180         [BZ #13739]
17181         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17182
17183 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
17184
17185         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17186         * sysdeps/unix/sysv/Versions: Remove file.
17187
17188 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
17189
17190         [BZ #13927]
17191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17192
17193 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
17194
17195         [BZ #7064]
17196         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17197         version from __vm86.
17198
17199 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
17200
17201         * sysdeps/unix/common/lxstat.c: Remove file.
17202         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17203
17204         * sysdeps/unix/sysv/Makefile: Remove file.
17205
17206         * sysdeps/unix/sysv/direct.h: Remove file.
17207
17208         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17209         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17210         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17211         * sysdeps/unix/sysv/bits/signum.h: Likewise.
17212         * sysdeps/unix/sysv/bits/stat.h: Likewise.
17213         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17214         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17215
17216         * sysdeps/unix/sysv/setrlimit.c: Remove file.
17217
17218         * sysdeps/unix/xmknod.c: Remove file.
17219         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17220
17221         * sysdeps/unix/sysv/settimeofday.c: Remove file.
17222
17223         * sysdeps/unix/sysv/i386/time.S: Remove file.
17224
17225         * sysdeps/unix/fxstat.c: Remove file.
17226         * sysdeps/unix/xstat.c: Likewise.
17227         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17228
17229         * sysdeps/unix/sysv/sigaction.c: Remove file.
17230
17231         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17232         (sysdep_headers): Remove variable.
17233         [termio.h not in sysdep_headers] (generated): Likewise.
17234         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17235         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17236         * sysdeps/unix/sysv/tcdrain.c: Likewise.
17237         * sysdeps/unix/sysv/tcflow.c: Likewise.
17238         * sysdeps/unix/sysv/tcflush.c: Likewise.
17239         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17240         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17241         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17242         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17243         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17244
17245         * sysdeps/unix/siglist.c: Remove file.
17246
17247         * sysdeps/unix/getppid.S: Remove file.
17248
17249         * sysdeps/unix/mkdir.c: Remove file.
17250         * sysdeps/unix/rmdir.c: Likewise.
17251
17252 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
17253
17254         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17255         ERR_MAX value.
17256         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17257         errlist-compat value.
17258
17259 2012-04-18  David S. Miller  <davem@davemloft.net>
17260
17261         * sysdeps/generic/memcopy.h (reg_char): Delete.
17262         * debug/strcat_chk.c: Use char, not reg_char.
17263         * debug/strcpy_chk.c: Likewise.
17264         * debug/strncat_chk.c: Likewise.
17265         * debug/strncpy_chk.c: Likewise.
17266         * string/memchr.c: Likewise.
17267         * string/memrchr.c: Likewise.
17268         * string/rawmemchr.c: Likewise.
17269         * string/strcat.c: Likewise.
17270         * string/strchr.c: Likewise.
17271         * string/strchrnul.c: Likewise.
17272         * string/strcmp.c: Likewise.
17273         * string/strcpy.c: Likewise.
17274         * string/strncat.c: Likewise.
17275         * string/strncmp.c: Likewise.
17276         * string/strncpy.c: Likewise.
17277
17278 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
17279
17280         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17281         __builtin_memcopy is called when src and dest ranges are known to not
17282         overlap.
17283
17284 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
17285
17286         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17287         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17288         fwd_align_merge macro call.
17289         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17290         bwd_align_merge macro call.
17291         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17292
17293 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
17294
17295         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17296         bwd_align_merge macros.
17297         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17298         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17299         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17300
17301 2012-04-18  David S. Miller  <davem@davemloft.net>
17302
17303         * sysdeps/sparc/sparc64/memcopy.h: Delete.
17304
17305 2012-04-18  Andreas Jaeger  <aj@suse.de>
17306
17307         [BZ# 6794]
17308         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17309         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17310         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17311
17312         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17313         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17314         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17315
17316         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17317         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17318         Adjust for changed ldbl-128 files.
17319
17320         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17321         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17322         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17323
17324 2012-04-17  David S. Miller  <davem@davemloft.net>
17325
17326         * sysdeps/sparc/sparc32/memcopy.h: Delete.
17327
17328 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
17329
17330         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17331         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17332         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17333         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17334         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17335         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17336
17337 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17338
17339         [BZ #6794]
17340         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17341         * math/libm-test.inc: Add ilogb errno and exception tests.
17342         * math/w_ilogb.c: New file: ilogb wrapper.
17343         * math/w_ilogbf.c: New file: ilogbf wrapper.
17344         * math/w_ilogbl.c: New file: ilogbl wrapper.
17345         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17346         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17347         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17348         exception being thrown with 0.0 as argument.
17349         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17350         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17351         exception being thrown with 0.0 as argument.
17352         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17353         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17354         exception being thrown with 0.0 as argument.
17355         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17356         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17357         exception being thrown with 0.0 as argument.
17358         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17359         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17360         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17361         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17362         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17363         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17364         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17365         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17366         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17367
17368 2012-04-17  Petr Baudis  <pasky@ucw.cz>
17369
17370         * include/sys/uio.h: Change __vector to __iovec to avoid clash
17371         with altivec.
17372
17373 2012-04-16  Marek Polacek  <polacek@redhat.com>
17374
17375         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17376
17377 2012-04-16  Marek Polacek  <polacek@redhat.com>
17378
17379         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17380         operands of fdivp instruction.
17381
17382 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
17383
17384         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17385         * elf/tst-auditmod3b.c: Likewise.
17386         * elf/tst-auditmod4b.c: Likewise.
17387         * elf/tst-auditmod5b.c: Likewise.
17388         * elf/tst-auditmod6b.c: Likewise.
17389         * elf/tst-auditmod6c.c: Likewise.
17390         * elf/tst-auditmod7b.c: Likewise.
17391         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17392         * sysdeps/x86_64/preconfigure.in: Likewise.
17393         * sysdeps/x86_64/preconfigure: Regenerated.
17394
17395 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
17396
17397         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17398         __ILP32__.
17399
17400 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
17401
17402         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17403         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17404
17405 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
17406
17407         [BZ #13973]
17408         * locale/iso-639.def: Fix gl language name. Spotted by
17409         Yaron Shahrabani.
17410
17411 2012-04-12  Roland McGrath  <roland@hack.frob.com>
17412
17413         [BZ #2074]
17414         * libio/libio.h (__io_write_fn): Update comment.
17415
17416 2012-04-12  Petr Baudis  <pasky@ucw.cz>
17417
17418         [BZ #2074]
17419         * stdio.texi (Hook Functions): The user provided writer function
17420         is not allowed to return -1.
17421
17422 2012-04-11  David S. Miller  <davem@davemloft.net>
17423
17424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17425
17426 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
17427
17428         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17429         Add a leading slash to rtkaio.
17430
17431 2012-04-11  Jim Meyering  <meyering@redhat.com>
17432
17433         [BZ #11959]
17434         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17435         It is not necessarily an error to ignore fwrite's return
17436         value.  One can reliably use ferror to test for errors after
17437         the fact.
17438
17439 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
17440
17441         * bits/types.h (__snseconds_t): New type.
17442         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17443
17444         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17445         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17446         (__SNSECONDS_T_TYPE): Likewise.
17447         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17448         (__SNSECONDS_T_TYPE): Likewise.
17449         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17450         (__SNSECONDS_T_TYPE): Likewise.
17451
17452 2012-04-10  Andreas Jaeger  <aj@suse.de>
17453
17454         [BZ #2636]
17455         * manual/time.texi (Processor Time): Return type of times is
17456         elapsed real time since an arbitrary point in the past.
17457         (CPU Time): Move CLK_TCK from here...
17458         (Processor Time): ...to here.  Correct description.
17459         * manual/conf.texi (Constants for Sysconf): Correct description of
17460         _SC_CLK_TCK.
17461
17462 2012-04-10  David S. Miller  <davem@davemloft.net>
17463
17464         [BZ #13967]
17465         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17466         where the is a gap between DT_REL(A) and DT_JMPREL.
17467
17468 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
17469
17470         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17471         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17472         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17473
17474 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17475
17476         * elf/dl-support.c (_dl_inhibit_cache): New variable.
17477         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17478         (dl_main): Handle --inhibit-cache.
17479         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17480         _dl_inhibit_cache.
17481         * elf/dl-load.c (_dl_map_object): Use it.
17482         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17483
17484 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
17485
17486         [BZ #13872]
17487         * sysdeps/i386/fpu/e_powl.S (p78): New object.
17488         (__ieee754_powl): Saturate large exponents rather than testing for
17489         overflow of y*log2(x).
17490         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17491         * math/libm-test.inc (pow_test): Do not permit spurious overflow
17492         exceptions.
17493
17494         [BZ #11521]
17495         * math/s_ctan.c: Include <float.h>.
17496         (__ctan): Avoid internal overflow or cancellation in calculating
17497         denominator.
17498         * math/s_ctanf.c: Likewise.
17499         * math/s_ctanl.c: Likewise.
17500         * math/s_ctanh.c: Likewise.
17501         * math/s_ctanhf.c: Likewise.
17502         * math/s_ctanhl.c: Likewise.
17503         * math/libm-test.inc (ctan_test): Add more tests.
17504         (ctanh_test): Likewise.
17505         * sysdeps/i386/fpu/libm-test-ulps: Update.
17506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17507
17508 2012-04-09  Andreas Jaeger  <aj@suse.de>
17509
17510         [BZ #6894]
17511         * manual/filesys.texi (Directory Entries): Mention that d_namlen
17512         is an optional BSD extension.
17513
17514         [BZ #10254]
17515         * manual/stdio.texi (Opening Streams): Document additional fopen
17516         parameters.
17517
17518 2012-04-09  Roland McGrath  <roland@hack.frob.com>
17519
17520         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17521         %eax without telling the compiler.
17522
17523 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
17524
17525         [BZ # 13963]
17526         * manual/install.texi: Use sourceware.org.
17527
17528 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
17529
17530         [BZ #13873]
17531         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17532         (__ieee754_pow): Generate overflow and underflow using huge*huge
17533         and tiny*tiny rather than just returning constant infinity or zero
17534         for large exponents.
17535         * math/libm-test.inc (pow_test): Require overflow exceptions for
17536         applicable cases of large exponents.
17537
17538         [BZ #706]
17539         * sysdeps/i386/fpu/e_pow.S (p10): New object.
17540         (__ieee754_pow): Use iterative multiplication algorithm only for
17541         integer exponents with absolute value below 1024.  Check for odd
17542         integer exponents when using algorithm for real exponents.
17543         * math/libm-test.inc (pow_test): Add more tests.
17544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17545
17546 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
17547
17548         [BZ #13705]
17549         * math/libm-test.inc (exp_test): Do not allow overflow exception
17550         on underflow test.
17551
17552 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
17553
17554         [BZ #13705]
17555         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17556         instead of __kernel_standard_f.
17557
17558 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
17559
17560         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17561         * sysdeps/x86_64/memset_chk.S: Likewise.
17562
17563 2012-04-08  Andreas Jaeger  <aj@suse.de>
17564
17565         [BZ #10153]
17566         * manual/startup.texi (Environment Access): Describe return value
17567         for putenv and setenv.
17568
17569         [BZ #6895]
17570         * manual/filesys.texi (Directory Entries): Add description for
17571         DT_LNK.
17572
17573         [BZ #6890]
17574         * manual/filesys.texi (Directory Entries): Clarify that it's file
17575         system not operating system in the description of DT_UNKNOWN.
17576
17577         [BZ #6578]
17578         * manual/syslog.texi (closelog): Fix reference, it's openlog.
17579
17580 2012-04-08  Stephen Compall  <s11@member.fsf.org>
17581
17582         [BZ #6649]
17583         * manual/llio.texi (Opening and Closing Files): Add cross
17584         reference to explain mode argument.
17585
17586 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
17587
17588         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17589         * sysdeps/x86_64/memset_chk.S: Likewise.
17590
17591 2012-04-07  David S. Miller  <davem@davemloft.net>
17592
17593         * elf/elf.h (R_SPARC_WDISP10): Define.
17594         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17595         R_SPARC_SIZE32.
17596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17597         R_SPARC_SIZE64 and R_SPARC_H34.
17598
17599 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
17600
17601         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17602         conditions and remove no longer applicable assertion.
17603
17604 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17605
17606         * bits/byteswap.h: Include <features.h>.
17607         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17608         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17609
17610 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17611
17612         * bits/byteswap.h (__bswap_16): Removed.
17613         Include <bits/byteswap-16.h> to get __bswap_16.
17614         * sysdeps/i386/bits/byteswap.h: Likewise.
17615         * sysdeps/s390/bits/byteswap.h: Likewise.
17616         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17617         * bits/byteswap-16.h: New file.
17618         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17619         * sysdeps/s390/bits/byteswap-16.h: Likewise.
17620         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17621         * string/Makefile (headers): Add bits/byteswap-16.h.
17622
17623 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17624
17625         [BZ #13895]
17626         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17627         extra indirection.
17628         * nss/Makefile (tests-static, tests): Add tst-nss-static.
17629         * nss/tst-nss-static.c: New.
17630
17631 2012-04-06  Robert Millan  <rmh@gnu.org>
17632
17633         [BZ #6486]
17634         * manual/llio.texi (File Position Primitive): lseek
17635         refers to WHENCE when it really means OFFSET.
17636
17637 2012-04-06  Andreas Jaeger  <aj@suse.de>
17638
17639         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17640         strncmp declarations.
17641
17642         * abilist/libc.abilist: Add __poll and __ppoll.
17643
17644 2012-04-05  David S. Miller  <davem@davemloft.net>
17645
17646         * scripts/check-local-headers.sh: Accept a host triplet in the
17647         path matched by the exclude regexp.
17648
17649         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17650         definition.
17651         * sysdeps/powerpc/powerpc32/dl-machine.h
17652         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17653         * sysdeps/s390/s390-32/dl-machine.h
17654         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17655         * sysdeps/sparc/sparc32/dl-machine.h
17656         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17657         * sysdeps/sparc/sparc64/dl-machine.h
17658         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17659
17660         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17661         lazy binding.
17662         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17663         undefined symbol errors.
17664
17665         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17666         DT_NEEDED entries.
17667
17668 2012-04-05  Michael Matz  <matz@suse.de>
17669
17670         [BZ #13592]
17671         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17672
17673 2012-04-05  Andreas Jaeger  <aj@suse.de>
17674
17675         [BZ #13908]
17676         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17677         comment.
17678
17679 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17680
17681         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17682         which ROUND is no valid rounding mode.
17683
17684 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17685
17686         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17687         read again.
17688         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17689
17690 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17691
17692         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17693         an exception using FPU order intentionally.
17694
17695 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17696
17697         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17698         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17699         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17700         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17701
17702 2012-04-05  Simon Josefsson  <simon@josefsson.org>
17703
17704         [BZ #12340]
17705         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17706         EINVAL when BUFLEN is too smal.
17707
17708 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17709
17710         [BZ #13553]
17711         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17712         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17713
17714 2012-04-03  Andreas Jaeger  <aj@suse.de>
17715
17716         [BZ #13938]
17717         * manual/setjmp.texi (System V contexts): Fix sentence.
17718
17719         [BZ #13926]
17720         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17721         New macro for this case.
17722         [!__GNUC__] (__bswap_64): New inline function for this case.
17723         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17724         * bits/byteswap.h: Likewise.
17725         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17726         ull, guard with __GLIBC_HAVE_LONG_LONG.
17727
17728         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17729         __GLIBC_HAVE_LONG_LONG.
17730
17731         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17732         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17733
17734 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17735
17736         [BZ #13691]
17737         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17738         inptr and inend, rather than using last_ch.
17739
17740 2012-04-02  David S. Miller  <davem@davemloft.net>
17741
17742         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17743         * stdio-common/printf-parse.h (read_int): Change return type to
17744         'int', return -1 on INT_MAX overflow.
17745         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17746         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17747         overflows INT_MAX.  Check for overflow of in-format-string precision
17748         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17749         SIZE_MAX not INT_MAX for integer overflow test.
17750         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17751         skip the construct in the format string but do not record anything.
17752         * stdio-common/bug22.c: Adjust to test both width/prevision
17753         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17754         explicitly for proper errno values.
17755
17756 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17757
17758         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17759         CHAR_MAX.
17760         * string/test-strcmp.c [! WIDE]: Likewise.
17761         * time/tst-mktime2.c: Likewise for INT_MAX.
17762         * string/test-string.h: #include <sys/param.h> for MIN.
17763
17764         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17765         * sysdeps/i386/init-first.c (init): Likewise.
17766         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17767         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17768         * sysdeps/sh/init-first.c (init): Likewise.
17769
17770 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17771
17772         * po/ru.po: Update from translation team.
17773         * po/vi.po: Likewise.
17774
17775 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17776
17777         * resolv/nss_dns/dns-host.c: Merge copyright years.
17778
17779 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17780
17781         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17782         Optimize memcpy with prefetch if
17783         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17784         src, dst pointers have unequal 16 byte alignments.
17785
17786 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17787
17788         [BZ #13928]
17789         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17790         from a CNAME entry and return the minimum ttl for the query.
17791         (gaih_getanswer_slice): Likewise.
17792
17793 2012-03-30  Jeff Law  <law@redhat.com>
17794
17795         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17796         due to long keys.
17797         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17798         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17799
17800         * resolv/nss_dns/dns-host.c: Update copyright year.
17801
17802 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17803
17804         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17805         requests to save a system call.  Fix check that all bytes are sent.
17806
17807         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17808         comments for sendmmsg.
17809
17810 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17811
17812         [BZ #13691]
17813         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17814         with only 1 character between 0x0041 and 0x01b0.
17815         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17816         * wcsmbs/tst-mbsnrtowcs.c: New file.
17817
17818 2012-03-29  David S. Miller  <davem@davemloft.net>
17819
17820         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17821         small copies by hand.
17822
17823 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17824
17825         [BZ #13761]
17826         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17827         _nss_compat_initgroups_dyn): Fall back to malloc/free
17828         for large group memberships.
17829
17830 2012-03-28  David S. Miller  <davem@davemloft.net>
17831
17832         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17833         that branches into memcpy.
17834         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17837         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17838         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17839         bits.
17840         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17841         implementation too.
17842         * sysdeps/sparc/mempcpy.S: New file.
17843
17844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17845         the IFUNC routine in the libc case.
17846         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17847
17848         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17849         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17850         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17851         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17852         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17853         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17854         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17855         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17856
17857         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17858         loop to 256 bytes instead of 64 bytes and fix test signedness.
17859
17860         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17861         * sysdeps/sparc/sparc32/Makefile: rather than here...
17862         * sysdeps/sparc/sparc64/Makefile: and here.
17863
17864 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17865
17866         * malloc/mallocbug.c: Avoid warnings about unused variables.
17867
17868 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17869
17870         [BZ #13760]
17871         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17872         in the right place. Discard and retry query if response is
17873         larger than input buffer size.
17874
17875 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17876
17877         [BZ #369]
17878         [BZ #2678]
17879         [BZ #3866]
17880         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17881         x for large integer exponent.
17882         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17883         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17884         sign of result as needed afterwards.
17885         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17886         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17887         result for underflowing pow the same as for overflow.
17888         (__kernel_standard_l): Handle powl overflow and underflow here
17889         rather than calling __kernel_standard.
17890         * math/libm-test.inc (pow_test): Add more tests.
17891
17892         [BZ #3868]
17893         [BZ #13879]
17894         [BZ #13910]
17895         [BZ #13911]
17896         [BZ #13912]
17897         [BZ #13913]
17898         [BZ #13915]
17899         [BZ #13916]
17900         [BZ #13917]
17901         [BZ #13918]
17902         [BZ #13919]
17903         [BZ #13920]
17904         [BZ #13921]
17905         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17906         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17907         (__kernel_standard_l): New function.
17908         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17909         __kernel_standard.
17910         * math/w_acosl.c (__acosl): Likewise.
17911         * math/w_asinl.c (__asinl): Likewise.
17912         * math/w_atan2l.c (__atan2l): Likewise.
17913         * math/w_atanhl.c (__atanhl): Likewise.
17914         * math/w_coshl.c (__coshl): Likewise.
17915         * math/w_exp10l.c (__exp10l): Likewise.
17916         * math/w_exp2l.c (__exp2l): Likewise.
17917         * math/w_fmodl.c (__fmodl): Likewise.
17918         * math/w_hypotl.c (__hypotl): Likewise.
17919         * math/w_j0l.c (__j0l, __y0l): Likewise.
17920         * math/w_j1l.c (__j1l, __y1l): Likewise.
17921         * math/w_jnl.c (__jnl, __ynl): Likewise.
17922         * math/w_lgammal.c (__lgammal): Likewise.
17923         * math/w_log10l.c (__log10l): Likewise.
17924         * math/w_log2l.c (__log2l): Likewise.
17925         * math/w_logl.c (__logl): Likewise.
17926         * math/w_powl.c (__powl): Likewise.
17927         * math/w_remainderl.c (__remainderl): Likewise.
17928         * math/w_scalbl.c (sysv_scalbl): Likewise.
17929         * math/w_sinhl.c (__sinhl): Likewise.
17930         * math/w_sqrtl.c (__sqrtl): Likewise.
17931         * math/w_tgammal.c (__tgammal): Likewise.
17932         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17933         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17934         * math/libm-test.inc (acos_test): Add more tests.
17935         (acosh_test): Likewise.
17936         (asin_test): Likewise.
17937         (atanh_test): Likewise.
17938         (exp_test): Likewise.
17939         (exp10_test): Likewise.
17940         (exp2_test): Likewise.
17941         (expm1_test): Likewise.
17942         (lgamma_test): Likewise.
17943         (log_test): Likewise.
17944         (log10_test): Likewise.
17945         (log1p_test): Likewise.
17946         (log2_test): Likewise.
17947         (pow_test): Do not allow some spurious overflow exceptions.
17948         (sqrt_test): Add more tests.
17949         (tgamma_test): Likewise.
17950         (y0_test): Likewise.
17951         (y1_test): Likewise.
17952         (yn_test): Likewise.
17953
17954 2012-03-27  Anton Blanchard  <anton@samba.org>
17955
17956         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17957         MAP_HUGETLB.
17958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17959         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17960         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17961
17962 2012-03-27  David S. Miller  <davem@davemloft.net>
17963
17964         * conform/Makefile: Run run-conformtest.sh using $(BASH).
17965
17966         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17967         have-as-vis3 check.
17968
17969 2012-03-27  Andreas Jaeger  <aj@suse.de>
17970
17971         * sysdeps/x86_64/elf/configure.in: Moved to ...
17972         * sysdeps/x86_64/configure.in: ... here.
17973         * sysdeps/x86_64/elf/start.S: Moved to ...
17974         * sysdeps/x86_64/start.S: ... here.
17975         * sysdeps/x86_64/elf/configure: Delete.
17976
17977         * sysdeps/x86_64/configure.in: Merge contents from
17978         sysdeps/i386/configure.in (without i686 check).
17979
17980         * sysdeps/i386/elf/Versions: Merge into ...
17981         * sysdeps/i386/Versions: ... this.
17982         * sysdeps/i386/elf/Versions: Delete file.
17983         * sysdeps/i386/elf/start.S: Moved to ...
17984         * sysdeps/i386/start.S: ...here.
17985         * sysdeps/i386/elf/configure.in: Merge into...
17986         * sysdeps/i386/configure.in: ...here.
17987         * sysdeps/i386/elf/configure.in: Delete file.
17988         * sysdeps/i386/elf/configure: Delete file.
17989
17990         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17991         * debug/backtracesyms.c: ... here.
17992         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17993         * debug/backtracesymsfd.c: ... here.
17994         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17995         * sysdeps/generic/ifunc-sel.h: ... here.
17996
17997         * sysdeps/unix/i386/start.c: Delete file.
17998         * sysdeps/unix/sparc/start.c: Delete file.
17999         * sysdeps/unix/start.c: Delete file.
18000
18001         * sysdeps/sh/elf/configure.in: Moved to ...
18002         * sysdeps/sh/configure.in: ... here.
18003         * sysdeps/sh/elf/start.S: Moved to ...
18004         * sysdeps/sh/start.S: ... here.
18005         * sysdeps/sh/elf/configure: Delete file.
18006
18007         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18008         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18009         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18010         * sysdeps/powerpc/powerpc64/entry.h: ... here.
18011         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18012         * sysdeps/powerpc/powerpc64/start.S: here.
18013         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18014         * sysdeps/powerpc/powerpc64/Makefile: ... this.
18015         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18016         * sysdeps/powerpc/powerpc64/configure.in: ... this.
18017         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18018
18019         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18020         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18021         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18022         * sysdeps/powerpc/powerpc32/start.S: ... here.
18023         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18024         * sysdeps/powerpc/powerpc32/configure.in: ... this.
18025         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18026
18027         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18028         * sysdeps/powerpc/ifunc-sel.h: ... here.
18029         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18030         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18031
18032         * sysdeps/sparc/elf/configure.in: Moved to ...
18033         * sysdeps/sparc/configure.in: ... here.
18034         * sysdeps/sparc/elf/configure: Delete file.
18035         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18036         * sysdeps/sparc/sparc32/start.S: ... here.
18037         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18038         * sysdeps/sparc/sparc64/start.S: ... here.
18039         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18040         * sysdeps/sparc/sparc32/Makefile: ... this.
18041         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18042         * sysdeps/sparc/sparc64/Makefile: ... this.
18043
18044         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18045         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18046         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18047         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18048         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18049         * sysdeps/s390/s390-32/setjmp.S: ... here.
18050         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18051         * sysdeps/s390/s390-32/configure.in: ... here.
18052         * sysdeps/s390/s390-32/elf/configure: Delete file.
18053         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18054         * sysdeps/s390/s390-32/start.S: ... here.
18055
18056         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18057         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18058         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18059         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18060         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18061         * sysdeps/s390/s390-64/setjmp.S: ... here.
18062         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18063         * sysdeps/s390/s390-64/configure.in: ... here
18064         * sysdeps/s390/s390-64/elf/configure: Delete file.
18065         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18066         * sysdeps/s390/s390-64/start.S: ... here.
18067         * sysdeps/s390/s390-64/elf/configure: Delete.
18068
18069         * configure.in: Remove support for elf directories in sysdeps.
18070
18071         * configure: Regenerated.
18072         * sysdeps/i386/configure: Regenerated.
18073         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18074         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18075         * sysdeps/s390/s390-32/configure: Regenerated.
18076         * sysdeps/s390/s390-64/configure: Regenerated.
18077         * sysdeps/sh/configure: Regenerated.
18078         * sysdeps/sparc/configure: Regenerated.
18079         * sysdeps/x86_64/configure: Regenerated.
18080
18081 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
18082
18083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18084
18085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18086         denormal result into account.
18087
18088 2012-03-25  Roland McGrath  <roland@hack.frob.com>
18089
18090         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18091         Reported by Allan McRae <allan@archlinux.org>.
18092
18093 2012-03-23  Jeff Law  <law@redhat.com>
18094
18095         * nss/getnssent.c (__nss_getent): Fix typo.
18096
18097 2012-03-23  David S. Miller  <davem@davemloft.net>
18098
18099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18100
18101 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
18102
18103         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18104         to pad to uint64_t for each field.
18105         (dl_tls_index): Replace unsigned long with uint64_t.
18106
18107 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
18108         Paul Pluzhnikov  <ppluzhnikov@google.com>
18109
18110         [BZ #6528]
18111         * grp/Makefile (otherlibs): Don't set it.
18112         * inet/Makefile (otherlibs): Likewise.
18113         * login/Makefile (otherlibs): Likewise.
18114         * nscd/Makefile (otherlibs): Likewise.
18115         * posix/Makefile (otherlibs): Likewise.
18116         * pwd/Makefile (otherlibs): Likewise.
18117         * rt/Makefile (otherlibs): Likewise.
18118         * sunrpc/Makefile (otherlibs): Likewise.
18119         * nss/Makefile (otherlibs): Likewise.
18120         Add libnss_files to routines and static-only-routines.
18121         ($(objpfx)getent): Remove rule.
18122         * resolv/Makefile: Add libnss_dns and libresolv to routines and
18123         static-only-routines.
18124
18125 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
18126
18127         [BZ #13892]
18128         * math/s_cexp.c: Include <float.h>.
18129         (__cexp): Handle exp result overflowing not necessarily
18130         overflowing both real and imaginary parts of result.
18131         * math/s_cexpf.c: Likewise.
18132         * math/s_cexpl.c: Likewise.
18133         * math/libm-test.inc (cexp_test): Add more tests.
18134         * sysdeps/i386/fpu/libm-test-ulps: Update.
18135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18136
18137 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18138
18139         * include/link.h (ELFW): New macro.
18140         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18141         Replace ELF64_R_TYPE with ELFW(R_TYPE).
18142
18143 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18144
18145         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18146         with uint64_t.
18147
18148 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18149
18150         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18151         declaration.
18152         (struct La_x32_retval): Likewise.
18153
18154 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18155
18156         * sysdeps/x86_64/preconfigure.in: New file.
18157         * sysdeps/x86_64/preconfigure: New generated file.
18158
18159 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
18160
18161         [BZ #13824]
18162         * math/e_exp2l.c: Include <float.h>.
18163         (__ieee754_exp2l): Handle overflow and underflow cases
18164         separately.  Only pass fractional part of argument to
18165         __ieee754_expl.
18166         * math/libm-test.inc (exp2_test): Add more tests.
18167
18168         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18169         negating x to take absolute value.
18170         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18171         Likewise.
18172         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18173         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18174         Likewise.
18175         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18176         computing low part if x was negated.
18177         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18178
18179 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18180
18181         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18182         la_x32_gnu_pltexit.
18183         (pltexit): Cast int_retval to ptrdiff_t.
18184         * elf/tst-auditmod3b.c: Likewise.
18185         * elf/tst-auditmod4b.c: Likewise.
18186         * elf/tst-auditmod5b.c: Likewise.
18187         * elf/tst-auditmod6b.c: Likewise.
18188         * elf/tst-auditmod6c.c: Likewise.
18189         * elf/tst-auditmod7b.c: Likewise.
18190
18191         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18192         and x32_gnu_pltexit.
18193
18194         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18195         __ELF_NATIVE_CLASS.
18196         (La_x32_regs): New macro.
18197         (La_x32_retval): Likewise.
18198         (la_x32_gnu_pltenter): New function prototype.
18199         (la_x32_gnu_pltexit): Likewise.
18200
18201 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
18202
18203         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18204         exponent.
18205
18206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18207
18208         * configure.in (libc_cv_cc_nofma): Check for option to disable
18209         generation of FMA instructions.
18210         * configure: Regenerate.
18211         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18212         * sysdeps/ieee754/dbl-64/Makefile: New file.
18213         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18214         Remove brandred-fma4.
18215         (CFLAGS-brandred-fma4.c): Remove.
18216         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18217         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18218         define.
18219         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18220         define.
18221
18222 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18223
18224         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18225         LLONG_MAX != LONG_MAX.
18226         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18227         (_fitoa_word): Likewise.
18228         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18229         LLONG_MAX != LONG_MAX.
18230         * stdio-common/_itowa.h: Include <_itoa.h>.
18231         (_itowa_word): Use _ITOA_WORD_TYPE on value.
18232         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
18233         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
18234         only if not defined.
18235         (_ITOA_WORD_TYPE): Likewise.
18236         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18237         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18238
18239 2012-03-21  David S. Miller  <davem@davemloft.net>
18240
18241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18242
18243 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18244
18245         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18246         of x86_64 when setting libc_cv_slibdir, libdir and
18247         libc_cv_localedir.
18248         * sysdeps/unix/sysv/linux/configure: Regenerated.
18249
18250 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
18251
18252         * manual/lang.texi (Old Varargs): Remove section.
18253         (How Variadic): Update menu.
18254         (va_start): Do not mention varargs.h.
18255
18256 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18257             Joseph Myers  <joseph@codesourcery.com>
18258
18259         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18260         link test.
18261         * configure: Regenerated.
18262
18263 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18264
18265         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18266         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18267         conformtest.pl
18268
18269 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
18270
18271         * NOTES: Remove.
18272         * Makefile (files-for-dist): Remove NOTES.
18273         (NOTES): Remove rule.
18274         * README: Don't refer to NOTES.
18275         * manual/creature.texi: Don't include macros.texi.
18276         * manual/intro.texi (creature.texi): Remove comment referring to
18277         NOTES.
18278
18279         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18280         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18281         * configure: Regenerated.
18282         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18283         LIBC_TRY_CC_OPTION.
18284         (libc_cv_as_i686): Likewise.
18285         (libc_cv_cc_avx): Likewise.
18286         (libc_cv_cc_sse2avx): Likewise.
18287         (libc_cv_cc_fma4): Likewise.
18288         (libc_cv_cc_novzeroupper): Likewise.
18289         * sysdeps/i386/configure: Regenerated.
18290
18291         [BZ #13883]
18292         * sysdeps/i386/fpu/s_cexp.S: Remove.
18293         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18294         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18295         * math/libm-test.inc (cexp_test): Add more tests.
18296         * sysdeps/i386/fpu/libm-test-ulps: Update.
18297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18298
18299 2012-03-21  Allan McRae  <allan@archlinux.org>
18300
18301         * timezone/Makefile: Do not install iso3166.tab and zone.tab
18302
18303 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
18304
18305         [BZ #13871]
18306         * math/w_exp2.c: Do not include <float.h>.
18307         (o_threshold, u_threshold): Remove.
18308         (__exp2): Calculate result before checking finiteness and calling
18309         __kernel_standard.
18310         * math/w_exp2f.c: Likewise.
18311         * math/w_exp2l.c: Likewise.
18312         * math/libm-test.inc (exp2_test): Require overflow exception for
18313         1e6 input.
18314
18315         [BZ #3866]
18316         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18317         range of signed 64-bit integers before using fistpll.  Remove
18318         checks for whether integers fit in mantissa bits.
18319         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18320         the range of signed 32-bit integers before using fistpl.  Remove
18321         checks for whether integers fit in mantissa bits.
18322         * sysdeps/i386/fpu/e_powl.S (p64): New object.
18323         (__ieee754_powl): Test for y outside the range of signed 64-bit
18324         integers before using fistpll.  Reduce 64-bit values to 63-bit
18325         ones as needed.
18326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18327         divide-by-zero is raised for zero to large negative powers.
18328         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18329         (__ieee754_powl): Test for y outside the range of signed 64-bit
18330         integers before using fistpll.  Reduce 64-bit values to 63-bit
18331         ones as needed.
18332         * math/libm-test.inc (pow_test): Add more tests.
18333
18334 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18335
18336         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18337         <stdio-common/_itoa.h>.
18338         * debug/segfault.c: Likewise.
18339         * elf/dl-cache.c: Likewise.
18340         * elf/dl-minimal.c: Likewise.
18341         * elf/dl-misc.c: Likewise.
18342         * elf/dl-sysdep.c: Likewise.
18343         * elf/dl-version.c: Likewise.
18344         * elf/rtld.c: Likewise.
18345         * hurd/hurdsock.c: Likewise.
18346         * hurd/lookup-retry.c: Likewise.
18347         * malloc/malloc.c: Likewise.
18348         * malloc/mtrace.c: Likewise.
18349         * nscd/nscd_getgr_r.c: Likewise.
18350         * nscd/nscd_getpw_r.c: Likewise.
18351         * nscd/nscd_getserv_r.c: Likewise.
18352         * posix/getopt_init.c: Likewise.
18353         * posix/wordexp.c: Likewise.
18354         * stdio-common/_itoa.c: Likewise.
18355         * stdio-common/printf_fphex.c: Likewise.
18356         * stdio-common/vfprintf.c: Likewise.
18357         * string/_strerror.c: Likewise.
18358         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18359         * sysdeps/i386/i686/hp-timing.h: Likewise.
18360         * sysdeps/mach/_strerror.c: Likewise.
18361         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18362         * sysdeps/mach/hurd/sethostid.c: Likewise.
18363         * sysdeps/mach/hurd/xmknodat.c: Likewise.
18364         * sysdeps/mach/xpg-strerror.c: Likewise.
18365         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18366         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18367         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18368         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18369         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18370         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18371         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18372         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18373         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18374         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18375         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18376         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18377         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18378         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18379         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18380         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18381         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18382         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18383         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18384         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18385         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18386
18387         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18388
18389         * stdio-common/_itoa.h: Moved to ...
18390         * sysdeps/generic/_itoa.h: Here.
18391
18392         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18393
18394         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18395         instead of "_itoa.h" and "_itowa.h".
18396         * stdio-common/vfprintf.: Likewise.
18397
18398 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18399
18400         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18401         <bits/wordsize.h>.
18402         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18403         (__signbit): Likwise.
18404         (llrintf): Likwise.
18405         (llrint): Likwise.
18406
18407 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18408
18409         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18410         __WORDSIZE != 64.
18411
18412 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
18413
18414         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18415         OVERFLOW_EXCEPTION_OK.
18416         * math/libm-test.inc ("Philosophy"): Update comment about
18417         exception testing.
18418         (OVERFLOW_EXCEPTION): Define.
18419         (OVERFLOW_EXCEPTION_OK): Likewise.
18420         (INVALID_EXCEPTION_OK): Renumber.
18421         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18422         (IGNORE_ZERO_INF_SIGN): Likewise.
18423         (test_exceptions): Handle FE_OVERFLOW.
18424         (exp10_test): Expect overflow exceptions.
18425         (exp2_test): Likewise.
18426         (expm1_test): Likewise.
18427         (nextafter_test): Likewise.
18428         (pow_test): Likewise.
18429         (scalbn_test): Likewise.
18430         (scalbln_test): Likewise.
18431
18432 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18433
18434         * sysdeps/x86_64/bits/atomic.h
18435         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18436         64bit integer.
18437         (atomic_exchange_acq): Likewise.
18438         (__arch_exchange_and_add_body): Likewise.
18439         (__arch_add_body): Likewise.
18440         (atomic_add_negative): Likewise.
18441         (atomic_add_zero): Likewise.
18442
18443 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18444
18445         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18446         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18447
18448 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18449
18450         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18451         Check __x86_64__ instead of __WORDSIZE.
18452
18453 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18454
18455         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18456
18457 2012-03-19  David S. Miller  <davem@davemloft.net>
18458
18459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18460
18461         * sysdeps/sparc/fpu/fenv_private.h: New file.
18462         * sysdeps/sparc/fpu/math_private.h: Use it.
18463         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18464         Remove.
18465         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18466         (libc_feholdexcept_setroundl): Remove.
18467         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18468         Remove.
18469         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18470         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18471
18472 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18473
18474         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18475         int64_t instead of long int.
18476         (INSERT_WORDS64): Likwise.
18477
18478 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18479
18480         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18481         _Unwind_GetCFA return to _Unwind_Ptr first.
18482
18483 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
18484
18485         [BZ #13629]
18486         * math/s_clog.c: Include <float.h>.
18487         (__clog): Scale large or subnormal inputs.
18488         * math/s_clogf.c: Likewise.
18489         * math/s_clogl.c: Likewise.
18490         * math/s_clog10.c: Include <float.h>.
18491         (M_LOG10_2): Define.
18492         (__clog10): Scale large or subnormal inputs.
18493         * math/s_clog10f.c: Likewise.
18494         * math/s_clog10l.c: Likewise.
18495         * math/libm-test.inc (clog_test): Add more tests.
18496         (clog10_test): Likewise.
18497         * sysdeps/i386/fpu/libm-test-ulps: Update.
18498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499
18500         [BZ #11451]
18501         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18502         x and y.
18503         * math/libm-test.inc (atan2_test): Add another test.
18504
18505         * Makerules (common-objdir-compile): Remove.
18506         * sysdeps/unix/Makefile (config-generated): Do not add
18507         $(unix-generated) to variable.
18508         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18509         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18510         Remove rule.
18511         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18512         Likewise.
18513         [generic bits/local_lim.h] (before-compile): Do not append to
18514         variable.
18515         [generic bits/local_lim.h] (common-generated): Likewise.
18516         [generic sys/param.h] (before-compile): Do not append to variable.
18517         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18518         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18519         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18520         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18521         include.
18522         [generic sys/param.h] (sys/param.h-includes): Remove variable.
18523         [generic sys/param.h] (sys/param.h-includes): Remove rule.
18524         [generic sys/param.h] ($(addprefix
18525         $(common-objpfx),$(sys/param.h-includes))): Likewise.
18526         [generic sys/param.h] (common-generated): Do not append to
18527         variable.
18528         [generic sys/param.h] (sysdep_headers): Likewise.
18529         [generic bits/errno.h] (before-compile): Do not append to
18530         variable.
18531         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18532         rule.
18533         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18534         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18535         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18536         [generic bits/errno.h] (common-generated): Do not append to
18537         variable.
18538         [generic bits/ioctls.h] (before-compile): Do not append to
18539         variable.
18540         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18541         rule.
18542         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18543         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18544         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18545         rule.
18546         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18547         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18548         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18549         [generic bits/ioctls.h] (common-generated): Do not append to
18550         variable.
18551         [generic sys/syscall.h] (syscall.h): Remove variable.
18552         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18553         rule.
18554         [generic sys/syscall.h] (before-compile): Do not append to
18555         variable.
18556         [generic sys/syscall.h] (common-generated): Likewise.
18557         * sysdeps/unix/errnos-tmpl.c: Remove file.
18558         * sysdeps/unix/errnos.awk: Likewise.
18559         * sysdeps/unix/ioctls-tmpl.c: Likewise.
18560         * sysdeps/unix/ioctls.awk: Likewise.
18561         * sysdeps/unix/mk-local_lim.c: Likewise.
18562         * sysdeps/unix/snarf-ioctls: Likewise.
18563
18564 2012-03-19  Richard Henderson  <rth@twiddle.net>
18565
18566         * sysdeps/i386/fpu/fenv_private.h: New file.
18567         * sysdeps/i386/fpu/math_private.h: Use it.
18568         (math_opt_barrier, math_force_eval): Remove.
18569         (libc_feholdexcept_setround_53bit): Remove.
18570         (libc_feupdateenv_53bit): Remove.
18571         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18572         (math_opt_barrier, math_force_eval): Remove.
18573         (libc_feholdexcept): Remove.
18574         (libc_feholdexcept_setround): Remove.
18575         (libc_fetestexcept, libc_fesetenv): Remove.
18576         (libc_feupdateenv_test): Remove.
18577         (libc_feupdateenv, libc_feholdsetround): Remove.
18578         (libc_feresetround): Remove.
18579
18580         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18581         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18582
18583         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18584         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18585         (libc_feupdateenv_testl): New.
18586         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18587         (libc_feupdateenv_testf): New.
18588         (libc_feupdateenv): Use libc_feupdateenv_test.
18589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18590         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18591
18592         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18593         (libc_feholdsetroundf, libc_feholdsetroundl): New.
18594         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18595         (libc_feresetround_noex): New.
18596         (libc_feresetround_noexf): New.
18597         (libc_feresetround_noexl): New.
18598         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18599         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18600         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18601         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18602         SET_RESTORE_ROUND.
18603         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18605         (__cos): Likewise.
18606         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18607         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18608         SET_RESTORE_ROUND_NOEX.
18609         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18610         SET_RESTORE_ROUND_NOEXF.
18611         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18612         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18613         (libc_feholdsetroundf): New.
18614         (libc_feresetround, libc_feresetroundf): New.
18615
18616         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18617         (libc_feholdexcept_setround_53bit): Convert from macro to function.
18618         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
18619
18620         * sysdeps/generic/math_private.h: Include <fenv.h>.
18621         (default_libc_feholdexcept): New.
18622         (default_libc_feholdexcept_setround): New.
18623         (default_libc_fesetenv, default_libc_feupdateenv): New.
18624         (libc_feholdexcept): Only define if undefined.
18625         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18626         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18627         (libc_feholdexcept_setroundl): Likewise.
18628         (libc_feholdexcept_setround_53bit): Likewise.
18629         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18630         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18631         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18632         (libc_feupdateenv_53bit): Likewise.
18633         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18634         (libc_feholdexcept): Convert from macro to inline function.
18635         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18636         (libc_fesetenv, libc_feupdateenv): Likewise.
18637
18638         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18639         not previously defined.
18640         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18641         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18642         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18643         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18644         * sysdeps/ieee754/flt-32/math_private.h: New file.
18645         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18646         math_private.h below SET_FLOAT_WORD.
18647         (__isnan, __isinf_ns, __finite): Remove.
18648         (__isnanf, __isinf_nsf, __finitef): Remove.
18649
18650 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
18651
18652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18653
18654 2012-03-17  David S. Miller  <davem@davemloft.net>
18655
18656         [BZ #6471]
18657         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18658         for 2.16.
18659
18660 2012-03-16  David S. Miller  <davem@davemloft.net>
18661
18662         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18663         warnings.
18664
18665         [BZ #6471]
18666         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18667         properly.
18668         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18669         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18670         sysdep_routines when subdir is sysvipc.
18671         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18672         __getshmlba helper.
18673
18674         * sysdeps/sparc/fpu/libm-test/ulps: Update.
18675
18676 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18677
18678         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18679         [__LP64__].
18680
18681 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18682
18683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18684         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18685         (__lround): Renamed to ...
18686         (__llround): This.  Replace long int with long long int.
18687         Define lround functions as aliases of llround functions.
18688         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18689
18690 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18691
18692         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18693         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
18694         adresses to uintptr_t.  Replace "long int" and "unsigned long
18695         int" with "greg_t" on va_arg.
18696
18697 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18698
18699         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18700         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18701
18702         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18703         Move e_machine check before EI_CLASS check.  Handle x32
18704         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18705         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18706         SKIP_EM_IA_64 and include
18707         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18708
18709         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18710         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18711         (add_system_dir): New macro.
18712
18713         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18714         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18715
18716 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18717
18718         [BZ #2551]
18719         [BZ #2552]
18720         [BZ #2553]
18721         [BZ #2554]
18722         [BZ #2562]
18723         [BZ #2563]
18724         [BZ #2565]
18725         [BZ #2566]
18726         [BZ #2576]
18727         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18728         (y0): Likewise.
18729         * math/w_j0f.c (j0f): Likewise.
18730         (y0f): Likewise.
18731         * math/w_j0l.c (__j0l): Likewise.
18732         (__y0l): Likewise.
18733         * math/w_j1.c (j1): Likewise.
18734         (y1): Likewise.
18735         * math/w_j1f.c (j1f): Likewise.
18736         (y1f): Likewise.
18737         * math/w_j1l.c (__j1l): Likewise.
18738         (__y1l): Likewise.
18739         * math/w_jn.c (jn): Likewise.
18740         (yn): Likewise.
18741         * math/w_jnf.c (jnf): Likewise.
18742         (ynf): Likewise.
18743         * math/w_jnl.c (__jnl): Likewise.
18744         (__ynl): Likewise.
18745         * math/libm-test.inc (j0_test): Add more tests.
18746         (j1_test): Likewise.
18747         (jn_test): Likewise.  Add trailing semicolon to existing test.
18748         (y0_test): Likewise.
18749         (y1_test): Likewise.
18750         * sysdeps/i386/fpu/libm-test-ulps: Update.
18751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18752
18753         [BZ #13851]
18754         [BZ #13854]
18755         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18756         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18757         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18758         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18759         (__tanl): Set errno for infinite argument.
18760         * sysdeps/i386/fpu/mptan.c: Remove.
18761         * sysdeps/i386/fpu/s_tan.S: Likewise.
18762         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18763         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18764         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18765         * math/libm-test.inc (tan_test): Add more tests and enable more
18766         tests for double and long double.
18767         * sysdeps/i386/fpu/libm-test-ulps: Update.
18768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18769
18770 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18771
18772         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18773         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18774
18775 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18776
18777         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18778         * configure.in: Use it for both main tree and add-ons.
18779         * configure: Regenerated.
18780
18781 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18782
18783         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18784
18785 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18786
18787         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18788         in comment.
18789
18790         [BZ #13851]
18791         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18792         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18796         infinite argument.
18797         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18798         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18799         != 0 for prec == 2.
18800         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18801         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18802         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18803         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18804         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18805         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18806         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18807         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18808         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18809         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18810         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18811         * math/libm-test.inc (cos_test): Add more tests and enable more
18812         tests for long double.
18813         (sin_test): Likewise.
18814         (sincos_test): Likewise.
18815         * sysdeps/i386/fpu/libm-test-ulps: Update.
18816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18817
18818 2012-03-16  David S. Miller  <davem@davemloft.net>
18819
18820         * sysdeps/sparc/fpu/math_private.h: New file.
18821
18822 2012-03-15  David S. Miller  <davem@davemloft.net>
18823
18824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18825         file.
18826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18828         file.
18829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18835         sysdep routines.
18836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18837
18838         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18839         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18840
18841         * sysdeps/sparc/sparc-ifunc.h: New file.
18842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18843         sparc-ifunc.h
18844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18846         Likewise.
18847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18848         Likewise.
18849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18853         Likewise.
18854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18859         Likewise.
18860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18861         Likewise.
18862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18868         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18880         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18881         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18882         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18883         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18884         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18885         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18886
18887 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18888
18889         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18890         scaling.
18891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18892
18893 2012-03-15  Andreas Jaeger  <aj@suse.de>
18894
18895         [BZ #13852]
18896         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18897         ieee754/flt-32 implementation for sin, cos and sincos.
18898         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18899         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18900         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18901         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18902         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18903         ieee754/flt-32 implementation for tan.
18904
18905         * math/libm-test.inc (cos_test): Enable some large input tests for
18906         float as well
18907         (sin_test): Likewise.
18908         (sincos_test): Likewise.
18909         (tan_test): Add tests for large input.
18910
18911         * sysdeps/i386/fpu/libm-test-ulps: Update.
18912
18913 2012-03-15  Andreas Jaeger  <aj@suse.de>
18914
18915         [BZ #13658]
18916         * math/libm-test.inc (cos_test): Add more test cases.
18917         (sin_test): Likewise.
18918         (sincos_test): Likewise.
18919
18920 2012-03-15  Andreas Jaeger  <aj@suse.de>
18921
18922         [BZ #13837]
18923         * math/libm-test.inc (cos_test): Add a test case for large input
18924         value.
18925         (sin_test): Likewise.
18926         (sincos_test): Likewise.
18927
18928 2012-03-15  Andreas Jaeger  <aj@suse.de>,
18929         Joseph Myers  <joseph@codesourcery.com>
18930
18931         [BZ #13658]
18932         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18933         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18934         * sysdeps/i386/fpu/branred.c: Likewise.
18935         * sysdeps/i386/fpu/dosincos.c: Likewise.
18936         * sysdeps/i386/fpu/mpa.c: Likewise.
18937         * sysdeps/i386/fpu/s_cos.S: Likewise.
18938         * sysdeps/i386/fpu/s_sin.S: Likewise.
18939         * sysdeps/i386/fpu/s_sincos.S: Likewise.
18940         * sysdeps/i386/fpu/sincos32.c: Likewise.
18941
18942         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18943         Define.
18944         (libc_feupdateenv_53bit): Define.
18945         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18946         Define.
18947         (libc_feupdateenv_53bit): Define.
18948
18949         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18950         53 bit (without extend i386 double precision).
18951
18952         * math/libm-test.inc (sincos_test): Add tests for large input.
18953         (sin): Likewise.
18954         (cos): Likewise.
18955
18956         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18957
18958 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18959
18960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18961
18962 2012-03-15  David S. Miller  <davem@davemloft.net>
18963
18964         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18965         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18966         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18967         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18980         file.
18981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18983         file.
18984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18986         file.
18987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18989         file.
18990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18991         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18992         fmin/fmax sysdep routines.
18993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18994
18995 2012-03-14  David S. Miller  <davem@davemloft.net>
18996
18997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19001         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19002         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19003         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19004         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19017         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19018         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19020         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19022         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19023         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19025         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19026         routines.
19027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19028         file.
19029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19031         file.
19032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19034         file.
19035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19037         file.
19038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19040         file.
19041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19043         file.
19044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19045         file.
19046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19047         file.
19048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19049         file.
19050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19051         New file.
19052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19053         file.
19054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19055         file.
19056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19058         file.
19059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19061         file.
19062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19064         file.
19065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19067         VIS3 routines.
19068
19069         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19070         New file.
19071
19072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19073
19074         * sysdeps/sparc/configure.in: New file.
19075         * sysdeps/sparc/configure: Generate.
19076         * configure.in (libc_cv_sparc_as_vis3): Substitute.
19077         * configure: Regenerate.
19078         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19079         * config.make.in (have-as-vis3): New.
19080         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19081         available use -Av9d instead of -Av9a.
19082         * sysdeps/sparc/sparc64/Makefile: Likewise.
19083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19085         New file.
19086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19087         file.
19088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19089         New file.
19090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19091         file.
19092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19093         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19094         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19095         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19096         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19097
19098         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19099         fzeros/fnegs to load 0x80000000 into a float register instead of
19100         using the stack.
19101         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19102
19103 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
19104
19105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19106         bits/syscall.h.
19107         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19108         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19109         ($(inst_includedir)/bits/syscall.h): Remove rule.
19110         ($(objpfx)bits/syscall.d): Include instead of
19111         $(objpfx)syscall-list.d.
19112         (generated): Change syscall-list.h and syscall-list.d to
19113         bits/syscall.h and bits/syscall.d.
19114
19115 2012-03-14  Roland McGrath  <roland@hack.frob.com>
19116
19117         [BZ #13846]
19118         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19119
19120 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
19121
19122         [BZ #13841]
19123         * math/s_csqrt.c: Include <float.h>.
19124         (__csqrt): Scale large or subnormal inputs.
19125         * math/s_csqrtf.c: Likewise.
19126         * math/s_csqrtl.c: Likewise.
19127         * math/libm-test.inc (csqrt_test): Add more tests.
19128         * sysdeps/i386/fpu/libm-test-ulps: Update.
19129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130
19131         [BZ #13840]
19132         * math/libm-test.inc (hypot_test): Add more tests.
19133
19134 2012-03-13  David S. Miller  <davem@davemloft.net>
19135
19136         [BZ #13840]
19137         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19138         double-precision for the calculation instead of scaling.
19139
19140 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
19141
19142         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19143         manipulate bits before adding and subtracting TWO52[sx].
19144         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19145         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19146         Likewise.
19147         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19148
19149 2012-03-13  David S. Miller  <davem@davemloft.net>
19150
19151         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19152         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19154         rtld-global-offsets.h
19155         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19156
19157         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19158         large parameters.
19159
19160         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19161
19162         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19163         'err' in the ifdef scope in which it is actually used.
19164
19165         * nss/nss_db/db-init.c: Include string.h
19166
19167 2012-03-12  David S. Miller  <davem@davemloft.net>
19168
19169         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19170         masking out of the most significant byte of random value used.
19171         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19172         Fix coding style in previous change.
19173
19174         * sysdeps/unix/sysv/linux/kernel-features.h
19175         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19176         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19177         expression.
19178         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19179         later.
19180
19181 2012-03-11  David S. Miller  <davem@davemloft.net>
19182
19183         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19184         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19185         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19186         for 'resultvar' otherwise things get truncated on 64-bit.
19187
19188         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19189         Fix masking out of the most significant byte of random value used.
19190
19191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19192
19193 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
19194
19195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19196
19197 2012-03-09  David S. Miller  <davem@davemloft.net>
19198
19199         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19200         variables with appropriate CPP guards.
19201         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19202         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
19203         on resulting framesize and the management of the outregs buffer for pltexit.
19204         Preserve floating point return values across _dl_call_pltexit call.
19205         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19206         framesize and the management of the outregs buffer for pltexit.
19207         Preserve floating point return values across _dl_call_pltexit
19208         call.
19209         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19210         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19211         (print_exit): Fix format string for return register value.
19212
19213 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
19214
19215         * sunrpc/Makefile (others): Add rpcgen.
19216         ($(objpfx)rpcgen): Remove special build rule and dependency on
19217         libc.
19218         * sunrpc/rpcgen.c: New file.
19219
19220 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
19221
19222         [BZ #13673]
19223         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19224         * stdio-common/bug-vfprintf-nargs.c: Likewise.
19225         * sysdeps/i386/crti.S: Likewise.
19226         * sysdeps/i386/crtn.S: Likewise.
19227         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19228         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19229         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19230         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19231         * sysdeps/sh/crti.S: Likewise.
19232         * sysdeps/sh/crtn.S: Likewise.
19233         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19234
19235         [BZ #13673]
19236         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19237         with URL.
19238         * locale/programs/locfile-kw.gperf: Likewise.
19239         * locale/programs/charmap-kw.h: Regenerated.
19240         * locale/programs/locfile-kw.h: Likewise.
19241
19242         [BZ #13673]
19243         * intl/plural.y: Replace FSF snail mail address with URL.
19244         * intl/plural.c: Regenerated.
19245
19246 2012-03-09  Richard Henderson  <rth@twiddle.net>
19247
19248         * include/math_private.h: Remove file.
19249         * math/math_private.h: Move file ...
19250         * sysdeps/generic/math_private.h: ... here.
19251
19252         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19253         * sysdeps/powerpc/fpu/math_private.h: Likewise.
19254         * sysdeps/x86_64/fpu/math_private.h: Likewise.
19255
19256         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19257         and <math_private.h>.
19258         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19259         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19260         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19261         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19262         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19263         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19264         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19265         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19266         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19267         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19269         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19270         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19271         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19272         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19273         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19274         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19275         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19276         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19277         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19279         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19280         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19282         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19283         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19284         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19285         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19286         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19287         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19288         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19289         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19290         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19291         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19292         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19293         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19294         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19295         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19296         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19297         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19298         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19299         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19300         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19301         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19302         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19303         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19304         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19305         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19306         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19307         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19308         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19309         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19310         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19311         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19312         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19313         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19314         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19315         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19316         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19317         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19318         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19319         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19320         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19321         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19322         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19323         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19324         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19325         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19326         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19327         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19328         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19329         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19330         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19331         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19332         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19333         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19334         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19335         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19336         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19337         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19338         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19339         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19340         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19341         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19342         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19343         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19345         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19346         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19347         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19348         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19349         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19350         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19351         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19352         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19353         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19354         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19355         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19356         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19357         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19358         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19359         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19360         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19361         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19362         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19363         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19364         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19365         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19366         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19367         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19368         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19369         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19370         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19371         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19372         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19373         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19374         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19375         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19376         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19377         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19378         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19379         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19380         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19381         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19382         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19383         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19384         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19385         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19386         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19387         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19388         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19389         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19390         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19391         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19392         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19393         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19394         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19395         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19396         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19397         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19398         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19399         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19400         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19401         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19402         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19403         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19404         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19405         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19406         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19407         * sysdeps/ieee754/k_standard.c: Likewise.
19408         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19409         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19410         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19411         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19412         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19413         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19414         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19415         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19416         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19417         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19418         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19419         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19420         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19421         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19422         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19423         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19424         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19425         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19426         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19427         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19428         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19429         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19430         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19431         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19432         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19433         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19434         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19435         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19436         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19437         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19438         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19439         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19440         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19441         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19442         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19444         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19445         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19446         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19447         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19448         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19449         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19450         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19451         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19452         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19453         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19454         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19455         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19456         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19457         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19458         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19459         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19460         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19461         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19462         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19463         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19464         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19465         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19466         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19467         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19468         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19469         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19470         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19471         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19472         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19473         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19474         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19475         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19476         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19477         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19478         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19480         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19481         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19482         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19483         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19484         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19485         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19486         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19487         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19488         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19489         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19490         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19491         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19492         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19493         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19494         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19495         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19496         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19497         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19498         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19499         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19500         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19501         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19502         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19503         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19504         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19505         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19506         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19507         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19508         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19509         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19510         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19511         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19512         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19513         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19514         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19515         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19516         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19517         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19518         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19519         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19520         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19521         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19522         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19523         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19524         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19525         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19526         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19527         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19528         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19529         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19530         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19531         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19532         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19533         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19534         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19535         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19536         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19537         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19538         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19539         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19540         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19541         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19542         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19543         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19544         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19545         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19546         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19547         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19548         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19549         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19550         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19551         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19552         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19553         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19554         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19555         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19556         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19557         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19558         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19559         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19560         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19561         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19562         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19563         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19564         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19565         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19566         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19567         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19568         * sysdeps/ieee754/s_lib_version.c: Likewise.
19569         * sysdeps/ieee754/s_matherr.c: Likewise.
19570         * sysdeps/ieee754/s_signgam.c: Likewise.
19571         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19572         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19573         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19574         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19575         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19576         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19577         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19578         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19579         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19580         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19581         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19582         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19583         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19584         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19585         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19586         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19587         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19588         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19589         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19590         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19591         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19592
19593 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19594
19595         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19596         * sunrpc/rpc_main.c: Likewise.
19597         * sunrpc/rpc_svcout.c: Likewise.
19598
19599 2012-03-09  David S. Miller  <davem@davemloft.net>
19600
19601         * include/math_private.h: New file.
19602
19603 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19604
19605         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19606         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19607         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19608         from <bits/socket_type.h>.
19609         (enum __socket_type): Don't define here.
19610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19611         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19612         bits/socket_type.h.
19613
19614         [BZ #13566]
19615         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19616         checking __USE_GNU.
19617
19618         * Makerules ($(inst_includedir)/%.h): New rule.
19619         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19620         (install-others): Remove variable setting.
19621         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19622
19623 2012-03-08  Richard Henderson  <rth@twiddle.net>
19624
19625         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19626         from macro to inline function; merge with the
19627         !__LIBC_INTERNAL_MATH_INLINES version.
19628         (__ieee754_sqrtf): Likewise.
19629
19630         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19631         to inline function.
19632         (__rintf, __floor, __floorf): Likewise.
19633
19634         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19635         macro to inline function.
19636         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19637
19638         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19639         not <math/math_private.h>.
19640
19641 2012-03-08  David S. Miller  <davem@davemloft.net>
19642
19643         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19644         copyright year.
19645         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19646
19647 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
19648
19649         * resolv/gai_misc.c (handle_requests): Fix struct timespec
19650         normalization.
19651         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19652         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19653
19654 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
19655
19656         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
19657         be defined individually, they must be defined as a block.  Define
19658         S for printing a string instead of hidint the different by using a
19659         macro for adding the 'l'.
19660         * stdio-common/tst-fphex-wide.c: Adjust.
19661
19662 2012-03-07  Marek Polacek  <polacek@redhat.com>
19663
19664         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19665
19666 2012-03-08  Marek Polacek  <polacek@redhat.com>
19667
19668         [BZ #13806]
19669         * stdio-common/Makefile (tests): Add tst-fphex-wide.
19670         * stdio-common/tst-fphex.c: Define a few macros to make the
19671         test reusable.  Use them.
19672         * stdio-common/tst-fphex-wide.c: New file.
19673
19674 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
19675
19676         [BZ #6911]
19677         * manual/macros.texi (gnusystems): New macro.
19678         (nongnusystems): Likewise.
19679         (gnulinuxhurdsystems): Likewise.
19680         (gnuhurdsystems): Likewise..
19681         (gnulinuxsystems): Likewise.
19682         * manual/charset.texi: Use new macros or @theglibc{} to refer to
19683         variants of the GNU system, not "GNU system".
19684         * manual/conf.texi: Likewise.
19685         * manual/errno.texi: Likewise.  Update example of errno macro
19686         expansion.
19687         * manual/filesys.texi: Likewise.
19688         (getumask): Document as specific to GNU/Hurd.
19689         * manual/install.texi: Likewise.  Reword some references to
19690         GNU/Linux.
19691         * manual/intro.texi: Likewise.
19692         * manual/io.texi: Likewise.
19693         (File Name Portability): Detail which constraints are inapplicable
19694         to all GNU systems and which are only inapplicable to GNU/Hurd.
19695         * manual/job.texi: Likewise.
19696         * manual/llio.texi: Likewise.
19697         (O_NOCTTY): Document as present on GNU/Linux.
19698         * manual/maint.texi: Likewise.
19699         * manual/memory.texi: Likewise.
19700         * manual/pattern.texi: Likewise.
19701         * manual/pipe.texi: Likewise.
19702         * manual/process.texi: Likewise.
19703         * manual/resource.texi: Likewise.
19704         (RUSAGE_CHILDREN): Remove statement about specifying a particular
19705         child on GNU/Hurd.
19706         * manual/setjmp.texi: Likewise.
19707         * manual/signal.texi: Likewise.
19708         * manual/startup.texi: Likewise.
19709         * manual/stdio.texi: Likewise.
19710         * manual/terminal.texi: Likewise.
19711         (ONLCR): Document as POSIX.
19712         (OXTABS): Document availability on GNU/Linux as XTABS.
19713         (ONOEOT): Document availability separately from other bits.
19714         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19715         * manual/time.texi: Likewise.
19716         * manual/users.texi: Likewise.
19717         * INSTALL: Regenerated.
19718         * sysdeps/gnu/errlist.c: Regenerated.
19719
19720         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19721         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19722         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
19723         puts.
19724         * configure: Regenerated.
19725
19726 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
19727
19728         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19729         default includes instead of AC_HEADER_CHECK.
19730         * sysdeps/i386/configure: Regenerated.
19731
19732         [BZ #10716]
19733         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19734         * math/s_cacoshf.c (__cacoshf): Likewise.
19735         * math/s_cacoshl.c (__cacoshl): Likewise.
19736         * math/s_casinh.c (__casinh): Set signs of result from argument.
19737         * math/s_casinhf.c (__casinhf): Likewise.
19738         * math/s_casinhl.c (__casinhl): Likewise.
19739         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19740         (casinh_test): Add more tests.
19741         * sysdeps/i386/fpu/libm-test-ulps: Update.
19742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19743
19744 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19745
19746         * po/zh_TW.po: Update from translation team.
19747
19748         * login/Makefile (distribute): Remove variable.
19749         * catgets/Makefile: Likewise.
19750         * mach/Makefile: Likewise.
19751         * malloc/Makefile: Likewise.
19752         * misc/Makefile: Likewise.
19753         * iconv/Makefile: Likewise.
19754         * nscd/Makefile: Likewise.
19755         * hurd/Makefile: Likewise.
19756         * manual/Makefile: Likewise.
19757         * locale/Makefile: Likewise.
19758         * intl/Makefile: Likewise.
19759         * conform/Makefile: Likewise.
19760         * nss/Makefile: Likewise.
19761         * time/Makefile: Likewise.
19762         * soft-fp/Makefile: Likewise.
19763         * dirent/Makefile: Likewise.
19764         * gmon/Makefile: Likewise.
19765         * po/Makefile: Likewise.
19766         * rt/Makefile: Likewise.
19767         * socket/Makefile: Likewise.
19768         * math/Makefile: Likewise.
19769         * signal/Makefile: Likewise.
19770         * debug/Makefile: Likewise.
19771         * elf/Makefile: Likewise.
19772         * timezone/Makefile: Likewise.
19773         * stdlib/Makefile: Likewise.
19774         * iconvdata/Makefile: Likewise.
19775         * sunrpc/Makefile: Likewise.
19776         * io/Makefile: Likewise.
19777         * argp/Makefile: Likewise.
19778         * inet/Makefile: Likewise.
19779         * hesiod/Makefile: Likewise.
19780         * grp/Makefile: Likewise.
19781         * csu/Makefile: Likewise.
19782         * wctype/Makefile: Likewise.
19783         * crypt/Makefile: Likewise.
19784         * libio/Makefile: Likewise.
19785         * string/Makefile: Likewise.
19786         * nis/Makefile: Likewise.
19787         * resolv/Makefile: Likewise.
19788         * stdio-common/Makefile: Likewise.
19789         * wcsmbs/Makefile: Likewise.
19790         * dlfcn/Makefile: Likewise.
19791         * posix/Makefile: Likewise.
19792
19793         [BZ #6959]
19794         * timezone/Makefile: Don't install timezone files, just the programs
19795         and scripts.
19796
19797 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19798
19799         * nss/databases.def: Add missing gshadow entry.
19800
19801         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19802
19803 2012-03-06  Marek Polacek  <polacek@redhat.com>
19804
19805         [BZ #13726]
19806         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19807         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19808         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19809         * stdio-common/tst-long-dbl-fphex.c: New file.
19810
19811 2012-03-06  David S. Miller  <davem@davemloft.net>
19812
19813         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19814         (set_obp_int): New function.
19815         (get_obp_int): New function.
19816         (__get_clockfreq_via_dev_openprom): Likewise.
19817         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19818         Avoid unused variable warnings on 'val' and use builtin_expect.
19819         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19820         __builtin_expect.
19821         (INLINE_CLONE_SYSCALL): Likewise.
19822
19823 2012-03-05  David S. Miller  <davem@davemloft.net>
19824
19825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19826
19827 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19828
19829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19830
19831         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19832         only for |x| >= 40.
19833         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19834
19835 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19836
19837         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19838         Replace gettimeofday with __vdso_gettimeofday.
19839
19840         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19841         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19842         __vdso_clock_gettime and __vdso_getcpu.
19843
19844         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19845         time with __vdso_time.
19846
19847 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19848
19849         * manual/lang.texi (size_t): Note types to which size_t may be
19850         equivalent with the GNU C Library, but do not describe when
19851         differences between them are significant.
19852
19853 2012-03-05  Andreas Jaeger  <aj@suse.de>
19854
19855         * sysdeps/i386/fpu/libm-test-ulps: Update.
19856
19857 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19858
19859         [BZ #3976]
19860         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19861         (__ieee754_pow): Save and restore rounding mode and use
19862         round-to-nearest for main computations.
19863         * math/libm-test.inc (pow_test_tonearest): New function.
19864         (pow_test_towardzero): Likewise.
19865         (pow_test_downward): Likewise.
19866         (pow_test_upward): Likewise.
19867         (main): Call the new functions.
19868         * sysdeps/i386/fpu/libm-test-ulps: Update.
19869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19870
19871         [BZ #3976]
19872         * math/libm-test.inc (cosh_test_tonearest): New function.
19873         (cosh_test_towardzero): Likewise.
19874         (cosh_test_downward): Likewise.
19875         (cosh_test_upward): Likewise.
19876         (sinh_test_tonearest): Likewise.
19877         (sinh_test_towardzero): Likewise.
19878         (sinh_test_downward): Likewise.
19879         (sinh_test_upward): Likewise.
19880         (main): Call the new functions.
19881         * sysdeps/i386/fpu/libm-test-ulps: Update.
19882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19883
19884 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19885
19886         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19887         default stack guard is set in last bytes.
19888         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19889
19890 2012-03-05  Kees Cook  <keescook@chromium.org>
19891
19892         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19893
19894         [BZ #13656]
19895         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19896         possibly allocate from heap instead of stack.
19897         * stdio-common/bug-vfprintf-nargs.c: New file.
19898         * stdio-common/Makefile (tests): Add nargs overflow test.
19899
19900 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19901
19902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19903
19904 2012-03-03  Marek Polacek  <polacek@redhat.com>
19905
19906         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19907         * math/math_private.h: Likewise.
19908         * stdlib/tst-strtod.c: Likewise.
19909         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19910         * sysdeps/x86_64/bits/atomic.h: Likewise.
19911
19912 2012-03-02  David S. Miller  <davem@davemloft.net>
19913
19914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19918         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19919         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19920         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19921         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19922
19923 2012-03-02  Roland McGrath  <roland@hack.frob.com>
19924
19925         [BZ #13792]
19926         * manual/examples/README: New file, says the example source files
19927         can be used under GPL>=2.
19928         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19929         line containing just "*/".
19930         * manual/examples/add.c: Add copyright header (GPL>=2).
19931         * manual/examples/argp-ex1.c: Likewise.
19932         * manual/examples/argp-ex2.c: Likewise.
19933         * manual/examples/argp-ex3.c: Likewise.
19934         * manual/examples/argp-ex4.c: Likewise.
19935         * manual/examples/atexit.c: Likewise.
19936         * manual/examples/db.c: Likewise.
19937         * manual/examples/dir.c: Likewise.
19938         * manual/examples/dir2.c: Likewise.
19939         * manual/examples/execinfo.c: Likewise.
19940         * manual/examples/filecli.c: Likewise.
19941         * manual/examples/filesrv.c: Likewise.
19942         * manual/examples/fmtmsgexpl.c: Likewise.
19943         * manual/examples/genpass.c: Likewise.
19944         * manual/examples/inetcli.c: Likewise.
19945         * manual/examples/inetsrv.c: Likewise.
19946         * manual/examples/isockad.c: Likewise.
19947         * manual/examples/longopt.c: Likewise.
19948         * manual/examples/memopen.c: Likewise.
19949         * manual/examples/memstrm.c: Likewise.
19950         * manual/examples/mkfsock.c: Likewise.
19951         * manual/examples/mkisock.c: Likewise.
19952         * manual/examples/mygetpass.c: Likewise.
19953         * manual/examples/pipe.c: Likewise.
19954         * manual/examples/popen.c: Likewise.
19955         * manual/examples/rprintf.c: Likewise.
19956         * manual/examples/search.c: Likewise.
19957         * manual/examples/select.c: Likewise.
19958         * manual/examples/setjmp.c: Likewise.
19959         * manual/examples/sigh1.c: Likewise.
19960         * manual/examples/sigusr.c: Likewise.
19961         * manual/examples/stpcpy.c: Likewise.
19962         * manual/examples/strdupa.c: Likewise.
19963         * manual/examples/strftim.c: Likewise.
19964         * manual/examples/strncat.c: Likewise.
19965         * manual/examples/subopt.c: Likewise.
19966         * manual/examples/swapcontext.c: Likewise.
19967         * manual/examples/termios.c: Likewise.
19968         * manual/examples/testopt.c: Likewise.
19969         * manual/examples/testpass.c: Likewise.
19970         * manual/examples/timeval_subtract.c: Likewise.
19971
19972         [BZ #13792]
19973         * manual/time.texi (Elapsed Time): Move timeval_subtract example
19974         function to ...
19975         * manual/timeval_subtract.c.texi: ... here, new file.
19976
19977 2012-03-02  David S. Miller  <davem@davemloft.net>
19978
19979         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19980
19981 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
19982
19983         [BZ #3976]
19984         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19985         (__sin): Save and restore rounding mode and use round-to-nearest
19986         for all computations.
19987         (__cos): Save and restore rounding mode and use round-to-nearest
19988         for all computations.
19989         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19990         <fenv.h>.
19991         (tan): Save and restore rounding mode and use round-to-nearest for
19992         all computations.
19993         * math/libm-test.inc (cos_test_tonearest): New function.
19994         (cos_test_towardzero): Likewise.
19995         (cos_test_downward): Likewise.
19996         (cos_test_upward): Likewise.
19997         (sin_test_tonearest): Likewise.
19998         (sin_test_towardzero): Likewise.
19999         (sin_test_downward): Likewise.
20000         (sin_test_upward): Likewise.
20001         (tan_test_tonearest): Likewise.
20002         (tan_test_towardzero): Likewise.
20003         (tan_test_downward): Likewise.
20004         (tan_test_upward): Likewise.
20005         (main): Call the new functions.
20006         * sysdeps/i386/fpu/libm-test-ulps: Update.
20007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20008
20009         [BZ #10135]
20010         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20011         small n, then large n, before computing and testing k+n.
20012         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20013         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20014         Likewise.
20015         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20016         Likewise.
20017         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20018         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20019         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20020         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20023         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20024         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20025         * math/libm-test.inc (scalbn_test): Add more tests.
20026         (scalbln_test): Likewise.
20027
20028         * manual/filesys.texi (mode_t): Describe constraints on size and
20029         signedness, not exact equivalence to a particular type.
20030         (ino_t): Likewise.
20031         (ino64_t): Likewise.
20032         (dev_t): Likewise.
20033         (nlink_t): Likewise.
20034         (blkcnt_t): Likewise.
20035         (blkcnt64_t): Likewise.
20036         * manual/llio.texi (off_t): Likewise.
20037
20038         [BZ #3976]
20039         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20040         (__ieee754_exp): Save and restore rounding mode and use
20041         round-to-nearest for all computations.
20042         * math/libm-test.inc (exp_test_tonearest): New function.
20043         (exp_test_towardzero): Likewise.
20044         (exp_test_downward): Likewise.
20045         (exp_test_upward): Likewise.
20046         (main): Call the new functions.
20047         * sysdeps/i386/fpu/libm-test-ulps: Update.
20048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20049
20050 2012-03-01  Chris Demetriou  <cgd@google.com>
20051
20052         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20053         have predictable order.
20054
20055 2012-03-01  David S. Miller  <davem@davemloft.net>
20056
20057         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20058
20059         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20060         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20061         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20062         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20063
20064         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20065         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20066         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20068         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20069         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20070         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20071         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20072         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20073
20074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20075
20076         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20077         * sysdeps/sparc/fpu/libm-test-ulps: to here.
20078         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20079
20080         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20081         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20082         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20083         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20084         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20085         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20086         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20087         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20088         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20089         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20090         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20091         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20093         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20094         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20096         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20097         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20098         * sysdeps/sparc/elf/configure: Regenerated.
20099
20100 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
20101
20102         * configure.in (AS, LD): Require binutils 2.20 or later.
20103         * configure: Regenerated.
20104         * manual/install.texi (Tools for Compilation): Give binutils 2.20
20105         as required minimum version.
20106         * INSTALL: Regenerated.
20107
20108         [BZ #2541]
20109         [BZ #4108]
20110         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20111         before squaring exponent.
20112         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20113         bottom long double and 27 bits of top long double before squaring
20114         exponent.
20115         * math/libm-test.inc (erfc_test): Add more tests.
20116         * sysdeps/i386/fpu/libm-test-ulps: Update.
20117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20119
20120 2012-03-01  Kai Tietz  <ktietz@redhat.com>
20121
20122         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20123         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20124         containing bit-fields.
20125         * soft-fp/extended.h (_FP_UNION_E): Likewise.
20126         * soft-fp/single.h (_FP_UNION_S): Likewise.
20127         * soft-fp/double.h (_FP_UNION_D): Likewise.
20128
20129 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
20130
20131         [BZ #13786]
20132         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20133         not include ../strcmp.S.
20134         [USE_AS_STRNCASECMP_L]: Likewise.
20135         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20136         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20137         * sysdeps/i386/i686/multiarch/strncase_l-c.c
20138         (__strncasecmp_l_ia32): Define as alias to
20139         __strncasecmp_l_nonascii.
20140
20141         [BZ #5794]
20142         * math/libm-test.inc (expm1_test): Add test for bug 5794.
20143         * sysdeps/i386/fpu/libm-test-ulps: Update.
20144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20145
20146         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20148
20149 2012-02-29  Jeff Law  <law@redhat.com>
20150
20151         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20152         out of bounds read.
20153
20154 2012-02-29  Marek Polacek  <polacek@redhat.com>
20155
20156         [BZ #13706]
20157         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20158         * elf/Makefile: Add rules to run tst-unused-dep.out.
20159
20160 2012-02-28  David S. Miller  <davem@davemloft.net>
20161
20162         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20163         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20164         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20165         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20166         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20167         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20168
20169 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
20170
20171         * math/libm-test.inc (llround_test): Move one test from
20172         lround_test.  Use TEST_f_L in moved test.
20173         (lround_test): Move misplaced test to llround_test.  Add testcase
20174         from bug 2561.
20175
20176 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
20177
20178         * sysdeps/x86_64/fpu/e_expf.S: New file.
20179         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20180
20181 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
20182
20183         [BZ #13637]
20184         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20185         of remain_len that may cause incomplete multi-byte character and
20186         false match.
20187         * posix/bug-regex33.c: New file.
20188         * posix/Makefile (tests): Add bug-regex33.
20189
20190 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
20191
20192         * manual/macros.texi: New file.
20193         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20194         * manual/libc.texinfo: Include macros.texi.
20195         * manual/creatute.texi: Likewise.
20196         * manual/install.texi: Likewise.
20197         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20198         @glibcadj{} in references to the GNU C Library.
20199         * manual/charset.texi: Likewise.
20200         * manual/conf.texi: Likewise.
20201         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
20202         when not using those macros.
20203         * manual/creature.texi: Likewise.
20204         * manual/crypt.texi: Likewise.
20205         * manual/errno.texi: Likewise.
20206         * manual/filesys.texi: Likewise.
20207         * manual/header.texi: Likewise.
20208         * manual/install.texi: Likewise.
20209         * manual/intro.texi: Likewise.
20210         * manual/io.texi: Likewise.
20211         * manual/job.texi: Likewise.
20212         * manual/lang.texi: Likewise.
20213         * manual/libc.texiinfo: Likewise.
20214         * manual/llio.texi: Likewise.
20215         * manual/locale.texi: Likewise.
20216         * manual/maint.texi: Likewise.
20217         * manual/math.texi: Likewise.
20218         * manual/memory.texi: Likewise.
20219         * manual/message.texi: Likewise.
20220         * manual/nss.texi: Likewise.
20221         * manual/pattern.texi: Likewise.
20222         * manual/process.texi: Likewise.
20223         * manual/resource.texi: Likewise.
20224         * manual/search.texi: Likewise.
20225         * manual/setjmp.texi: Likewise.
20226         * manual/signal.texi: Likewise.
20227         * manual/socket.texi: Likewise.
20228         * manual/startup.texi: Likewise.
20229         * manual/stdio.texi: Likewise.
20230         * manual/string.texi: Likewise.
20231         * manual/sysinfo.texi: Likewise.
20232         * manual/syslog.texi: Likewise.
20233         * manual/terminal.texi: Likewise.
20234         * manual/time.texi: Likewise.
20235         * manual/users.texi: Likewise.
20236         * INSTALL: Regenerated.
20237         * NOTES: Regenerated.
20238         * sysdeps/gnu/errlist.c: Regenerated.
20239
20240 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
20241
20242         * include/dirent.h: Include <dirstream.h> before
20243         <dirent/dirent.h>.
20244
20245 2012-02-28  David S. Miller  <davem@davemloft.net>
20246
20247         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20248         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20249         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20250         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20251
20252 2012-02-27  David S. Miller  <davem@davemloft.net>
20253
20254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20256         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20257         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20258
20259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20260         frame pointer instead of stack pointer relative arg slot.
20261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20262         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20263         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20264
20265 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
20266
20267         [BZ #3992]
20268         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20269
20270 2012-02-27  David S. Miller  <davem@davemloft.net>
20271
20272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20276         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20277         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20278         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20279         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20280
20281 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
20282
20283         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20284         later.  Allow versions 5-9.
20285         * configure: Regenerated.
20286         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20287         required minimum version and 4.6 as recommended version.  Do not
20288         mention bugs in GCC 2.7 and 2.8.
20289         * INSTALL: Regenerated.
20290
20291 2012-02-27  David S. Miller  <davem@davemloft.net>
20292
20293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20297         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20298         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20299         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20300         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20301
20302         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20303         manipulate bits before adding and subtracting TWO112[sx].
20304         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20305
20306 2012-02-27  Roland McGrath  <roland@hack.frob.com>
20307
20308         [BZ #13775]
20309         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20310         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20311         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20312         being in POSIX, because they are in 1003.1-2008.
20313
20314         * rt/tst-aio.c: Include <fcntl.h>.
20315         * rt/tst-aio7.c: Likewise.
20316         * rt/tst-aio64.c: Likewise.
20317
20318         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20319
20320 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
20321
20322         * manual/install.texi (--with-headers): Describe headers as
20323         interface headers, not private headers.
20324         (Specific advice for GNU/Linux systems): Describe use of headers
20325         from "make headers_install", not private headers from older
20326         kernels.
20327         * INSTALL: Regenerated.
20328         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20329         Change to 2.6.19.
20330         * sysdeps/unix/sysv/linux/configure: Regenerated.
20331
20332         * manual/llio.texi (fclean): Remove documentation.
20333
20334         * manual/Makefile (libc-texi-generated): New variable.  Include
20335         version.texi.
20336         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20337         $(libc-texi-generated), not duplicated list of files.
20338         (version.texi, stamp-version): New rules.
20339         (realclean): Remove $(libc-texi-generated), not individual files
20340         from that list.  Do not remove dir-add.texinfo.
20341         * manual/libc.texinfo: Comment out uses of edition numbers and
20342         references to printed manual.  Remove last-updated dates.
20343         (EDITION): Comment out.
20344         (ISBN): Likewise.
20345         (VERSION, UPDATED): Remove.
20346         (version.texi): Include.
20347
20348 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
20349
20350         * sysdeps/posix/spawni.c: Include <signal.h>.
20351         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20352         * sysdeps/pthread/aio_fsync.c: Likewise.
20353
20354 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
20355
20356         * conform/Makefile (tests): Run only when not cross-compiling and
20357         when fast-check is not defined.
20358
20359         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20360         * conform/data/limits.h-data: Fixes for POSIX2008.
20361         * conform/run-conformtest.sh: Run all tests.
20362         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20363         headers.
20364         * include/bits/dlfcn.h: Likewise.
20365         * include/langinfo.h: Likewise.
20366         * include/monetary.h: Likewise.
20367         * include/sys/poll.h: Likewise.
20368
20369         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20370         for __USE_GNU.
20371         * posix/spawn.h: Define __need_sigset_t.
20372         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20373         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20374         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
20375         to get sigevent_t only.
20376         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20377         only for __USE_GNU.
20378         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20379         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20380         process_vm_writev only for __USE_GNU.
20381         * termios/termios.h: Declare tcgetsid also for POSIX2008.
20382
20383         * conform/Makefile: For now ignore errors from run-conformtest.
20384         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
20385         POSIX to avoid namespace pollution.  Don't prepend headers.
20386         * conform/data/aio.h-data: Fixes for POSIX testing.
20387         * conform/data/fcntl.h-data: Likewise.
20388         * conform/data/glob.h-data: Likewise.
20389         * conform/data/grp.h-data: Likewise.
20390         * conform/data/pthread.h-data: Likewise.
20391         * conform/data/pwd.h-data: Likewise.
20392         * conform/data/signal.h-data: Likewise.
20393         * conform/data/spawn.h-data: Likewise.
20394         * conform/data/stdio.h-data: Likewise.
20395         * conform/data/stdlib.h-data: Likewise.
20396         * conform/data/stropts.h-data: Likewise.
20397         * conform/data/sys/mman.h-data: Likewise.
20398         * conform/data/sys/stat.h-data: Likewise.
20399         * conform/data/sys/types.h-data: Likewise.
20400         * conform/data/sys/wait.h-data: Likewise.
20401         * conform/data/time.h-data: Likewise.
20402         * conform/data/unistd.h-data: Likewise.
20403         * conform/data/utime.h-data: Likewise.
20404
20405         * io/sys/stat.h: fchmod was always in POSIX.
20406         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20407         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20408         * rt/aio.h: Define __need_timespec before including <time.h>.
20409         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20410         struct.  Add forward declaration of pthread_attr_t and use it in
20411         sigevent.
20412         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20413         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20414         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20415         always remove CLK_TCK definition.
20416
20417 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
20418
20419         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20420
20421 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
20422
20423         * conform/run-conformtest.sh: New file.
20424         * conform/Makefile: Run run-conformtest for tests.
20425         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
20426         support.
20427
20428         * conform/data/uchar.h-data: New file.
20429         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20430         * conform/data/arpa/inet.h-data: Likewise.
20431         * conform/data/assert.h-data: Likewise.
20432         * conform/data/complex.h-data: Likewise.
20433         * conform/data/cpio.h-data: Likewise.
20434         * conform/data/ctype.h-data: Likewise.
20435         * conform/data/dirent.h-data: Likewise.
20436         * conform/data/dlfcn.h-data: Likewise.
20437         * conform/data/errno.h-data: Likewise.
20438         * conform/data/fcntl.h-data: Likewise.
20439         * conform/data/float.h-data: Likewise.
20440         * conform/data/fmtmsg.h-data: Likewise.
20441         * conform/data/fnmatch.h-data: Likewise.
20442         * conform/data/ftw.h-data: Likewise.
20443         * conform/data/glob.h-data: Likewise.
20444         * conform/data/grp.h-data: Likewise.
20445         * conform/data/iconv.h-data: Likewise.
20446         * conform/data/inttypes.h-data: Likewise.
20447         * conform/data/langinfo.h-data: Likewise.
20448         * conform/data/libgen.h-data: Likewise.
20449         * conform/data/limits.h-data: Likewise.
20450         * conform/data/locale.h-data: Likewise.
20451         * conform/data/math.h-data: Likewise.
20452         * conform/data/monetary.h-data: Likewise.
20453         * conform/data/mqueue.h-data: Likewise.
20454         * conform/data/ndbm.h-data: Likewise.
20455         * conform/data/net/if.h-data: Likewise.
20456         * conform/data/netdb.h-data: Likewise.
20457         * conform/data/netinet/in.h-data: Likewise.
20458         * conform/data/nl_types.h-data: Likewise.
20459         * conform/data/poll.h-data: Likewise.
20460         * conform/data/pthread.h-data: Likewise.
20461         * conform/data/pwd.h-data: Likewise.
20462         * conform/data/regex.h-data: Likewise.
20463         * conform/data/sched.h-data: Likewise.
20464         * conform/data/search.h-data: Likewise.
20465         * conform/data/semaphore.h-data: Likewise.
20466         * conform/data/setjmp.h-data: Likewise.
20467         * conform/data/signal.h-data: Likewise.
20468         * conform/data/spawn.h-data: Likewise.
20469         * conform/data/stdarg.h-data: Likewise.
20470         * conform/data/stdio.h-data: Likewise.
20471         * conform/data/stdlib.h-data: Likewise.
20472         * conform/data/string.h-data: Likewise.
20473         * conform/data/strings.h-data: Likewise.
20474         * conform/data/stropts.h-data: Likewise.
20475         * conform/data/sys/ipc.h-data: Likewise.
20476         * conform/data/sys/mman.h-data: Likewise.
20477         * conform/data/sys/msg.h-data: Likewise.
20478         * conform/data/sys/resource.h-data: Likewise.
20479         * conform/data/sys/select.h-data: Likewise.
20480         * conform/data/sys/sem.h-data: Likewise.
20481         * conform/data/sys/shm.h-data: Likewise.
20482         * conform/data/sys/socket.h-data: Likewise.
20483         * conform/data/sys/stat.h-data: Likewise.
20484         * conform/data/sys/statvfs.h-data: Likewise.
20485         * conform/data/sys/time.h-data: Likewise.
20486         * conform/data/sys/timeb.h-data: Likewise.
20487         * conform/data/sys/times.h-data: Likewise.
20488         * conform/data/sys/types.h-data: Likewise.
20489         * conform/data/sys/uio.h-data: Likewise.
20490         * conform/data/sys/un.h-data: Likewise.
20491         * conform/data/sys/utsname.h-data: Likewise.
20492         * conform/data/sys/wait.h-data: Likewise.
20493         * conform/data/syslog.h-data: Likewise.
20494         * conform/data/tar.h-data: Likewise.
20495         * conform/data/termios.h-data: Likewise.
20496         * conform/data/utime.h-data: Likewise.
20497         * conform/data/utmpx.h-data: Likewise.
20498         * conform/data/varargs.h-data: Likewise.
20499         * conform/data/wchar.h-data: Likewise.
20500         * conform/data/wctype.h-data: Likewise.
20501         * conform/data/wordexp.h-data: Likewise.
20502
20503         * include/stropts.h: New file.
20504         * include/uchar.h: New file.
20505         * include/aio.h: Changes to allow conformtest.pl to use the headers.
20506         * include/assert.h: Likewise.
20507         * include/ctype.h: Likewise.
20508         * include/dirent.h: Likewise.
20509         * include/dlfcn.h: Likewise.
20510         * include/fcntl.h: Likewise.
20511         * include/fnmatch.h: Likewise.
20512         * include/glob.h: Likewise.
20513         * include/grp.h: Likewise.
20514         * include/libio.h: Likewise.
20515         * include/locale.h: Likewise.
20516         * include/math.h: Likewise.
20517         * include/net/if.h: Likewise.
20518         * include/netdb.h: Likewise.
20519         * include/netinet/in.h: Likewise.
20520         * include/pthread.h: Likewise.
20521         * include/pwd.h: Likewise.
20522         * include/regex.h: Likewise.
20523         * include/sched.h: Likewise.
20524         * include/search.h: Likewise.
20525         * include/setjmp.h: Likewise.
20526         * include/signal.h: Likewise.
20527         * include/stdio.h: Likewise.
20528         * include/stdlib.h: Likewise.
20529         * include/string.h: Likewise.
20530         * include/sys/cdefs.h: Likewise.
20531         * include/sys/mman.h: Likewise.
20532         * include/sys/msg.h: Likewise.
20533         * include/sys/resource.h: Likewise.
20534         * include/sys/select.h: Likewise.
20535         * include/sys/socket.h: Likewise.
20536         * include/sys/stat.h: Likewise.
20537         * include/sys/statvfs.h: Likewise.
20538         * include/sys/time.h: Likewise.
20539         * include/sys/times.h: Likewise.
20540         * include/sys/uio.h: Likewise.
20541         * include/sys/utsname.h: Likewise.
20542         * include/sys/wait.h: Likewise.
20543         * include/termios.h: Likewise.
20544         * include/time.h: Likewise.
20545         * include/ulimit.h: Likewise.
20546         * include/unistd.h: Likewise.
20547         * include/utime.h: Likewise.
20548         * include/wchar.h: Likewise.
20549         * include/wctype.h: Likewise.
20550         * include/wordexp.h: Likewise.
20551
20552         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20553
20554         * time/time.h: TIME_UTC must be a macro.
20555         Make timespec_get available for ISO C11 only as well.
20556
20557 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
20558
20559         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20560         Reported by Peng Haitao <penght@cn.fujitsu.com>.
20561
20562 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20563
20564         * configure.in: Use -o not -a in test for unsupported multi-arch.
20565
20566 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20567
20568         * manual/texinfo.tex: Update to version 2012-01-19.16.
20569
20570 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20571
20572         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20573
20574 2012-02-24  Roland McGrath  <roland@hack.frob.com>
20575
20576         [BZ #13738]
20577         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20578         * manual/fdl-1.3.texi: New file.
20579         * manual/fdl-1.1.texi: File removed.
20580
20581         [BZ #13738]
20582         * manual/libc.texinfo (FDL_VERSION): New @set.
20583         Use it for mention of FDL in cover text.
20584         (Documentation License): Use it in @include file name.
20585
20586 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20587             Roland McGrath  <roland@hack.frob.com>
20588
20589         [BZ #5461]
20590         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20591         not LONG_LONG_MAX and LONG_LONG_MIN.
20592         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20593         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
20594         name.
20595         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20596
20597 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20598
20599         [BZ #2547]
20600         [BZ #11365]
20601         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20602         manipulate bits before adding and subtracting TWO23[sx].
20603         * math/libm-test.inc (nearbyint_test): Add more tests.
20604
20605 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20606
20607         [BZ #2548]
20608         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20609         bits before adding and subtracting TWO23[sx].
20610         * math/libm-test.inc (rint_test): Add more tests.
20611         (rint_test_tonearest): Likewise.
20612         (rint_test_towardzero): Likewise.
20613         (rint_test_downward): Likewise.
20614         (rint_test_upward: Likewise.
20615
20616 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20617
20618         [BZ #10110]
20619         * include/stdc-predef.h: New file.  Extracted from features.h.
20620         * include/features.h: Include stdc-predef.h.
20621         * Makefile (headers): Add stdc-predef.h.
20622         * CONFORMANCE (Compiler limitations): Update.
20623
20624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20625
20626         * manual/libc.texinfo (VERSION, UPDATED): Revert.
20627
20628 2012-02-21  David S. Miller  <davem@davemloft.net>
20629
20630         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20631         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20632
20633 2012-02-20  David S. Miller  <davem@davemloft.net>
20634
20635         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20636         using a normal save/restore sequence, rather than allocating a
20637         dummy stack frame just to store a frame pointer and restore.
20638         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20639
20640 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20641
20642         * manual/install.texi: Fix stray word in line-wrapped comment.
20643
20644 2012-02-20  David S. Miller  <davem@davemloft.net>
20645
20646         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20647         both binutils and gcc support GOTDATA.
20648
20649         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20650         "rd %pc" in the PIC register setup sequences.
20651
20652         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20653         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20654         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20655         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20656         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20657         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20658         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20659         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20661         (SYSCALL_ERROR_HANDLER): Likewise.
20662         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20663         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20665         (SYSCALL_ERROR_HANDLER): Likewise.
20666
20667         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20668         (HAVE_GCC_GOTDATA): New.
20669         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20670         relocation support in both binutils and gcc.
20671         * sysdeps/sparc/elf/configure: Regenerate.
20672
20673         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20674         * sysdeps/sparc/sparc32/elf/configure: Delete.
20675         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20676         * sysdeps/sparc/sparc64/elf/configure: Delete.
20677         * sysdeps/sparc/elf/configure.in: New file.
20678         * sysdeps/sparc/elf/configure: Generate.
20679
20680         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20681         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20682         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20683         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20684         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20685
20686 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20687
20688         * manual/install.texi: Do not mention specific glibc version
20689         numbers.
20690         * manual/libc.texinfo (VERSION, UPDATED): Update.
20691         (@copying): Use @copyright{} and range of years.
20692
20693 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20694
20695         [BZ #13695]
20696         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20697         [crti.S not in sysdirs] (generated): Do not append.
20698         [crti.S not in sysdirs] (omit-deps): Likewise.
20699         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20700         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20701         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20702         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20703         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20704         Likewise.
20705         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20706         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20707         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20708         * csu/defs.awk: Remove file.
20709         * sysdeps/generic/initfini.c: Likewise.
20710         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20711         variable.
20712         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20713         Likewise.
20714
20715 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20716
20717         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20718         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20719         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20720         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20721         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20722         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20723         <bits/epoll.h>.
20724         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20725         (__EPOLL_PACKED): Define to empty if not defined by
20726         <bits/epoll.h>.
20727         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20729         bits/epoll.h.
20730
20731 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20732
20733         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20734         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20735         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20736         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20737         <bits/timerfd.h>.
20738         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20739         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20740         bits/timerfd.h.
20741
20742 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20743
20744         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20745         in C locale.
20746         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20747         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20748         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750
20751 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20752
20753         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20754         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20755
20756 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20757
20758         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20759         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20760         defined.
20761         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20762         Likewise.
20763         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20764         entry for 2.16.
20765
20766 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20767
20768         * math/w_acos.c: Use non-signaling floating-point comparisons.
20769         * math/w_acosf.c: Likewise.
20770         * math/w_acosh.c: Likewise.
20771         * math/w_acoshf.c: Likewise.
20772         * math/w_acoshl.c: Likewise.
20773         * math/w_acosl.c: Likewise.
20774         * math/w_asin.c: Likewise.
20775         * math/w_asinf.c: Likewise.
20776         * math/w_asinl.c: Likewise.
20777         * math/w_atanh.c: Likewise.
20778         * math/w_atanhf.c: Likewise.
20779         * math/w_atanhl.c: Likewise.
20780         * math/w_exp2.c: Likewise.
20781         * math/w_exp2f.c: Likewise.
20782         * math/w_exp2l.c: Likewise.
20783         * math/w_j0.c: Likewise.
20784         * math/w_j0f.c: Likewise.
20785         * math/w_j0l.c: Likewise.
20786         * math/w_j1.c: Likewise.
20787         * math/w_j1f.c: Likewise.
20788         * math/w_j1l.c: Likewise.
20789         * math/w_jn.c: Likewise.
20790         * math/w_jnf.c: Likewise.
20791         * math/w_log.c: Likewise.
20792         * math/w_log10.c: Likewise.
20793         * math/w_log10f.c: Likewise.
20794         * math/w_log10l.c: Likewise.
20795         * math/w_log2.c: Likewise.
20796         * math/w_log2f.c: Likewise.
20797         * math/w_log2l.c: Likewise.
20798         * math/w_logf.c: Likewise.
20799         * math/w_logl.c: Likewise.
20800         * math/w_sqrt.c: Likewise.
20801         * math/w_sqrtf.c: Likewise.
20802         * math/w_sqrtl.c: Likewise.
20803         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20804         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20805         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20806         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20807         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20808
20809 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20810
20811         [BZ #9739]
20812         * manual/string.texi (strnlen): Use correct parameter name in
20813         equivalent expression.
20814
20815 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20816
20817         [BZ #11174]
20818         * manual/users.texi (seteuid): Consistently use neweuid for
20819         argument name.
20820
20821 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20822
20823         [BZ #13704]
20824         * manual/nss.texi (Services in the NSS configuration): Correct
20825         list of services in example configuration file.
20826
20827 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20828
20829         [BZ #11322]
20830         * manual/arith.texi: Remove statements about negative zero
20831         behaving identically to zero.
20832
20833 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20834
20835         [BZ #5993]
20836         * manual/install.texi: Do not document upgrading from libc5.
20837
20838 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20839
20840         [BZ #4596]
20841         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20842
20843 2012-02-18  David S. Miller  <davem@davemloft.net>
20844
20845         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20846         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20847         %o7 across the call.
20848         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20849         instead.
20850         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20851         SETUP_PIC_REG_LEAF.
20852         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20853         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20854         * sysdeps/sparc/crtn.S: Likewise.
20855
20856 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20857
20858         * aout/Makefile: Remove.
20859
20860 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20861
20862         [BZ #13058]
20863         * manual/examples/argp-ex1.c (main): Format definition in GNU
20864         style.
20865         * manual/examples/argp-ex2.c (main): Likewise.
20866         * manual/examples/argp-ex3.c (main): Likewise.
20867         * manual/examples/argp-ex4.c (main): Likewise.
20868         * manual/examples/longopt.c (main): Use new-style prototype
20869         definition.
20870         * manual/examples/strncat.c (main): Specify return type and use
20871         (void) for arguments.
20872         * manual/examples/subopt.c (main): Use char **argv argument.
20873
20874 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20875
20876         [BZ #5077]
20877         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20878         rounding modes.
20879
20880 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20881
20882         [BZ #6907]
20883         * manual/string.texi (strchr): Change when strchrnul is
20884         recommended.
20885
20886 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20887
20888         [BZ #174]
20889         * manual/locale.texi (setlocale): Document LOCPATH.
20890
20891 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20892
20893         [BZ #10210]
20894         * manual/process.texi (execle): Move @dots{} before last argument.
20895
20896 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20897
20898         [BZ #12047]
20899         * manual/charset.texi (Generic Charset Conversion): Fix typo
20900         (LC_TYPE -> LC_CTYPE).
20901
20902 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20903
20904         [BZ #5805]
20905         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20906         (scalbnf): Likewise.
20907         (scalbnl): Likewise.
20908         (scalbln): Likewise.
20909         (scalblnf): Likewise.
20910         (scalblnl): Likewise.
20911         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20912         (vwarnx): Likewise.
20913         (verr): Likewise.
20914         (verrx): Likewise.
20915         * manual/filesys.texi (telldir): Use braces around return type.
20916         * manual/llio.texi (mmap): Add space after comma.
20917         (mmap64): Likewise.
20918         * manual/math.texi (jn): Use @var{} on parameter names.
20919         (jnf): Likewise.
20920         (jnl): Likewise.
20921         (yn): Likewise.
20922         (ynf): Likewise.
20923         (ynl): Likewise.
20924         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20925         line.
20926         * manual/resource.texi (ulimit): Use @dots{} instead of literal
20927         "...".
20928         (sched_get_priority_min): Remove semicolon on @deftypefun line.
20929         (sched_get_priority_max): Likewise.
20930         * manual/signal.texi (sigvec): Add space after comma.
20931         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20932         names.
20933         (if_indextoname): Likewise.
20934         (if_freenameindex): Likewise.
20935         (sendto): Use ',' instead of '.' in prototype.
20936         * manual/startup.texi (syscall): Use @dots{} instead of literal
20937         "...".
20938         * manual/stdio.texi (__fpending): Separate initial words of
20939         paragraph from @deftypefun line.
20940         * manual/syslog.texi (syslog): Use @dots{} instead of literal
20941         "...".
20942         (vsyslog): Use @var{} on parameter names.
20943         * manual/terminal.texi (stty): Use @var{} on parameter names.
20944         * manual/users.texi (getutmp): Use @var{} on parameter names.
20945         (getutmpx): Likewise.
20946
20947 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20948
20949         [BZ #6884]
20950         * manual/stdio.texi (fopen): Fix typos in description of
20951         ",ccs=STRING".
20952
20953 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
20954
20955         [BZ #4026]
20956         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20957         get clock_id definition.
20958
20959 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
20960
20961         [BZ #4822]
20962         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20963         (madvise): Cast every argument to void on its own.
20964
20965 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20966
20967         [BZ #9902]
20968         * manual/startup.texi (Exit Status): Fix typo.
20969
20970 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20971
20972         [BZ #10140]
20973         * manual/examples/argp-ex1.c: Include <stdlib.h>.
20974         * manual/examples/argp-ex2.c: Likewise.
20975         * manual/examples/argp-ex3.c: Likewise.
20976
20977 2012-02-16  Richard Henderson  <rth@redhat.com>
20978
20979         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20980         * sysdeps/s390/s390-32/initfini.c: Remove.
20981         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20982         * sysdeps/s390/s390-64/initfini.c: Remove.
20983
20984 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20985
20986         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20987         compiler output for sysdeps/generic/initfini.c.
20988         * sysdeps/sh/elf/initfini.c: Remove file.
20989
20990 2012-02-16  David S. Miller  <davem@davemloft.net>
20991
20992         [BZ #11494]
20993         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20994
20995         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20996         * sysdeps/sparc/crti.S: New file.
20997         * sysdeps/sparc/crtn.S: New file.
20998         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20999         * sysdeps/sparc/sparc64/Makefile: Likewise.
21000
21001 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
21002
21003         [BZ #3335]
21004         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21005
21006 2012-02-15  Roland McGrath  <roland@hack.frob.com>
21007
21008         [BZ #4822]
21009         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21010
21011         * mach/devstream.c (cookie_io_functions_t): Macro removed.
21012         (write, read, close): Likewise.
21013         Patch by Aurelien Jarno <aurelien@aurel32.net>.
21014
21015 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
21016
21017         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21018         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21019         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21020         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21021         <bits/signalfd.h>.
21022         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21024         bits/signalfd.h.
21025
21026 2012-02-14  Marek Polacek  <polacek@redhat.com>
21027
21028         * sysdeps/x86_64/crti.S: New file.
21029         * sysdeps/x86_64/crtn.S: New file.
21030         * sysdeps/x86_64/elf/initfini.c: Remove file.
21031
21032 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
21033
21034         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21035         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21036         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21037         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21038         <bits/inotify.h>.
21039         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21040         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21041         bits/inotify.h.
21042
21043 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
21044
21045         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21046         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21047         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21048         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21049         <bits/eventfd.h>.
21050         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21051         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21052         bits/eventfd.h.
21053
21054 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
21055
21056         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21057         __feraiseexcept instead of feraiseexcept.
21058
21059         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21060         nanosleep invocations.
21061         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21062         strings, and add error checking for a nanosleep invocations.
21063
21064 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
21065
21066         Replace FSF snail mail address with URLs, as per GNU coding standards.
21067         Most of the snail mail addresses were wrong anyway, and omitting
21068         them makes the source code easier to maintain.  Almost all of the
21069         changes are to license notices and to locale LC_IDENTIFICATION
21070         addresses, except for this one:
21071         * manual/libc.texinfo: In "Published by", give the FSF's URL,
21072         not its snail mail address.
21073
21074 2012-02-09  Richard Henderson  <rth@twiddle.net>
21075
21076         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21077         of kernel-features.h.
21078
21079         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21080
21081 2012-02-08  Marek Polacek  <polacek@redhat.com>
21082
21083         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21084         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21085         * sysdeps/gnu/_G_config.h: Likewise.
21086         * sysdeps/generic/_G_config.h: Likewise.
21087
21088 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
21089
21090         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21091         tests.
21092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21093
21094         * sysdeps/powerpc/powerpc32/crti.S: New file.
21095         * sysdeps/powerpc/powerpc32/crtn.S: New file.
21096         * sysdeps/powerpc/powerpc64/crti.S: New file.
21097         * sysdeps/powerpc/powerpc64/crtn.S: New file.
21098
21099         * Makeconfig (have-initfini): Don't set.
21100         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21101         * configure.in (nopic_initfini): Don't substitute.
21102         * config.h.in (HAVE_INITFINI): Don't #undef.
21103         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21104         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21105
21106 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
21107
21108         Support crti.S and crtn.S provided directly by architectures.
21109         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21110         [crti.S in sysdirs] (omit-deps): Likewise.
21111         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21112         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21113         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21114         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21115         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21116         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21117         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21118         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21119         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21120         compiler output for sysdeps/generic/initfini.c.
21121         * sysdeps/i386/elf/Makefile: Remove file.
21122         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21123
21124 2012-02-07  Marek Polacek  <polacek@redhat.com>
21125
21126         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21127         * sysdeps/gnu/_G_config.h: Likewise.
21128         * sysdeps/mach/hurd/_G_config.h: Likewise.
21129
21130 2012-02-07  Marek Polacek  <polacek@redhat.com>
21131
21132         * math/Makefile (tests): Add tst-CMPLX2.
21133         * math/tst-CMPLX2.c: New file.
21134
21135 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
21136
21137         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21138
21139         * math/libm-test.inc (jn_test): Add missing L suffix.
21140
21141 2012-02-06  Marek Polacek  <polacek@redhat.com>
21142
21143         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21144         * sysdeps/i386/fpu/e_powf.S: Likewise.
21145         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21146         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21147         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21148         * sysdeps/i386/fpu/e_pow.S: Likewise.
21149         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21150         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21151         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21152         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21153         * sysdeps/i386/fpu/e_log2.S: Likewise.
21154         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21155         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21156         * sysdeps/i386/fpu/e_powl.S: Likewise.
21157         * sysdeps/i386/fpu/s_log1p.S: Likewise.
21158         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21159         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21160         * sysdeps/i386/fpu/e_logl.S: Likewise.
21161         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21162         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21163         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21164         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21165         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21166         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21167         * sysdeps/i386/fpu/e_log.S: Likewise.
21168         * sysdeps/i386/fpu/s_cexp.S: Likewise.
21169         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21170         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21171         * sysdeps/i386/fpu/e_logf.S: Likewise.
21172         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21173         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21174         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21175         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21176         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21177         * sysdeps/i386/fpu/e_log10.S: Likewise.
21178         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21179         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21180         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21181         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21182         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21183         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21184         * sysdeps/i386/asm-syntax.h: Likewise.
21185         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21186         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21187         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21188         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21189         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21190         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21191         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21192         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21193         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21194         * sysdeps/powerpc/sysdep.h: Likewise.
21195         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21196         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21197
21198 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
21199
21200         [BZ #411]
21201         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21202
21203 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
21204
21205         * sysdeps/i386/sysdep.h: Include <features.h>.
21206         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21207         version.
21208
21209 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
21210
21211         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21212         Define.
21213         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21214         LOAD_PIC_REG_STR.
21215
21216 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
21217
21218         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21219         (SETUP_PIC_REG): Use GET_PC_THUNK.
21220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21221         macro.
21222
21223 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
21224
21225         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21226         for non-PIC compilation.
21227         (SETUP_PIC_REG): Add .p2align directive.
21228         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21229         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21230         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21231         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21232         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21233         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21234         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21235         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21236         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21237         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21238         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21239         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21240         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21241         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21242         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21243         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21244         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21245         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21246         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21247         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21248         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21249         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21250         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21251         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21252         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21253         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21254         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21255         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21256         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21257         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21258         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21259         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21260         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21261         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21262         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21263         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21264         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21265         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21266         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21267         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21268         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21269
21270 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
21271
21272         * math/tst-CMPLX.c: Include <stdio.h>.
21273
21274 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
21275
21276         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21277         float.
21278         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21279         * sysdeps/sparc/bits/mathdef.h: Likewise.
21280
21281 2012-01-31  Marek Polacek  <polacek@redhat.com>
21282
21283         * libio/libio.h: Don't define _PARAMS.
21284         * locale/programs/config.h: Don't define PARAMS.
21285         * stdlib/strtol_l.c: Likewise.
21286         (__strtol_l): Remove PARAMS from the prototype.
21287
21288 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
21289
21290         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
21291         names.  Just use the correct names.  Remove unnecessary wrapper
21292         functions.
21293         * malloc/arena.c: Likewise.
21294         * malloc/hooks.c: Likewise.
21295
21296         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21297         ARENA_TEST says not to.  Simplify test for creation of a new arena.
21298         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21299
21300 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
21301
21302         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21303         into tail calls.
21304         (update_get_addr): New function.
21305         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21306         GET_ADDR_MODULE parameter.
21307
21308 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
21309
21310         * crypt/cert.c: Remove __STDC__ conditionals.
21311         * crypt/crypt-entry.c: Likewise.
21312         * crypt/crypt_util.c: Likewise.
21313         * libio/filedoalloc.c: Likewise.
21314         * libio/fileops.c: Likewise.
21315         * libio/genops.c: Likewise.
21316         * libio/iofclose.c: Likewise.
21317         * libio/iofdopen.c: Likewise.
21318         * libio/iofopen.c: Likewise.
21319         * libio/iofopen64.c: Likewise.
21320         * libio/iogetdelim.c: Likewise.
21321         * libio/iopopen.c: Likewise.
21322         * libio/obprintf.c: Likewise.
21323         * libio/oldfileops.c: Likewise.
21324         * libio/oldiofclose.c: Likewise.
21325         * libio/oldiofdopen.c: Likewise.
21326         * libio/oldiofopen.c: Likewise.
21327         * libio/oldiopopen.c: Likewise.
21328         * libio/wfiledoalloc.c: Likewise.
21329         * libio/wgenops.c: Likewise.
21330         * locale/programs/xmalloc.c: Likewise.
21331         * misc/syslog.c: Likewise.
21332         * stdio-common/xbug.c: Likewise.
21333         * string/memchr.c: Likewise.
21334         * string/memcmp.c: Likewise.
21335         * string/memrchr.c: Likewise.
21336         * string/rawmemchr.c: Likewise.
21337         * sysdeps/posix/getcwd.c: Likewise.
21338         * time/strftime_l.c: Likewise.
21339
21340 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
21341
21342         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21343         * config.make.in (config-cflags-sse2avx): Define.
21344         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21345         Fix typo.
21346
21347 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
21348
21349         * scripts/config.guess: Update from upstream config git repository.
21350         * scripts/config.sub: Likewise.
21351
21352 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
21353
21354         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21355         (EM_NUM): Update.
21356         (R_TILEPRO_*, R_TILEGX_*): New macros.
21357
21358         * scripts/firstversions.awk: Fix bug in version range handling.
21359
21360         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21361
21362         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21363
21364         * include/sys/epoll.h: New file.
21365         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21366         libc_hidden_def.
21367
21368 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
21369
21370         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21371         Avoid unnecessary __WORDSIZE == 64 test.
21372         (fmaxf): Use VEX format if possible.
21373         (fmax): Likewise.
21374         (fminf): Likewise.
21375         (fmin): Likewise.
21376
21377         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21378         * math/math_private.h: Remove libc_fegetround* and
21379         libc_fesetround*.
21380         * sysdeps/i386/configure.in: Check for -msse2avx.
21381         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21382         also if SSE2AVX is defined.
21383         Remove libc_fegetround* and libc_fesetround*.
21384         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21385         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
21386         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21387         of HAS_YMM_USABLE.
21388         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21389         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21390         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21391         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21392         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21393
21394         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21395
21396 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21397
21398         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21399         size is not set.
21400         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21401
21402 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
21403
21404         [BZ #13618]
21405         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21406         relocation.
21407         * Makeconfig (libm): Define.
21408         * elf/Makefile: Add rules to build and run tst-relsort1.
21409         * elf/tst-relsort1.c: New file.
21410         * elf/tst-relsort1mod1.c: New file.
21411         * elf/tst-relsort1mod2.c: New file.
21412
21413 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
21414
21415         * math/s_ldexp.c: Remove __STDC__ conditionals.
21416         * math/s_ldexpf.c: Likewise.
21417         * math/s_ldexpl.c: Likewise.
21418         * math/s_nextafter.c: Likewise.
21419         * math/s_nexttowardf.c: Likewise.
21420         * math/s_significand.c: Likewise.
21421         * math/s_significandf.c: Likewise.
21422         * math/s_significandl.c: Likewise.
21423         * math/w_jnl.c: Likewise.
21424         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21425         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21426         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21427         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21428         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21429         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21430         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21431         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21432         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21433         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21434         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21435         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21436         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21437         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21438         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21439         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21440         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21441         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21443         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21444         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21445         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21446         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21447         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21448         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21449         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21450         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21451         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21452         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21453         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21454         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21455         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21456         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21457         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21458         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21459         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21460         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21461         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21462         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21463         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21464         * sysdeps/ieee754/k_standard.c: Likewise.
21465         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21466         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21467         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21468         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21469         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21470         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21471         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21472         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21473         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21474         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21475         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21476         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21477         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21478         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21479         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21480         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21481         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21482         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21483         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21484         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21485         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21486         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21487         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21488         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21489         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21490         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21491         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21494         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21495         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21496         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21497         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21498         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21499         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21500         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21501         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21502         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21503         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21504         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21505         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21506         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21507         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21508         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21509         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21510         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21511         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21512         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21513         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21514         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21515         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21516         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21517         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21518         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21519         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21520         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21521         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21522         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21523         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21524         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21525         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21526         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21527         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21528         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21529         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21530         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21531         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21532         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21533         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21534         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21535         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21536         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21537         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21538         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21539         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21540         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21541         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21542         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21543         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21544         * sysdeps/ieee754/s_matherr.c: Likewise.
21545         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21546         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21547         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21548         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21549
21550 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
21551
21552         * crypt/md5.h: Remove __STDC__ conditionals.
21553         * libio/libioP.h: Likewise.
21554         * locale/programs/config.h: Likewise.
21555         * sysdeps/generic/sysdep.h: Likewise.
21556         * sysdeps/i386/asm-syntax.h: Likewise.
21557         * sysdeps/s390/asm-syntax.h: Likewise.
21558         * sysdeps/unix/sysdep.h: Likewise.
21559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21561
21562 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
21563
21564         * libio/libio.h: Remove __STDC__ conditionals.
21565         * malloc/obstack.h: Likewise.
21566         * math/complex.h: Likewise.
21567         * math/math.h: Likewise.
21568         * sysdeps/generic/_G_config.h: Likewise.
21569         * sysdeps/gnu/_G_config.h: Likewise.
21570         * sysdeps/mach/hurd/_G_config.h: Likewise.
21571         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21572         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21573         * sysdeps/sparc/bits/mathdef.h: Likewise.
21574
21575 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
21576
21577         [BZ #13583]
21578         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21579         Clean up HAS_* macros.
21580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21581         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21582         possible.
21583         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21584         HAS_AVX.
21585         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21586         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21587         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21588         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21589         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21590
21591 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
21592
21593         * elf/tst-unique3.cc (gets): Remove declaration.
21594         * elf/tst-unique3lib.cc (gets): Likewise.
21595         * elf/tst-unique3lib2.cc (gets): Likewise.
21596         * elf/tst-unique4.cc (gets): Likewise.
21597
21598 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
21599
21600         * include/stdio.h: Add C++ protection.  Add gets declarations and
21601         definitions.
21602         * debug/tst-chk1.c: Don't declare gets here.
21603         * stdio-common/tst-gets.c: Likewise.
21604
21605 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21606
21607         * posix/glob: Remove directory.
21608
21609 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21610
21611         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21612
21613 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
21614
21615         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21616         of the non-standard EPFNOSUPPORT.
21617
21618 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21619
21620         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21621         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21622         ANYWHERE set to 1 only on KERN_NO_SPACE error.
21623
21624 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
21625
21626         * wcsmbs/uchar.h: Test __STDC_VERSION__.
21627
21628 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
21629
21630         * nscd/aicache.c (addhstaiX): Do not cache negative results of
21631         transient errors.
21632         * nscd/grpcache.c (cache_addgr): Likewise.
21633         * nscd/hstcache.c (cache_addhst): Likewise.
21634         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21635         * nscd/pwdcache.c (cache_addpw): Likewise.
21636         * nscd/servicescache.c (cache_addserv): Likewise.
21637
21638 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
21639
21640         * malloc/malloc.c: Various cleanups.
21641         * malloc/hooks.c: Likewise.
21642
21643         * stdlib/Makefile (tests): Add bug-fmtmsg1.
21644         * stdlib/bug-fmtmsg1.c: New file.
21645
21646         * stdlib/fmtmsg.c (init): Add missing unlock.
21647         Patch by Peng Haitao <penght@cn.fujitsu.com>.
21648
21649 2012-01-12  Marek Polacek  <polacek@redhat.com>
21650
21651         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21652         and _GNU_SOURCE.
21653
21654 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
21655
21656         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21657         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21658         macro to ensure uniqueness of label name.
21659         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21660         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21661
21662 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
21663
21664         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21665
21666         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21667         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21668         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21669         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21670
21671 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
21672
21673         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21674
21675         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21676         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21677         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21678
21679         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21680
21681         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21682         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21683         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21684         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21685
21686         * math/bits/math-finite.h: Add ldexp support.
21687
21688 2012-01-10  Marek Polacek  <polacek@redhat.com>
21689
21690         * locale/programs/localedef.h (show_archive_content): Add noreturn
21691         attribute.
21692
21693 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
21694
21695         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21696
21697 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21698
21699         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21700
21701         * io/Makefile (headers): Add bits/poll2.h.
21702
21703 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
21704
21705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21706         typo #include statement.
21707
21708 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21709
21710         * include/sys/cdefs.h: Define __attribute_alloc_size.
21711         * catgets/gencat.c: Add alloc_size attribute and apply consistently
21712         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21713         * elf/pldd.c: Likewise.
21714         * iconv/iconv_charmap.c: Likewise.
21715         * iconv/iconvconfig.c: Likewise.
21716         * iconv/strtab.c: Likewise.
21717         * locale/programs/locale.c: Likewise.
21718         * locale/programs/localedef.h: Likewise.
21719         * locale/programs/simple-hash.c: Likewise.
21720         * nscd/nscd.h: Likewise.
21721         * nss/makedb.c: Likewise.
21722         * sysdeps/generic/ldconfig.h: Likewise.
21723         * locale/programs/localedef.c: Remove xmalloc prototype.
21724         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21725
21726 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21727
21728         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21729         appropriate.
21730
21731 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21732
21733         * math/Makefile (tests): Add tst-CMPLX.
21734         * math/tst-CMPLX.c: New file.
21735
21736         * math/complex.h (CMPLXL): Fix typo.
21737
21738         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21739         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21740         GLIBC_2.16.
21741         * debug/tst-chk1.c: Add poll and ppoll tests.
21742         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21743         * include/sys/poll.h: Add hidden proto for ppoll.
21744         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21745         * sysdeps/mach/hurd/ppoll.c: Likewise.
21746         * io/ppoll.c: Likewise.
21747         * debug/poll_chk.c: New file.
21748         * debug/ppoll_chk.c: New file.
21749         * include/bits/poll2.h: New file.
21750         * io/bits/poll2.h: New file.
21751
21752         [BZ #1350]
21753         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21754
21755         * configure.in: static is always set to yes.  Remove.
21756         * config.make.in: Don't set build-static.
21757         * Makeconfig: Remove use of build-static.
21758         * dlfcn/Makefile: Likewise.
21759         * elf/Makefile: Likewise.
21760         * math/Makefile: Likewise.
21761         * misc/Makefile: Likewise.
21762         * nptl/Makefile: Likewise.
21763         * sysdeps/mach/hurd/Makefile: Likewise.
21764
21765         * configure.in: PWD_P is not used anymore.
21766         * config.make.in: Remove PWD_P entry.
21767
21768         * configure.in: Remove last remnants of RANLIB.
21769         No need to check for signed size_t anymore.
21770         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21771         and IA-64.
21772         Remove __builtin_expect test because we require at least gcc 3.4.
21773         * aclocal.m4: Likewise.
21774
21775         * wcsmbs/mbrtoc16.c: Implement using towc function.
21776         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21777         * wcsmbs/wcsmbsload.c: Likewise.
21778         * iconv/gconv_simple.c: Likewise.
21779         * iconv/gconv_int.h: Likewise.
21780         * iconv/gconv_builtin.h: Likewise.
21781         * iconv/iconv_prog.c: Remove CHAR16 handling.
21782
21783         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21784
21785         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21786
21787         * configure.in: Remove --with-elf and --enable-bounded options.
21788         Dont set base_machine for ia64.  More non-ELF conditions removed.
21789         Remove testing and setting of leading underscore information.
21790         * config.make.in (build-bounded): Set to no.
21791         * config.h.in: Remove NO_UNDERSCORES entry.
21792         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21793         them.
21794         * csu/start.c: Remove !NO_UNDERSCORE code.
21795         * locale/localeinfo.h: Likewise.
21796         * sysdeps/generic/machine-gmon.h: Likewise.
21797         * sysdeps/generic/sysdep.h: Likewise.
21798         * sysdeps/i386/sysdep.h: Likewise.
21799         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21800         * sysdeps/mach/sysdep.h: Likewise.
21801         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21802         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21803         * sysdeps/sh/sysdep.h: Likewise.
21804         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21805         * sysdeps/unix/i386/sysdep.S: Likewise.
21806         * sysdeps/unix/sparc/start.c: Likewise.
21807         * sysdeps/unix/sparc/sysdep.S: Likewise.
21808         * sysdeps/unix/sparc/sysdep.h: Likewise.
21809         * sysdeps/unix/start.c: Likewise.
21810         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21811         * sysdeps/x86_64/sysdep.h: Likewise.
21812
21813 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21814
21815         [BZ #13553]
21816         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21817         for non-gcc.
21818         * argp/argp-fmtstream.h: Use const instead __const.
21819         * argp/argp.h: Likewise.
21820         * assert/assert.h: Likewise.
21821         * bits/fenv.h: Likewise.
21822         * bits/sched.h: Likewise.
21823         * bits/sigset.h: Likewise.
21824         * bits/sigthread.h: Likewise.
21825         * catgets/nl_types.h: Likewise.
21826         * conform/data/pthread.h-data: Likewise.
21827         * crypt/crypt-private.h: Likewise.
21828         * crypt/crypt.h: Likewise.
21829         * crypt/crypt_util.c: Likewise.
21830         * ctype/ctype.h: Likewise.
21831         * debug/execinfo.h: Likewise.
21832         * debug/mbsnrtowcs_chk.c: Likewise.
21833         * debug/mbsrtowcs_chk.c: Likewise.
21834         * debug/wcsnrtombs_chk.c: Likewise.
21835         * debug/wcsrtombs_chk.c: Likewise.
21836         * debug/wcstombs_chk.c: Likewise.
21837         * dirent/dirent.h: Likewise.
21838         * dlfcn/dlfcn.h: Likewise.
21839         * elf/neededtest4.c: Likewise.
21840         * grp/grp.h: Likewise.
21841         * gshadow/gshadow.h: Likewise.
21842         * iconv/gconv.h: Likewise.
21843         * iconv/gconv_int.h: Likewise.
21844         * iconv/gconv_simple.c: Likewise.
21845         * iconv/iconv.h: Likewise.
21846         * iconv/loop.c: Likewise.
21847         * iconv/skeleton.c: Likewise.
21848         * include/aio.h: Likewise.
21849         * include/aliases.h: Likewise.
21850         * include/argz.h: Likewise.
21851         * include/arpa/inet.h: Likewise.
21852         * include/assert.h: Likewise.
21853         * include/dirent.h: Likewise.
21854         * include/dlfcn.h: Likewise.
21855         * include/execinfo.h: Likewise.
21856         * include/fcntl.h: Likewise.
21857         * include/fenv.h: Likewise.
21858         * include/glob.h: Likewise.
21859         * include/grp.h: Likewise.
21860         * include/libintl.h: Likewise.
21861         * include/mntent.h: Likewise.
21862         * include/netdb.h: Likewise.
21863         * include/pwd.h: Likewise.
21864         * include/rpc/netdb.h: Likewise.
21865         * include/sched.h: Likewise.
21866         * include/search.h: Likewise.
21867         * include/shadow.h: Likewise.
21868         * include/signal.h: Likewise.
21869         * include/stdio.h: Likewise.
21870         * include/stdlib.h: Likewise.
21871         * include/string.h: Likewise.
21872         * include/sys/socket.h: Likewise.
21873         * include/sys/stat.h: Likewise.
21874         * include/sys/statfs.h: Likewise.
21875         * include/sys/statvfs.h: Likewise.
21876         * include/sys/syslog.h: Likewise.
21877         * include/sys/time.h: Likewise.
21878         * include/sys/uio.h: Likewise.
21879         * include/time.h: Likewise.
21880         * include/unistd.h: Likewise.
21881         * include/utmp.h: Likewise.
21882         * include/wchar.h: Likewise.
21883         * include/wctype.h: Likewise.
21884         * inet/aliases.h: Likewise.
21885         * inet/arpa/inet.h: Likewise.
21886         * inet/netinet/ether.h: Likewise.
21887         * inet/netinet/in.h: Likewise.
21888         * intl/libintl.h: Likewise.
21889         * io/bits/fcntl2.h: Likewise.
21890         * io/fcntl.h: Likewise.
21891         * io/ftw.h: Likewise.
21892         * io/sys/poll.h: Likewise.
21893         * io/sys/stat.h: Likewise.
21894         * io/sys/statfs.h: Likewise.
21895         * io/sys/statvfs.h: Likewise.
21896         * io/utime.h: Likewise.
21897         * libio/bits/stdio.h: Likewise.
21898         * libio/bits/stdio2.h: Likewise.
21899         * libio/libio.h: Likewise.
21900         * libio/libioP.h: Likewise.
21901         * libio/stdio.h: Likewise.
21902         * locale/lc-ctype.c: Likewise.
21903         * locale/locale.h: Likewise.
21904         * login/utmp.h: Likewise.
21905         * malloc/arena.c: Likewise.
21906         * malloc/malloc.c: Likewise.
21907         * malloc/malloc.h: Likewise.
21908         * malloc/mcheck.c: Likewise.
21909         * malloc/mtrace.c: Likewise.
21910         * math/bits/mathcalls.h: Likewise.
21911         * math/fenv.h: Likewise.
21912         * math/math_private.h: Likewise.
21913         * misc/bits/error.h: Likewise.
21914         * misc/bits/syslog.h: Likewise.
21915         * misc/err.h: Likewise.
21916         * misc/error.h: Likewise.
21917         * misc/fstab.h: Likewise.
21918         * misc/mntent.h: Likewise.
21919         * misc/regexp.h: Likewise.
21920         * misc/search.h: Likewise.
21921         * misc/sgtty.h: Likewise.
21922         * misc/sys/mman.h: Likewise.
21923         * misc/sys/syslog.h: Likewise.
21924         * misc/sys/uio.h: Likewise.
21925         * misc/sys/xattr.h: Likewise.
21926         * misc/ttyent.h: Likewise.
21927         * nis/rpcsvc/ypclnt.h: Likewise.
21928         * nss/nss.h: Likewise.
21929         * posix/bits/unistd.h: Likewise.
21930         * posix/fnmatch.h: Likewise.
21931         * posix/glob.h: Likewise.
21932         * posix/sched.h: Likewise.
21933         * posix/spawn.h: Likewise.
21934         * posix/sys/wait.h: Likewise.
21935         * posix/unistd.h: Likewise.
21936         * posix/wordexp.h: Likewise.
21937         * pwd/pwd.h: Likewise.
21938         * resolv/netdb.h: Likewise.
21939         * resource/sys/resource.h: Likewise.
21940         * rt/aio.h: Likewise.
21941         * rt/bits/mqueue2.h: Likewise.
21942         * rt/mqueue.h: Likewise.
21943         * shadow/shadow.h: Likewise.
21944         * signal/signal.h: Likewise.
21945         * socket/send.c: Likewise.
21946         * socket/sendto.c: Likewise.
21947         * socket/sys/socket.h: Likewise.
21948         * stdio-common/printf.h: Likewise.
21949         * stdlib/bits/stdlib.h: Likewise.
21950         * stdlib/fmtmsg.h: Likewise.
21951         * stdlib/monetary.h: Likewise.
21952         * stdlib/stdlib.h: Likewise.
21953         * stdlib/ucontext.h: Likewise.
21954         * streams/stropts.h: Likewise.
21955         * string/argz.h: Likewise.
21956         * string/bits/string2.h: Likewise.
21957         * string/string.h: Likewise.
21958         * string/strings.h: Likewise.
21959         * sunrpc/rpc/auth.h: Likewise.
21960         * sunrpc/rpc/auth_des.h: Likewise.
21961         * sunrpc/rpc/clnt.h: Likewise.
21962         * sunrpc/rpc/netdb.h: Likewise.
21963         * sunrpc/rpc/pmap_clnt.h: Likewise.
21964         * sunrpc/rpc/xdr.h: Likewise.
21965         * sysdeps/generic/inttypes.h: Likewise.
21966         * sysdeps/generic/net/if.h: Likewise.
21967         * sysdeps/generic/sys/swap.h: Likewise.
21968         * sysdeps/gnu/net/if.h: Likewise.
21969         * sysdeps/gnu/utmpx.h: Likewise.
21970         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21971         * sysdeps/i386/i486/bits/string.h: Likewise.
21972         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21973         * sysdeps/s390/bits/string.h: Likewise.
21974         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21975         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21976         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21977         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21978         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21979         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21980         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21981         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21982         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21983         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21984         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21985         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21986         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21987         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21988         * sysdeps/unix/sysv/linux/readv.c: Likewise.
21989         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21990         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21991         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21992         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21994         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21995         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21996         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21997         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21998         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21999         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22000         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22001         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22002         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22003         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22004         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22005         * sysvipc/sys/ipc.h: Likewise.
22006         * sysvipc/sys/msg.h: Likewise.
22007         * sysvipc/sys/sem.h: Likewise.
22008         * sysvipc/sys/shm.h: Likewise.
22009         * termios/termios.h: Likewise.
22010         * time/sys/time.h: Likewise.
22011         * time/time.h: Likewise.
22012         * wcsmbs/bits/wchar2.h: Likewise.
22013         * wcsmbs/uchar.h: Likewise.
22014         * wcsmbs/wchar.h: Likewise.
22015         * wctype/wctype.h: Likewise.
22016
22017         [BZ #13551]
22018         * Makeconfig: Remove all but ELF support including AIX support.
22019         * Makerules: Likewise.
22020         * config.h.in: Likewise.
22021         * config.make.in: Likewise.
22022         * configure: Likewise.
22023         * configure.in: Likewise.
22024         * csu/Makefile: Likewise.
22025         * csu/version.c: Likewise.
22026         * debug/Makefile: Likewise.
22027         * dlfcn/Makefile: Likewise.
22028         * elf/Makefile: Likewise.
22029         * extra-lib.mk: Likewise.
22030         * iconv/Makefile: Likewise.
22031         * include/libc-symbols.h: Likewise.
22032         * include/shlib-compat.h: Likewise.
22033         * resolv/Makefile: Likewise.
22034         * resolv/res_libc.c: Likewise.
22035         * rt/Makefile: Likewise.
22036         * sysdeps/i386/asm-syntax.h: Likewise.
22037         * sysdeps/i386/sysdep.h: Likewise.
22038         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22039         * sysdeps/mach/sysdep.h: Likewise.
22040         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22041         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22042         * sysdeps/s390/asm-syntax.h: Likewise.
22043         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22044         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22045         * sysdeps/sh/sysdep.h: Likewise.
22046         * sysdeps/unix/sparc/sysdep.h: Likewise.
22047         * sysdeps/wordsize-32/divdi3.c: Likewise.
22048         * sysdeps/x86_64/sysdep.h: Likewise.
22049
22050         * argp/Versions: Remove _argp_unlock_xxx.
22051
22052         [BZ #13559]
22053         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
22054         * abilist/libBrokenLocale.abilist: Likewise.
22055         * abilist/libanl.abilist: Likewise.
22056         * abilist/libc.abilist: Likewise.
22057         * abilist/libcrypt.abilist: Likewise.
22058         * abilist/libdl.abilist: Likewise.
22059         * abilist/libm.abilist: Likewise.
22060         * abilist/libnsl.abilist: Likewise.
22061         * abilist/libpthread.abilist: Likewise.
22062         * abilist/libresolv.abilist: Likewise.
22063         * abilist/librt.abilist: Likewise.
22064         * abilist/libthread_db.abilist: Likewise.
22065         * abilist/libutil.abilist: Likewise.
22066         * abilist/libnss_db.abilist: New file.
22067
22068         * scripts/abilist.awk: Add support for indirect functions.
22069
22070         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22071
22072         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22073
22074         * shlib-versions: Remove entries for ports architectures.
22075
22076         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
22077         files in ports.
22078         * elf/stackguard-macros.h: Remove support for IA-64.
22079         * elf/tst-auditmod1.c: Likewise.
22080         * sysdeps/generic/ldsodefs.h: Likewise.
22081
22082         * sysdeps/unix/sysv/linux/configure.in: Ports should define
22083         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22084         configure files.
22085
22086         [BZ #13552]
22087         * configure.in: Remove --enable-omitfp support.
22088         * FAQ.in: Adjust.
22089         * config.make.in: Likewise.
22090         * Makeconfig: Likewise.
22091         * manual/install.texi: Likewise.
22092
22093         In case anyone cares, the IA-64 architecture could move to ports.
22094         * sysdeps/ia64/*: Removed.
22095         * sysdeps/unix/sysv/linux/ia64/*: Removed.
22096         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22097
22098         [BZ #13555]
22099         * configure.in: Remove entries for unsupported architectures.
22100
22101         [BZ #13533]
22102         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22103         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
22104         routines.
22105         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22106         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22107         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
22108         fall back to using wcrtomb.
22109         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22110         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
22111         renaming.
22112         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22113         * wcsmbs/tst-c16c32-1.c: New file.
22114
22115         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22116         local variable.
22117
22118         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22119
22120         * elf/tst-unique3.cc: Add explicit declaration of gets.
22121         * elf/tst-unique3lib.cc: Likewise.
22122         * elf/tst-unique3lib2.cc: Likewise.
22123         * elf/tst-unique4.cc: Likewise.
22124
22125         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22126
22127 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
22128
22129         [BZ #13566]
22130         * assert/assert.h (static_assert): Don't define for C++.
22131         * libio/stdio.h (gets): Do declare for C++ <= C++11.
22132         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22133
22134 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
22135
22136         * iconv/loop.c (single loop): Fix assertion in storing of
22137         remaining bytes.
22138
22139         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22140
22141 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
22142
22143         * posix/getconf.c: Update copyright year.
22144         * nss/getent.c: Likewise.
22145         * nss/makedb.c: Likewise.
22146         * iconv/iconvconfig.c: Likewise.
22147         * iconv/iconv_prog.c: Likewise.
22148         * elf/ldconfig.c: Likewise.
22149         * elf/pldd.c: Likewise.
22150         * elf/sotruss.ksh: Likewise.
22151         * catgets/gencat.c: Likewise.
22152         * csu/version.c: Likewise.
22153         * elf/ldd.bash.in: Likewise.
22154         * elf/sprof.c (print_version): Likewise.
22155         * locale/programs/locale.c: Likewise.
22156         * locale/programs/localedef.c: Likewise.
22157         * login/programs/pt_chown.c: Likewise.
22158         * nscd/nscd.c (print_version): Likewise.
22159         * debug/xtrace.sh: Likewise.
22160         * malloc/memusage.sh: Likewise.
22161         * malloc/mtrace.pl: Likewise.
22162         * debug/catchsegv.sh: Likewise.
22163
22164 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
22165
22166         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22167         pure attribute.
22168
22169 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
22170
22171         [BZ #13533]
22172         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22173         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22174         transformations.
22175         * iconv/gconv_int.h: Likewise.
22176         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22177         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22178         from libc for GLIBC_2.16.
22179         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22180         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22181         * wcsmbs/uchar.h: Really define mbstate_t.
22182         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22183         * wcsmbs/c16rtomb.c: New file.
22184         * wcsmbs/mbrtoc16.c: New file.
22185         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22186         for C/POSIX locale.
22187         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22188         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22189
22190         * wcsmbs/wchar.h: Add missing __restrict.
22191
22192 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
22193
22194         [BZ #13532]
22195         * time/Makefile (routines): Add timespec_get.
22196         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22197         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
22198         timespec for ISO C11.
22199         * time/timespec_get.c: New file.
22200         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22201         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22202
22203         [BZ #13531]
22204         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22205         * stdlib/stdlib.h: Declare aligned_alloc.
22206         * Versions.def: Add GLIBC_2.16 for libc.
22207         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22208
22209         [BZ 13527]
22210         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22211         ISO C11.
22212
22213         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22214         code.
22215
22216         [BZ #13528]
22217         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22218
22219         [BZ #13529]
22220         * assert/assert.h (static_assert): Define.
22221
22222         * version.h: Update for 2.16 development version.
22223
22224         [BZ #13526]
22225         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22226         _ISOC11_SOURCE.
22227
22228         * version.h (RELEASE): Bump for 2.15 release.
22229         * include/features.h (__GLIBC_MINOR__): Bump to 15.
22230
22231         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22232         Patch by Marek Polacek <mpolacek@redhat.com>.
22233
22234         * bits/byteswap.h: Protect long long constants with __extension__.
22235         * sysdeps/i386/bits/byteswap.h: Likewise.
22236         * sysdeps/ia64/bits/byteswap.h: Likewise.
22237         * sysdeps/s390/bits/byteswap.h: Likewise.
22238         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22239
22240 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22241
22242         [BZ #13540]
22243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22244         destination buffer.
22245         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22246
22247 2011-12-23  Marek Polacek  <polacek@redhat.com>
22248
22249         * elf/dl-addr.c (determine_info): Add inline keyword.
22250         * elf/tst-auditmod4b.c (check_avx): Likewise.
22251         * elf/tst-auditmod6b.c (check_avx): Likewise.
22252         * elf/tst-auditmod6c.c (check_avx): Likewise.
22253         * elf/tst-auditmod7b.c (check_avx): Likewise.
22254
22255 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
22256
22257         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22258         !__SSE_MATH__.
22259
22260 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22261
22262         [BZ #13540]
22263         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22264         processing for last bytes.
22265
22266 2011-08-06  Bruno Haible  <bruno@clisp.org>
22267
22268         [BZ #13061]
22269         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22270         U+0385, not to U+1FEE.
22271
22272         [BZ #13062]
22273         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22274         entry for U+00A5 U+0301.
22275
22276 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
22277
22278         [BZ #13166]
22279         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22280         buffer for the output is too small.
22281
22282         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22283         optimization.
22284
22285         [BZ #13185]
22286         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22287         SSE flags if possible.
22288
22289 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22290
22291         [BZ #13540]
22292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22293         processing for last bytes.
22294
22295 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
22296
22297         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22298         (syscall-list-default-options, syscall-list-default-condition)
22299         (syscall-list-includes): Define.
22300         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22301         list of ABIs and options and #if conditions for each ABI.  Do not
22302         handle common syscalls between ABIs specially.
22303         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22304         Remove.
22305         (syscall-list-variants, syscall-list-32bit-options)
22306         (syscall-list-32bit-condition, syscall-list-64bit-options)
22307         (syscall-list-64bit-condition): Define.
22308         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22309         (syscall-list-variants, syscall-list-32bit-options)
22310         (syscall-list-32bit-condition, syscall-list-64bit-options)
22311         (syscall-list-64bit-condition): Define.
22312         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22313         Remove.
22314         (syscall-list-variants, syscall-list-32bit-options)
22315         (syscall-list-32bit-condition, syscall-list-64bit-options)
22316         (syscall-list-64bit-condition): Define.
22317         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22318         Remove.
22319         (syscall-list-variants, syscall-list-32bit-options)
22320         (syscall-list-32bit-condition, syscall-list-64bit-options)
22321         (syscall-list-64bit-condition): Define.
22322
22323 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
22324
22325         * locale/iso-639.def: Add brx entry.
22326
22327         [BZ #13328]
22328         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22329         Proposed by Mariusz_Cukr <marcukr@op.pl>.
22330
22331         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22332         __feraiseexcept_renamed.
22333
22334 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
22335
22336         [BZ #13538]
22337         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22338         EPOLLET with unsigned values.
22339         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22340         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22341
22342         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22343         to large cancellation.
22344         * math/s_cacoshf.c: Likewise.
22345         * math/s_cacoshl.c: Likewise.
22346
22347 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
22348
22349         [BZ #13305]
22350         [BZ #12786]
22351         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22352         * math/s_cacoshf.c: Likewise.
22353         * math/s_cacoshl.c: Likewise.
22354
22355 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
22356
22357         [BZ #13439]
22358         * iconv/gconv.h: Define __GCONV_SWAP.
22359         * iconvdata/unicode.c: The swap bit must be stored in __flags.
22360         * iconvdata/utf-16.c: Likewise.
22361         * iconvdata/utf-32.c: Likewise.
22362
22363 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22364
22365         [BZ #13524]
22366         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22367         numerator after shifting it by one limb.
22368
22369 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
22370
22371         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22372         under [__USE_EXTERN_INLINES].
22373
22374 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
22375
22376         [BZ #13446]
22377         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22378
22379 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22380
22381         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22382         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22383         optimized code.
22384         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22385         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22386         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22387         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22388         for strncasecmp/strncasecmp_l compilation.
22389         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22390         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22391
22392 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
22393
22394         [BZ #13484]
22395         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22396         of __asm__.
22397
22398 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
22399
22400         [BZ #13506]
22401         * time/tzfile.c (__tzfile_read): Check values from file header.
22402
22403 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
22404
22405         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22406         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22407         * powerpc/powerpc32/dl-start.S: Likewise.
22408         * powerpc/powerpc32/elf/start.S: Likewise.
22409         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22410         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22411         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22412         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22413         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22414         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22415         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22416         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22417         * powerpc/powerpc32/fpu/s_round.S: Likewise.
22418         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22419         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22420         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22421         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22422         * powerpc/powerpc32/memset.S: Likewise.
22423         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22424         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22425         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22426         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22427         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22428         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22429         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22430         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22431         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22432         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22433         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22434         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22435         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22436
22437 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22438
22439         * math/libm-test.inc: Added more nearbyint tests.
22440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22441         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22442         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22444
22445 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
22446
22447         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22448         FD_CLOEXEC.
22449
22450 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22451
22452         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22453         Add wcscpy-ssse3 wcscpy-c.
22454         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22455         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22456         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22457         * sysdeps/x86_64/wcschr.S: New file.
22458         * sysdeps/x86_64/wcsrchr.S: New file.
22459         * string/test-strcmp.c: Remove checking of wcscmp function for
22460         wrong alignments.
22461         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22462         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22463         wcsrchr-sse2 wcsrchr-c.
22464         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22465         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22466         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22467         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22468         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22469         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22470         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22471         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22472         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22473         * wcsmbc/wcschr.c (WCSCHR): New macro.
22474
22475 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22476
22477         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22478         * wcsmbs/test-wcsrchr.c: New file.
22479         * string/test-strrchr.c: Add wcsrchr support.
22480         (WIDE): New macro.
22481         * wcsmbs/test-wcscpy.c: New file.
22482         * string/test-strcpy.c: Add wcscpy support.
22483         (WIDE): New macro.
22484
22485 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
22486
22487         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22488         the inner loop.
22489
22490 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
22491
22492         [BZ #13472]
22493         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22494
22495 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
22496
22497         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22498         Minor optimizations.
22499
22500         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22501         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22502         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22503
22504 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
22505
22506         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22507         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22508         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22509         for gcc to avoid warnings.
22510         * inet/Makefile (tests): Add tst-checks.
22511         * inet/tst-checks.c: New file.
22512
22513         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22514         warning.
22515
22516         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22517         __wmemcmp_sse2.
22518
22519         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22520         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22521
22522         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22523
22524 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
22525
22526         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22527         problem.
22528
22529         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22530
22531 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
22532
22533         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22534         conditional on GCC version.
22535         (__arch_compare_and_exchange_val_8_acq)
22536         (__arch_compare_and_exchange_val_16_acq)
22537         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22538         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22539         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22540
22541 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
22542
22543         * sysdeps/sh/backtrace.c: New file.
22544
22545 2011-12-02  Andreas Schwab  <schwab@redhat.com>
22546
22547         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
22548         parenthesis.
22549
22550 2011-12-01  Andreas Schwab  <schwab@redhat.com>
22551
22552         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22553         falling back to utime.
22554
22555 2011-11-30  Andreas Schwab  <schwab@redhat.com>
22556
22557         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22558         expectations for float.
22559
22560 2011-11-29  Andreas Schwab  <schwab@redhat.com>
22561
22562         * locale/weight.h (findidx): Add parameter len.
22563         * locale/weightwc.h (findidx): Likewise.
22564         * posix/fnmatch_loop.c (FCT): Adjust caller.
22565         * posix/regcomp.c (build_equiv_class): Likewise.
22566         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22567         * posix/regexec.c (check_node_accept_bytes): Likewise.
22568         * string/strcoll_l.c (STRCOLL): Likewise.
22569         * string/strxfrm_l.c (STRXFRM): Likewise.
22570
22571 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
22572
22573         * Makefile.in: Remove CVSOPT handling.
22574         * configure.in: Remove use of AC_REVISION.
22575         * iconvdata/Makefile (distribute): No need to filter out CVS.
22576         * scripts/list-sources.sh: Remove CVS, subversion and monotone
22577         handling.
22578
22579 2011-11-16  Andreas Schwab  <schwab@redhat.com>
22580
22581         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22582         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22583         [USE_AS_STRNCASECMP_L]: Likewise.
22584         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22585         NO_TLS_DIRECT_SEG_REFS.
22586         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22587         Fix argument offsets for non-PIC.
22588         [USE_AS_STRNCASECMP_L]: Likewise.
22589         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22590         NO_TLS_DIRECT_SEG_REFS.
22591
22592 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22593
22594         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22595         O_CLOEXEC.
22596         * locale/loadlocale.c (_nl_load_locale): Likewise.
22597
22598 2011-11-15  Andreas Schwab  <schwab@redhat.com>
22599
22600         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22601         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22602         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22603         (SYSCALL_GETTIME): Set errno on error.
22604
22605         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22606         count references to noai6ai_cached.
22607
22608 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22609
22610         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22611
22612         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22613         FD_CLOEXEC for /proc/self/maps.
22614
22615         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22616         FD_CLOEXEC for /proc/meminfo.
22617
22618         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22619         gai.conf.
22620
22621         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
22622         FD_CLOEXEC for given file.
22623
22624         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22625
22626         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22627         FD_CLOEXEC for /etc/hosts.
22628         (_gethtent): Likewise.
22629
22630         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22631
22632         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22633         cancellation and set FD_CLOEXEC for /etc/netgroup.
22634
22635         * nss/nss_files/files-key.c (search): Don't allow cancellation when
22636         reading /etc/publickey.
22637
22638         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22639         allow cancellation when reading /etc/group.
22640
22641         * nss/nss_files/files-alias.c (internal_setent): Don't allow
22642         cancellation.
22643         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
22644
22645         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22646         when using data file.
22647
22648         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22649
22650         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22651         (write_nis_obj): Use "c" and "e" in fopen.
22652
22653         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22654
22655         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22656
22657         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22658
22659         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22660
22661         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22662         locale.alias.
22663
22664         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22665
22666         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22667
22668         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22669
22670         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22671         file parsing and set FD_CLOEXEC.
22672
22673 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22674
22675         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22676
22677 2011-11-14  Andreas Schwab  <schwab@redhat.com>
22678
22679         * malloc/arena.c (arena_get2): Don't call reused_arena when
22680         _int_new_arena failed.
22681
22682 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22683
22684         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22685         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22686         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22687         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22688         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22689         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22690         to compile strcasecmp and strncasecmp.
22691         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22692         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22693
22694         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22695
22696 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
22697
22698         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22699         locale-defines.sym to gen-as-const-headers.
22700         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22701         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22702         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22703         to compile strcasecmp and strncasecmp.
22704         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22705         strcasecmp_l and strncasecmp_l.
22706         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22707         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22708         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22709         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22710         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22711         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22712         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22713         * sysdeps/i386/i686/multiarch/strncase.S: New file.
22714         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22715         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22716         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22717
22718 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
22719
22720         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22721         result of SYSDEP_GETTIME_CPU to retval.
22722         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22723         parameter list to macro.  Remove trailing semicolon.  Adjust users.
22724
22725         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22726         variable.
22727
22728         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22729         mantissa words.
22730         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22731
22732         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22733         from unused variable.
22734
22735         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22736         DWARF definitions.
22737         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22738         for assembling.
22739
22740         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22741         over namespaces.
22742
22743         * sunrpc/rpc_prot.c (rejected): Fix case value.
22744
22745         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22746         unsigned long long int to avoid warnings in shift.
22747
22748         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22749         of use of trans.
22750         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22751         variable tmp.
22752
22753         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22754         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22755         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22756
22757         * nis/nis_table.c (nis_list): Use variable of correct type for
22758         result of __follow_path call.
22759
22760 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22761
22762         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22763         of math functions ceil, trunc, floor, round, and sqrt, when
22764         avaliable on the platform.
22765         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22766         name clash.
22767         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22768         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22769         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22770
22771 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22772
22773         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22774         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22775
22776 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22777
22778         * include/unistd.h: Fix __readlink return type.
22779         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22780
22781 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22782
22783         * stdlib/ucontext.h: Undo last change for makecontext.
22784
22785 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22786
22787         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22788
22789         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22790         * setjmp/setjmp.h: Mark functions as non-leaf.
22791         * setjmp/bits/setjmp2.h: Likewise.
22792         * stdlib/ucontext.h: Likewise.
22793
22794 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22795
22796         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22797         (reused_arena): Don't check arena limit.
22798         (arena_get2): Atomically check arena limit.
22799
22800 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22801
22802         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22803         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22804
22805         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22806         instructions.
22807
22808 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22809
22810         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22811         handler when locking.
22812
22813         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22814         Fix size of allocated buffer.
22815
22816 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22817
22818         [BZ #10103]
22819         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22820         declarations for long double functions.
22821         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22822
22823         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22824
22825 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22826
22827         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22828         installed.
22829
22830         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22831         is disabled.
22832
22833 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22834
22835         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22836
22837 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22838
22839         * include/alloca.h (stackinfo_alloca_round): Define.
22840         (extend_alloca): Use it.
22841         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22842         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22843         here.
22844
22845         * scripts/check-local-headers.sh: Ignore libaudit.h.
22846
22847         * nscd/Makefile (extra-objs): Make recursively expanded.
22848
22849 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22850
22851         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22852         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22853
22854         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22855         * posix/tst-rfc3484-2.c: Likewise.
22856         * posix/tst-rfc3484-3.c: Likewise.
22857
22858         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22859         process_vm_writev.
22860         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22861         process_vm_writev.
22862         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22863         process_vm_writev from libc using GLIBC_2.15 version.
22864
22865         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22866
22867 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22868
22869         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22870         stack usage.
22871
22872 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22873
22874         [BZ #13367]
22875         * nss/getent.c (initgroups_keys): Show error message in case no group
22876         names are given.
22877
22878         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22879         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22880         __bump_nl_timestamp.
22881         * nscd/connections (nscd_init): When host database is served open
22882         netlink socket and request notification about configuration changes.
22883         (main_loop_poll): Track netlink file descriptor and bump timestamp
22884         in case data becomes available.
22885         (main_loop_epoll): Likewise.
22886         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22887         (database_pers_head): Add extra_data fileds.
22888         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22889         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22890         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22891         Adjust caller.
22892         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22893         in6ai data, call __free_in6ai.
22894         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22895         Add -DHAVE_NETLINK.
22896         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22897         interface information.  Reuse previous data if netlink timestamp
22898         is not changed.
22899         (__bump_nl_timestamp): New function.
22900         (__free_in6ai): New function.
22901
22902 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22903
22904         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22905         close_not_cancel_no_status here.
22906         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22907
22908 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22909
22910         [BZ #13276]
22911         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22912         return value.
22913
22914         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22915         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22916         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22917
22918 2011-07-03  Andreas Jaeger  <aj@suse.de>
22919
22920         [BZ #10709]
22921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22922         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22923         * math/libm-test.inc (sin_test): Add test case.
22924
22925 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22926
22927         [BZ #13337]
22928         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22929         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22930
22931         * elf/chroot_canon.c (chroot_canon): Cleanups.
22932
22933         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22934
22935         [BZ #13335]
22936         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22937         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22938
22939         * string/test-strchr.c: Make usable for strchrnul testing.
22940         * string/test-strchrnul.c: New file.
22941         * string/Makefile (strop-tests): Add strchrnul.
22942
22943         * po/it.po: Update from translation team.
22944         * po/es.po: Likewise.
22945
22946 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
22947
22948         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22949         the three constants needed as parameters.  Drop the others.
22950         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22951         __m128i_strloadu_tolower.
22952         Create and initialize variable zero and use it in all the places
22953         where _mm_setzero_si128 was used.
22954
22955         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22956         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22957         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22958         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22959         anymore.
22960         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22961         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22962         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22963         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22964         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22965         __mpranred, __mptan.
22966         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22967         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22968         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22969         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22970         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22971         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22972         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22973         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22974         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22975
22976 2011-10-28  Andreas Schwab  <schwab@redhat.com>
22977
22978         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22979         redefine if SHARED.
22980         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22981
22982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22983         wide char related routines to wcsmbs subdir.
22984
22985 2011-10-27  Andreas Schwab  <schwab@redhat.com>
22986
22987         [BZ #13344]
22988         * misc/sys/cdefs.h (__THROWNL): Define.
22989         * posix/unistd.h: Use __THREADNL instead of __THREAD
22990         for memory synchronization functions.
22991
22992 2011-10-26  Roland McGrath  <roland@hack.frob.com>
22993
22994         [BZ #13349]
22995         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22996         doesn't exist.
22997         * manual/stdio.texi (Obstack Streams): Node removed.
22998
22999 2011-10-26  Andreas Schwab  <schwab@redhat.com>
23000
23001         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23002         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23003         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23004
23005         * math/math_private.h (math_force_eval): Allow non-addressable
23006         arguments.
23007         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23008
23009 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23010
23011         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23012         file is not needed.
23013
23014         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23015         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23016         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23017         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23018         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23019         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23020         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23021         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23022         Add AVX variants.
23023         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23024         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23025         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23026         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23027         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23028         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23029         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23030         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23031         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23032         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23033         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23034         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23035         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23036         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23037         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23038         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23039         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23040         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23041         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23042
23043         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23044         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
23045
23046         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23047         place.  Use VEX encoding when compiling for AVX.
23048
23049 2011-10-25  Andreas Schwab  <schwab@redhat.com>
23050
23051         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23052         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23053
23054         * string/test-strchr.c (do_test): Don't generate NUL bytes.
23055
23056 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23057
23058         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23059         useless if() expression.
23060         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23061         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23062         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23063         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23064         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23065         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23066         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23067         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23068         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23069         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23070         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23071         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23072         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23073         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23074         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23075         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23076         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23077         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23078         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23079
23080         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23081
23082 2011-10-25  Andreas Schwab  <schwab@redhat.com>
23083
23084         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23085         condition.
23086         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23087
23088 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23089
23090         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23091         .text section.  Avoid duplicate constants.
23092         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23093         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23094         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23096         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23097         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23098         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23099         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23100         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23101         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23102         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23103         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23104         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23105         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23106         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23107         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23108         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23109         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23110         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23111         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23112         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23113         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23114         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23115         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23116         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23117         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23118         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23119         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23120         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23121         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23122         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23123         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23124         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23125         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23126         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23127         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23128         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23129         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23130         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23131         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23132         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23133         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23134         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23135         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23136         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23137
23138 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
23139
23140         * sysdeps/x86_64/dla.h: Move to ...
23141         * sysdeps/x86_64/fpu/dla.h: ...here.
23142         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23143         situations.  Use __builtin_fma only for gcc 4.6 and up.
23144
23145         * config.make.in: Add have-mfma4 entry.
23146         * configure.in: Substitute libc_cv_cc_fma4.
23147         * math/Makefile (dbl-only-routines): Add sincostab.
23148         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23149         Use __sincostab not sincos.
23150         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23151         name is a macro.
23152         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23155         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
23156         using __copysign.
23157         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
23158         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
23159         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23160         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23161         and __inv.
23162         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23163         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23164         __copysign.
23165         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
23166         define aliases when function name is a macro.
23167         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23168         sysdeps/ieee754/dbl-64/sincos.tbl.
23169         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23170         fma4-enabled routines.
23171         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23172         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23173         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23174         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23175         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23176         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23177         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23178         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23179         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23180         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23181         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23182         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23183         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23184         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23185         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23186         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23187         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23188         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23189         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23190         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23191         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23192         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23193         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23194         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23195         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23196         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23197         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23198         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23199         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23200         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23201
23202         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23203         rename.
23204         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23207         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23209         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23210         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23211         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23212
23213 2011-10-24  Andreas Schwab  <schwab@redhat.com>
23214
23215         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23216
23217 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
23218
23219         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23220
23221         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23222         prediction.
23223         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23224
23225         * string/strnlen.c: Don't define STRNLEN, reverse logic.
23226         Remove unused variable magic_bits.
23227         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23228
23229         * string/strnlen.c: Define and use STRNLEN macro.
23230         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23231         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23232         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23233         * wcsmbs/wcslen.c: Define and use WCSLEN.
23234         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23235         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23236         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23237         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23238         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23239         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23240         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23241
23242 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23243
23244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23245         strnlen-sse2-no-bsf.
23246         Rename strlen-no-bsf to strlen-sse2-no-bsf.
23247         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23248         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23249         Add strnlen support.
23250         (USE_AS_STRNLEN): New macro.
23251         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23252         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23253         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23254         * sysdeps/x86_64/wcslen.S: New file.
23255
23256 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
23257
23258         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23259         XMM-moves are used for copying on small sizes.
23260
23261 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23262
23263         * wcsmbs/Makefile (strop-tests): Add wcschr.
23264         * wcsmbs/test-wcschr.c: New file.
23265         * string/test-strchr.c: Update.
23266         Add wcschr support.
23267         (WIDE): New macro.
23268
23269 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23270
23271         * wcsmbs/Makefile (strop-tests): Add wcslen.
23272         * wcsmbs/test-wcslen.c: New file.
23273         * string/test-strlen.c: Update.
23274         Add wcslen support.
23275         (WIDE): New macro.
23276
23277 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
23278
23279         * po/it.po: Update from translation team.
23280
23281 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23282
23283         * sysdeps/x86_64/wcscmp.S: Update.
23284         Fix wrong comparison semantics.
23285         wcscmp shall use signed comparison not unsigned.
23286         Don't use substraction to avoid overflow bug.
23287         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23288         * wcsmbc/wcscmp.c: Likewise.
23289         * string/test-strcmp.c: Likewise.
23290         Add new tests to check cases with negative values.
23291
23292 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
23293
23294         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23295         * sysdeps/x86_64/dla.h: ...here.  New file.
23296         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23297         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23299         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23300         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23301         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23302         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23303         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23304         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23305
23306 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
23307
23308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23309         __ynl_finite aliases.
23310
23311 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
23312
23313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23314
23315         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23316         define DLA_FMA.
23317         [DLA_FMA] (EMULV): Use DLA_FMA.
23318         [DLA_FMA] (MUL12): Use EMULV.
23319         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23320         that are not needed.
23321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23322         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23323         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23324         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23325         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23326         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23327         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23328
23329 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
23330
23331         * math/s_nan.c: Undef __nan.
23332         * math/s_nanf.c: Undef __nanf.
23333         * math/s_nanl.c: Undef __nanl.
23334         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23335         "math_private.h".
23336
23337 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
23338
23339         * math/s_catan.c: Add branch predictions.
23340         * math/s_catanf.c: Likewise.
23341         * math/s_catanh.c: Likewise.
23342         * math/s_catanhf.c: Likewise.
23343         * math/s_catanhl.c: Likewise.
23344         * math/s_catanl.c: Likewise.
23345         * math/s_cexp.c: Likewise.
23346         * math/s_cexpf.c: Likewise.
23347         * math/s_cexpl.c: Likewise.
23348         * math/s_clog.c: Likewise.
23349         * math/s_clog10.c: Likewise.
23350         * math/s_clog10f.c: Likewise.
23351         * math/s_clog10l.c: Likewise.
23352         * math/s_clogf.c: Likewise.
23353         * math/s_clogl.c: Likewise.
23354         * math/s_csqrt.c: Likewise.
23355         * math/s_csqrtf.c: Likewise.
23356         * math/s_csqrtl.c: Likewise.
23357         * math/s_ctanf.c: Likewise.
23358         * math/s_ctanh.c: Likewise.
23359         * math/s_ctanhf.c: Likewise.
23360         * math/s_ctanhl.c: Likewise.
23361         * math/s_ctanl.c: Likewise.
23362
23363         * math/math_private.h: Define __nan, __nanf, __nanl.
23364         * math/s_cacosh.c: Include <math_private.h>.
23365         * math/s_cacoshl.c: Likewise.
23366         * math/s_casinh.c: Likewise.
23367         * math/s_casinhf.c: Likewise.
23368         * math/s_casinhl.c: Likewise.
23369         * math/s_ccos.c: Rely entire on ccosh.
23370         * math/s_ccosf.c: Rely entire on ccoshf.
23371         * math/s_ccosl.c: Rely entirely on ccoshl.
23372         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
23373         Remove tests for FE_INVALID.
23374         * math/s_ccoshf.c: Likewise.
23375         * math/s_ccoshl.c: Likewise.
23376         * math/s_csin.c: Likewise.
23377         * math/s_csinf.c: Likewise.
23378         * math/s_csinh.c Likewise.
23379         * math/s_csinhf.c: Likewise.
23380         * math/s_csinhl.c: Likewise.
23381         * math/s_csinl.c: Likewise.
23382         * math/s_ctan.c: Likewise.
23383         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23384         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23385         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23386
23387 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
23388
23389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23390         compilation problems.
23391
23392         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23393         __builtin_expect.
23394
23395 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
23396
23397         * sysdeps/i386/configure.in: Test for -mfma4 option.
23398         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23399         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23400         COMMON_CPUID_INDEX_80000001.
23401         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23402         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23403         use it if FMA3 is not supported.
23404         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23405
23406         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23407         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23408
23409 2011-10-20  Andreas Schwab  <schwab@redhat.com>
23410
23411         [BZ #12892]
23412         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23413         it would create a cycle with a link time dependency.
23414
23415 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
23416
23417         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23418         instruction.
23419         * string/Makefile (strop-tests): Add rawmemchr.
23420         * string/test-rawmemchr.c: New file.
23421
23422         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23423         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
23424         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
23425         when compiling str{,n}casecmp and when AVX is available.  Hook up
23426         new optimized code in initializers.
23427
23428 2011-10-19  Andreas Schwab  <schwab@redhat.com>
23429
23430         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23431         __feraiseexcept instead of feraiseexcept.
23432
23433 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
23434
23435         * math/math_private.h: Define defaults for libc_fetestexcept and
23436         libc_feupdateenv.
23437         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23438         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23439         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23440         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23441         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23442         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23443         libc_fetestexcept and libc_feupdateenv.
23444
23445         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23446         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23447         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23448         * sysdeps/x86_64/fpu/math_private.h: Define special version of
23449         libc_feholdexcept_setround.
23450
23451         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23452         Add s_nearbyint-c and s_nearbyintf-c.
23453         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23454         nearbyintf inlines.
23455         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23456         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23457         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23458         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23459
23460         * math/math_private.h: Define defaults for libc_fegetround,
23461         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23462         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23463         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23464         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23465         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23466         standard functions.
23467         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23468         Remove comments and hacks for old compiler versions.
23469         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23470         libc_fegetround, libc_fesetround, libc_feholdexcept, and
23471         libc_feholdexceptl.
23472
23473 2011-10-18  Andreas Schwab  <schwab@redhat.com>
23474
23475         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23476         (__feraiseexcept_renamed): Add __NTH.
23477         (feraiseexcept): Add __NTH.  Rename local variables to fix
23478         namespace violations.
23479
23480 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
23481
23482         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23483
23484         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23485
23486         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23487         recently added interfaces.
23488         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23489
23490         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23491         about macro parameter expansion.
23492
23493         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23494         __NO_MATH_INLINES is defined.  Cleanups.
23495
23496         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23497         and __floorf is target has SSE4.1.
23498         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23499         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23500         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23501         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23502
23503         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23504         name.
23505         (floorf): Likewise.
23506
23507         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23508
23509 2011-10-17  Andreas Schwab  <schwab@redhat.com>
23510
23511         * misc/sys/cdefs.h: Fix last change.
23512
23513         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23514         database lookup.
23515
23516 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
23517
23518         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23519
23520         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23521         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23522         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23523         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23524         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23525         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23526         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23527         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23528         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23529         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23530         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23531         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23532         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23533         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23534         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23535         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23536         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23537         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23538         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23539         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23540         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23541         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23542
23543         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23544         ceil, ceilf, floor, floorf.
23545
23546         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23547         Perform IRELATIVE relocations last.
23548
23549         * elf/do-rel.h: Add another parameter nrelative, replacing the
23550         local variable with the same name.  Change name of the function
23551         to end in Rel or Rela (uppercase).
23552         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23553         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
23554         elf_dynamic_do_##reloc function.
23555
23556 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23557
23558         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23559         is sufficient, at least on modern CPUs.
23560
23561         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23562
23563         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23564         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23565
23566         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23567         __expl_finite.
23568         * math/bits/math-finite.h: Add entries for exp.
23569         * math/e_expl.c: Add __*_finite alias.
23570         * sysdeps/i386/fpu/e_exp.S: Likewise.
23571         * sysdeps/i386/fpu/e_expf.S: Likewise.
23572         * sysdeps/i386/fpu/e_expl.c: Likewise.
23573         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23574         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23575         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23576         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23577         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23578         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23579         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23580
23581         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23582         is sufficient, at least on modern CPUs.
23583
23584         * ctype/ctype-info.c (__ctype_init): Define.
23585         * include/ctype.h (__ctype_init): Declare.
23586         (__ctype_b_loc): The variable is always initialized.
23587         (__ctype_toupper_loc): Likewise.
23588         (__ctype_tolower_loc): Likewise.
23589         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23590         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23591
23592 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
23593
23594         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23595
23596         * configure.in: Also look in $cxxmachine/include for C++ system
23597         headers.
23598
23599 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23600
23601         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23602         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23603         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23604         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
23605         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23606         (USE_AS_WMEMCMP): New macro.
23607         Fixing indents.
23608         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23609         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23610         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23611         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23613         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23614         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23615         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23616         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23617         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23618         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23619         (USE_AS_WMEMCMP): New macro.
23620         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23621         * sysdeps/string/test-memcmp.c: Update.
23622         Fix simple_wmemcmp.
23623         Add new tests.
23624         * wcsmbs/wmemcmp.c: Update.
23625         (WMEMCMP): New macro.
23626         Fix overflow bug.
23627
23628 2011-10-12  Andreas Jaeger  <aj@suse.de>
23629
23630         [BZ #13268]
23631         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23632
23633 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23634
23635         * libio/iofwide.c (do_length): Avoid warning.
23636
23637         * ctype/ctype.h (__isctype_f): Add missing __THROW.
23638
23639 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
23640
23641         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23642
23643         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23644         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23645         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23646         * sysdeps/i386/i686/fpu/e_log.S: New file.
23647         * sysdeps/i386/i686/fpu/e_logf.S: New file.
23648         * sysdeps/i386/i686/fpu/e_logl.S: New file.
23649
23650         * ctype/ctype.h: Add support for inlined isXXX functions when
23651         compiling C++ code.
23652
23653 2011-10-14  Andreas Schwab  <schwab@redhat.com>
23654
23655         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23656
23657         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23658
23659 2011-10-13  Roland McGrath  <roland@hack.frob.com>
23660
23661         [BZ #13291]
23662         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23663
23664 2011-10-13  Andreas Schwab  <schwab@redhat.com>
23665
23666         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23667         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23668         feraiseexcept.
23669
23670         * sysdeps/x86_64/memrchr.S: Check for zero size.
23671
23672         * string/stratcliff.c: Add memrchr tests.
23673
23674 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23675
23676         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23677         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23678         rawmemchr-sse2 rawmemchr-sse2-bsf.
23679         * sysdeps/i386/i686/multiarch/memchr.S: New file.
23680         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23681         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23682         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23683         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23684         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23685         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23686         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23687         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23688         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23689         * string/memrchr.c (MEMRCHR): New macro.
23690
23691 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
23692
23693         Add integration with gcc's -ffinite-math-only and optimize wrapper
23694         functions in libm.
23695         * Versions.def: Define GLIBC_2.15 version for libm.
23696         * math/Makefile (headers): Add bits/math-finite.h.
23697         * math/bits/math-finite.h: New file.
23698         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23699         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23700         * math/e_acoshl.c: Add __*_finite alias.
23701         * math/e_acosl.c: Likewise.
23702         * math/e_asinl.c: Likewise.
23703         * math/e_atan2l.c: Likewise.
23704         * math/e_atanhl.c: Likewise.
23705         * math/e_coshl.c: Likewise.
23706         * math/e_exp10.c: Likewise.
23707         * math/e_exp10f.c: Likewise.
23708         * math/e_exp10l.c: Likewise.
23709         * math/e_exp2l.c: Likewise.
23710         * math/e_fmodl.c: Likewise.
23711         * math/e_gammal_r.c: Likewise.
23712         * math/e_hypotl.c: Likewise.
23713         * math/e_j0l.c: Likewise.
23714         * math/e_j1l.c: Likewise.
23715         * math/e_jnl.c: Likewise.
23716         * math/e_lgammal_r.c: Likewise.
23717         * math/e_log10l.c: Likewise.
23718         * math/e_log2l.c: Likewise.
23719         * math/e_logl.c: Likewise.
23720         * math/e_powl.c: Likewise.
23721         * math/e_sinhl.c: Likewise.
23722         * math/e_sqrtl.c: Likewise.
23723         * math/e_scalb.c: Completely rewritten and optimized.
23724         * math/e_scalbf.c: Likewise.
23725         * math/e_scalbl.c: Likewise.
23726         * math/w_acos.c: Likewise.
23727         * math/w_acosf.c: Likewise.
23728         * math/w_acosl.c: Likewise.
23729         * math/w_acosh.c: Likewise.
23730         * math/w_acoshf.c: Likewise.
23731         * math/w_acoshl.c: Likewise.
23732         * math/w_asin.c: Likewise.
23733         * math/w_asinf.c: Likewise.
23734         * math/w_asinl.c: Likewise.
23735         * math/w_atan2.c: Likewise.
23736         * math/w_atan2f.c: Likewise.
23737         * math/w_atan2l.c: Likewise.
23738         * math/w_atanh.c: Likewise.
23739         * math/w_atanhf.c: Likewise.
23740         * math/w_atanhl.c: Likewise.
23741         * math/w_exp10.c: Likewise.
23742         * math/w_exp10f.c: Likewise.
23743         * math/w_exp10l.c: Likewise.
23744         * math/w_fmod.c: Likewise.
23745         * math/w_fmodf.c: Likewise.
23746         * math/w_fmodl.c: Likewise.
23747         * math/w_j0.c: Likewise.
23748         * math/w_j0f.c: Likewise.
23749         * math/w_j0l.c: Likewise.
23750         * math/w_j1.c: Likewise.
23751         * math/w_j1f.c: Likewise.
23752         * math/w_j1l.c: Likewise.
23753         * math/w_jn.c: Likewise.
23754         * math/w_jnf.c: Likewise.
23755         * math/w_log.c: Likewise.
23756         * math/w_logf.c: Likewise.
23757         * math/w_logl.c: Likewise.
23758         * math/w_log10.c: Likewise.
23759         * math/w_log10f.c: Likewise.
23760         * math/w_log10l.c: Likewise.
23761         * math/w_log2.c: Likewise.
23762         * math/w_log2f.c: Likewise.
23763         * math/w_log2l.c: Likewise.
23764         * math/w_pow.c: Likewise.
23765         * math/w_powf.c: Likewise.
23766         * math/w_powl.c: Likewise.
23767         * math/w_remainder.c: Likewise.
23768         * math/w_remainderf.c: Likewise.
23769         * math/w_remainderl.c: Likewise.
23770         * math/w_scalb.c: Likewise.
23771         * math/w_scalbf.c: Likewise.
23772         * math/w_scalbl.c: Likewise.
23773         * math/w_sqrt.c: Likewise.
23774         * math/w_sqrtf.c: Likewise.
23775         * math/w_sqrtl.c: Likewise.
23776         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23777         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23778         used.
23779         * math/math_private.h: Declare __kernel_standard_f.
23780         * math/w_cosh.c: Remove cruft and optimize a bit.
23781         * math/w_coshf.c: Likewise.
23782         * math/w_coshl.c: Likewise.
23783         * math/w_exp2.c: Likewise.
23784         * math/w_exp2f.c: Likewise.
23785         * math/w_exp2l.c: Likewise.
23786         * math/w_hypot.c: Likewise.
23787         * math/w_hypotf.c: Likewise.
23788         * math/w_hypotl.c: Likewise.
23789         * math/w_lgamma.c: Likewise.
23790         * math/w_lgamma_r.c: Likewise.
23791         * math/w_lgammaf.c: Likewise.
23792         * math/w_lgammaf_r.c: Likewise.
23793         * math/w_lgammal.c: Likewise.
23794         * math/w_lgammal_r.c: Likewise.
23795         * math/w_sinh.c: Likewise.
23796         * math/w_sinhf.c: Likewise.
23797         * math/w_sinhl.c: Likewise.
23798         * math/w_tgamma.c: Likewise.
23799         * math/w_tgammaf.c: Likewise.
23800         * math/w_tgammal.c: Likewise.
23801         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23802         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23803         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23804         Minor optimizations.  Pretty printing.  Remove cruft.
23805         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23806         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23807         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23808         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23809         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23810         * sysdeps/i386/fpu/e_asin.S: Likewise.
23811         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23812         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23813         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23814         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23815         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23816         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23817         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23818         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23819         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23820         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23821         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23822         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23823         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23824         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23825         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23826         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23827         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23828         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23829         * sysdeps/i386/fpu/e_log.S: Likewise.
23830         * sysdeps/i386/fpu/e_log10.S: Likewise.
23831         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23832         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23833         * sysdeps/i386/fpu/e_log2.S: Likewise.
23834         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23835         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23836         * sysdeps/i386/fpu/e_logf.S: Likewise.
23837         * sysdeps/i386/fpu/e_logl.S: Likewise.
23838         * sysdeps/i386/fpu/e_pow.S: Likewise.
23839         * sysdeps/i386/fpu/e_powf.S: Likewise.
23840         * sysdeps/i386/fpu/e_powl.S: Likewise.
23841         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23842         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23843         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23844         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23845         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23846         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23847         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23848         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23849         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23850         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23851         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23852         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23853         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23854         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23855         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23856         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23857         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23858         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23859         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23860         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23861         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23862         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23863         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23864         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23865         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23866         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23867         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23868         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23869         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23870         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23871         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23872         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23873         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23874         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23875         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23876         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23877         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23878         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23879         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23880         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23881         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23882         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23883         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23884         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23885         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23886         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23887         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23888         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23889         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23890         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23891         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23892         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23893         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23894         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23895         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23896         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23897         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23898         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23899         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23900         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23901         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23902         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23903         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23904         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23905         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23906         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23907         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23908         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23909         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23910         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23911         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23914         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23915         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23916         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23917         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23918         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23919         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23920         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23921         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23922         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23923         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23924         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23925         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23926         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23927         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23928         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23929         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23930         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23931         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23932         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23933         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23934         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23935         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23936         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23937         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23938         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23939         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23940         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23941         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23942         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23943         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23944         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23945         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23946         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23947         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23948         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23949         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23950         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23951         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23952         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23953         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23954         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23955         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23956         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23957         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23958         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23959         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23960         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
23961         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23962         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23963         (__isnanf): Likewise.
23964         (__isinf_ns): Likewise.
23965         (__isinf_nsf): Likewise.
23966         (__finite): Likewise.
23967         (__finitef): Likewise.
23968         (__ieee754_sqrt): Define as macro.
23969         (__ieee754_sqrtf): Define as macro.
23970         (__ieee754_sqrtl): Define as macro.
23971         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23972         inlined copy.
23973         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23974         __FINITE_MATH_ONLY__ consistent.
23975         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23976
23977 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
23978
23979         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23980         of rawmemchr.
23981
23982         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23983
23984 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
23985
23986         * po/ja.po: Update from translation team.
23987
23988 2011-10-08  Roland McGrath  <roland@hack.frob.com>
23989
23990         * locale/programs/locarchive.c (prepare_address_space): New function.
23991         (create_archive, enlarge_archive, open_archive): Use it.
23992
23993         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23994         inside [SHARED], where it is used.
23995
23996         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23997
23998         * nss/getent.c (netgroup_keys): Remove unused variable.
23999         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24000
24001 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
24002
24003         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24004         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24005         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24006         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24007         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24008         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24009         * math/Makefile (libm-calls): Add s_isinf_ns.
24010         * math/divtc3.c: Use __isinf_nsl instead of isinf.
24011         * math/multc3.c: Likewise.
24012         * math/s_casin.c: Likewise.
24013         * math/s_casinf.c: Likewise.
24014         * math/s_casinl.c: Likewise.
24015         * math/s_ccos.c: Likewise.
24016         * math/s_ccosf.c: Likewise.
24017         * math/s_ccosl.c: Likewise.
24018         * math/s_ctan.c: Likewise.
24019         * math/s_ctanf.c: Likewise.
24020         * math/s_ctanh.c: Likewise.
24021         * math/s_ctanhf.c: Likewise.
24022         * math/s_ctanhl.c: Likewise.
24023         * math/s_ctanl.c: Likewise.
24024         * math/w_fmod.c: Likewise.
24025         * math/w_fmodf.c: Likewise.
24026         * math/w_fmodl.c: Likewise.
24027         * math/w_remainder.c: Likewise.
24028         * math/w_remainderf.c: Likewise.
24029         * math/w_remainderl.c: Likewise.
24030         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24031         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24032         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24033         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24034         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24035         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24036         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24037         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24038
24039         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24040         of the number.
24041         * stdio-common/printf_fphex.c: Likewise.
24042         * stdio-common/printf_size.c: Likewise.
24043
24044         * math/e_exp10.c: Include math_private.h using <...> not "...".
24045         * math/e_exp10f.c: Likewise.
24046         * math/e_exp10l.c: Likewise.
24047         * math/e_exp2l.c: Likewise.
24048         * math/e_j0l.c: Likewise.
24049         * math/e_j1l.c: Likewise.
24050         * math/e_jnl.c: Likewise.
24051         * math/e_lgammal_r.c: Likewise.
24052         * math/e_rem_pio2l.c: Likewise.
24053         * math/e_scalb.c: Likewise.
24054         * math/e_scalbf.c: Likewise.
24055         * math/e_scalbl.c: Likewise.
24056         * math/k_cosl.c: Likewise.
24057         * math/k_sinl.c: Likewise.
24058         * math/k_tanl.c: Likewise.
24059         * math/s_cacoshf.c: Likewise.
24060         * math/s_catan.c: Likewise.
24061         * math/s_catanf.c: Likewise.
24062         * math/s_catanh.c: Likewise.
24063         * math/s_catanhf.c: Likewise.
24064         * math/s_catanhl.c: Likewise.
24065         * math/s_catanl.c: Likewise.
24066         * math/s_ccosh.c: Likewise.
24067         * math/s_ccoshf.c: Likewise.
24068         * math/s_ccoshl.c: Likewise.
24069         * math/s_cexp.c: Likewise.
24070         * math/s_cexpf.c: Likewise.
24071         * math/s_cexpl.c: Likewise.
24072         * math/s_clog.c: Likewise.
24073         * math/s_clog10.c: Likewise.
24074         * math/s_clog10f.c: Likewise.
24075         * math/s_clog10l.c: Likewise.
24076         * math/s_clogf.c: Likewise.
24077         * math/s_clogl.c: Likewise.
24078         * math/s_csin.c: Likewise.
24079         * math/s_csinf.c: Likewise.
24080         * math/s_csinh.c: Likewise.
24081         * math/s_csinhf.c: Likewise.
24082         * math/s_csinhl.c: Likewise.
24083         * math/s_csinl.c: Likewise.
24084         * math/s_csqrt.c: Likewise.
24085         * math/s_csqrtf.c: Likewise.
24086         * math/s_csqrtl.c: Likewise.
24087         * math/s_ctan.c: Likewise.
24088         * math/s_ctanf.c: Likewise.
24089         * math/s_ctanh.c: Likewise.
24090         * math/s_ctanhf.c: Likewise.
24091         * math/s_ctanhl.c: Likewise.
24092         * math/s_ctanl.c: Likewise.
24093         * math/s_ldexp.c: Likewise.
24094         * math/s_ldexpf.c: Likewise.
24095         * math/s_ldexpl.c: Likewise.
24096         * math/s_significand.c: Likewise.
24097         * math/s_significandf.c: Likewise.
24098         * math/s_significandl.c: Likewise.
24099         * math/w_acos.c: Likewise.
24100         * math/w_acosf.c: Likewise.
24101         * math/w_acosh.c: Likewise.
24102         * math/w_acoshf.c: Likewise.
24103         * math/w_acoshl.c: Likewise.
24104         * math/w_acosl.c: Likewise.
24105         * math/w_asin.c: Likewise.
24106         * math/w_asinf.c: Likewise.
24107         * math/w_asinl.c: Likewise.
24108         * math/w_atan2.c: Likewise.
24109         * math/w_atan2f.c: Likewise.
24110         * math/w_atan2l.c: Likewise.
24111         * math/w_atanh.c: Likewise.
24112         * math/w_atanhf.c: Likewise.
24113         * math/w_atanhl.c: Likewise.
24114         * math/w_cosh.c: Likewise.
24115         * math/w_coshf.c: Likewise.
24116         * math/w_coshl.c: Likewise.
24117         * math/w_dremf.c: Likewise.
24118         * math/w_exp10.c: Likewise.
24119         * math/w_exp10f.c: Likewise.
24120         * math/w_exp10l.c: Likewise.
24121         * math/w_exp2.c: Likewise.
24122         * math/w_exp2f.c: Likewise.
24123         * math/w_fmod.c: Likewise.
24124         * math/w_fmodf.c: Likewise.
24125         * math/w_fmodl.c: Likewise.
24126         * math/w_hypot.c: Likewise.
24127         * math/w_hypotf.c: Likewise.
24128         * math/w_hypotl.c: Likewise.
24129         * math/w_j0.c: Likewise.
24130         * math/w_j0f.c: Likewise.
24131         * math/w_j0l.c: Likewise.
24132         * math/w_j1.c: Likewise.
24133         * math/w_j1f.c: Likewise.
24134         * math/w_j1l.c: Likewise.
24135         * math/w_jn.c: Likewise.
24136         * math/w_jnf.c: Likewise.
24137         * math/w_jnl.c: Likewise.
24138         * math/w_lgamma.c: Likewise.
24139         * math/w_lgamma_r.c: Likewise.
24140         * math/w_lgammaf.c: Likewise.
24141         * math/w_lgammaf_r.c: Likewise.
24142         * math/w_lgammal.c: Likewise.
24143         * math/w_lgammal_r.c: Likewise.
24144         * math/w_log.c: Likewise.
24145         * math/w_log10.c: Likewise.
24146         * math/w_log10f.c: Likewise.
24147         * math/w_log10l.c: Likewise.
24148         * math/w_log2.c: Likewise.
24149         * math/w_log2f.c: Likewise.
24150         * math/w_log2l.c: Likewise.
24151         * math/w_logf.c: Likewise.
24152         * math/w_logl.c: Likewise.
24153         * math/w_pow.c: Likewise.
24154         * math/w_powf.c: Likewise.
24155         * math/w_powl.c: Likewise.
24156         * math/w_remainder.c: Likewise.
24157         * math/w_remainderf.c: Likewise.
24158         * math/w_remainderl.c: Likewise.
24159         * math/w_scalb.c: Likewise.
24160         * math/w_scalbf.c: Likewise.
24161         * math/w_scalbl.c: Likewise.
24162         * math/w_sinh.c: Likewise.
24163         * math/w_sinhf.c: Likewise.
24164         * math/w_sinhl.c: Likewise.
24165         * math/w_sqrt.c: Likewise.
24166         * math/w_sqrtf.c: Likewise.
24167         * math/w_sqrtl.c: Likewise.
24168         * math/w_tgamma.c: Likewise.
24169         * math/w_tgammaf.c: Likewise.
24170         * math/w_tgammal.c: Likewise.
24171
24172         * po/ja.po: Update from translation team.
24173
24174 2011-09-29  Andreas Jaeger  <aj@suse.de>
24175
24176         [BZ #13179]
24177         * sunrpc/netname.c (netname2host): Fix logic.
24178
24179         [BZ #6779]
24180         [BZ #6783]
24181         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24182         correctly.
24183         * math/w_remainder.c (__remainder): Likewise.
24184         * math/w_remainderf.c (__remainderf): Likewise.
24185         * math/libm-test.inc (remainder_test): Add test cases.
24186
24187 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24188
24189         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
24190         sdiv_qrnnd.
24191
24192 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
24193
24194         * string/test-memcmp.c: Avoid unncessary #defines.
24195         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24196
24197 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24198
24199         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24200         Use new sse2 version for core i3 - i7 as it's faster
24201         than sse42 version.
24202         (bit_Prefer_PMINUB_for_stringop): New.
24203         * sysdeps/x86_64/rawmemchr.S: Update.
24204         Replace with faster SSE2 version.
24205         * sysdeps/x86_64/memrchr.S: New file.
24206         * sysdeps/x86_64/memchr.S: Update.
24207         Replace with faster SSE2 version.
24208
24209 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
24210
24211         * elf/dl-load.c (lose): Add cast to avoid warning.
24212
24213 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
24214
24215         * po/ca.po: Update from translation team.
24216
24217         * inet/getnetgrent_r.c: Hook up nscd.
24218         * nscd/Makefile (routines): Add nscd_netgroup.
24219         (nscd-modules): Add netgroupcache.
24220         (CFLAGS-netgroupcache.c): Define.
24221         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24222         (cache_search): Add const to second parameter.
24223         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24224         INNETGR.
24225         (dbs): Add netgrdb entry.
24226         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24227         (verify_persistent_db): Handle netgrdb.
24228         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24229         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24230         GETFDNETGR.
24231         (netgroup_response_header): Define.
24232         (innetgroup_response_header): Define.
24233         (datahead): Add netgroup_response_header and innetgroup_response_header
24234         elements.
24235         * nscd/nscd.conf: Add entries for netgroup cache.
24236         * nscd/nscd.h (dbtype): Add netgrdb.
24237         (_PATH_NSCD_NETGROUP_DB): Define.
24238         (netgroup_iov_disabled): Declare.
24239         (xmalloc, xcalloc, xrealloc): Move declarations here.
24240         (cache_search): Adjust prototype.
24241         Add netgroup-related prototypes.
24242         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24243         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24244         (__nscd_innetgr): Declare.
24245         * nscd/selinux.c (perms): Use access_vector_t as element type and
24246         add netgroup-related initializers.
24247         * nscd/netgroupcache.c: New file.
24248         * nscd/nscd_netgroup.c: New file.
24249         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24250         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24251         For four parameters use innetgr.
24252         * nss/nss_files/files-init.c: Add definition and callback for netgr.
24253         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24254         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24255         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24256
24257         * nscd/connections.c (register_traced_file): Don't register file
24258         for disabled databases.
24259
24260 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
24261
24262         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24263
24264         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24265         from tree and freeing node.
24266
24267 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
24268
24269         * nss/nsswitch.c (__nss_database_lookup): Handle
24270         nss_parse_service_list out of memory case.
24271
24272 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
24273
24274         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24275         out of memory case.
24276
24277 2011-10-04  Andreas Schwab  <schwab@redhat.com>
24278
24279         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24280         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24281         pass it down.
24282         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24283         elf_machine_rela, elf_machine_lazy_rel.
24284         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24285         (ELF_DYNAMIC_DO_REL): Likewise.
24286         (ELF_DYNAMIC_DO_RELA): Likewise.
24287         (ELF_DYNAMIC_RELOCATE): Likewise.
24288         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24289         to ELF_DYNAMIC_DO_REL.
24290         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24291         (dl_main): In trace mode always set __RTLD_NOIFUNC.
24292         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24293         elf_machine_rela.
24294         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24295         skip_ifunc, don't call ifunc function if non-zero.
24296         (elf_machine_rela): Likewise.
24297         (elf_machine_lazy_rel): Likewise.
24298         (elf_machine_lazy_rela): Likewise.
24299         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24300         (elf_machine_lazy_rel): Likewise.
24301         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24302         Likewise.
24303         (elf_machine_lazy_rel): Likewise.
24304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24305         Likewise.
24306         (elf_machine_lazy_rel): Likewise.
24307         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24308         (elf_machine_lazy_rel): Likewise.
24309         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24310         (elf_machine_lazy_rel): Likewise.
24311         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24312         (elf_machine_lazy_rel): Likewise.
24313         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24314         (elf_machine_lazy_rel): Likewise.
24315         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24316         (elf_machine_lazy_rel): Likewise.
24317         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24318         (elf_machine_lazy_rel): Likewise.
24319
24320 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
24321
24322         * nss/nss_files/files-init.c (_nss_files_init): Use static
24323         initialization for all the *_traced_file variables.
24324
24325 2011-09-28  Andreas Schwab  <schwab@redhat.com>
24326
24327         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24328
24329 2011-09-27  Roland McGrath  <roland@hack.frob.com>
24330
24331         [BZ #13226]
24332         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24333
24334 2011-09-27  Andreas Schwab  <schwab@redhat.com>
24335
24336         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24337         Reread the line before reparsing it.
24338
24339 2011-09-26  Andreas Schwab  <schwab@redhat.com>
24340
24341         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24342
24343 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
24344             Maxim Kuvyrkov  <maxim@codesourcery.com>
24345             Joseph Myers  <joseph@codesourcery.com>
24346
24347         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24348         if needed for __stack_chk_guard.
24349
24350 2011-09-19  Roland McGrath  <roland@hack.frob.com>
24351
24352         * sysdeps/posix/spawni.c (script_execute): Always define it.
24353         It will be optimized away if unused.
24354         (maybe_script_execute): New function.
24355         (__spawni): Call it.
24356
24357         * Makerules: Don't include tls.make.
24358         (config-tls): Always set to thread.
24359         * tls.make.c: File removed.
24360
24361 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
24362
24363         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24364         * config.make.in (CPPFLAGS-config): New substituted variable.
24365
24366 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
24367
24368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24369
24370         [BZ #13192]
24371         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24372         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24373
24374 2011-09-15  Roland McGrath  <roland@hack.frob.com>
24375
24376         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24377         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24379         (CALL_FAIL): Likewise.
24380         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24381         (CALL_FAIL): Macro removed.
24382         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24383
24384 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
24385
24386         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24387         for __FINITE_MATH_ONLY__ == 1.
24388
24389 2011-09-15  Andreas Schwab  <schwab@redhat.com>
24390
24391         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24392         __ieee754_sqrt instead of sqrt.
24393         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24394         __ieee754_sqrtf instead of sqrtf.
24395         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24396         __floorf instead of floorf.
24397         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24398         __floorf, __truncf instead of floorf, truncf.
24399
24400 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
24401
24402         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24403
24404         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24405         __extern_always_inline.
24406         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24407         32-bit.
24408
24409 2011-09-14  Andreas Schwab  <schwab@redhat.com>
24410
24411         * elf/rtld.c (dl_main): Also relocate in dependency order when
24412         doing symbol dependency testing.
24413
24414 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
24415
24416         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24417         Always define `refsym'.
24418
24419 2011-09-13  Andreas Schwab  <schwab@redhat.com>
24420
24421         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24422         (__FD_ELT): Renamed from __FDELT.
24423         * misc/bits/select2.h (__FD_ELT): Likewise.
24424         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24425         __FD_MASK instead of __FDELT, __FDMASK.
24426         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24427         Likewise.
24428         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24429         Likewise.
24430
24431         * elf/Makefile (gen-ldd): Fix pattern.
24432
24433         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24434         (init_tls): Likewise.
24435
24436 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
24437
24438         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24439
24440 2011-09-12  Andreas Schwab  <schwab@redhat.com>
24441
24442         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24443         `struct cmsghdr *' instead of `void *'.
24444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24445         Likewise.
24446
24447 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
24448
24449         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24450         if non-absolute.
24451         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24452         ldd_rewrite_script.
24453
24454 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
24455
24456         * configure.in: Remove --with-tls option.
24457         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24458         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24459         out in case it is missing.
24460         * sysdeps/ia64/elf/configure.in: Likewise.
24461         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24462         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24463         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24464         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24465         * sysdeps/sh/elf/configure.in: Likewise.
24466         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24467         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24468         * sysdeps/x86_64/elf/configure.in: Likewise.
24469         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24470         * sysdeps/mach/hurd/tls.h: Likewise.
24471
24472         [BZ #13067]
24473         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24474
24475         [BZ #13090]
24476         * configure.in: Fix use of AC_INIT.
24477
24478         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24479
24480 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
24481
24482         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24483         __set_errno.
24484         * malloc/hooks.c: Likewise.
24485
24486         [BZ #11929]
24487         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
24488         variables statically.
24489         (narenas): Initialize.
24490         (list_lock): Initialize.
24491         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
24492         initializtion of main_arena and list_lock.  Small cleanups.
24493         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24494         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
24495         Add initializers to main_arena and mp_.
24496         (malloc_state): Remove pagesize member.  Change all users to use
24497         GLRO(dl_pagesize).
24498
24499         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24500         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
24501         is always initialized.
24502
24503         * malloc/malloc.c: Removed unused configurations and dead code.
24504         * malloc/arena.c: Likewise.
24505         * malloc/hooks.c: Likewise.
24506         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24507
24508         * include/tls.h: Removed.  USE___THREAD must always be defined.
24509         * bits/libc-tsd.h: Don't handle !USE___THREAD.
24510         * elf/dl-libc.c: Likewise.
24511         * elf/dl-tsd.c: Likewise.
24512         * include/errno.h: Likewise.
24513         * include/netdb.h: Likewise.
24514         * include/resolv.h: Likewise.
24515         * inet/herrno-loc.c: Likewise.
24516         * inet/herrno.c: Likewise.
24517         * malloc/arena.c: Likewise.
24518         * malloc/hooks.c: Likewise.
24519         * malloc/malloc.c: Likewise.
24520         * resolv/res-state.c: Likewise.
24521         * resolv/res_libc.c: Likewise.
24522         * sysdeps/i386/dl-machine.h: Likewise.
24523         * sysdeps/ia64/dl-machine.h: Likewise.
24524         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24525         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24526         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24527         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24528         * sysdeps/sh/dl-machine.h: Likewise.
24529         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24530         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24531         * sysdeps/unix/i386/sysdep.S: Likewise.
24532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24533         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24536         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24538         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24541         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24542         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24543         * sysdeps/x86_64/dl-machine.h: Likewise.
24544         * tls.make.c: Likewise.
24545
24546         * configure.in: Remove --with-__thread option.  Make tests for
24547         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24548         tls_model attribute fail if no support is available.  Remove
24549         USE_IN_LIBIO.
24550         * Makeconfig: Adjust for dropped configure option.  All features are
24551         now mandatory.
24552         * Makerules: Likewise.
24553         * Versions.def: Likewise.
24554         * argp/argp-fmtstream.c: Likewise.
24555         * argp/argp-fmtstream.h: Likewise.
24556         * argp/argp-help.c: Likewise.
24557         * assert/assert.c: Likewise.
24558         * config.h.in: Likewise.
24559         * config.make.in: Likewise.
24560         * configure: Likewise.
24561         * configure.in: Likewise.
24562         * csu/Versions: Likewise.
24563         * csu/init.c: Likewise.
24564         * elf/tst-audit2.c: Likewise.
24565         * elf/tst-tls10.c: Likewise.
24566         * elf/tst-tls10.h: Likewise.
24567         * elf/tst-tls11.c: Likewise.
24568         * elf/tst-tls12.c: Likewise.
24569         * elf/tst-tls14.c: Likewise.
24570         * elf/tst-tlsmod11.c: Likewise.
24571         * elf/tst-tlsmod12.c: Likewise.
24572         * elf/tst-tlsmod13.c: Likewise.
24573         * elf/tst-tlsmod13a.c: Likewise.
24574         * elf/tst-tlsmod14a.c: Likewise.
24575         * elf/tst-tlsmod15b.c: Likewise.
24576         * elf/tst-tlsmod16a.c: Likewise.
24577         * elf/tst-tlsmod16b.c: Likewise.
24578         * elf/tst-tlsmod7.c: Likewise.
24579         * elf/tst-tlsmod8.c: Likewise.
24580         * elf/tst-tlsmod9.c: Likewise.
24581         * gmon/gmon.c: Likewise.
24582         * grp/fgetgrent_r.c: Likewise.
24583         * grp/putgrent.c: Likewise.
24584         * hurd/fopenport.c: Likewise.
24585         * include/libc-symbols.h: Likewise.
24586         * include/tls.h: Likewise.
24587         * intl/gettextP.h: Likewise.
24588         * intl/loadinfo.h: Likewise.
24589         * locale/global-locale.c: Likewise.
24590         * locale/localeinfo.h: Likewise.
24591         * mach/devstream.c: Likewise.
24592         * malloc/arena.c: Likewise.
24593         * malloc/set-freeres.c: Likewise.
24594         * misc/err.c: Likewise.
24595         * misc/getttyent.c: Likewise.
24596         * misc/mntent_r.c: Likewise.
24597         * posix/getopt.c: Likewise.
24598         * posix/wordexp.c: Likewise.
24599         * pwd/fgetpwent_r.c: Likewise.
24600         * resolv/Versions: Likewise.
24601         * resolv/res_hconf.c: Likewise.
24602         * shadow/fgetspent_r.c: Likewise.
24603         * shadow/putspent.c: Likewise.
24604         * stdio-common/printf_fphex.c: Likewise.
24605         * stdio-common/tmpfile.c: Likewise.
24606         * stdlib/abort.c: Likewise.
24607         * stdlib/fmtmsg.c: Likewise.
24608         * sunrpc/auth_unix.c: Likewise.
24609         * sunrpc/clnt_perr.c: Likewise.
24610         * sunrpc/clnt_tcp.c: Likewise.
24611         * sunrpc/clnt_udp.c: Likewise.
24612         * sunrpc/clnt_unix.c: Likewise.
24613         * sunrpc/openchild.c: Likewise.
24614         * sunrpc/svc_simple.c: Likewise.
24615         * sunrpc/svc_tcp.c: Likewise.
24616         * sunrpc/svc_udp.c: Likewise.
24617         * sunrpc/svc_unix.c: Likewise.
24618         * sunrpc/xdr.c: Likewise.
24619         * sunrpc/xdr_array.c: Likewise.
24620         * sunrpc/xdr_rec.c: Likewise.
24621         * sunrpc/xdr_ref.c: Likewise.
24622         * sunrpc/xdr_stdio.c: Likewise.
24623
24624 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24625
24626         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24627
24628 2011-07-03  Andreas Jaeger  <aj@suse.de>
24629
24630         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24631         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24632         regenerate with gen-libm-tests.pl.
24633
24634 2010-05-12  Petr Baudis  <pasky@suse.cz>
24635
24636         [BZ #11589]
24637         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24638         around j0() zero points by switching to j1().
24639         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24640         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24641         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24642         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24643
24644 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24645
24646         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24647         instead of 0.
24648         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24649         instead of 0.
24650         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24651         Patch in part by Pavel Roskin <proski@gnu.org>.
24652
24653         [BZ #13138]
24654         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24655         realloc.
24656         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
24657         Free memory block if necessary.
24658
24659         [BZ #12847]
24660         * libio/genops.c (INTDEF): For string streams the _lock pointer can
24661         be NULL.  Don't lock in this case.
24662
24663 2011-09-09  Roland McGrath  <roland@hack.frob.com>
24664
24665         * elf/elf.h (ELFOSABI_GNU): New macro.
24666         (ELFOSABI_LINUX): Define to that.
24667
24668 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
24669
24670         * string/strncat.c (strncat): Undef the symbol in case it has been
24671         defined in bits/string.h.
24672
24673 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24674
24675         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24676
24677         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24678         link map.
24679
24680 2011-08-17  Andreas Jaeger  <aj@suse.de>
24681
24682         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24683
24684 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24685             Ian Lance Taylor  <iant@google.com>
24686
24687         * math/libm-test.inc (lround_test): New testcase.
24688         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24689
24690 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
24691
24692         * Makefile: Remove support for automatic cvs check-ins.
24693         * Makerules: Likewise.
24694         * config.make.in: Likewise.
24695         * configure.in: Likewise.
24696         * intl/Makefile: Likewise.
24697         * locale/Makefile: Likewise.
24698         * po/Makefile: Likewise.
24699         * posix/Makefile: Likewise.
24700         * sysdeps/gnu/Makefile: Likewise.
24701         * sysdeps/mach/hurd/Makefile: Likewise.
24702         * sysdeps/sparc/sparc32/Makefile: Likewise.
24703
24704         [BZ #13118]
24705         * posix/Makefile (bug-regex32-ENV): Define.
24706         Patch by John Stanley <jpsinthemix@verizon.net>.
24707
24708         * misc/Makefile (headers): Add bits/select2.h.
24709         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24710         * misc/bits/select2.h: New file.
24711         * include/bits/select2.h: New file.
24712         * debug/Makefile (routines): Add fdelt_chk.
24713         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24714         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24715         FD_ISSET.
24716         * debug/fdelt_chk.c: New file.
24717
24718         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
24719         * wcsmbs/test-wmemcmp.c: Likewise.
24720         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24721         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24722
24723 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24724
24725         * string/Makefile (strop-tests): Add memcmp.
24726         * string/test-wmemcmp.c: New file.
24727         * string/test-memcmp.c: Add wmemcmp support.
24728
24729 2011-09-08  Roland McGrath  <roland@hack.frob.com>
24730
24731         [BZ #13153]
24732         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24733         2011-07-19 change.
24734
24735         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24736         garbage value in a __mach_port_mod_refs call in the cases of the
24737         task-self and thread-self ports.
24738
24739 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24740
24741         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24742
24743 2011-09-08  Andreas Schwab  <schwab@redhat.com>
24744
24745         * elf/dl-load.c (lose): Check for non-null L.
24746
24747 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24748
24749         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24750
24751         * elf/dl-libc.c (dlerror_run): Pass back error code from
24752         dl_catch_error.
24753
24754         [BZ #13123]
24755         * elf/dl-load.c (lose): Free l_origin if it is valid.
24756
24757         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24758         names.
24759         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24760         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24761         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24762         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24763         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24764         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24765
24766 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24767
24768         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24769         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24770         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24771         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24772         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24773         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24774         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24775         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24776         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24777         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24778
24779 2011-08-15  Alan Modra  <amodra@gmail.com>
24780
24781         [BZ #13092]
24782         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24783         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24784         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24785         ppc_mcount to static-only-routines.
24786         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24787         __mcount_internal.
24788         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24789         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24790
24791 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24792
24793         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24794         for finite and infinity parameters.
24795
24796 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24797
24798         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24799         and add nop instructions for throughput optimization.
24800         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24801
24802 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24803
24804         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24805         aligned copy for power7 with vector-scalar instructions.
24806         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24807
24808 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24809
24810         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24811         AVX check.
24812
24813 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24814
24815         [BZ #13144]
24816         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24817         last change.
24818
24819 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24820
24821         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24822         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24823         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24824         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24825         clock_gettime.
24826
24827 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24828
24829         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24830         Forgot to demangle the pointer.
24831
24832         * sysdeps/i386/sysdep.h: Define atom_text_section.
24833         * sysdeps/x86_64/sysdep.h: Likewise.
24834         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24835         section with atom_text_section.
24836         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24837         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24838         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24839         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24840         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24841
24842         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24843         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24844         already be defined.  Change to take two parameters and don't assign
24845         result to variable.  Adjust all users.
24846         Define INTERNAL_GETTIME if not already defined.
24847         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24848         call.
24849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24850         HAVE_CLOCK_GETTIME_VSYSCALL.
24851         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24852
24853         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24854         gettimeofday vsyscall, just use time.
24855
24856 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24857
24858         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24859         <errno.h>.
24860
24861 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24862
24863         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24864         syscall on x86-64.
24865         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24866         syscall.
24867         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24868         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24869         syscall if possible.
24870
24871 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24872
24873         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24874         e_ident.  Don't pass to find_mapsXX.
24875         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24876
24877 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24878
24879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24880         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24881         * sysdeps/x86_64/multiarch/strchr.S: Update.
24882         Check bit_slow_BSF bit.
24883         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24884         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24885         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24886
24887 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24888
24889         [BZ #13134]
24890         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24891         before glibc 2.15.
24892         (tryshell): Define.
24893         (__spawni): Change last parameter to be flag.  Test
24894         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24895         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24896         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24897         * posix/spawni.c: Likewise.
24898         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24899         * posix/spawnp.c: Likewise.  Change normal version to use
24900         SPAWN_XFLAGS_USE_PATH.
24901         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24902         SPAWN_XFLAGS_TRY_SHELL.
24903
24904         [BZ #13150]
24905         * posix/glob.h: Remove gcc 1.x support.
24906
24907         [BZ #13068]
24908         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24909
24910 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24911
24912         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24913         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24914         strrchr-sse2-bsf
24915         * sysdeps/i386/i686/multiarch/strchr.S: New file.
24916         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24917         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24918         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24919         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24920         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24921
24922 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24923
24924         * sysdeps/x86_64/wcscmp.S: New file.
24925
24926         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24927         wcscmp-c wcscmp-sse2
24928         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24929         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24930         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24931         * wcsmbs/wcscmp.c: Allow renaming.
24932
24933 2011-09-05  David S. Miller  <davem@davemloft.net>
24934
24935         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24936         stack slot, rather than the struct return pointer slot.
24937         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24938         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24940         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24941
24942 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24943
24944         * po/ja.po: Update from translation team.
24945
24946         [BZ #13144]
24947         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24948         kernel in 64-bit binaries.
24949
24950 2011-09-01  David S. Miller  <davem@davemloft.net>
24951
24952         * elf/elf.h (HWCAP_SPARC_*): Move to..
24953         * sysdeps/sparc/sysdep.h: this new file and add new values.
24954         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24955         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24956         _DL_HWCAP_COUNT to 24.
24957         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24958         entries.
24959         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24960         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24961         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24962         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24963         instead of magic constants.
24964         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24965
24966 2011-08-31  David S. Miller  <davem@davemloft.net>
24967
24968         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24969         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24970         Reimplement to do errno handling inline.
24971         (SYSCALL_ERROR_HANDLER): New macro.
24972         (__SYSCALL_STRING): Do not do errno handling in asm.
24973         (__CLONE_SYSCALL_STRING): Delete.
24974         (__INTERNAL_SYSCALL_STRING): Delete.
24975         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24976         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24977         (PSEUDO): Reimplement to do errno handling inline.
24978         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24979         (SYSCALL_ERROR_HANDLER): New macro.
24980         (__SYSCALL_STRING): Do not do errno handling in asm.
24981         (__CLONE_SYSCALL_STRING): Delete.
24982         (__INTERNAL_SYSCALL_STRING): Delete.
24983         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24984         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24985         i386.
24986         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24987         (inline_syscall*): Add 'err' argument.
24988         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24989         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24990         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24991         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24992
24993         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24994         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24995
24996 2011-08-30  Andreas Schwab  <schwab@redhat.com>
24997
24998         * elf/rtld.c (dl_main): Relocate objects in dependency order.
24999
25000 2011-08-29  Jiri Olsa <jolsa@redhat.com>
25001
25002         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25003         directive.
25004
25005 2011-08-24  David S. Miller  <davem@davemloft.net>
25006
25007         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25008
25009 2011-08-24  Andreas Schwab  <schwab@redhat.com>
25010
25011         * elf/Makefile: Add rules to build and run unload8 test.
25012         * elf/unload8.c: New file.
25013         * elf/unload8mod1.c: New file.
25014         * elf/unload8mod1x.c: New file.
25015         * elf/unload8mod2.c: New file.
25016         * elf/unload8mod3.c: New file.
25017
25018         * elf/dl-close.c (_dl_close_worker): Reset private search list if
25019         it wasn't used.
25020
25021 2011-08-23  David S. Miller  <davem@davemloft.net>
25022
25023         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25024         subtract stack bias.
25025         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25026         %sp not %fp in calculations.
25027         (_JMPBUF_UNWINDS_ADJ): Likewise.
25028
25029         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25030         (aio_suspend): Call it to force an exception region around the
25031         AIO_MISC_WAIT() invocation.
25032
25033 2011-08-23  Andreas Schwab  <schwab@redhat.com>
25034
25035         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25036         backslash.
25037
25038 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
25039
25040         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25041         protection macro.
25042         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25043         and <dl-machine.h>.
25044         (Elf64_FuncDesc): Remove.
25045
25046 2011-08-22  David S. Miller  <davem@davemloft.net>
25047
25048         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25049         sigaltstack check, add missing cfi directives.
25050         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25051         missing cfi directives, and sigaltstack handling.
25052
25053 2011-08-16  Andreas Schwab  <schwab@redhat.com>
25054
25055         [BZ #11724]
25056         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25057         object is seen twice.
25058         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25059
25060         * elf/Makefile (distribute): Add tst-initorder2.c.
25061         (tests): Add tst-initorder2.
25062         (modules-names): Add tst-initorder2a tst-initorder2b
25063         tst-initorder2c tst-initorder2d.  Add rules to build them.
25064         ($(objpfx)tst-initorder2.out): New rule.
25065         * elf/tst-initorder2.c: New file.
25066         * elf/tst-initorder2.exp: New file.
25067
25068 2011-08-22  Andreas Schwab  <schwab@redhat.com>
25069
25070         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25071
25072         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25073         dependencies back to end of function.
25074
25075         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25076         $(elfobjdir)/ld.so.
25077
25078 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
25079
25080         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25081         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25082         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25083         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25084         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25085         of __vdso_gettimeofday.
25086         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25087         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
25088         attribute_hidden.
25089         (_libc_vdso_platform_setup): Remove initialization of
25090         __vdso_gettimeofday and __vdso_time.
25091
25092 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
25093
25094         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25095         and fgetc_unlocked.
25096         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25097         getc_unlocked.
25098
25099         * elf/dl-open.c (add_to_global): Report additions to the global scope
25100         for LD_DEBUG=scopes.
25101         (dl_open_worker): Also print scope of newly loaded dependencies.
25102         (_dl_show_scope): Indicate if there is no scope.
25103
25104         [BZ #13114]
25105         * stdio-common/Makefile (tests): Add bug24.
25106         * stdio-common/bug24.c: New file.
25107
25108 2011-08-19  Andreas Jaeger  <aj@suse.de>
25109
25110         [BZ #13114]
25111         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25112         non-existant file when using close-on-exec mode.
25113
25114 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
25115
25116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25117         the very first instruction.
25118
25119         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25120         the CFI state in the end.
25121         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25122         inclusion of dl-trampoline.h.
25123         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25124
25125 2011-08-19  Andreas Schwab  <schwab@redhat.com>
25126
25127         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25128         expectations for long double.
25129
25130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25131         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25132
25133 2011-08-14  David S. Miller  <davem@davemloft.net>
25134
25135         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25136         artificual limit depends upon the system page size.
25137
25138 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
25139
25140         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25141         * resolv/Makefile: Define CFLAGS-libresolv.
25142
25143 2011-08-17  Andreas Schwab  <schwab@redhat.com>
25144
25145         * nss/makedb.c (compute_tables): Make variables used in nested
25146         function static.
25147
25148 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
25149
25150         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25151         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25152         if buffer was too small.
25153
25154         * elf/pldd.c (main): Attach to all threads in the process.
25155         Rewrite /proc handling to use *at functions.
25156
25157 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
25158
25159         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25160         specifies first scope to show.
25161         (dl_open_worker): Update callers.  Move printing scope of new
25162         object to before the relocation.
25163         * elf/rtld.c (dl_main): Update _dl_show_scope call.
25164         * sysdeps/generic/ldsodefs.h: Update declaration.
25165
25166         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25167         string for the scope number.
25168
25169 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
25170
25171         * nscd/servicescache.c (cache_addserv): Make sure written is always
25172         initialized.
25173
25174 2011-08-14  Roland McGrath  <roland@hack.frob.com>
25175
25176         * sysdeps/i386/i486/bits/atomic.h
25177         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25178         statement expression, so as to suppress "set but not used" warning.
25179         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25180
25181         * string/strncat.c (STRNCAT): Use prototype definition.
25182
25183         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25184         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25185         -Iprograms here.
25186         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25187         (localedef-modules): Add localedef.
25188         (locale-modules): Add locale.
25189
25190         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25191         * elf/rtld.c (dl_main): Invert order of assignment in last change,
25192         to avoid a warning.
25193
25194 2011-08-14  David S. Miller  <davem@davemloft.net>
25195
25196         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25197         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25198
25199 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
25200
25201         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25202         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25203         * elf/rtld.c (dl_main): Set l_name of vDSO.
25204         Call _dl_show_scope when DL_DEBUG_SCOPES.
25205         (process_dl_debug): Recognize scopes flag and also set it for all.
25206         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25207         Declare _dl_show_scope.
25208
25209         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25210         (do_dlopen): Pass caller_dlopen to dl_open.
25211         (__libc_dlopen_mode): Initialize caller_dlopen.
25212
25213         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25214         of libc.  Make tolower call locale-independent.  Optimize a bit by
25215         using isdigit instead of isalnum.
25216         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25217
25218 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
25219
25220         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25221         was a dependency or dynamically loaded.
25222
25223 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
25224
25225         * intl/l10nflist.c: Allow architecture-specific pop function.
25226         * sysdeps/x86_64/l10nflist.c: New file.
25227
25228         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25229         classification.
25230
25231 2011-08-10  Andreas Schwab  <schwab@redhat.com>
25232
25233         * include/dirent.h: Add libc_hidden_proto for scandirat and
25234         scandirat64.  Don't declare __scandirat64.
25235         * dirent/scandirat.c: Add libc_hidden_def.
25236         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25237         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25238
25239 2011-08-10  David S. Miller  <davem@davemloft.net>
25240
25241         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25242         enum.
25243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25244         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25245         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25246
25247 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
25248
25249         * Versions.def [libc]: Add GLIBC_2.15.
25250         * dirent/Makefile (routines): Add scandirat and scandirat64.
25251         * dirent/Versions [libc]: Export scandirat and scandirat64 for
25252         GLIBC_2.15.
25253         * dirent/dirent.h: Declare scandirat and scandirat64.
25254         * dirent/scandirat.c: New file.
25255         * dirent/scandirat64.c: New file.
25256         * sysdeps/wordsize-64/scandirat.c: New file.
25257         * sysdeps/wordsize-64/scandirat64.c: New file.
25258         * dirent/opendir.c: Define opendirat.
25259         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
25260         using scandirat.
25261         * dirent/scandir64.c: Adjust for scandir.c change.
25262         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
25263         __scandirat64, and __scandir_cancel_handler.
25264         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
25265         additional parameter and use openat instead of open (outside of ld.so).
25266         Add new __opendir as wrapper around __opendirat.
25267         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25268         here without requiring old scandirat implementation.
25269
25270 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
25271
25272         * dirent/scandir.c (cancel_handler): Renamed to
25273         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
25274         defined.  Adjust users.
25275         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25276         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25277
25278 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
25279
25280         * string/test-string.h (IMPL): Use __STRING to expand name and then
25281         stringify it.
25282
25283         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
25284         of cleanups.
25285
25286 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25287
25288         * string/Makefile: Update.
25289         (strop-tests): Append strncat.
25290         * string/test-wcscmp.c: New file.
25291         New comprehensive test for wcscmp.
25292         * string/test-strcmp.c: Update.
25293         (WIDE): New define.
25294
25295 2011-07-22  Andreas Schwab  <schwab@redhat.com>
25296
25297         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25298         line.
25299
25300 2011-07-26  Andreas Schwab  <schwab@redhat.com>
25301
25302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25303         encoding to ACE if AI_IDN.
25304
25305 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
25306
25307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25308         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25309
25310 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25311
25312         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25313         Fix overflow bug in strncat.
25314         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25315
25316         * string/test-strncat.c: Update.
25317         Add new tests for checking overflow bugs.
25318
25319 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25320
25321         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25322         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25323         * sysdeps/i386/i686/multiarch/strcat.S: New file.
25324         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25325         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25326         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25327         * sysdeps/i386/i686/multiarch/strncat.S: New file.
25328         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25329         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25330
25331         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25332         (USE_AS_STRCAT): Define.
25333         Add strcat and strncat support.
25334         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25335
25336 2011-07-25  Andreas Schwab  <schwab@redhat.com>
25337
25338         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25339         __n bigger than INT_MAX+1.
25340         (__strncmp_g): Likewise.
25341
25342 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
25343
25344         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25345         * libio/stido.h: Likewise.
25346
25347         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25348         (AF_NFC): Define.
25349         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25350         (AF_NFC): Define.
25351
25352         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25353         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25354         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25355         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25356         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25357
25358         [BZ #13021]
25359         * scripts/test-installation.pl: Don't expect libnss_test1 to be
25360         installed.
25361
25362         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25363         typo.
25364         (_dl_x86_64_save_sse): Likewise.
25365
25366 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
25367
25368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25369         OSXSAVE.
25370         (_dl_x86_64_save_sse): Likewise.
25371
25372         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25373
25374         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25375
25376 2011-07-21  Andreas Schwab  <schwab@redhat.com>
25377
25378         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25379         change.
25380         (_dl_x86_64_save_sse): Use correct AVX check.
25381
25382 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25383
25384         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25385         bug in strncpy/strncat.
25386         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25387
25388 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
25389
25390         * string/tester.c (test_strcat): Add tests for different alignments
25391         of source and destination.
25392         (test_strncat): Likewise.
25393
25394 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
25395
25396         [BZ #12852]
25397         * posix/glob.c (glob): Check passed in values before using them in
25398         expressions to avoid some overflows.
25399         (glob_in_dir): Likewise.
25400
25401         [BZ #13007]
25402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25403         check for AVX enablement so that we don't crash with old kernels and
25404         new hardware.
25405         * elf/tst-audit4.c: Add same checks here.
25406         * elf/tst-audit6.c: Likewise.
25407
25408         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25409
25410 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
25411
25412         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25413
25414 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
25415
25416         * po/cs.po: Update from translation team.
25417         * po/bg.po: Likewise.
25418
25419 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
25420
25421         * misc/sys/cdefs.h: Add support for const attribute.
25422         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25423         to gnu_dev_{major,minor,makedev} functions.
25424
25425 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
25426
25427         * intl/dcigettext.c (get_output_charset): Add missing bracket.
25428
25429 2011-07-20  Andreas Schwab  <schwab@redhat.com>
25430
25431         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25432         strlen results.
25433
25434 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25435
25436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25437         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25438         register in order to avoid conflicts with the soft frame pointer
25439         being held in r11 when necessary.
25440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25441         (INTERNAL_VSYSCALL_NCS): Likewise.
25442
25443 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
25444
25445         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25446         * elf/dl-fini.c (_dl_fini): Adjust caller.
25447         * elf/dl-close.c (_dl_close_worker): Likewise.
25448         * sysdeps/generic/ldsodefs.h: Adjust declaration.
25449
25450 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
25451
25452         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25453         "aux_cache->nlibs < 0".
25454
25455         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25456         in the reload-count case.
25457
25458 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25459
25460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25461         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25462         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25463         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25464         * sysdeps/x86_64/multiarch/strcat.S: New file.
25465         * sysdeps/x86_64/multiarch/strncat.S: New file.
25466         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25467         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25468         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25469         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25470         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25471         (USE_AS_STRCAT): Define.
25472         Add strcat and strncat support.
25473         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25474         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25475         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25476         * string/strncat.c: Update.
25477         (USE_AS_STRNCAT): Define.
25478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25479         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25480         and i7.
25481         * sysdeps/x86_64/multiarch/init-arch.h
25482         (bit_Prefer_PMINUB_for_stringop): New.
25483         (index_Prefer_PMINUB_for_stringop): Likewise.
25484         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25485         bit_Prefer_PMINUB_for_stringop.
25486
25487 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
25488
25489         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25490         buffer64.
25491         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25492         of casting of buffer.
25493         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25494         buffer32 and buffer64.
25495         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25496         writes instead of casting of buffer.
25497         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25498         buffer32.
25499         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25500         casting of buffer.
25501
25502 2011-07-19  Andreas Schwab  <schwab@redhat.com>
25503
25504         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25505
25506 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
25507
25508         * nscd/nscd.c (termination_handler): Don't do anything for a database
25509         if it has not yet been initialized.
25510
25511 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
25512
25513         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25514
25515 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
25516
25517         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25518
25519 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
25520
25521         * po/nl.po: Update from translation team.
25522         * po/sv.po: Likewise.
25523
25524 2011-07-16  Roland McGrath  <roland@hack.frob.com>
25525
25526         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25527         now disallowed by GCC.
25528
25529         * configure.in (use-default-link): Default to yes if a test -shared
25530         link meets our qualifications.
25531         * configure: Regenerated.
25532
25533         * config.make.in (output-format): New variable.
25534         * configure.in: Check for ld --print-output-format support.
25535         * configure: Regenerated.
25536         * Makerules ($(common-objpfx)format.lds)
25537         [$(output-format) != unknown]: Just use $(output-format),
25538         instead of the linker-script munging.
25539
25540 2011-07-14  Roland McGrath  <roland@hack.frob.com>
25541
25542         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25543         of $(common-objpfx)shlib.lds.
25544         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25545
25546         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25547         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25548
25549         * configure.in (-z relro check): Adjust test code to add a large
25550         writable data section after it.
25551         * configure: Regenerated.
25552
25553 2011-07-11  Roland McGrath  <roland@hack.frob.com>
25554
25555         * configure.in (-z relro check): Fix test code to make the variable
25556         truly const.
25557         * configure: Regenerated.
25558
25559 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
25560
25561         * nscd/nscd.h (struct traced_file): Define.
25562         (struct database_dyn): Remove inotify_descr, reset_res, and filename
25563         elements.  Add traced_files.
25564         (inotify_fd): Declare.
25565         (register_traced_file): Declare.
25566         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25567         (inotify_fd): Export.
25568         (resolv_conf_descr): Remove.
25569         (nscd_init): Move inotify descriptor creation to main.
25570         Don't register files for notification here.
25571         (register_traced_file): New function.
25572         (invalidate_cache): Don't use reset_res to determine whether to call
25573         res_init, go through the list of registered files.
25574         (main_loop_poll): The inotify descriptors are now stored in the
25575         structures for the traced files.
25576         (main_loop_epoll): Likewise
25577         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
25578         to __nss_disable_nscd.
25579         * nscd/cache.c (prune_cache): There is no single inotify descriptor
25580         for a database anymore.  Check the records for all the registered
25581         files instead.
25582         * nss/Makefile (libnss_files-routines): Add files-init.
25583         (libnss_db-routines): Add db-init.
25584         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25585         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25586         * nss/nss_db/db-init.c: New file.
25587         * nss/nss_files/files-init.c: New file.
25588         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
25589         __nss_lookup_function.
25590         (__nss_lookup_function): Call nss_load_library.
25591         (nss_load_all_libraries): New function.
25592         (__nss_disable_nscd): Take parameter with callback function for files
25593         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
25594         used for the cached services.
25595         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25596         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25597         options for features to all the files in nscd.
25598
25599         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25600
25601 2011-07-10  Roland McGrath  <roland@hack.frob.com>
25602
25603         * csu/elf-init.c (__libc_csu_init): Comment typo.
25604
25605 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
25606
25607         * po/pl.po: Update from translation team.
25608         * po/ja.po: Likewise.
25609         * po/ru.po: Likewise.
25610         * po/ko.po: Likewise.
25611         * po/fr.po: Likewise.
25612
25613 2011-07-09  Roland McGrath  <roland@hack.frob.com>
25614
25615         * configure.in (.ctors/.dtors header and trailer check):
25616         Use an empirical test on a built program.
25617         * configure: Regenerated.
25618
25619         * configure.in (-z relro check): Use an empirical test on a built DSO.
25620         Detect, but do not require, on ia64.
25621         * configure: Regenerated.
25622
25623         * configure.in (READELF): Find it with AC_CHECK_TOOL.
25624         Update tests that use readelf to use $READELF instead.
25625         * configure: Regenerated.
25626
25627 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
25628
25629         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25630         if the result is not used.
25631
25632 2011-07-05  Andreas Jaeger  <aj@suse.de>
25633
25634         [BZ#9696]
25635         * stdlib/tst-strtod.c: Add testcase.
25636
25637 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
25638
25639         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25640         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25641         The latter has a higher limit.  Take additional parameter to pass to
25642         the new function.
25643         (__pathconf): Pass file to __statfs_link_max.
25644         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25645         __statfs_link_max.
25646         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25647         __statfs_link_max.
25648
25649         [BZ #12868]
25650         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25651         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25652         Handle Lustre.
25653         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25654         (__statfs_filesize_max): Likewise.
25655         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25656
25657 2011-07-05  Andreas Jaeger  <aj@suse.de>
25658
25659         * resolv/res_comp.c (dn_skipname): Remove unused variable.
25660
25661 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
25662
25663         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25664         `status' variable.
25665         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25666         Likewise.
25667
25668 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
25669
25670         * Makefile (strop-tests): Add strncat.
25671         * string/test-strncat.c: New file.
25672
25673 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
25674
25675         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25676
25677 2011-06-21  Andreas Jaeger  <aj@suse.de>
25678
25679         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25680         Copy rule from iconvdata/Makefile.
25681
25682 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25683
25684         [BZ #12922]
25685         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25686         but no long options are defined, just return 'W'.
25687
25688 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
25689
25690         [BZ #9696]
25691         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25692
25693 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25694
25695         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25696         netgroups to read.
25697         (innetgr): Likewise.
25698
25699 2011-07-05  Roland McGrath  <roland@hack.frob.com>
25700
25701         * config.make.in (install_root): Default to $(DESTDIR).
25702
25703 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
25704
25705         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25706
25707 2011-07-02  Roland McGrath  <roland@hack.frob.com>
25708
25709         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25710
25711         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25712         containing directory rather than embedding absolute directory names.
25713
25714         * scripts/check-local-headers.sh: Rewritten using awk.
25715         Match by word, not by line.  Print error messages for matches.
25716         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25717
25718         * Makerules [shlib-lds-flags empty]:
25719         ($(common-objpfx)libc_pic.opts): New target.
25720         ($(common-objpfx)libc_pic.os.clean): New target.
25721         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25722
25723         * config.make.in (OBJCOPY): New variable.
25724         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25725         * configure: Regenerated.
25726
25727         * config.make.in (use-default-link): New variable.
25728         * configure.in (use_default_link): Grok --with-default-link to set it.
25729         * configure: Regenerated.
25730         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25731         (shlib-lds, shlib-lds-flags): Define to empty.
25732
25733         * Makerules (shlib-lds): New variable.
25734         (shlib-lds-flags): New variable.
25735         (build-shlib, build-moduile, build-module-asneeded): Use it.
25736         ($(common-objpfx)libc.so): Use $(shlib-lds).
25737         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25738         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25739
25740         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25741         DT_FLAGS/DT_FLAGS_1 with zero flags.
25742
25743         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25744         linker script munging.
25745
25746 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25747
25748         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25749         as 128-bit value.
25750         * crypt/sha512.c (sha512_process_block): Perform total addition using
25751         128-bit if possible.
25752         (__sha512_finish_ctx): Likewise.
25753         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25754         as 64-bit value.
25755         * crypt/sha256.c (SWAP64): Define.
25756         (sha256_process_block): Perform total addition using 64-bit if
25757         possible.
25758         (__sha256_finish_ctx): Likewise.
25759
25760 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25761
25762         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25763         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25764         * nscd/hstcache.c (cache_addhst): Likewise.
25765         * nscd/grpcache.c (cache_addgr): Likewise.
25766         * nscd/aicache.c (addhstaiX): Likewise
25767         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25768
25769 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25770
25771         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25772         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25773         * nscd/hstcache.c (cache_addhst): Likewise.
25774         * nscd/grpcache.c (cache_addgr): Likewise.
25775         * nscd/aicache.c (addhstaiX): Likewise
25776
25777 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25778
25779         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25780         domain only when needed.
25781
25782 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25783
25784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25785         is always restored.
25786
25787 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25788
25789         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25790         are re-adding the entry.
25791         * nscd/servicescache.c (cache_addserv): Likewise.
25792
25793 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25794
25795         * sysdeps/generic/dl-irel.h: fix protection against multiple
25796         inclusions.
25797         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25798
25799 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25800
25801         [BZ #12935]
25802         * malloc/memusage.sh: Fix quoting in message.
25803         * debug/xtrace.sh: Likewise.
25804
25805         * configure.in: Remove support for --experimental-malloc option, make
25806         it the default.
25807         * config.make.in: Likewise.
25808         * malloc/Makefile: Likewise.
25809
25810 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25811
25812         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25813         two-byte characters.
25814
25815 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25816
25817         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25818         AC_CACHE_CHECK invocation.
25819         * configure: Regenerated.
25820
25821         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25822
25823 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25824
25825         [BZ #12350]
25826         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25827         bit from old_res_options.
25828
25829         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25830
25831         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25832         value type for setfct.
25833
25834 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25835
25836         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25837         __gettimeofday instead of gettimeofday.
25838
25839 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25840
25841         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25842
25843 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25844
25845         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25846
25847         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25848         info.
25849
25850 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25851
25852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25853         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25854         strcpy-sse2-unaligned strncpy-sse2-unaligned
25855         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25856         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25857         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25858         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25859         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25860         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25861         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25862         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25863         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25864         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25865         (STRCPY): Support SSE2 and SSSE3 versions.
25866
25867 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25868
25869         [BZ #12874]
25870         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25871         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25872         kernels which artificially limit size of requests.
25873
25874 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25875
25876         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25877         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25878         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25879         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25880         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25881         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25882         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25883         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25884         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25885         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25886         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25887         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25888         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25889         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25890         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25892         Enable unaligned load optimization for Intel Core i3, i5 and i7
25893         processors.
25894         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25895         Define.
25896         (index_Fast_Unaligned_Load): Define.
25897         (HAS_FAST_UNALIGNED_LOAD): Define.
25898
25899 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25900
25901         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25902
25903 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25904
25905         [BZ #12907]
25906         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25907         until it is clear that the information is realy needed.
25908         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25909
25910 2011-06-22  Andreas Schwab  <schwab@redhat.com>
25911
25912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25913
25914 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25915
25916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25917         /sys/devices/system/cpu/online if it is usable.
25918
25919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25920         reading the information from the /proc filesystem to once a second.
25921
25922 2011-06-21  Andreas Jaeger  <aj@suse.de>
25923
25924         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25925         NULL after inclusion of kernel headers.
25926
25927 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
25928
25929         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25930         calls to internal_setent.
25931
25932         [BZ #12885]
25933         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25934         addresses using gethostbyname4_r ignore IPv4 addresses.
25935
25936         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25937         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
25938
25939         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25940
25941 2011-06-20  David S. Miller  <davem@davemloft.net>
25942
25943         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25944         inclusions.
25945         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25946
25947         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25948         (elf_irel): Use it.
25949         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25950         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25951         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25952         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25953         * sysdeps/x86_64/dl-irel.h: Likewise.
25954
25955         * elf/dl-runtime.c: Use elf_ifunc_invoke.
25956         * elf/dl-sym.c: Likewise.
25957
25958 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25959
25960         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
25961         need to dereference resplen2.
25962
25963 2011-06-14  Andreas Schwab  <schwab@redhat.com>
25964
25965         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25966
25967 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25968
25969         * Makeconfig: Define vardbdir and inst_vardbdir.
25970         * nss/Makefile: Add rules to install db-Makefile.
25971
25972         * nss/nss_db/db-XXX.c: Cleanup.
25973
25974         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25975         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25976         GLIBC_PRIVATE.
25977         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25978         * nss/makedb.c: Implement -g option to specify that value strings
25979         are generated and should not be added to table iterated over for
25980         get*ent calls.
25981         * nss/nss_db/db-initgroups.c: New file.
25982
25983         * nss/getent.c: Add support for initgroups lookups through getgrouplist
25984         interface.
25985
25986         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25987         (internal_getgrouplist): Adjust to name change.
25988         Update use_initgroups_entry if this is not the first call.
25989         * nss/databases.def: Add initgroups entry.
25990
25991         * nss/makedb.c (compute_tables): Check result of multiple hash table
25992         sizes to minimize maximum chain length.
25993
25994 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
25995
25996         * Versions.def: Add entry for libnss_db.
25997         * shlib-versions: Likewise.
25998         * nss/Makefile: Add rules to build libnss_db.
25999         * nss/Versions: Add libnss_db information.  Organize libnss_files
26000         entries better.
26001         * nss/db-Makefile: Add gshadow support.  Change rules for the new
26002         makedb progra.  Some minor improvements to generate smaller files.
26003         * nss/nss_db/nss_db.h: Move NSS database header data structures to
26004         here from...
26005         * nss/makedb.c: ...here.
26006         Improve database format to be smaller and require less memory at
26007         runtime.
26008         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
26009         db anymore.
26010         * nss/nss_db/db-netgrp.c: Likewise.
26011         * nss/nss_db/db-open.c: Likewise.
26012         * nss/nss_files/flies-XXX.x: Adjust comments.
26013         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26014         * nss/nss_files/files-grp.c: Likewise.
26015         * nss/nss_files/files-hosts.c: Likewise.
26016         * nss/nss_files/files-network.c: Likewise.
26017         * nss/nss_files/files-proto.c: Likewise.
26018         * nss/nss_files/files-pwd.c: Likewise.
26019         * nss/nss_files/files-rpc.c: Likewise.
26020         * nss/nss_files/files-service.c: Likewise.
26021         * nss/nss_files/files-sgrp.c: Likewise.
26022         * nss/nss_files/files-spwd.c: Likewise.
26023         * nss/nss_db/db-alias.c: Removed.
26024         * nss/nss_db/dummy-db.h: Removed.
26025
26026 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
26027
26028         * nss/makedb.c: Rewritten to not use database library.
26029         * nss/Makefile: Update to build new makedb program.
26030
26031 2011-06-14  Andreas Jaeger  <aj@suse.de>
26032
26033         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26034         memset declaration.
26035
26036 2011-06-10  Andreas Schwab  <schwab@redhat.com>
26037
26038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26039         tmpbuf.
26040
26041 2011-06-10  Roland McGrath  <roland@hack.frob.com>
26042
26043         * Makerules (shlib.lds): Fail if the linker script comes out empty.
26044         * elf/Makefile ($(objpfx)ld.so): Likewise.
26045
26046         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26047         Don't list ld.so twice in dependencies.
26048
26049         * posix/bug-regex31.c: Include <stdlib.h>.
26050
26051         * nscd/hstcache.c (cache_addhst): Remove unused variable.
26052
26053         * nis/nss_compat/compat-spwd.c
26054         (getspent_next_nss_netgr): Remove unused variable.
26055         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26056
26057         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26058         nonmembers" output to use the right array.
26059
26060         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26061
26062         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26063
26064         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26065         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26066         * catgets/gencat.c (read_input_file): Likewise.
26067         * locale/programs/locarchive.c (enlarge_archive): Likewise.
26068
26069         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26070         variable definition inside #if's controlling its use.
26071
26072         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26073
26074         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26075
26076         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26077
26078         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26079         unreachable code.
26080
26081         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26082
26083         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26084         * configure: Regenerated.
26085
26086         * Makerules: Revert last change.
26087         * elf/Makefile: Likewise.
26088
26089 2011-06-09  Roland McGrath  <roland@hack.frob.com>
26090
26091         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26092         * elf/Makefile ($(objpfx)librtld.os): Likewise.
26093         (reloc-link): Likewise.
26094
26095 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
26096
26097         * elf/Makefile: Add rules to build pldd.
26098         * elf/pldd.c: New file.
26099         * elf/pldd-xx.c: New file.
26100
26101 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
26102
26103         * version.h: Update for 2.15 development version.
26104
26105 2011-06-07  David S. Miller  <davem@davemloft.net>
26106
26107         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26108         ifuncs.
26109         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26110         elf_machine_lazy_rel): Likewise.
26111         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26112         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26113         elf_machine_lazy_rel): Likewise.
26114         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26115         dl_hwcap via passed in argument.
26116         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26117         Likewise.
26118
26119 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26120
26121         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
26122
26123 2011-06-06  Roland McGrath  <roland@hack.frob.com>
26124
26125         [BZ #12849]
26126         * manual/fdl-1.1.texi: New file, verbatim from:
26127         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26128         * manual/lgpl-2.1.texi: New file, verbatim from:
26129         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26130         * manual/Makefile (licenses): New variable, list those new file names.
26131         (texis): Use it.
26132         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26133
26134         * manual/fdl.texi: File removed.
26135         * manual/lesser.texi: File removed.
26136         * manual/libc.texinfo (Copying, Documentation License):
26137         Use new @include file names, put @appendix directive before @include.
26138
26139 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
26140
26141         [BZ #12841]
26142         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26143         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26144         (mq_open): Add __NTH.
26145
26146 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
26147
26148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26149         Assume Intel Core i3/i5/i7 processor if AVX is available.
26150
26151 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
26152
26153         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26154         typo.
26155
26156 2011-05-31  Andreas Schwab  <schwab@redhat.com>
26157
26158         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26159         memory.  Use alloca_account.  Fix memory leak when retrying.
26160
26161 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
26162
26163         * version.h (RELEASE): Bump for 2.14 release.
26164         * include/features.h (__GLIBC_MINOR__): Bump to 14.
26165
26166         * config.make.in (RANLIB): Remove entry.
26167
26168 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
26169
26170         * po/Makefile (po-sed-cmd): Add ksh to extensions.
26171         (libc.pot): Work around missing support for .ksh extension in xgettext.
26172
26173         [BZ #12684]
26174         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26175         if both request failed.
26176         (send_dg): In case of server errors clear resplen or *resplen2.
26177
26178         [BZ #12454]
26179         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26180         when there are multiple maps.
26181         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26182         (_dl_fini): Remove test here.
26183
26184         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26185
26186 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
26187
26188         [BZ #12350]
26189         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26190         bit from old_res_options.
26191         (gaih_inet): Likewise.
26192
26193         [BZ #11099]
26194         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26195         as signed.
26196
26197         * resolv/res_init.c (res_setoptions): Make the code more compact.
26198
26199         [BZ #11558]
26200         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26201         set RES_USEVC.
26202
26203         [BZ #11634]
26204         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26205
26206         * malloc/malloc.h: Mark malloc hook variables as deprecated.
26207
26208         [BZ #11781]
26209         * malloc/malloc.h: Declare malloc hook variables as volatile.
26210
26211         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26212         in last patch.
26213
26214         [BZ #11799]
26215         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26216         raise in the comment.
26217         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26218         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26219         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26220
26221 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
26222
26223         [BZ #12811]
26224         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26225         grow the buffers more if it already has to be sufficient.
26226         (build_wcs_upper_buffer): Likewise.
26227         * posix/regexec.c (check_matching): Likewise.
26228         (clean_state_log_if_needed): Likewise.
26229         (extend_buffers): Don't enlarge buffers beyond size of the input
26230         buffer.
26231         Patches mostly by Emil Wojak <emil@wojak.eu>.
26232         * posix/bug-regex32.c: New file.
26233         * posix/Makefile (tests): Add bug-regex32.
26234
26235         * locale/findlocale.c (_nl_find_locale): Return right away if
26236         _nl_explode_name failed.
26237         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26238
26239         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26240
26241         * debug/xtrace.sh: Unify messages.
26242         * malloc/memusage.sh: Likewise.
26243
26244         [BZ #12813]
26245         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26246         time symbol from vDSO.  Substitute with vsyscall if not available.
26247         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26248         __vdso_time.
26249
26250         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26251         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26252         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26253         Add sendmmsg and internal_sendmmsg.
26254         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26255         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26256         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26257
26258         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26259         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26260         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26261
26262 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
26263
26264         [BZ #12813]
26265         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26266         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
26267         available.
26268         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26269         __vdso_getcpu.
26270
26271         [BZ #12814]
26272         * iconvdata/Makefile (tests): Add bug-iconv9.
26273         * iconvdata/bug-iconv9.c: New file.
26274
26275 2011-05-27  Andreas Schwab  <schwab@redhat.com>
26276
26277         [BZ #12814]
26278         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26279
26280 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
26281
26282         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26283         (struct user_regs_struct): Change intcs field back to cs.
26284
26285 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
26286
26287         * po/ja.po: Update from translation team.
26288
26289 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
26290
26291         [BZ #12795]
26292         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26293         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26294
26295 2011-05-20  Andreas Schwab  <schwab@redhat.com>
26296
26297         * stdlib/longlong.h: Update from GCC.
26298
26299 2011-05-23  Andreas Schwab  <schwab@redhat.com>
26300
26301         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26302         parameter name.
26303         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26304         Add parameter name.
26305         (__sysconf): Pass it down.
26306
26307 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
26308
26309         [BZ #12671]
26310         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26311         some situations.
26312         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26313         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26314         add in in __libc_use_alloca calls.  Adjust callers.
26315         (glob): Use malloc in some situations.
26316
26317         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26318         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26319         pltexit.
26320
26321 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
26322
26323         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26324         and CLOCK_BOOTTIME_ALARM.
26325
26326         [BZ #12782]
26327         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26328         is returned.
26329
26330         * string/_strerror.c (__strerror_r): Print negative errors as signed
26331         numbers.
26332
26333         [BZ #12777]
26334         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26335         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26336         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26337
26338         * configure.in: Fix typo in redirection and correct removal of test
26339         files in two cases.
26340
26341         [BZ #12788]
26342         * locale/setlocale.c (new_composite_name): Fix test to check for
26343         identical name of all categories.
26344
26345         [BZ #12792]
26346         * libio/filedoalloc.c (local_isatty): New function.
26347         (_IO_file_doallocate): Use local_isatty.
26348         * stdio-common/perror.c (perror): In case a new stream is used
26349         forward the stream error.
26350         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26351         error flag.
26352
26353 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
26354
26355         [BZ #11869]
26356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26357         alloca.
26358         * include/alloca.h (extend_alloca_account): Define.
26359
26360         [BZ #11857]
26361         * posix/regex.h: Fix comments with documentation of user-accessible
26362         fields after compilation and describe correct free'ing of pattern
26363         after re_compile_pattern.
26364         Patch by Reuben Thomas <rrt@sc3d.org>.
26365
26366 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
26367
26368         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26369         and -mno-altivec to prevent the compiler from using Altivec and/or
26370         VSX instructions when the corresponding registers are not available.
26371
26372 2011-05-19  Andreas Schwab  <schwab@redhat.com>
26373
26374         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26375
26376 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
26377
26378         * libio/freopen.c (freopen): Use __dup2, not dup2.
26379         * libio/freopen64.c (freopen64): Likewise.
26380
26381 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26382
26383         [BZ #12775]
26384         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26385         * math/Makefile (tests): Add test-powl.
26386         (CFLAGS-test-powl.c): Define.
26387         * math/test-powl.c: New file.
26388
26389 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26390
26391         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26392
26393 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
26394
26395         [BZ #11837]
26396         * iconvdata/gb18030.c: Update to GB18020-2005.
26397
26398 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
26399
26400         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26401         RE_SYNTAX_POSIX_AWK): Update to match recent development.
26402         Patch by Aharon Robbins <arnold@skeeve.com>.
26403
26404         [BZ #11892]
26405         * stdlib/putenv.c (putenv): Don't always create copy of the variable
26406         on the stack.
26407
26408         [BZ #11895]
26409         * misc/pselect.c (__pselect): Handle timeout value errors hidden
26410         through underflows.
26411
26412         [BZ #12766]
26413         * misc/error.c (error_at_line): Ensure file_name and old_file_name
26414         point to strings before performing equality test for error_one_per_line
26415         mode.
26416
26417         [BZ #11697]
26418         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26419
26420         [BZ #11820]
26421         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26422         (struct user_fpregs_struct): Avoid __uint*_t types.
26423
26424         [BZ #6420]
26425         * malloc/mtrace.c (tr_where): Add additional parameter to point to
26426         symbol info.  Use it instead of calling _dl_addr locally.
26427         (lock_and_info): New function.
26428         (tr_freehook): Call lock_and_info and pass symbol info as additional
26429         parameter to tr_where.
26430         (tr_mallochook): Likewise.
26431         (tr_reallochook): Likewise.
26432         (tr_memalignhook): Likewise.
26433
26434         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
26435         used and couldn't be at all thread-safe.
26436
26437 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
26438
26439         * libio/freopen.c (freopen): Don't close old file descriptor
26440         before the new one is opened.  Instead dup the new file descriptor
26441         to the old one after the new stream is created.
26442         * libio/freopen64.c (freopen64): Likewise.
26443         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26444         * libio/fileops.c (_IO_new_file_close_it): Handle new
26445         _IO_FLAGS2_NOCLOSE flag.
26446         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26447         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26448         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26449         _IO_FLAGS2_NOCLOSE flag.
26450         * include/unistd.h: Add hidden_proto for dup3.
26451         Define __have_dup3.
26452         * io/dup3.c: Define hidden symbol.
26453         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26454
26455         [BZ #7101]
26456         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26457         when an incomplete long option is used.
26458         * posix/tst-getopt_long1.c: New file.
26459         * posix/Makefile (tests): Add tst-getopt_long1.
26460
26461         [BZ #10138]
26462         * scripts/config.guess: Update from autoconf-2.68.
26463         * scripts/config.sub: Likewise.
26464
26465         [BZ #10157]
26466         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26467         tests into ...
26468         (has_cpuclock): ...this.  New function.
26469         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26470         macro here based on has_cpuclock code.
26471
26472         [BZ #10149]
26473         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26474         First byte (not low byte) is now always NUL.
26475         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26476
26477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26478         Use non-cancelable interfaces.
26479
26480         [BZ #9809]
26481         * locale/iso-639.def: Add entry for Sorani.
26482
26483         [BZ #11901]
26484         * include/stdlib.h: Move include protection to the right place.
26485         Define abort_msg_s.  Declare __abort_msg with it.
26486         * stdlib/abort.c (__abort_msg): Adjust type.
26487         * assert/assert.c (__assert_fail_base): New function.  Majority
26488         of code from __assert_fail.  Allocate memory for __abort_msg with
26489         mmap.
26490         (__assert_fail): Now call __assert_fail_base.
26491         * assert/assert-perr.c: Remove bulk of implementation.  Use
26492         __assert_fail_base.
26493         * include/assert.hL Declare __assert_fail_base.
26494         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26495         mmap.
26496         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26497
26498 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
26499
26500         [BZ #11952]
26501         [BZ #12453]
26502         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26503         until all modules are registered in the DTV.
26504         * elf/Makefile: Add rules to build and run tst-tls19.
26505         * elf/tst-tls19.c: New file.
26506         * elf/tst-tls19mod1.c: New file.
26507         * elf/tst-tls19mod2.c: New file.
26508         * elf/tst-tls19mod3.c: New file.
26509         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26510
26511         [BZ #12083]
26512         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26513         correctly.
26514
26515         [BZ #12601]
26516         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26517         two-byte sequence errors.
26518         * iconvdata/Makefile (tests): Add bug-iconv8.
26519         * iconvdata/bug-iconv8.c: New file.
26520
26521         [BZ #12626]
26522         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26523         buf2 definition.
26524
26525         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26526
26527         [BZ #12432]
26528         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26529         (dummy_getcfa): New function.
26530         (init): Get _Unwind_GetCFA address, use dummy if not found.
26531         (backtrace_helper): In recursion check, also check whether CFA changes.
26532         (__backtrace): Completely initialize arg.
26533
26534         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26535         storing incomplete byte sequence in state object.  Avoid testing for
26536         guaranteed too small input if we know there is enough data available.
26537
26538 2011-05-11  Andreas Schwab  <schwab@redhat.com>
26539
26540         * Makeconfig (+link-pie): Indent.
26541         * Rules (binaries-pie): Define if $(have-fpie) and
26542         $(build-shared).
26543         (binaries-shared): Also filter out $(binaries-pie).
26544         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26545         * nscd/Makefile (others-pie): Add nscd.
26546         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26547         ($(objpfx)nscd): Remove command override.
26548         * login/Makefile (others-pie): Add pt_chown.
26549         ($(objpfx)pt_chown): Remove command override.
26550         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26551         remove command overrides.
26552
26553 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
26554
26555         * libio/tst_putwc.c: Fix error messages.
26556
26557         [BZ #12724]
26558         * libio/fileops.c (_IO_new_file_close_it): Always flush when
26559         currently writing and seek to current position when not.
26560         * libio/Makefile (tests): Add bug-fclose1.
26561         * libio/bug-fclose1.c: New file.
26562
26563 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
26564
26565         [BZ #12511]
26566         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26567         don't set DF_1_NODELETE here.
26568         (do_lookup_x): When entering new entry test for copy relocation
26569         and if necessary set DF_1_NODELETE flag.
26570         * elf/tst-unique4.cc: New file.
26571         * elf/tst-unique4.h: New file.
26572         * elf/tst-unique4lib.cc: New file.
26573         * elf/Makefile: Add rules to build and run tst-unique4.
26574         Patch by Piotr Bury <pbury@goahead.com>.
26575
26576 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
26577
26578         [BZ #12052]
26579         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26580
26581         [BZ #12625]
26582         * misc/mntent_r.c (addmntent): Flush the stream after the output
26583
26584         [BZ #12393]
26585         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26586         (is_trusted_path_normalize): Skip initial colon.  Append slash
26587         to empty buffer.  Duplicate is_trusted_path code but allow
26588         constructed patch to be prefix.
26589         (is_dst): Allow $ORIGIN followed by /.
26590         (_dl_dst_substitute): Correct clearing of check_for_trusted.
26591         Correct testing of result of is_trusted_path_normalize
26592         (decompose_rpath): Fix warning.
26593
26594 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
26595
26596         [BZ #11257]
26597         * grp/initgroups.c (internal_getgrouplist): When we found the service
26598         list through the initgroups entry in nsswitch.conf do not always
26599         continue on a successful lookup.  Don't always use the
26600         __nss_group_database value if it is set.
26601         * nss/nsswitch.conf (initgroups): Change action for successful db
26602         lookup to continue for compatibility.
26603
26604 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
26605
26606         [BZ #11532]
26607         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26608         and CP774 modules.
26609         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26610         and CP774 modules.
26611         * iconvdata/tst-tables.sh: Likewise.
26612         * iconvdata/cp770.c: New file.
26613         * iconvdata/cp771.c: New file.
26614         * iconvdata/cp772.c: New file.
26615         * iconvdata/cp773.c: New file.
26616         * iconvdata/cp774.c: New file.
26617         * iconvdata/testdata/CP770: New file.
26618         * iconvdata/testdata/CP770..UTF8: New file.
26619         * iconvdata/testdata/CP771: New file.
26620         * iconvdata/testdata/CP771..UTF8: New file.
26621         * iconvdata/testdata/CP772: New file.
26622         * iconvdata/testdata/CP772..UTF8: New file.
26623         * iconvdata/testdata/CP773: New file.
26624         * iconvdata/testdata/CP773..UTF8: New file.
26625         * iconvdata/testdata/CP774: New file.
26626         * iconvdata/testdata/CP774..UTF8: New file.
26627
26628         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26629         END CHARMAP line.
26630         * iconvdata/gen-8bit-gap.sh: Likewise.
26631         * iconvdata/gen-8bit.sh: Likewise.
26632
26633         * locale/iso-639.def: Add ary entry.
26634
26635         [BZ #11258]
26636         * locale/C-translit.h.in: Add U20A1 transliteration.
26637
26638         [BZ #12178]
26639         * locale/iso-639.def: Add wae entry.
26640         Patch by Kevin Bortis <bortis@translate-wae.ch>.
26641
26642         [BZ #12545]
26643         * locale/programs/localedef.c (construct_output_path): Use ssize_t
26644         for n.
26645
26646         [BZ #12711]
26647         * locale/C-translit.h.in: Add entry for U20B9.
26648         Patch by pravin.d.s@gmail.com.
26649
26650 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
26651
26652         [BZ #12713]
26653         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26654         ENAMETOOLONG use generic getcwd.
26655         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
26656         in rtld.  Use *stat64.
26657         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26658         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26659         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26660         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26661         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26662         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26663         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26664         __fstatat64 macros.
26665         * include/dirent.h: Add libc_hidden_proto for rewinddir.
26666         * dirent/rewinddir.c: Add libc_hidden_def.
26667         * sysdeps/mach/hurd/rewinddir.c: Likewise.
26668         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
26669
26670         * include/dirent.h (__alloc_dir): Add flags parameter.
26671         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26672         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26673         __alloc_dir.
26674         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
26675         from fdopendir if O_CLOEXEC is already set.
26676
26677 2011-03-15  Alan Modra  <amodra@gmail.com>
26678
26679         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26680         l_tls_firstbyte_offset non-zero.  Save padding offset in
26681         l_tls_firstbyte_offset for later use.
26682         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26683         freeing static tls block.
26684
26685 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
26686
26687         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26688         where #ifdef was intended.  The intent is to prevent ARG_MAX from
26689         being defined by the kernel headers.
26690
26691 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
26692
26693         [BZ #12734]
26694         * resolv/resolv.h: Define RES_NOTLDQUERY.
26695         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26696         no-tld-query and set RES_NOTLDQUERY.
26697         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26698         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26699         modern BIND to search name as TLD unless forbidden.
26700
26701 2011-05-07  Petr Baudis  <pasky@suse.cz>
26702             Ulrich Drepper  <drepper@gmail.com>
26703
26704         [BZ #12393]
26705         * elf/dl-load.c (fillin_rpath): Move trusted path check...
26706         (is_trusted_path): ...to here.
26707         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26708         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26709         using is_trusted_path_normalize() in setuid scripts.
26710
26711 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26712
26713         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26714         __BEGIN/__END_DECLS.
26715
26716 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
26717
26718         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26719         NSS_STATUS_NOTFOUND if no record was found.
26720
26721 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26722
26723         * sunrpc/Makefile (headers): Add rpc/netdb.h.
26724         (headers-not-in-tirpc): Remove rpc/netdb.h
26725         * resolv/netdb.h: Revert last change.
26726
26727 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26728
26729         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26730         circular dependency between libgcc.a and libc.a.
26731
26732 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26733
26734         * resolv/netdb.h: Don't include <rpc/netdb.h>.
26735         * nis/Makefile: Don't install rpcsvc/*.
26736         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26737         instead of <rpc/types.h>.
26738         (MAXHOSTNAMELEN): Define.
26739
26740 2011-05-03  Andreas Schwab  <schwab@redhat.com>
26741
26742         * elf/ldconfig.c (add_dir): Don't crash on empty path.
26743
26744 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26745
26746         [BZ #12714]
26747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26748         gethostbyname4_r when IPv6 results are possible.
26749
26750 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26751
26752         [BZ #12723]
26753         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26754         _PC_PIPE_BUF handling.
26755
26756 2011-04-30  Bruno Haible  <bruno@clisp.org>
26757
26758         [BZ #12717]
26759         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26760         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26761         to 'int'.
26762         * inet/getnameinfo.c (getnameinfo): Likewise.
26763
26764 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26765
26766         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26767         to groups setting in database lookup.
26768         * nss/nsswitch.conf: Add initgroups entry.
26769
26770 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26771
26772         [BZ #12685]
26773         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26774         mode string.
26775         Patch by Eric Blake <eblake@redhat.com>.
26776
26777 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26778
26779         * sunrpc/Makefile (need-export-routines): Add svc_run.
26780         (routines): Remove svc_run.
26781         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26782         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26783         * sunrpc/svc_run.c (svc_run): Likewise.
26784         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26785
26786 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26787
26788         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26789         problem in reallocation in last patch.
26790
26791 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26792
26793         * sunrpc/Makefile: Move inclusion of Rules.
26794
26795 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26796
26797         * nss/nss_files/files-initgroups.c: New file.
26798         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26799         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26800         _nss_files_initgroups_dyn.
26801
26802 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26803
26804         * elf/elf.h (R_ARM_IRELATIVE): Define.
26805
26806 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26807
26808         * po/ru.po: Update from translation team.
26809
26810 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26811
26812         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26813         dependencies.
26814
26815 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26816
26817         [BZ #12653]
26818         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26819         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26820         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26821         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26822         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26823
26824 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26825
26826         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26827         differing bytes.
26828         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26829         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26830         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26831
26832 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26833
26834         [BZ #12420]
26835         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26836         storing it.
26837         * stdlib/bug-getcontext.c: New file.
26838         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26839
26840 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26841
26842         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26843         instructions into .machine "z9-109".
26844         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26845         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26846
26847 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26848
26849         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26850         between environment variables and auxiliary vector.
26851
26852 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26853
26854         * Makefile: Add rules to build linkobj/libc.so.
26855         * include/libc-symbols.h: Define libc_hidden_nolink.
26856         * include/rpc/auth.h: Mark functions which are to be hidden.
26857         * include/rpc/auth_des.h: Likewise.
26858         * include/rpc/auth_unix.h: Likewise.
26859         * include/rpc/clnt.h: Likewise.
26860         * include/rpc/des_crypt.h: Likewise.
26861         * include/rpc/key_prot.h: Likewise.
26862         * include/rpc/pmap_clnt.h: Likewise.
26863         * include/rpc/pmap_prot.h: Likewise.
26864         * include/rpc/pmap_rmt.h: Likewise.
26865         * include/rpc/rpc_msg.h: Likewise.
26866         * include/rpc/svc.h: Likewise.
26867         * include/rpc/svc_auth.h: Likewise.
26868         * include/rpc/xdr.h: Likewise.
26869         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26870         * nss/Makefile: Likewise.
26871         * sunrpc/Makefile: Don't install headers.  Build library with normal
26872         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26873         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26874         for the compat linking library.  Remove use of INTDEF/INTUSE.
26875         * sunrpc/auth_none.c: Likewise.
26876         * sunrpc/auth_unix.c: Likewise.
26877         * sunrpc/authdes_prot.c: Likewise.
26878         * sunrpc/authuxprot.c: Likewise.
26879         * sunrpc/clnt_gen.c: Likewise.
26880         * sunrpc/clnt_perr.c: Likewise.
26881         * sunrpc/clnt_raw.c: Likewise.
26882         * sunrpc/clnt_simp.c: Likewise.
26883         * sunrpc/clnt_tcp.c: Likewise.
26884         * sunrpc/clnt_udp.c: Likewise.
26885         * sunrpc/clnt_unix.c: Likewise.
26886         * sunrpc/des_crypt.c: Likewise.
26887         * sunrpc/des_soft.c: Likewise.
26888         * sunrpc/get_myaddr.c: Likewise.
26889         * sunrpc/key_call.c: Likewise.
26890         * sunrpc/key_prot.c: Likewise.
26891         * sunrpc/netname.c: Likewise.
26892         * sunrpc/pm_getmaps.c: Likewise.
26893         * sunrpc/pm_getport.c: Likewise.
26894         * sunrpc/pmap_clnt.c: Likewise.
26895         * sunrpc/pmap_prot.c: Likewise.
26896         * sunrpc/pmap_prot2.c: Likewise.
26897         * sunrpc/pmap_rmt.c: Likewise.
26898         * sunrpc/publickey.c: Likewise.
26899         * sunrpc/rpc_cmsg.c: Likewise.
26900         * sunrpc/rpc_common.c: Likewise.
26901         * sunrpc/rpc_dtable.c: Likewise.
26902         * sunrpc/rpc_prot.c: Likewise.
26903         * sunrpc/rpc_thread.c: Likewise.
26904         * sunrpc/rtime.c: Likewise.
26905         * sunrpc/svc.c: Likewise.
26906         * sunrpc/svc_auth.c: Likewise.
26907         * sunrpc/svc_authux.c: Likewise.
26908         * sunrpc/svc_raw.c: Likewise.
26909         * sunrpc/svc_run.c: Likewise.
26910         * sunrpc/svc_simple.c: Likewise.
26911         * sunrpc/svc_tcp.c: Likewise.
26912         * sunrpc/svc_udp.c: Likewise.
26913         * sunrpc/svc_unix.c: Likewise.
26914         * sunrpc/svcauth_des.c: Likewise.
26915         * sunrpc/xcrypt.c: Likewise.
26916         * sunrpc/xdr.c: Likewise.
26917         * sunrpc/xdr_array.c: Likewise.
26918         * sunrpc/xdr_float.c: Likewise.
26919         * sunrpc/xdr_intXX_t.c: Likewise.
26920         * sunrpc/xdr_mem.c: Likewise.
26921         * sunrpc/xdr_rec.c: Likewise.
26922         * sunrpc/xdr_ref.c: Likewise.
26923         * sunrpc/xdr_sizeof.c: Likewise.
26924         * sunrpc/xdr_stdio.c: Likewise.
26925
26926 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
26927
26928         [BZ #12650]
26929         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26930         * sysdeps/ia64/dl-tls.h: Likewise.
26931         * sysdeps/powerpc/dl-tls.h: Likewise.
26932         * sysdeps/s390/dl-tls.h: Likewise.
26933         * sysdeps/sh/dl-tls.h: Likewise.
26934         * sysdeps/sparc/dl-tls.h: Likewise.
26935         * sysdeps/x86_64/dl-tls.h: Likewise.
26936         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26937
26938 2011-03-14  Andreas Schwab  <schwab@redhat.com>
26939
26940         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26941         rpath element also skip the following colon.
26942         (expand_dynamic_string_token): Add is_path parameter and pass
26943         down to DL_DST_REQUIRED and _dl_dst_substitute.
26944         (decompose_rpath): Call expand_dynamic_string_token with
26945         non-zero is_path.  Ignore empty rpaths.
26946         (_dl_map_object_from_fd): Call expand_dynamic_string_token
26947         with zero is_path.
26948
26949 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
26950
26951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26952         Make cancelable.
26953
26954 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
26955
26956         [BZ #12655]
26957         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26958         Patch by Filipe David Manana <fdmanana@apache.org>.
26959
26960 2011-04-07  Andreas Schwab  <schwab@redhat.com>
26961
26962         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26963         Maintain aligned stack.
26964         (CHECK_RSP): Remove unused macro.
26965
26966 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
26967
26968         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26969         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26970
26971 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
26972
26973         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26974
26975         * include/features.h: Mention __USE_XOPEN2K8 in comment.
26976
26977 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
26978
26979         [BZ #12518]
26980         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26981         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26982         * sysdeps/x86_64/memmove.c: New file.
26983         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26984         (memcpy): Renamed to ...
26985         (__new_memcpy): This.
26986         (memcpy): Provide GLIBC_2_14 memcpy.
26987         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26988         (memcpy): Provide GLIBC_2_2_5 memcpy.
26989
26990 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26991
26992         [BZ #12631]
26993         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26994
26995 2011-03-30  Andreas Schwab  <schwab@redhat.com>
26996
26997         * misc/syncfs.c: New file.
26998         * misc/Makefile (routines): Add syncfs.
26999         * posix/unistd.h: Declare syncfs.
27000         * sysdeps/unix/syscalls.list: Add syncfs.
27001
27002 2011-04-01  Andreas Schwab  <schwab@redhat.com>
27003
27004         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27005         open_by_handle_at.
27006         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27007         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27008         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27009         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27011         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27012         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27013
27014 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27015
27016         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27017         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27018         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27019         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27020         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27021         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27022         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27023
27024         * io/Makefile: Compile fallocate.c, fallocate64.c, and
27025         sync_file_range.c with -fexceptions.
27026         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27027         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27028         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27029         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27030         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27031         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27033         sync_file_range as cancellation point
27034         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
27035         now a wrapper around __call_sync_file_range with cancellation handling.
27036         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27037         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
27038         function name to __call_sync_file_range.
27039         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27040         Add call_sync_file_range.
27041
27042 2011-04-01  Andreas Schwab  <schwab@redhat.com>
27043
27044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27045         bits/timex.h.
27046
27047 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27048
27049         * iconv/iconv.h: Fix typo in comment.
27050         * io/fcntl.h: Likewise.
27051         * libio/stdio.h: Likewise.
27052         * posix/spawn.h: Likewise.
27053         * posix/unistd.h: Likewise.
27054         * stdlib/stdlib.h: Likewise.
27055         * time/time.h: Likewise.
27056         * wcsmbs/wchar.h: Likewise.
27057
27058         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27059         open_by_handle): Add.
27060         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27061         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
27062         Augment a few comments.
27063         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27064         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27065         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27066         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27067         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27068         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27069         open_by_handle.
27070
27071         * io/fcntl.h (AT_EMPTY_PATH): Define.
27072
27073 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
27074
27075         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27076         * sysdeps/unix/sysv/linux/bits/time.h: New file.
27077         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27078         to...
27079         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
27080         * Versions.def: Add GLIBC_2.14.
27081         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27082         Export.
27083
27084 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
27085
27086         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27087         round counter.
27088         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27089
27090 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27091
27092         [BZ #12597]
27093         * string/test-strncmp.c (do_page_test): New function.
27094         (check2): Likewise.
27095         (test_main): Call check2.
27096         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27097
27098 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
27099
27100         [BZ #12587]
27101         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27102         Handle cache information in CPU leaf 4.
27103         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27104
27105 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
27106
27107         [BZ #12583]
27108         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27109         character representation.
27110         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27111
27112 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
27113
27114         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27115         END(__isnan) to END(__isnanf) to match function entry point/label
27116         EALIGN(__isnanf,...).
27117
27118 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
27119
27120         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27121
27122 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
27123
27124         [BZ #12510]
27125         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27126         copy from the symbol referenced in the relocation to initialize the
27127         used variable.
27128         Patch by Piotr Bury <pbury@goahead.com>.
27129         * elf/Makefile: Add rules to build and tst-unique3.
27130         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27131         * elf/tst-unique3.cc: New file.
27132         * elf/tst-unique3.h: New file.
27133         * elf/tst-unique3lib.cc: New file.
27134         * elf/tst-unique3lib2.cc: New file.
27135
27136         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27137
27138 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
27139
27140         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27141         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
27142         to _start.
27143
27144 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
27145
27146         * elf/dl-load.c (_dl_map_object): If we are looking for the first
27147         to-be-loaded object along a path to loader is ld.so.
27148
27149 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
27150             Ulrich Drepper  <drepper@gmail.com>
27151
27152         * sysdeps/x86_64/memset.S: After aligning destination, code
27153         branches to different locations depending on the value of
27154         misalignment, when multiarch is enabled. Fix this.
27155
27156 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
27157
27158         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27159         Set _x86_64_preferred_memory_instruction for AMD processsors.
27160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27161         Set bit_Prefer_SSE_for_memop for AMD processors.
27162
27163 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
27164
27165         * libio/fmemopen.c (fmemopen): Optimize a bit.
27166
27167 2011-03-03  Andreas Schwab  <schwab@redhat.com>
27168
27169         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27170
27171 2011-03-03  Roland McGrath  <roland@redhat.com>
27172
27173         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27174
27175 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
27176
27177         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27178         __bzero_ultra1 instead of __memset_ultra1.
27179
27180 2011-02-23  Andreas Schwab  <schwab@redhat.com>
27181             Ulrich Drepper  <drepper@gmail.com>
27182
27183         [BZ #12509]
27184         * include/link.h (struct link_map): Add l_orig_initfini.
27185         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27186         returning unsuccessfully.
27187         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27188         close of a file loaded at startup, restore the original l_initfini
27189         list.
27190         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27191         list, store the pointer.
27192         * elf/Makefile ($(objpfx)noload-mem): New rule.
27193         (noload-ENV): Define.
27194         (tests): Add $(objpfx)noload-mem.
27195         * elf/noload.c: Include <memcheck.h>.
27196         (main): Call mtrace.  Close all opened handles.
27197
27198 2011-02-17  Andreas Schwab  <schwab@redhat.com>
27199
27200         [BZ #12454]
27201         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27202         dependencies are missing.
27203
27204 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27205
27206         Fix __if_freereq crash: Unlike the generic version which uses free,
27207         Hurd needs munmap.
27208         * sysdeps/mach/hurd/ifreq.h: New file.
27209
27210 2011-01-27  Petr Baudis  <pasky@suse.cz>
27211             Ulrich Drepper  <drepper@gmail.com>
27212
27213         [BZ 12445]#
27214         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27215         to extend_alloca().
27216         * stdio-common/bug23.c: New file.
27217         * stdio-common/Makefile (tests): Add bug23.
27218
27219 2010-09-28  Andreas Schwab  <schwab@redhat.com>
27220             Ulrich Drepper  <drepper@gmail.com>
27221
27222         [BZ #12489]
27223         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27224         before performing relro protection.  At old place add assertion
27225         to make sure nothing changed.
27226
27227 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
27228             Glauber de Oliveira Costa  <glommer@gmail.com>
27229
27230         * elf/elf.h: Add new ARM TLS relocs.
27231
27232 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
27233
27234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27235         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27236         cast from r3.
27237         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
27238         'tests' variable.
27239         * sysdeps/wordsize-64/tst-writev.c: New file.
27240
27241 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
27242
27243         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27244         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27245         insns in _dl_start to prevent a TOC reference before relocs are
27246         resolved.
27247
27248 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
27249
27250         [BZ #12469]
27251         * Makeconfig: Remove RANLIB definition.
27252         * Makerules: Don't use RANLIB.
27253         * aclocal.m4: Remove ranlib test.
27254         * configure.in: No need to check for ranlib.
27255         * elf/rtld-Rules: Don't use RANLIB.
27256
27257 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27258
27259         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27260         protection macro.
27261         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27262         inclusion protection macro.
27263
27264         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27265         SIGRTMIN and SIGRTMAX and print information in that case only when
27266         SIGRTMIN is defined.
27267
27268 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
27269
27270         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27271         arginfo fn returning -1.
27272
27273         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27274         and thousands string is zero terminated.
27275
27276 2011-02-03  Andreas Schwab  <schwab@redhat.com>
27277
27278         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27279         sysdeps/unix/sysv/linux/bits/socket.h.
27280
27281 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27282
27283         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27284         (__CPU_COUNT): Remove old macros.
27285         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27286         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27287         (__CPU_ALLOC, __CPU_FREE): Add macros.
27288         (__sched_cpualloc, __sched_cpufree): Add declarations.
27289
27290 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
27291
27292         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27293         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27294         * nscd/aicache.c (addhstaiX): Return timeout of added value.
27295         (readdhstai): Return value of addhstaiX call.
27296         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27297         (addgrbyX): Return value returned by cache_addgr.
27298         (readdgrbyname): Return value returned by addgrbyX.
27299         (readdgrbygid): Likewise.
27300         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27301         (addpwbyX): Return value returned by cache_addpw.
27302         (readdpwbyname): Return value returned by addhstbyX.
27303         (readdpwbyuid): Likewise.
27304         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27305         (addservbyX): Return value returned by cache_addserv.
27306         (readdservbyname): Return value returned by addservbyX:
27307         (readdservbyport): Likewise.
27308         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27309         (addhstbyX): Return value returned by cache_addhst.
27310         (readdhstbyname): Return value returned by addhstbyX.
27311         (readdhstbyaddr): Likewise.
27312         (readdhstbynamev6): Likewise.
27313         (readdhstbyaddrv6): Likewise.
27314         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27315         (readdinitgroups): Return value returned by addinitgroupsX.
27316         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27317         (prune_cache): Keep track of timeout value of re-added entries.
27318         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27319         * nscd/nscd.h: Adjust prototypes of readd* functions.
27320
27321 2011-02-04  Roland McGrath  <roland@redhat.com>
27322
27323         * nis/nis_server.c (nis_servstate): Use the right name for 0.
27324         (nis_stats): Likewise.
27325         * nis/nis_modify.c (nis_modify): Likewise.
27326         * nis/nis_remove.c (nis_remove): Likewise.
27327         * nis/nis_add.c (nis_add): Likewise.
27328
27329         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27330
27331         * posix/fnmatch_loop.c: Add some consts.
27332
27333         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27334
27335 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
27336
27337         [BZ #12460]
27338         * config.make.in (config-cflags-novzeroupper): Define.
27339         * configure.in: Substitute libc_cv_cc_novzeroupper.
27340         * elf/Makefile (AVX-CFLAGS): Define.
27341         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27342         (CFLAGS-tst-auditmod4a.c): Likewise.
27343         (CFLAGS-tst-auditmod4b.c): Likewise.
27344         (CFLAGS-tst-auditmod6b.c): Likewise.
27345         (CFLAGS-tst-auditmod6c.c): Likewise.
27346         (CFLAGS-tst-auditmod7b.c): Likewise.
27347         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27348
27349 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
27350
27351         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27352         function to the callback.
27353         Patch partly by Jiri Olsa <jolsa@redhat.com>.
27354
27355 2011-02-02  Andreas Schwab  <schwab@redhat.com>
27356
27357         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27358         of errno.
27359
27360 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
27361
27362         [BZ #11724]
27363         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27364         of constructors.
27365         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27366         of destructors.
27367         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27368
27369         [BZ #11724]
27370         * elf/Makefile: Add rules to build and run new test.
27371         * elf/tst-initorder.c: New file.
27372         * elf/tst-initorder.exp: New file.
27373         * elf/tst-initordera1.c: New file.
27374         * elf/tst-initordera2.c: New file.
27375         * elf/tst-initordera3.c: New file.
27376         * elf/tst-initordera4.c: New file.
27377         * elf/tst-initorderb1.c: New file.
27378         * elf/tst-initorderb2.c: New file.
27379         * elf/tst-order-a1.c: New file.
27380         * elf/tst-order-a2.c: New file.
27381         * elf/tst-order-a3.c: New file.
27382         * elf/tst-order-a4.c: New file.
27383         * elf/tst-order-b1.c: New file.
27384         * elf/tst-order-b2.c: New file.
27385         * elf/tst-order-main.c: New file.
27386         New test case by George Gensure <werkt0@gmail.com>.
27387
27388 2010-10-01  Andreas Schwab  <schwab@redhat.com>
27389
27390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27391         decoding ACE if AI_CANONIDN.
27392
27393 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
27394
27395         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27396
27397 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
27398
27399         * version.h (RELEASE): Bump for 2.13 release.
27400         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27401
27402         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27403
27404         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27405         MADV_NOHUGEPAGE.
27406         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27407         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27408         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27409         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27410         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27411         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27412
27413         * posix/getconf.c: Update copyright year.
27414         * catgets/gencat.c: Likewise.
27415         * csu/version.c: Likewise.
27416         * debug/catchsegv.sh: Likewise.
27417         * debug/xtrace.sh: Likewise.
27418         * elf/ldconfig.c: Likewise.
27419         * elf/ldd.bash.in: Likewise.
27420         * elf/sprof.c (print_version): Likewise.
27421         * iconv/iconv_prog.c: Likewise.
27422         * iconv/iconvconfig.c: Likewise.
27423         * locale/programs/locale.c: Likewise.
27424         * locale/programs/localedef.c: Likewise.
27425         * malloc/memusage.sh: Likewise.
27426         * malloc/mtrace.pl: Likewise.
27427         * nscd/nscd.c (print_version): Likewise.
27428         * nss/getent.c: Likewise.
27429
27430         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27431         PF_CAIF, and PF_ALG.
27432         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27433
27434 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
27435
27436         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27437         (modules-names): Use them.
27438         (ifunc-test-modules, ifunc-pie-tests): Define.
27439         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27440         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27441         (test-extras): Likewise.
27442         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27443         $(compile-command.c).
27444         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27445         (all-built-dso): Define.
27446         (check-textrel.out, check-execstack.out): Depend on it.
27447
27448         * configure.in: Don't override --enable-multi-arch.
27449
27450 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
27451
27452         [BZ #6812]
27453         * nscd/hstcache.c (tryagain): Define.
27454         (cache_addhst): Return tryagain not notfound for temporary errors.
27455         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27456         failed.
27457
27458 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
27459
27460         [BZ #10563]
27461         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27462         to make the syscall.
27463         * sysdeps/unix/sysv/linux/setgroups.c: New file.
27464
27465         [BZ #12378]
27466         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27467         and fall back to matching as normal character if the string ends before
27468         the matching ']' is found.  This is what POSIX requires.
27469         * posix/testfnm.c: Adjust test result.
27470         * posix/globtest.sh: Adjust test result.  Add new test.
27471         * posix/tst-fnmatch.input: Likewise.
27472         * posix/tst-fnmatch2.c: Add new test.
27473
27474 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
27475
27476         * elf/Makefile (check-execstack): Revert last change.  Depend on
27477         check-execstack.h.
27478         (check-execstack.h): New target.
27479         (generated): Add check-execstack.h.
27480         * elf/check-execstack.c: Include "check-execstack.h".
27481         (main): Revert last change.
27482         (handle_file): Return zero if GNU_STACK is absent and
27483         DEFAULT_STACK_PERMS doesn't include PF_X.
27484
27485 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
27486
27487         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27488         in child fails because the descriptor is already closed.
27489         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27490         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27491         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27492
27493         [BZ #12397]
27494         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27495         syscall.
27496
27497         [BZ #10484]
27498         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27499         temporary buffer used to handle multi lookups locally.
27500         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27501
27502 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
27503
27504         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27505         loader is ld.so.
27506
27507 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
27508
27509         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27510         alignment for SSE2.
27511
27512 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
27513
27514         [BZ #12394]
27515         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27516         characters.  When rounding increased number of integer digits recompute
27517         number of groups.
27518         * stdio-common/tst-grouping.c: New file.
27519         * stdio-common/Makefile: Add rules to build and run tst-grouping.
27520
27521 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
27522
27523         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27524         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
27525
27526         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27527         void.
27528         * bits/select.h: Likewise.
27529
27530 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
27531
27532         * po/ja.po: Update from translation team.
27533
27534 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
27535
27536         [BZ #11155]
27537         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27538         implementation just like for lxstat, fxstatat, et al.
27539
27540 2010-12-27  Jim Meyering  <meyering@redhat.com>
27541
27542         [BZ #12348]
27543         * posix/regexec.c (build_trtable): Return failure indication upon
27544         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
27545
27546 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
27547
27548         [BZ #12201]
27549         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27550         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27551         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27552         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27553
27554         [BZ #12207]
27555         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27556
27557         [BZ #12204]
27558         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27559         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27560
27561 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
27562
27563         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27564         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27565         script has SORT_BY_INIT_PRIORITY.
27566         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27567         NO_CTORS_DTORS_SECTIONS is defined.
27568         * elf/soinit.c: Likewise.
27569         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27570         NO_CTORS_DTORS_SECTIONS is defined.
27571         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27572         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27573         * sysdeps/sh/init-first.c: Likewise.
27574         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27575
27576 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
27577
27578         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27579         always use the slow path.
27580
27581 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
27582
27583         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27584         similar rule which adds the sysdep directories to the header search in
27585         order to pick up the correct platform stackinfo.h.
27586         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27587         perform test if it is, otherwise return successfully without testing.
27588         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27589         DEFAULT_STACK_PERMS define in stackinfo.h.
27590         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27591         defined in stackinfo.h.
27592         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27593         DEFAULT_STACK_PERMS defined in stackinfo.h.
27594         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27595         * sysdeps/ia64/stackinfo.h: Likewise.
27596         * sysdeps/s390/stackinfo.h: Likewise.
27597         * sysdeps/sh/stackinfo.h: Likewise.
27598         * sysdeps/sparc/stackinfo.h: Likewise.
27599         * sysdeps/x86_64/stackinfo.h: Likewise.
27600         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27601         PF_X for powerpc64.  Retain PF_X for powerpc32.
27602
27603 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
27604
27605         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27606         accurately.
27607         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27608         GETDENTS_64BIT_ALIGNED.
27609
27610 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
27611
27612         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27613
27614 2010-12-10  Andreas Schwab  <schwab@redhat.com>
27615
27616         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27617         _GNU_SOURCE.
27618
27619         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27620         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27621         Remove __restrict.
27622         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27623         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27624
27625 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
27626
27627         [BZ #11655]
27628         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27629         are initialized.
27630
27631 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
27632
27633         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27634
27635 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
27636
27637         * po/it.po: Update from translation team.
27638
27639 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
27640
27641         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27642         unused codes.
27643
27644 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
27645
27646         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27647
27648 2010-11-24  Andreas Schwab  <schwab@redhat.com>
27649
27650         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27651         specially.
27652         (gaih_getanswer_slice): Likewise.
27653
27654 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
27655
27656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27657
27658 2010-05-31  Petr Baudis  <pasky@suse.cz>
27659
27660         [BZ #11149]
27661         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27662         silently even in the chroot mode.
27663
27664 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
27665
27666         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27667         last patch a bit.  Pretty printing
27668
27669 2010-05-31  Petr Baudis <pasky@suse.cz>
27670
27671         [BZ #10085]
27672         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27673         initialization of skip_initgroups_dyn.
27674
27675 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
27676
27677         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27678         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27679
27680 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
27681
27682         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27683
27684 2010-11-11  Andreas Schwab  <schwab@redhat.com>
27685
27686         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27687         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27688         (tst-fnmatch-ENV): Set MALLOC_TRACE.
27689         ($(objpfx)tst-fnmatch-mem): New rule.
27690         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27691         * posix/tst-fnmatch.c (main): Call mtrace.
27692
27693 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
27694
27695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27696         Support Intel processor model 6 and model 0x2c.
27697
27698 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
27699
27700         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27701           signed comparison.
27702
27703 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
27704
27705         [BZ #12205]
27706         * string/test-strncasecmp.c (check_result): New function.
27707         (do_one_test): Use it.
27708         (check1): New function.
27709         (test_main): Use it.
27710         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27711         Support strcasecmp and strncasecmp.
27712
27713 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
27714
27715         [BZ #12194]
27716         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27717         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27718
27719 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27720
27721         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27722         IFUNC support.
27723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27724         memset-x86-64.
27725         * sysdeps/x86_64/multiarch/bzero.S: New file.
27726         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27727         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27728         * sysdeps/x86_64/multiarch/memset.S: New file.
27729         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27731         Set bit_Prefer_SSE_for_memop for Intel processors.
27732         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27733         Define.
27734         (index_Prefer_SSE_for_memop): Define.
27735         (HAS_PREFER_SSE_FOR_MEMOP): Define.
27736
27737 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
27738
27739         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27740         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27741
27742 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
27743
27744         [BZ #12191]
27745         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27746         (__x86_64_raw_data_cache_size_half): Likewise.
27747         (__x86_64_raw_shared_cache_size): Likewise.
27748         (__x86_64_raw_shared_cache_size_half): Likewise.
27749
27750         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27751         (__x86_64_raw_data_cache_size_half): Likewise.
27752         (__x86_64_raw_shared_cache_size): Likewise.
27753         (__x86_64_raw_shared_cache_size_half): Likewise.
27754         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27755         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27756         and __x86_64_raw_shared_cache_size_half.  Round
27757         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27758         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27759         to multiple of 256 bytes.
27760
27761 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27762
27763         [BZ #12167]
27764         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27765         of inacessible symlinks.  Verify result of symlink before returning it.
27766         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27767         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27768
27769 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27770
27771         * math/math.h (isinf): Fix typo in comment.
27772
27773 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27774
27775         * po/da.po: Update from translation team.
27776
27777 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27778
27779         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27780         is added to the list.
27781
27782 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27783             Ulrich Drepper  <drepper@gmail.com>
27784
27785         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27786         the global list here.  Move code to...
27787         (_dl_add_to_namespace_list): ...here.  New function.
27788         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27789         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27790         * elf/dl-load.c (lose): Don't remove the element from the list.
27791         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27792         (_dl_map_object): Likewise.
27793
27794 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27795
27796         [BZ #12159]
27797         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27798         into all bytes of SSE register.
27799         Patch by Richard Li <richardpku@gmail.com>.
27800
27801 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27802
27803         [BZ #12140]
27804         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27805         perturbing.
27806
27807 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27808
27809         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27810         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27811         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27812         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27814         submachine.
27815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27816
27817 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27818
27819         * include/dlfcn.h (__RTLD_SECURE): Define.
27820         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27821         mode & __RTLD_SECURE instead.
27822         (open_path): Rename preloaded parameter to secure.
27823         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27824         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27825         * elf/dl-deps.c (openaux): Likewise.
27826         * elf/rtld.c (struct map_args): Remove is_preloaded.
27827         (map_doit): Don't use it.
27828         (dl_main): Likewise.
27829         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27830         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27831
27832 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27833
27834         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27835         (sysd-rules-targets): Remove duplicates.
27836         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27837         rtld-%.$o dependency.
27838
27839 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27840
27841         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27842         _dl_map_object do it.
27843
27844 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27845
27846         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27847         fast fma builtins, define the macros in the C99 standard.
27848         (FP_FAST_FMAF): Likewise.
27849         (FP_FAST_FMAL): Likewise.
27850         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27851
27852         * bits/mathdef.h: Update copyright year.
27853         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27854
27855 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27856
27857         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27858         builtins, define the macros in the C99 standard.
27859         (FP_FAST_FMAF): Likewise.
27860         (FP_FAST_FMAL): Likewise.
27861         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27862         multiply/add.
27863         (FP_FAST_FMAF): Likewise.
27864
27865 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27866
27867         [BZ #3268]
27868         * math/libm-test.inc (fma_test): Some new testcases.
27869         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27870         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27871         y and infinite z.  Do multiplication by C already in long double.
27872         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27874         y and infinite z.  Do bitwise or of inexact bit into u.d.
27875         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27876         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27877         * sysdeps/i386/fpu/s_fma.S: Removed.
27878         * sysdeps/i386/fpu/s_fmal.S: Removed.
27879
27880 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27881
27882         [BZ #3268]
27883         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27885         computation is not scheduled after fetestexcept.  Fix value
27886         of minimum denormal long double.
27887
27888 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27889
27890         [BZ #3268]
27891         * math/libm-test.inc (fma_test): Add some more tests.
27892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27893         correctly.
27894
27895 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27896
27897         * scripts/data/localplt-s390-linux-gnu.data: New file.
27898         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27899
27900 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27901
27902         [BZ #3268]
27903         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27904         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27905         instead of dbl-64.
27906         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27907         inlines.
27908         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27909         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27910         if one of x and y is very large and the other is subnormal.
27911         * sysdeps/s390/fpu/s_fmaf.c: New file.
27912         * sysdeps/s390/fpu/s_fma.c: New file.
27913         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27914         * sysdeps/powerpc/fpu/s_fma.S: New file.
27915         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27916         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27917         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27918
27919 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
27920
27921         [BZ #3268]
27922         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27923         fma tests.
27924         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27925         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27926         * sysdeps/i386/i686/multiarch/s_fma.c: Include
27927         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27928         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27929         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27930         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27931
27932 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
27933
27934         [BZ #12078]
27935         * posix/regcomp.c (parse_branch): One more memory leak plugged.
27936         * posix/bug-regex31.input: Add test case.
27937
27938 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27939
27940         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27941         * posix/bug-regex31.input: New file.
27942
27943         [BZ #12078]
27944         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27945         (parse_sub_exp): Fix last change, use postorder.
27946
27947         * posix/bug-regex31.c: New file.
27948         * posix/Makefile: Add rules to build and run bug-regex31.
27949
27950         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27951
27952         [BZ #12078]
27953         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27954
27955         [BZ #12108]
27956         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27957         to have entries in sys_siglist.
27958
27959         [BZ #12093]
27960         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27961         be NULL.
27962
27963 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
27964
27965         [BZ #3268]
27966         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27967         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27968         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27969         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27970         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27971         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27972         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27973         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27974         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27975         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27976         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27977         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27978         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27979         * math/ftestexcept.c (fetestexcept): Likewise.
27980         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27981         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27982         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27983         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27984         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27985         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27986         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27987
27988 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27989
27990         [BZ #12107]
27991         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27992         newline.
27993
27994 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
27995
27996         * string/bug-strstr1.c: New file.
27997         * string/Makefile: Add rules to build and run bug-strstr1.
27998
27999 2010-10-05  Eric Blake  <eblake@redhat.com>
28000
28001         [BZ #12092]
28002         * string/str-two-way.h (two_way_long_needle): Always clear memory
28003         when skipping input due to the shift table.
28004
28005 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
28006
28007         [BZ #12005]
28008         * malloc/mcheck.c: Handle large requests.
28009
28010         [BZ #12077]
28011         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28012         for strncmp and strncasecmp.
28013         * string/stratcliff.c: Add tests for strcmp and strncmp.
28014         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28015
28016 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28017
28018         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28019         __set_fpscr.
28020
28021 2010-09-30  Andreas Jaeger  <aj@suse.de>
28022
28023         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28024         (CGROUP_SUPER_MAGIC): Define.
28025         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28026         Handle btrfs and cgroup file systems.
28027         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28028         Likewise.
28029
28030 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
28031
28032         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28033         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28034
28035 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28036
28037         [BZ #12067]
28038         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28039         trying to locate the ELF header.
28040
28041 2010-09-27  Andreas Schwab  <schwab@redhat.com>
28042
28043         [BZ #11611]
28044         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28045         Mask out sign-bit copies when constructing f_fsid.
28046
28047 2010-09-24  Petr Baudis <pasky@suse.cz>
28048
28049         * debug/stack_chk_fail_local.c: Add missing licence exception.
28050         * debug/warning-nop.c: Likewise.
28051
28052 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
28053
28054         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28055         implementing getdents64 using getdents syscall, set d_type if
28056         __ASSUME_GETDENTS32_D_TYPE.
28057
28058 2010-09-16  Andreas Schwab  <schwab@redhat.com>
28059
28060         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28061         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28062
28063 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
28064
28065         [BZ #12037]
28066         * posix/unistd.h: Undo change of feature selection for ftruncate from
28067         2010-01-11.
28068
28069 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
28070
28071         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28072         detection.
28073
28074 2010-09-20  Andreas Schwab  <schwab@redhat.com>
28075
28076         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28077         fanotify_mark.
28078         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28079
28080 2010-09-14  Andreas Schwab  <schwab@redhat.com>
28081
28082         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28083         variables after CHECK_SP call.
28084         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28085
28086 2010-09-13  Andreas Schwab  <schwab@redhat.com>
28087             Ulrich Drepper  <drepper@redhat.com>
28088
28089         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28090         re-relocationg ld.so.
28091         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28092         _dl_init_paths call.
28093         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
28094         here anymore.
28095
28096 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
28097
28098         * resolv/res_init.c (__res_vinit): Count the default server we added.
28099
28100 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
28101             Ulrich Drepper  <drepper@redhat.com>
28102
28103         [BZ #11968]
28104         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28105         (____longjmp_chk): Use %ebx for saving value across system call.
28106         Add unwind info.
28107
28108 2010-09-06  Andreas Schwab  <schwab@redhat.com>
28109
28110         * manual/Makefile: Don't mix pattern rules with normal rules.
28111
28112 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28113
28114         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28115         operation.
28116         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28117         * libio/iofopncook.c (_IO_cookie_init): Likewise.
28118         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28119         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28120         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28121         Likewise.
28122
28123 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
28124
28125         [BZ #11979]
28126         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28127         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28128
28129 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
28130
28131         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28132         * sysdeps/x86_64/addmul_1.S: Likewise.
28133         * sysdeps/x86_64/lshift.S: Likewise.
28134         * sysdeps/x86_64/mul_1.S: Likewise.
28135         * sysdeps/x86_64/rshift.S: Likewise.
28136         * sysdeps/x86_64/sub_n.S: Likewise.
28137         * sysdeps/x86_64/submul_1.S: Likewise.
28138
28139 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28140
28141         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28142         Define __sched_param instead of SCHED_* and sched_param when
28143         <bits/sched.h> is included with __need_schedparam defined.
28144         * bits/sched.h [__need_schedparam]
28145         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28146         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28147         (__defined_schedparam): Define to 1.
28148         (__sched_param): New structure, identical to sched_param.
28149         (__need_schedparam): Undefine.
28150
28151 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
28152
28153         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28154         (epoll_create1): Declare.
28155
28156         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28157
28158 2010-08-31  Andreas Schwab  <schwab@redhat.com>
28159
28160         [BZ #7066]
28161         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28162         shifting retval into place.
28163
28164 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
28165
28166         * nis/rpcsvc/nis.h: Update copyright notice.
28167         * nis/rpcsvc/nis.x: Likewise.
28168         * nis/rpcsvc/nis_callback.h: Likewise.
28169         * nis/rpcsvc/nis_callback.x: Likewise.
28170         * nis/rpcsvc/nis_object.x: Likewise.
28171         * nis/rpcsvc/nis_tags.h: Likewise.
28172         * nis/rpcsvc/yp.h: Likewise.
28173         * nis/rpcsvc/yp.x: Likewise.
28174         * nis/rpcsvc/ypupd.h: Likewise.
28175         * nis/yp_xdr.c: Likewise.
28176         * nis/ypupdate_xdr.c: Likewise.
28177
28178         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
28179         mainly the body of pmap_getport.  Add parameters to specify timeouts.
28180         (pmap_getport): Use __libc_rpc_getport.
28181         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28182         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28183         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28184
28185 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
28186
28187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28188         fanotify_mark.
28189
28190 2010-08-27  Roland McGrath  <roland@redhat.com>
28191
28192         * sysdeps/i386/i686/multiarch/Makefile
28193         (CFLAGS-varshift.c): New variable.
28194
28195 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
28196
28197         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28198         * sysdeps/i386/i686/multiarch/varshift.c: New file.
28199
28200         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28201
28202         * sysdeps/x86_64/strlen.S: Minimal code improvement.
28203
28204 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28205
28206         * sysdeps/x86_64/strlen.S: Unroll the loop.
28207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28208         strlen-sse2 strlen-sse2-bsf.
28209         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28210         __strlen_no_bsf if bit_Slow_BSF is set.
28211         (__strlen_sse42): Removed.
28212         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28213         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28214
28215 2010-08-25  Roland McGrath  <roland@redhat.com>
28216
28217         * sysdeps/x86_64/multiarch/varshift.S: File removed.
28218         * sysdeps/x86_64/multiarch/varshift.c: New file.
28219         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28220         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28221         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28222         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28223
28224 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28225
28226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28227         strlen-sse2 strlen-sse2-bsf.
28228         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28229         __strlen_sse2_bsf if bit_Slow_BSF is unset.
28230         (__strlen_sse2): Removed.
28231         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28232         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28234         bit_Slow_BSF for Atom.
28235         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28236         (index_Slow_BSF): Define.
28237         (HAS_SLOW_BSF): Define.
28238
28239 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
28240
28241         [BZ #10851]
28242         * resolv/res_init.c (__res_vinit): When no server address at all
28243         is given default to loopback.
28244
28245 2010-08-24  Roland McGrath  <roland@redhat.com>
28246
28247         * configure.in: Remove config-name.h generation.
28248         * configure: Regenerated.
28249         * config-name.in: File removed.
28250         * scripts/config-uname.sh: New file.
28251         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28252         ($(objdir)config-name.h): New target.
28253
28254         * sunrpc/rpc_parse.h: Avoid nested comment.
28255
28256 2010-08-24  Richard Henderson  <rth@redhat.com>
28257             Ulrich Drepper  <drepper@redhat.com>
28258             H.J. Lu  <hongjiu.lu@intel.com>
28259
28260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28262         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28263         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
28264         _mm_alignr_epi8 with _mm_loadu_si128.
28265         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28266         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28267         (__m128i_shift_right): Removed.
28268         * sysdeps/i386/i686/multiarch/varshift.h: New file.
28269         * sysdeps/i386/i686/multiarch/varshift.S: New file.
28270         * sysdeps/x86_64/multiarch/varshift.h: New file.
28271         * sysdeps/x86_64/multiarch/varshift.S: New file.
28272
28273 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
28274
28275         * configure.in: Move assembler checks to before sysdep dir checking.
28276
28277 2010-08-20  Petr Baudis  <pasky@suse.cz>
28278
28279         * LICENSES: Sync the sunrpc license.
28280
28281 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
28282
28283         * sunrpc/auth_des.c: Update copyright notice once again.
28284         * sunrpc/auth_none.c: Likewise.
28285         * sunrpc/auth_unix.c: Likewise.
28286         * sunrpc/authdes_prot.c: Likewise.
28287         * sunrpc/authuxprot.c: Likewise.
28288         * sunrpc/bindrsvprt.c: Likewise.
28289         * sunrpc/clnt_gen.c: Likewise.
28290         * sunrpc/clnt_perr.c: Likewise.
28291         * sunrpc/clnt_raw.c: Likewise.
28292         * sunrpc/clnt_simp.c: Likewise.
28293         * sunrpc/clnt_tcp.c: Likewise.
28294         * sunrpc/clnt_udp.c: Likewise.
28295         * sunrpc/clnt_unix.c: Likewise.
28296         * sunrpc/des_crypt.c: Likewise.
28297         * sunrpc/des_soft.c: Likewise.
28298         * sunrpc/get_myaddr.c: Likewise.
28299         * sunrpc/getrpcport.c: Likewise.
28300         * sunrpc/key_call.c: Likewise.
28301         * sunrpc/key_prot.c: Likewise.
28302         * sunrpc/openchild.c: Likewise.
28303         * sunrpc/pm_getmaps.c: Likewise.
28304         * sunrpc/pm_getport.c: Likewise.
28305         * sunrpc/pmap_clnt.c: Likewise.
28306         * sunrpc/pmap_prot.c: Likewise.
28307         * sunrpc/pmap_prot2.c: Likewise.
28308         * sunrpc/pmap_rmt.c: Likewise.
28309         * sunrpc/rpc/auth.h: Likewise.
28310         * sunrpc/rpc/auth_unix.h: Likewise.
28311         * sunrpc/rpc/clnt.h: Likewise.
28312         * sunrpc/rpc/des_crypt.h: Likewise.
28313         * sunrpc/rpc/key_prot.h: Likewise.
28314         * sunrpc/rpc/netdb.h: Likewise.
28315         * sunrpc/rpc/pmap_clnt.h: Likewise.
28316         * sunrpc/rpc/pmap_prot.h: Likewise.
28317         * sunrpc/rpc/pmap_rmt.h: Likewise.
28318         * sunrpc/rpc/rpc.h: Likewise.
28319         * sunrpc/rpc/rpc_des.h: Likewise.
28320         * sunrpc/rpc/rpc_msg.h: Likewise.
28321         * sunrpc/rpc/svc.h: Likewise.
28322         * sunrpc/rpc/svc_auth.h: Likewise.
28323         * sunrpc/rpc/types.h: Likewise.
28324         * sunrpc/rpc/xdr.h: Likewise.
28325         * sunrpc/rpc_clntout.c: Likewise.
28326         * sunrpc/rpc_cmsg.c: Likewise.
28327         * sunrpc/rpc_common.c: Likewise.
28328         * sunrpc/rpc_cout.c: Likewise.
28329         * sunrpc/rpc_dtable.c: Likewise.
28330         * sunrpc/rpc_hout.c: Likewise.
28331         * sunrpc/rpc_main.c: Likewise.
28332         * sunrpc/rpc_parse.c: Likewise.
28333         * sunrpc/rpc_parse.h: Likewise.
28334         * sunrpc/rpc_prot.c: Likewise.
28335         * sunrpc/rpc_sample.c: Likewise.
28336         * sunrpc/rpc_scan.c: Likewise.
28337         * sunrpc/rpc_scan.h: Likewise.
28338         * sunrpc/rpc_svcout.c: Likewise.
28339         * sunrpc/rpc_tblout.c: Likewise.
28340         * sunrpc/rpc_util.c: Likewise.
28341         * sunrpc/rpc_util.h: Likewise.
28342         * sunrpc/rpcinfo.c: Likewise.
28343         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28344         * sunrpc/rpcsvc/key_prot.x: Likewise.
28345         * sunrpc/rpcsvc/klm_prot.x: Likewise.
28346         * sunrpc/rpcsvc/mount.x: Likewise.
28347         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28348         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28349         * sunrpc/rpcsvc/rex.x: Likewise.
28350         * sunrpc/rpcsvc/rstat.x: Likewise.
28351         * sunrpc/rpcsvc/rusers.x: Likewise.
28352         * sunrpc/rpcsvc/sm_inter.x: Likewise.
28353         * sunrpc/rpcsvc/spray.x: Likewise.
28354         * sunrpc/rpcsvc/yppasswd.x: Likewise.
28355         * sunrpc/rtime.c: Likewise.
28356         * sunrpc/svc.c: Likewise.
28357         * sunrpc/svc_auth.c: Likewise.
28358         * sunrpc/svc_authux.c: Likewise.
28359         * sunrpc/svc_raw.c: Likewise.
28360         * sunrpc/svc_run.c: Likewise.
28361         * sunrpc/svc_simple.c: Likewise.
28362         * sunrpc/svc_tcp.c: Likewise.
28363         * sunrpc/svc_udp.c: Likewise.
28364         * sunrpc/svc_unix.c: Likewise.
28365         * sunrpc/svcauth_des.c: Likewise.
28366         * sunrpc/xcrypt.c: Likewise.
28367         * sunrpc/xdr.c: Likewise.
28368         * sunrpc/xdr_array.c: Likewise.
28369         * sunrpc/xdr_float.c: Likewise.
28370         * sunrpc/xdr_mem.c: Likewise.
28371         * sunrpc/xdr_rec.c: Likewise.
28372         * sunrpc/xdr_ref.c: Likewise.
28373         * sunrpc/xdr_sizeof.c: Likewise.
28374         * sunrpc/xdr_stdio.c: Likewise.
28375
28376         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28377         handling.
28378
28379 2010-08-19  Andreas Schwab  <schwab@redhat.com>
28380
28381         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28382
28383 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
28384
28385         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28386         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28387         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28388         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28389         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28390         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28391         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28392         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28393         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28394         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28395         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28396         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28397         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28398         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28399
28400 2010-07-26  Anton Blanchard  <anton@samba.org>
28401
28402         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28403         * malloc/arena.c (heap_trim): Likewise.
28404
28405 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
28406
28407         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28408         here.  Not...
28409         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28410         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28411
28412 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28413
28414         * sysdeps/i386/elf/Makefile: New file.
28415
28416 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
28417
28418         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28419         from fanotify_init.
28420         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28421         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28422
28423 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
28424
28425         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28426         of strncasecmp_l.
28427         * sysdeps/multiarch/strcmp.S: Likewise.
28428
28429 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
28430
28431         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28432         strncase_l-nonascii.
28433         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28434         Add strncase_l-ssse3.
28435         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28436         * sysdeps/x86_64/strcmp.S: Likewise.
28437         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28438         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28439         * sysdeps/x86_64/strncase.S: New file.
28440         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28441         * sysdeps/x86_64/strncase_l.S: New file.
28442         * string/Makefile (strop-tests): Add strncasecmp.
28443         * string/test-strncasecmp.c: New file.
28444
28445         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28446         warning.
28447
28448         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28449         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28450
28451 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
28452
28453         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28454
28455 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
28456
28457         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28458         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28459         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28460
28461 2010-05-01  Alan Modra  <amodra@gmail.com>
28462
28463         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28464         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28465         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28466         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28467         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28468         tidying.  Don't tail-call __sigjmp_save for static lib.
28469         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28470         save location.
28471         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28472         (CALL_MCOUNT): Add eh info, and nop after bl.
28473         (TAIL_CALL_SYSCALL_ERROR): New macro.
28474         (PSEUDO_RET): Use it.
28475         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28476         Correct save location of integer regs and cr.
28477         (_dl_profile_resolve): Correct cr save location.  Delete nops
28478         after bl when SHARED.  Reduce cfi size a little by better
28479         placement of cfi directives.
28480         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28481         make a stack frame.  Instead use parm save area as a temp.
28482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28483         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
28484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28485         Don't make a stack frame for parent, use parm save area.
28486         Increase child stack frame to 112 bytes.  Don't save unused reg,
28487         and adjust reg usage.  Set up cfi on error recovery and
28488         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28490         (__makecontext): Add dummy nop after jump to exit.
28491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28492         Use correct parm save area and cr save, reduce stack frame.
28493         Correct cfi for possible PSEUDO_RET frame setup.
28494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28495         Branch to local label emitted by PSEUDO_RET rather than
28496         __syscall_error.
28497
28498 2010-08-12  Andreas Schwab  <schwab@redhat.com>
28499
28500         [BZ #11904]
28501         * locale/programs/locale.c (print_assignment): New function.
28502         (show_locale_vars): Use it.
28503
28504 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
28505
28506         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28507         field.
28508         (struct statfs64): Likewise.
28509         (_STATFS_F_FLAGS): Define.
28510         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28511         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28512         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28513         (ST_VALID): Define locally.
28514         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28515         __statvfs_getflags, use the provided value.
28516         * sysdeps/unix/sysv/linux/kernel-features.h: Define
28517         __ASSUME_STATFS_F_FLAGS.
28518
28519         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28520
28521         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28522         Add sys/fanotify.h.
28523         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28524         fanotify_mask for GLIBC_2.13.
28525         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28526         fanotify_init and fanotify_mark.
28527         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28528         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28529
28530         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28531         Add prlimit.
28532         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28533         prlimit64 for GLIBC_2.13.
28534         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28535         prlimit64.
28536         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28537         syscall.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28539         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28540         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28541         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28542         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
28543         add prlimit alias.
28544         * sysdeps/unix/sysv/linux/prlimit.c: New file.
28545
28546         [BZ #11903]
28547         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28548         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28549
28550         * nss/Makefile: Add rules to build and run tst-nss-test1.
28551         * shlib-versions: Add entry for libnss_test1.
28552         * nss/nss_test1.c: New file.
28553         * nss/tst-nss-test1.c: New file.
28554
28555         * nss/nsswitch.c (__nss_database_custom): Define new variable.
28556         (__nss_configure_lookup): Set appropriate entry in
28557         __nss_configure_lookup to true.
28558         * nss/nsswitch.h: Define enum with indeces of databases in
28559         databases and __nss_database_custom arrays.  Declare
28560         __nss_database_custom.
28561         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28562         to avoid using nscd when custom rules are installed.
28563         * nss/getXXbyYY_r.c: Likewise.
28564         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28565
28566         * nss/nss_files/files-parse.c: Whitespace fixes.
28567
28568 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
28569
28570         [BZ #11883]
28571         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28572         * posix/fnmatch_loop.c: Likewise.
28573
28574 2010-07-17  Andi Kleen  <ak@linux.intel.com>
28575
28576         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28577         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28578         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28579         * Versions.def [GLIBC_2.13]: Add.
28580
28581 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
28582
28583         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28584         Also fail if tpwd after pwuid call is NULL.
28585
28586 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28587
28588         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28589         when converting to ms.
28590
28591 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28592
28593         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28594         EOPNOTSUPP errors with ENOTTY.
28595         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28596         EOPNOTSUPP errors with ENOTTY.
28597
28598 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
28599
28600         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28601         Add strcasecmp_l-ssse3.
28602         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28603         strcasecmp.
28604         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28605         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28606         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28607
28608 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
28609
28610         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28611
28612         * string/Makefile (strop-tests): Add strcasecmp.
28613         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28614         strcasecmp_l-nonascii.
28615         (gen-as-const-headers): Add locale-defines.sym.
28616         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28617         * sysdeps/x86_64/strcasecmp.S: New file.
28618         * sysdeps/x86_64/strcasecmp_l.S: New file.
28619         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28620         * sysdeps/x86_64/locale-defines.sym: New file.
28621         * string/test-strcasecmp.c: New file.
28622
28623         * string/test-strcasestr.c: Test both ends of the range of characters.
28624         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28625
28626 2010-07-29  Roland McGrath  <roland@redhat.com>
28627
28628         [BZ #11856]
28629         * manual/locale.texi (Yes-or-No Questions): Fix example code.
28630
28631 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
28632
28633         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28634         for ld.so.
28635
28636 2010-07-27  Andreas Schwab  <schwab@redhat.com>
28637
28638         * manual/memory.texi (Malloc Tunable Parameters): Document
28639         M_PERTURB.
28640
28641 2010-07-26  Roland McGrath  <roland@redhat.com>
28642
28643         [BZ #11840]
28644         * configure.in (-fgnu89-inline check): Set and substitute
28645         gnu89_inline, not libc_cv_gnu89_inline.
28646         * configure: Regenerated.
28647         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28648
28649 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
28650
28651         * string/test-strnlen.c: New file.
28652         * string/Makefile (strop-tests): Add strnlen.
28653         * string/tester.c (test_strnlen): Add a few more test cases.
28654         * string/tst-strlen.c: Better error reporting.
28655
28656         * sysdeps/x86_64/strnlen.S: New file.
28657
28658 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
28659
28660         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28661         lower-latency instructions.
28662
28663 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
28664
28665         * string/test-strcasestr.c: New file.
28666         * string/test-strstr.c: New file.
28667         * string/Makefile (strop-tests): Add strstr and strcasestr.
28668         * string/str-two-way.h: Don't undefine MAX.
28669         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28670
28671 2010-07-21  Andreas Schwab  <schwab@redhat.com>
28672
28673         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28674         strcasestr-nonascii.
28675         (CFLAGS-strcasestr-nonascii.c): Define.
28676         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28677         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28678         Remove unused attribute.
28679
28680 2010-07-20  Roland McGrath  <roland@redhat.com>
28681
28682         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28683         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
28684         ld.so.cache was broken.  With it, there is no way to disable dsocaps
28685         like LD_HWCAP_MASK can disable hwcaps.
28686
28687 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28688
28689         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28690
28691 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
28692
28693         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28694         call in strcasestr.
28695         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28696         __strcasestr_sse42_nonascii.
28697         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28698         strcasestr-nonascii.c.
28699         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28700
28701 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
28702
28703         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28704         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28705         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28706         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28707
28708 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
28709
28710         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28711         fcntl.
28712
28713 2010-07-06  Andreas Schwab  <schwab@redhat.com>
28714
28715         [BZ #11577]
28716         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28717         dl_signal_cerror.
28718
28719 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
28720
28721         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28722         _PC_PIPE_BUF using F_GETPIPE_SZ.
28723
28724 2010-07-05  Roland McGrath  <roland@redhat.com>
28725
28726         * manual/arith.texi (Rounding Functions): Fix rint description
28727         implicit in round description.
28728
28729 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
28730
28731         * elf/Makefile: Fix linking for a few tests to make recent linker
28732         happy.
28733
28734 2010-06-30  Andreas Schwab  <schwab@redhat.com>
28735
28736         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28737         $(common-objpfx)libc_nonshared.a.
28738
28739 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
28740
28741         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28742         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28743         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28744         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28745         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28746         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28747         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28748         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28763         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28764         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28765         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28766         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28767         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28768         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28769         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28770         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28771         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28772         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28773         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28774         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28789
28790 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28791
28792         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28793         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28794         * string/memmove.c (memmove): Renamed to ...
28795         (MEMMOVE): ...this.  Default to memmove.
28796         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28797         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28798         (END_CHK): Define.
28799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28800         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28801         mempcpy-ssse3-back memmove-ssse3-back.
28802         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28803         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28804         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28805         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28806         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28807         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28808         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28809         * sysdeps/x86_64/multiarch/memmove.c: New file.
28810         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28811         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28812         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28813         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28814         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28815         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28816         Define.
28817         (index_Fast_Copy_Backward): Define.
28818         (HAS_ARCH_FEATURE): Define.
28819         (HAS_FAST_REP_STRING): Define.
28820         (HAS_FAST_COPY_BACKWARD): Define.
28821
28822 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28823
28824         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28825         Restore proper fallback handling.
28826
28827 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28828
28829         [BZ #11701]
28830         * posix/group_member.c (__group_member): Correct checking loop.
28831
28832         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28833         OOM in getpwuid_r correctly.  Return error number when the caller
28834         should return, otherwise -1.
28835         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28836         call returning > 0 value.
28837         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28838
28839 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28840
28841         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28842         libc_nonshared.a from targets in modules-names.
28843
28844 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28845
28846         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28847         requires it.
28848
28849 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28850
28851         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28852         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28853         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28854         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28855
28856 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28857
28858         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28859
28860 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28861
28862         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28863         and F_GETPIPE_SZ.
28864         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28865         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28868         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28869         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28870
28871 2010-06-14  Roland McGrath  <roland@redhat.com>
28872
28873         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28874
28875 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28876
28877         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28878         __REDIRECT followed by __THROW.
28879         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28880         * posix/getopt.h (getopt): Likewise.
28881
28882 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28883
28884         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28885         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28886         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28887         in AT_FLAGS.
28888         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28889         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28890
28891 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28892
28893         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28894
28895 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28896
28897         [BZ #11640]
28898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28899         Properly check family and model.
28900
28901 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28902
28903         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28904
28905 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28906
28907         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28908
28909 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28910
28911         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28912         symbol reference.
28913
28914 2010-05-19  Andreas Schwab  <schwab@redhat.com>
28915
28916         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28917         symbol reference.
28918
28919 2010-05-21  Andreas Schwab  <schwab@redhat.com>
28920
28921         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28922         and internal_recvmmsg.
28923         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28924         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28925         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28926         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28927
28928         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28929         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28930         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28931
28932 2010-05-20  Andreas Schwab  <schwab@redhat.com>
28933
28934         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28935
28936 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
28937
28938         POWER7 optimizations.
28939         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28940         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28941
28942 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
28943
28944         * version.h: Update for 2.13 development version.
28945
28946 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
28947
28948         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28949         exceptions.  Return 0.
28950
28951 2010-05-07  Roland McGrath  <roland@redhat.com>
28952
28953         * elf/ldconfig.c (main): Add a const.
28954
28955 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
28956
28957         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28958         (args_options): Add no-idn option.
28959         (ahosts_keys_int): Add idn_flags to ai_flags.
28960         (parse_option): Handle 'i' option to clear idn_flags.
28961
28962         * malloc/malloc.c (_int_free): Possible race in the most recently
28963         added check.  Only act on the data if no current modification
28964         happened.
28965
28966 See ChangeLog.17 for earlier changes.