Convert TEST_fI_f1 tests from code to data.
[platform/upstream/glibc.git] / ChangeLog
1 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2
3         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4         (RUN_TEST_LOOP_fI_f1): New macro.
5         (frexp_test_data): New variable.
6         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7
8         * math/libm-test.inc (struct test_fF_f1_data): New type.
9         (RUN_TEST_LOOP_fF_f1): New macro.
10         (modf_test_data): New variable.
11         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12
13         * math/libm-test.inc (struct test_f_f1_data): New type.
14         (RUN_TEST_LOOP_f_f1): New macro.
15         (gamma_test_data): New variable.
16         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17         (lgamma_test_data): New variable.
18         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19
20 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21
22         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24         (main): Comment "tls" pseudo-hwcap.
25
26 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27
28         * math/libm-test.inc (struct test_fl_f_data): New type.
29         (RUN_TEST_LOOP_fl_f): New variable.
30         (scalbln_test_data): New variable.
31         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32
33         * math/libm-test.inc (struct test_fi_f_data): New type.
34         (RUN_TEST_LOOP_fi_f): New macro.
35         (ldexp_test_data): New variable.
36         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37         (scalbn_test_data): New variable.
38         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39
40         * math/libm-test.inc (struct test_c_f_data): New type.
41         (RUN_TEST_LOOP_c_f): New macro.
42         (cabs_test_data): New variable.
43         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44         (carg_test_data): New variable.
45         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46         (cimag_test_data): New variable.
47         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48         (creal_test_data): New variable.
49         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50
51         * math/libm-test.inc (struct test_if_f_data): New type.
52         (RUN_TEST_LOOP_if_f): New macro.
53         (jn_test_data): New variable.
54         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
55         (yn_test_data): New variable.
56         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57
58         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
59
60 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61
62         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64
65 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66
67         * benchtests/Makefile (CPPFLAGS-nonlib): Add
68         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
69         (bench-deps): Add bench-timing.h.
70         * benchtests-bench-skeleton.c: Include bench-timing.h.
71         (main): Use TIMING_* macros instead of clock_gettime.
72         * benchtests/bench-timing.h: New file.
73
74         [BZ #14582]
75         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
76         Renamed from _LIB_VERSION.
77         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
78
79 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
80
81         * math/libm-test.inc (struct test_fff_f_data): New type.
82         (RUN_TEST_LOOP_fff_f): New macro.
83         (fma_test_data): New variable.
84         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
85         (fma_towardzero_test_data): New variable.
86         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
87         (fma_downward_test_data): New variable.
88         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
89         (fma_upward_test_data): New variable.
90         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
91
92         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
93         (struct test_c_c_data): New type.
94         (RUN_TEST_LOOP_c_c): New macro.
95         (cacos_test_data): New variable.
96         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
97         (cacosh_test_data): New variable.
98         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
99         (casin_test_data): New variable.
100         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
101         (casinh_test_data): New variable.
102         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
103         (catan_test_data): New variable.
104         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
105         (catanh_test_data): New variable.
106         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
107         (ccos_test_data): New variable.
108         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
109         (ccosh_test_data): New variable.
110         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
111         (cexp_test_data): New variable.
112         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
113         (clog_test_data): New variable.
114         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
115         (clog10_test_data): New variable.
116         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
117         (conj_test_data): New variable.
118         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
119         (cproj_test_data): New variable.
120         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
121         (csin_test_data): New variable.
122         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
123         (csinh_test_data): New variable.
124         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
125         (csqrt_test_data): New variable.
126         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
127         (ctan_test_data): New variable.
128         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
129         (ctan_tonearest_test_data): New variable.
130         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
131         (ctan_towardzero_test_data): New variable.
132         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
133         (ctan_downward_test_data): New variable.
134         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
135         (ctan_upward_test_data): New variable.
136         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
137         (ctanh_test_data): New variable.
138         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
139         (ctanh_tonearest_test_data): New variable.
140         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
141         (ctanh_towardzero_test_data): New variable.
142         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
143         (ctanh_downward_test_data): New variable.
144         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
145         (ctanh_upward_test_data): New variable.
146         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
147         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
148         of BUILD_COMPLEX.
149
150         * math/libm-test.inc (struct test_ff_f_data): New type.
151         (struct test_ff_f_data_nexttoward): Likewise.
152         (RUN_TEST_LOOP_2_f): New macro.
153         (RUN_TEST_LOOP_ff_f): Likewise.
154         (atan2_test_data): New variable.
155         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
156         (copysign_test_data): New variable.
157         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
158         (fdim_test_data): New variable.
159         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
160         (fmax_test_data): New variable.
161         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
162         (fmin_test_data): New variable.
163         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
164         (fmod_test_data): New variable.
165         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
166         (hypot_test_data): New variable.
167         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
168         (nextafter_test_data): New variable.
169         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
170         (nexttoward_test_data): New variable.
171         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
172         (pow_test_data): New variable.
173         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
174         (pow_tonearest_test_data): New variable.
175         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
176         (pow_towardzero_test_data): New variable.
177         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
178         (pow_downward_test_data): New variable.
179         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
180         (pow_upward_test_data): New variable.
181         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
182         (remainder_test_data): New variable.
183         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
184         (scalb_test_data): New variable.
185         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
186         * sysdeps/i386/fpu/libm-test-ulps: Update.
187
188 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
189
190         * math/libm-test.inc (fma_test): Use max_value instead of local
191         variable fltmax.
192         (nextafter_test): Likewise.
193
194         * math/libm-test.inc (acos_towardzero_test_data): New variable.
195         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
196         (acos_downward_test_data): New variable.
197         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
198         (acos_upward_test_data): New variable.
199         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
200         (acosh_test_data): New variable.
201         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
202         (asin_test_data): New variable.
203         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
204         (asin_tonearest_test_data): New variable.
205         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
206         (asin_towardzero_test_data): New variable.
207         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
208         (asin_downward_test_data): New variable.
209         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
210         (asin_upward_test_data): New variable.
211         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
212         (asinh_test_data): New variable.
213         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
214         (atan_test_data): New variable.
215         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
216         (atanh_test_data): New variable.
217         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
218         (cbrt_test_data): New variable.
219         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
220         (ceil_test_data): New variable.
221         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
222         (cos_test_data): New variable.
223         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
224         (cos_tonearest_test_data): New variable.
225         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
226         (cos_towardzero_test_data): New variable.
227         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
228         (cos_downward_test_data): New variable.
229         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
230         (cos_upward_test_data): New variable.
231         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
232         (cosh_test_data): New variable.
233         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
234         (cosh_tonearest_test_data): New variable.
235         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
236         (cosh_towardzero_test_data): New variable.
237         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
238         (cosh_downward_test_data): New variable.
239         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
240         (cosh_upward_test_data): New variable.
241         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
242         (erf_test_data): New variable.
243         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
244         (erfc_test_data): New variable.
245         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
246         (exp_test_data): New variable.
247         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
248         (exp_tonearest_test_data): New variable.
249         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
250         (exp_towardzero_test_data): New variable.
251         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
252         (exp_downward_test_data): New variable.
253         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
254         (exp_upward_test_data): New variable.
255         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
256         (exp10_test_data): New variable.
257         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
258         (exp2_test_data): New variable.
259         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
260         (expm1_test_data): New variable.
261         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
262         (fabs_test_data): New variable.
263         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
264         (floor_test_data): New variable.
265         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
266         (j0_test_data): New variable.
267         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
268         (j1_test_data): New variable.
269         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
270         (log_test_data): New variable.
271         (log_test): Run tests with RUN_TEST_LOOP_f_f.
272         (log10_test_data): New variable.
273         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
274         (log1p_test_data): New variable.
275         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
276         (log2_test_data): New variable.
277         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
278         (logb_test_data): New variable.
279         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
280         (logb_downward_test_data): New variable.
281         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
282         (nearbyint_test_data): New variable.
283         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
284         (rint_test_data): New variable.
285         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
286         (rint_tonearest_test_data): New variable.
287         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
288         (rint_towardzero_test_data): New variable.
289         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
290         (rint_downward_test_data): New variable.
291         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
292         (rint_upward_test_data): New variable.
293         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
294         (round_test_data): New variable.
295         (round_test): Run tests with RUN_TEST_LOOP_f_f.
296         (sin_test_data): New variable.
297         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
298         (sin_tonearest_test_data): New variable.
299         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
300         (sin_towardzero_test_data): New variable.
301         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
302         (sin_downward_test_data): New variable.
303         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
304         (sin_upward_test_data): New variable.
305         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
306         (sinh_test_data): New variable.
307         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
308         (sinh_tonearest_test_data): New variable.
309         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
310         (sinh_towardzero_test_data): New variable.
311         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
312         (sinh_downward_test_data): New variable.
313         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
314         (sinh_upward_test_data): New variable.
315         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
316         (sqrt_test_data): New variable.
317         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
318         (tan_test_data): New variable.
319         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
320         (tan_tonearest_test_data): New variable.
321         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
322         (tan_towardzero_test_data): New variable.
323         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
324         (tan_downward_test_data): New variable.
325         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
326         (tan_upward_test_data): New variable.
327         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
328         (tanh_test_data): New variable.
329         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
330         (tgamma_test_data): New variable.
331         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
332         (trunc_test_data): New variable.
333         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
334         (y0_test_data): New variable.
335         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
336         (y1_test_data): New variable.
337         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
338         (significand_test_data): New variable.
339         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
340
341 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
342
343         [BZ #12387]
344         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
345
346 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
347
348         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
349
350 2013-05-10  Andreas Jaeger  <aj@suse.de>
351
352         [BZ #15448]
353         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
354         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
355
356 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
357
358         * math/gen-libm-test.pl (adjust_arg): New function.
359         (special_functions): Handle generating output in both functions
360         and arrays.
361         (parse_args): Likewise.
362         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
363         $in_func argument to parse_args.
364         * math/libm-test.inc (struct test_f_f_data): New type.
365         (IF_ROUND_INIT_): New macro.
366         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
367         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
368         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
369         (IF_ROUND_INIT_FE_UPWARD): Likewise.
370         (ROUND_RESTORE_): Likewise.
371         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
372         (ROUND_RESTORE_FE_TONEAREST): Likewise.
373         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
374         (ROUND_RESTORE_FE_UPWARD): Likewise.
375         (RUN_TEST_LOOP_f_f): New macro.
376         (acos_test_data): New variable.
377         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
378         (acos_tonearest_test_data): New variable.
379         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
380
381 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
382
383         * benchtests/bench-skeleton.c (startup): Fix coding style.
384
385 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
386
387         [BZ #6809]
388         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
389         negative infinity argument.
390         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
391         negative infinity argument.
392         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
393         negative infinity argument.
394         * math/libm-test.inc (tgamma_test): Expect errno to be set for
395         domain errors.
396
397 2013-05-10  Florian Weimer  <fweimer@redhat.com>
398
399         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
400         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
401         * iconv/iconv_prog.c (main): Likewise.
402         * locale/programs/charmap-dir.c (charmap_readdir)
403         (fopen_uncompressed): Likewise.
404         * locale/programs/locfile.c (siblings_uncached)
405         (write_locale_data): Use lstat64 instead of lstat.
406         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
407         stat.
408
409 2013-05-10  Andreas Jaeger  <aj@suse.de>
410
411         [BZ #15395]
412         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
413         localization.
414         Include <locale.h>.
415
416 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
417
418         * elf/dl-close.c (_dl_close_worker): Add comments.
419
420 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
421
422         [BZ #15359]
423         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
424         high part of pi/2.
425         (__ieee754_rem_pio2l): Update comments.
426
427         [BZ #15429]
428         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
429         high part of pi/2.
430         (__ieee754_rem_pio2l): Update comments.
431
432         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
433         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
434
435         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
436         M_PI_4l.
437
438         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
439         (M_PI_34_LOG10El): Likewise.
440         (M_PI2_LOG10El): Likewise.
441         (M_PI4_LOG10El): Likewise.
442         (M_PI_LOG10El): Likewise.
443
444 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
445
446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
447
448 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
449
450         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
451         (MINUS_ZERO_INIT): Likewise.
452         (PLUS_INFTY_INIT): Likewise.
453         (MINUS_INFTY_INIT): Likewise.
454         (QNAN_VALUE_INIT): Likewise.
455         (MAX_VALUE_INIT): Likewise.
456         (MIN_VALUE_INIT): Likewise.
457         (MIN_SUBNORM_VALUE_INIT): Likewise.
458         (plus_zero): Initialize with PLUS_ZERO_INIT.
459         (minus_zero): Initialize with MINUS_ZERO_INIT.
460         (plus_infty): Initialize with PLUS_INFTY_INIT.
461         (minus_infty): Initialize with MINUS_INFTY_INIT.
462         (qnan_value): Initialize with QNAN_VALUE_INIT.
463         (max_value): Initialize with MAX_VALUE_INIT.
464         (min_value): Initialize with MIN_VALUE_INIT.
465         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
466
467         * math/libm-test.inc (RUN_TEST_if_f): New macro.
468         (jn_test): Use TEST_if_f instead of TEST_ff_f.
469         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
470         (yn_test): Use TEST_if_f instead of TEST_ff_f.
471
472         * math/libm-test.inc (RUN_TEST_f_f): New macro.
473         (RUN_TEST_2_f): Likewise.
474         (RUN_TEST_ff_f): Likewise.
475         (RUN_TEST_fi_f): Likewise.
476         (RUN_TEST_fl_f): Likewise.
477         (RUN_TEST_fff_f): Likewise.
478         (RUN_TEST_c_f): Likewise.
479         (RUN_TEST_f_f1): Likewise.
480         (RUN_TEST_fF_f1): Likewise.
481         (RUN_TEST_fI_f1): Likewise.
482         (RUN_TEST_ffI_f1): Likewise.
483         (RUN_TEST_c_c): Likewise.
484         (RUN_TEST_cc_c): Likewise.
485         (RUN_TEST_f_i): Likewise.
486         (RUN_TEST_f_i_tg): Likewise.
487         (RUN_TEST_ff_i_tg): Likewise.
488         (RUN_TEST_f_b): Likewise.
489         (RUN_TEST_f_b_tg): Likewise.
490         (RUN_TEST_f_l): Likewise.
491         (RUN_TEST_f_L): Likewise.
492         (RUN_TEST_sincos): Likewise.
493         * math/gen-libm-test.pl (new_test): Take new argument to indicate
494         whether to show exceptions.  Do not include ");\n" in return
495         value.
496         (special_functions): Output call to RUN_TEST_sincos instead of
497         check_float calls.  Update calls to new_test.
498         (parse_args): Output call to single RUN_TEST_* macro instead of
499         check_* calls and other assignments.  Update calls to new_test.
500
501         [BZ #2546]
502         [BZ #2560]
503         [BZ #5159]
504         [BZ #15426]
505         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
506         input to result for tgamma overflow.
507         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
508         (gamma_coeff): New variable.
509         (NCOEFF): New macro.
510         (gamma_positive): New function.
511         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
512         underflow here.  Use gamma_positive instead of exp (lgamma) for
513         other arguments.
514         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
515         (gamma_coeff): New variable.
516         (NCOEFF): New macro.
517         (gammaf_positive): New function.
518         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
519         underflow here.  Use gamma_positive instead of exp (lgamma) for
520         other arguments.
521         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
522         (gamma_coeff): New variable.
523         (NCOEFF): New macro.
524         (gammal_positive): New function.
525         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
526         underflow here.  Use gamma_positive instead of exp (lgamma) for
527         other arguments.
528         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
529         (gamma_coeff): New variable.
530         (NCOEFF): New macro.
531         (gammal_positive): New function.
532         (__ieee754_gammal_r): Handle positive infinity, overflow and
533         underflow here.  Handle NaN the same as positive infinity.  Remove
534         check x < 0xffffffff for negative integers.  Use gamma_positive
535         instead of exp (lgamma) for other arguments.
536         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
537         (gamma_coeff): New variable.
538         (NCOEFF): New macro.
539         (gammal_positive): New function.
540         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
541         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
542         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
543         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
544         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
545         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
546         * sysdeps/generic/math_private.h (__gamma_productf): New
547         prototype.
548         (__gamma_product): Likewise.
549         (__gamma_productl): Likewise.
550         * math/Makefile (libm-calls): Add gamma_product.
551         * math/libm-test.inc (tgamma_test): Add more tests.
552         * sysdeps/i386/fpu/libm-test-ulps: Update.
553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
554
555 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
556
557         * benchtests/bench-skeleton.c (main): Preheat CPU.
558
559 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
560
561         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
562
563 2013-05-07  Roland McGrath  <roland@hack.frob.com>
564
565         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
566         and _dl_skip_args_internal.
567
568 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
569
570         * manual/message.texi (Message Translation): Talk about users.
571         Message to key mapping impacts design.
572
573 2013-05-06  Roland McGrath  <roland@hack.frob.com>
574
575         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
576
577         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
578
579         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
580         * sysdeps/wordsize-64/glob64.c: ... here.
581
582         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
583         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
584         New macros.
585
586         * debug/getlogin_r_chk.c: Moved to ...
587         * login/getlogin_r_chk.c: ... here.
588         * debug/Makefile (routines): Move getlogin_r_chk to ...
589         * login/Makefile (routines): ... here.
590         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
591         * login/Versions (libc: GLIBC_2.4): ... here.
592
593         * io/poll.c (__poll): Renamed from poll.
594         Add libc_hidden_def.
595         (poll): Define as weak alias.
596
597         * debug/ptsname_r_chk.c: Moved to ...
598         * login/ptsname_r_chk.c: ... here.
599         * debug/Makefile (routines): Move ptsname_r_chk to ...
600         * login/Makefile (routines): ... here.
601         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
602         * login/Versions (libc: GLIBC_2.4): ... here.
603
604         * posix/getlogin.c: Moved to ...
605         * login/getlogin.c: ... here.
606         * posix/getlogin_r.c: Moved to ...
607         * login/getlogin_r.c: ... here.
608         * posix/getlogin_r.c: Moved to ...
609         * login/getlogin_r.c: ... here.
610         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
611         * login/Makefile (routines): ... here.
612         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
613         * login/Versions (libc: GLIBC_2.0): ... here.
614
615         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
616         (setrlimit): Define as weak alias.
617
618         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
619         Call __ names for open, ftruncate, and close.
620         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
621         (truncate): Define as weak alias.
622
623 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
624
625         * math/gen-libm-test.pl (parse_args): Initialize x before each
626         test of frexp, modf and remquo.
627
628         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
629         test signgam value.
630
631 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
632
633         [BZ #15418]
634         [BZ #15419]
635         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
636         internal tests.
637         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
638
639 2013-05-06  Roland McGrath  <roland@hack.frob.com>
640
641         * elf/dl-writev.h: New file.
642         * elf/dl-misc.c: Include it.
643         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
644         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
645
646 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
647
648         * math/libm-test.inc (noXFails): Remove variable.
649         (noXPasses): Likewise.
650         (BUILD_COMPLEX_INT): Remove macro.
651         (print_screen): Remove xfail argument.
652         (print_screen_max_error): Likewise.
653         (update_stats): Likewise.
654         (print_max_error): Likewise.  Update calls to other affected
655         functions.
656         (print_complex_max_error): Likewise.
657         (test_single_exception): Update calls to print_screen.
658         (test_single_errno): Likewise.
659         (check_float_internal): Remove xfail argument.  Update calls to
660         other affected functions.
661         (check_float): Likewise.
662         (check_complex): Likewise.
663         (check_int): Likewise.
664         (check_long): Likewise.
665         (check_bool): Likewise.
666         (check_longlong): Likewise.
667         (main): Don't print noXFails and noXPasses.
668         * math/gen-libm-test.pl (top level): Don't mention expected
669         failure handling in comment.
670         (new_test): Don't handle expected failures.
671         (parse_args): Don't mention expected failure handling in comment.
672         (generate_testfile): Don't handle expected failures.
673         (parse_ulps): Likewise.
674         (print_ulps_file): Likewise.
675         (get_failure): Remove function.
676         (output_test): Don't handle expected failures.
677         * make/README.libm-test: Don't mention expected failure handling.
678
679         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
680         (minus_zero): Likewise.
681         (plus_infty): Likewise.
682         (minus_infty): Likewise.
683         (qnan_value): Likewise.
684         (max_value): Likewise.
685         (min_value): Likewise.
686         (min_subnorm_value): Likewise.
687         (initialize): Do not initialize those variables dynamically.
688
689 2013-05-03  Roland McGrath  <roland@hack.frob.com>
690
691         * io/open.c (__open_2): Moved to ...
692         * io/open_2.c: ... this new file.
693         * io/open64.c (__open64_2): Moved to ...
694         * io/open64_2.c: ... this new file.
695         * io/openat.c (__openat_2): Moved to ...
696         * io/openat_2.c: ... this new file.
697         * io/openat64.c (__openat64_2): Moved to ...
698         * io/openat64_2.c: ... this new file.
699         * io/Makefile (routines): Add them.
700         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
701         * sysdeps/unix/sysv/linux/open_2.c: File removed.
702         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
703         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
704         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
705         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
706         (__openat64): Add hidden_ver.
707         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
708         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
709
710         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
711         Separately conditionalize setting of GLRO(dl_sysinfo) so
712         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
713         as well, but the actual setting is only under [NEED_DL_SYSINFO].
714
715 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
716
717         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
718         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
719         definition.
720         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
721         * sysdeps/unix/sysv/linux/powerpc/init-first.c
722         (_libc_vdso_platform_setup): Add __vdso_time initialization.
723         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
724         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
725
726 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
727
728         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
729         test signgam value.
730
731         * math/libm-test.inc (hypot_test): Do not use
732         IGNORE_ZERO_INF_SIGN.
733
734 2013-05-03  Andreas Jaeger  <aj@suse.de>
735
736         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
737         Linux 3.9.
738         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
739         (PF_MAX): Adjust for VSOCK change.
740
741 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
742
743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
744
745 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
746
747         [BZ #15264]
748         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
749         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
750         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
751
752 2013-05-02  David S. Miller  <davem@davemloft.net>
753
754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
755
756 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
757
758         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
759
760 2013-05-01  Roland McGrath  <roland@hack.frob.com>
761
762         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
763
764 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
765
766         [BZ #14952]
767         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
768         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
769         Use __attribute__ ((__gnu_inline__)).
770         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
771         Don't use __attribute__ ((__gnu_inline__)).
772
773 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
774
775         [BZ #15423]
776         * math/s_catan.c (__catan): Handle small real or imaginary part of
777         input specially to avoid spurious underflow.
778         * math/s_catanf.c (__catanf): Likewise.
779         * math/s_catanh.c (__catanh): Likewise.
780         * math/s_catanhf.c (__catanhf): Likewise.
781         * math/s_catanhl.c (__catanhl): Likewise.
782         * math/s_catanl.c (__catanl): Likewise.
783         * math/libm-test.inc (catan_test): Add more tests.
784         (catanh_test): Likewise.
785         * sysdeps/i386/fpu/libm-test-ulps: Update.
786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
787
788 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
789
790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
791
792 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
793
794         [BZ #15416]
795         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
796         accurately for denominator in atan2.
797         * math/s_catanf.c (__catanf): Likewise.
798         * math/s_catanh.c (__catanh): Likewise.
799         * math/s_catanhf.c (__catanhf): Likewise.
800         * math/s_catanhl.c (__catanhl): Likewise.
801         * math/s_catanl.c (__catanl): Likewise.
802         * math/libm-test.inc (catan_test): Add more tests.
803         (catanh_test): Likewise.
804         * sysdeps/i386/fpu/libm-test-ulps: Update.
805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
806
807 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
808
809         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
810
811         * benchtests/Makefile (bench): Remove slow benchmarks.
812         * benchtests/atan-inputs: Add slow benchmark inputs.
813         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
814         (BENCH_FUNC): Accept variant offset.
815         (VARIANT): Define.
816         * benchtests/bench-skeleton.c (main): Run benchmark for each
817         variant.
818         * benchtests/cos-inputs: Add slow benchmark inputs.
819         * benchtests/exp-inputs: Likewise.
820         * benchtests/pow-inputs: Likewise.
821         * benchtests/sin-inputs: Likewise.
822         * benchtests/slowatan-inputs: Remove.
823         * benchtests/slowatan.c: Remove.
824         * benchtests/slowcos-inputs: Remove.
825         * benchtests/slowcos.c: Remove.
826         * benchtests/slowexp-inputs: Remove.
827         * benchtests/slowexp.c: Remove.
828         * benchtests/slowpow-inputs: Remove.
829         * benchtests/slowpow.c: Remove.
830         * benchtests/slowsin-inputs: Remove.
831         * benchtests/slowsin.c: Remove.
832         * benchtests/slowtan-inputs: Remove.
833         * benchtests/slowtan.c: Remove.
834         * benchtests/tan-inputs: Add slow benchmark inputs.
835         * scripts/bench.pl: Parse comments and directives.
836
837         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
838         in CPPFLAGS.
839         ($(objpfx)bench-%.c): Remove *-ITER.
840         * benchtests/bench-modf.c: Remove definition of ITER.
841         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
842         (main): Loop for DURATION seconds instead of fixed number of
843         iterations.
844         * scripts/bench.pl: Don't expect iterations in parameters.
845
846 2013-04-29  Roland McGrath  <roland@hack.frob.com>
847
848         * io/fchdir.c (__fchdir): Renamed from fchdir.
849         (fchdir): Define as weak alias.
850
851 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
852
853         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
854         (ERRNO_EDOM): Likewise.
855         (ERRNO_ERANGE): Likewise.
856         (noErrnoTests): New variable.
857         (init_max_error): Set errno to 0.
858         (test_single_errno): New function.
859         (test_errno): Likewise.
860         (check_float_internal): Call test_errno.  Set errno to 0.
861         (check_complex): Refer to errno tests in comment.
862         (check_int): Call test_errno.  Set errno to 0.
863         (check_long): Likewise.
864         (check_bool): Likewise.
865         (check_longlong): Likewise.
866         (cos_test): Use ERRNO_* flags for errno tests instead of
867         check_int.
868         (expm1_test): Likewise.
869         (fmod_test): Likewise.
870         (ilogb_test): Likewise.
871         (lgamma_test): Likewise.
872         (pow_test): Likewise.
873         (remainder_test): Likewise.
874         (sin_test): Likewise.
875         (tan_test): Likewise.
876         (yn_test): Likewise.
877         (initialize): Set errno to 0.
878         (main): Print number of errno tests.
879         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
880
881 2013-04-29  Andreas Jaeger  <aj@suse.de>
882
883         [BZ #15084]
884         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
885         and RES_USEVC.
886
887         [BZ #15085]
888         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
889         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
890         unimplemented.
891
892         [BZ #15380]
893         * stdlib/random.c (__initstate): Return NULL if
894         __initstate fails.
895
896         [BZ #15086]
897         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
898         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
899         RES_SNGLKUPREOP.
900
901 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
902
903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
904
905 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
906
907         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
908         of individual tests.
909         (casin_test): Likewise.
910         (casinh_test): Likewise.
911
912 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
913
914         [BZ #15409]
915         * math/s_catan.c (__catan): Handle arguments with large real or
916         imaginary part separately without squaring.
917         * math/s_catanf.c (__catanf): Likewise.
918         * math/s_catanh.c (__catanh): Likewise.
919         * math/s_catanhf.c (__catanhf): Likewise.
920         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
921         and redefine.
922         (__catanhl): Handle arguments with large real or imaginary part
923         separately without squaring.
924         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
925         and redefine.
926         (__catanl): Handle arguments with large real or imaginary part
927         separately without squaring.
928         * math/libm-test.inc (catan_test): Add more tests.
929         (catanh_test): Likewise.
930         * sysdeps/i386/fpu/libm-test-ulps: Update.
931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
932
933 2013-04-27  Andreas Jaeger  <aj@suse.de>
934
935         [BZ #15007]
936         * stdlib/stdlib.h: Update guards for qecvt.
937         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
938         <stdlib.h>.
939
940 2013-04-27  Allan McRae  <allan@archlinux.org>
941
942         * sysdeps/i386/fpu/libm-test-ulps: Update.
943
944 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
945
946         [BZ #15406]
947         * math/s_catan.c: Include <float.h>.
948         (__catan): Ensure underflow exception occurs for underflowed
949         result.
950         * math/s_catanf.c: Include <float.h>.
951         (__catanf): Ensure underflow exception occurs for underflowed
952         result.
953         * math/s_catanh.c: Include <float.h>.
954         (__catanh): Ensure underflow exception occurs for underflowed
955         result.
956         * math/s_catanhf.c: Include <float.h>.
957         (__catanhf): Ensure underflow exception occurs for underflowed
958         result.
959         * math/s_catanhl.c: Include <float.h>.
960         (__catanhl): Ensure underflow exception occurs for underflowed
961         result.
962         * math/s_catanl.c: Include <float.h>.
963         (__catanl): Ensure underflow exception occurs for underflowed
964         result.
965         * math/libm-test.inc (catan_test): Add more tests.
966         (catanh_test): Likewise.
967
968         [BZ #15405]
969         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
970         underflowed result.
971         * math/s_ccoshf.c (__ccoshf): Likewise.
972         * math/s_ccoshl.c (__ccoshl): Likewise.
973         * math/s_csin.c (__csin): Likewise.
974         * math/s_csinf.c (__csinf): Likewise.
975         * math/s_csinh.c (__csinh): Likewise.
976         * math/s_csinhf.c (__csinhf): Likewise.
977         * math/s_csinhl.c (__csinhl): Likewise.
978         * math/s_csinl.c (__csinl): Likewise.
979         * math/libm-test.inc (ccos_test): Add more tests.
980         (ccosh_test): Likewise.
981         (csin_test): Likewise.
982         (csinh_test): Likewise.
983
984 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
985
986         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
987         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
988         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
989         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
990         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
991         powerpc/power5+/fpu folders.
992         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
993
994
995 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
996
997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
998
999 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
1000
1001         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1002         additions to variable.
1003         [$(config-machine) = x86_64] (modules-names): Likewise.
1004         ($(objpfx)tst-audit3): Remove dependency.
1005         ($(objpfx)tst-audit3.out): Likewise.
1006         ($(objpfx)tst-audit4): Likewise.
1007         ($(objpfx)tst-audit4.out): Likewise.
1008         ($(objpfx)tst-audit5): Likewise.
1009         ($(objpfx)tst-audit5.out): Likewise.
1010         ($(objpfx)tst-audit6): Likewise.
1011         ($(objpfx)tst-audit6.out): Likewise.
1012         ($(objpfx)tst-audit7): Likewise.
1013         ($(objpfx)tst-audit7.out): Likewise.
1014         (tst-audit3-ENV): Remove variable.
1015         (tst-audit4-ENV): Likewise.
1016         (tst-audit5-ENV): Likewise.
1017         (tst-audit6-ENV): Likewise.
1018         (tst-audit7-ENV): Likewise.
1019         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1020         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1021         addition to variable.
1022         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1023         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1024         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1025         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1026         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1027         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1028         tst-audit3, tst-audit4 and tst-audit5.
1029         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1030         tst-audit6 and tst-audit7.
1031         [$(subdir) = elf] (modules-names): Add audit modules for those
1032         tests.
1033         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1034         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1035         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1036         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1037         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1038         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1039         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1040         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1041         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1042         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1043         [$(subdir) = elf] (tst-audit3-ENV): New variable.
1044         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1045         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1046         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1047         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1048         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1049         Likewise.
1050         [$(subdir) = elf && $(config-cflags-avx) = yes]
1051         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1052         [$(subdir) = elf && $(config-cflags-avx) = yes]
1053         (CFLAGS-tst-auditmod4a.c): Likewise.
1054         [$(subdir) = elf && $(config-cflags-avx) = yes]
1055         (CFLAGS-tst-auditmod4b.c): Likewise.
1056         [$(subdir) = elf && $(config-cflags-avx) = yes]
1057         (CFLAGS-tst-auditmod6b.c): Likewise.
1058         [$(subdir) = elf && $(config-cflags-avx) = yes]
1059         (CFLAGS-tst-auditmod6c.c): Likewise.
1060         [$(subdir) = elf && $(config-cflags-avx) = yes]
1061         (CFLAGS-tst-auditmod7b.c): Likewise.
1062         * elf/tst-audit3.c: Move to ...
1063         * sysdeps/x86_64/tst-audit3.c: ... here.
1064         * elf/tst-audit4.c: Move to ...
1065         * sysdeps/x86_64/tst-audit4.c: ... here.
1066         * elf/tst-audit5.c: Move to ...
1067         * sysdeps/x86_64/tst-audit5.c: ... here.
1068         * elf/tst-audit6.c: Move to ...
1069         * sysdeps/x86_64/tst-audit6.c: ... here.
1070         * elf/tst-audit7.c: Move to ...
1071         * sysdeps/x86_64/tst-audit7.c: ... here.
1072         * elf/tst-auditmod3a.c: Move to ...
1073         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1074         * elf/tst-auditmod3b.c: Move to ...
1075         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1076         * elf/tst-auditmod4a.c: Move to ...
1077         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1078         * elf/tst-auditmod4b.c: Move to ...
1079         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1080         * elf/tst-auditmod5a.c: Move to ...
1081         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1082         * elf/tst-auditmod5b.c: Move to ...
1083         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1084         * elf/tst-auditmod6a.c: Move to ...
1085         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1086         * elf/tst-auditmod6b.c: Move to ...
1087         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1088         * elf/tst-auditmod6c.c: Move to ...
1089         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1090         * elf/tst-auditmod7a.c: Move to ...
1091         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1092         * elf/tst-auditmod7b.c: Move to ...
1093         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1094
1095 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
1096
1097         [BZ #15366]
1098         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1099         define unconditionally.
1100         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1101         define unconditionally.
1102         (INT8_C, INT16_C, etc.): Likewise.
1103
1104 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
1105
1106         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1107         __ehdr_start with hidden visibility.
1108
1109         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1110
1111 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
1112
1113         * math/libm-test.inc (cos_test): Use accurate hex constants.
1114         (sincost_test): Likewise.
1115
1116 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
1117
1118         * math/libm-test.inc (catan_test): Add more tests.
1119         (catanh_test): Likewise.
1120
1121         * math/s_catanf.c (__catanf): Use suffixed floating-point
1122         constants.
1123         * math/s_catanhf.c (__catanhf): Likewise.
1124         * math/s_catanhl.c (__catanhl): Likewise.
1125         * math/s_catanl.c (__catanl): Likewise.
1126
1127         [BZ #15394]
1128         * math/s_catan.c (__catan): Calculate imaginary part of result
1129         with log1p not log unless computing log of number close to 0.
1130         * math/s_catanf.c (__catanf): Likewise.
1131         * math/s_catanl.c (__catanl): Likewise.
1132         * math/s_catanh.c (__catanh): Calculate real part of result with
1133         log1p not log unless computing log of number close to 0.
1134         * math/s_catanhf.c (__catanhf): Likewise.
1135         * math/s_catanhl.c (__catanhl): Likewise.
1136         * math/libm-test.inc (catan_test): Add more tests.
1137         (catanh_test): Likewise.
1138         * sysdeps/i386/fpu/libm-test-ulps: Update.
1139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1140
1141 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1142
1143         * benchtests/Makefile: Mention files in which fast and slow
1144         paths of math functions are implemented.
1145
1146 2013-04-23  Roland McGrath  <roland@hack.frob.com>
1147
1148         * sysdeps/posix/timespec_get.c: New file.
1149
1150 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1151
1152         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1153         POWER.
1154         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1155         for POWER.
1156         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1157         powerpc/power5/fpu folders.
1158         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1159         * benchtests/Makefile: Add modf testcase.
1160         * benchtests/bench-modf.c: New file: Benchmark test for mo
1161
1162 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1163
1164         [BZ #14888]
1165         * time/Makefile (tests): Add tst-strptime-whitespace.
1166         * time/strptime_l.c (get_number): Use ISSPACE.
1167         (__strptime_internal): Likewise.
1168         * time/tst-strptime-whitespace.c: New test case.
1169
1170 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
1171
1172         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1173         member.
1174         (_nss_files_init): Set it here.
1175
1176 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
1177
1178         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1179         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1180         unsigned.
1181
1182 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
1183
1184         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1185
1186 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1187
1188         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1189         size just once.
1190
1191 2013-04-21  David S. Miller  <davem@davemloft.net>
1192
1193         * po/ru.po: Update Russion translation from translation project.
1194
1195 2013-04-17  Adam Conrad  <adconrad@0c3.net>
1196
1197         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1198         and setfsgid.
1199
1200 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
1201
1202         * configure.in: Remove i386 configure warning. Remove i386 case.
1203         * configure: Regenerate.
1204         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1205         Add example to error message.
1206         * sysdeps/i386/configure: Regenerate.
1207
1208 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1209
1210         * benchtests/Makefile (bench): Add cos, tan, slowcos and
1211         slowtan.
1212         * benchtests/cos-inputs: New file.
1213         * benchtests/slowcos-inputs: New file.
1214         * benchtests/slowcos.c: New file.
1215         * benchtests/slowtan-inputs: New file.
1216         * benchtests/slowtan.c: New file.
1217         * benchtests/tan-inputs: New file.
1218
1219 2013-04-16  Roland McGrath  <roland@hack.frob.com>
1220
1221         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1222         considered kosher.
1223
1224 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1225
1226         * benchtests/Makefile: Include cppflags-iterator.mk to add
1227         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1228
1229         * Makefile.in (bench-clean): New target.
1230         * benchtests/Makefile (bench-clean): Likewise.
1231
1232 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
1233
1234         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1235
1236 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
1237
1238         * stdio-common/tstdiomisc.c: Fix coding-style violation.
1239
1240 2013-04-15  Andreas Schwab  <schwab@suse.de>
1241
1242         * nscd/grpcache.c (cache_addgr): Properly check for short write.
1243         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1244         * nscd/pwdcache.c (cache_addpw): Likewise.
1245         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
1246         more than recsize.
1247
1248 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1249
1250         * benchtests/Makefile (bench): Write all output to
1251         bench-out.tmp together.
1252
1253 2013-04-15  Andreas Schwab  <schwab@suse.de>
1254
1255         * nscd/nscd.c (main): Don't fork again after closing files.
1256
1257 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1258
1259         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1260
1261         * benchtests/Rules (bench-deps): Collect dependencies into a
1262         single variable.  Add Makefile to dependencies.
1263         ($(objpfx)bench-%.c): Depend on bench-deps.
1264
1265 2013-04-12  Roland McGrath  <roland@hack.frob.com>
1266             Xavier Roche  <roche+kml2@exalead.com>
1267
1268         [BZ #15361]
1269         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1270         just that it's a file descriptor.
1271         * manual/llio.texi (Synchronizing AIO Operations): Update description
1272         for EBADF error from aio_fsync.
1273
1274 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1275
1276         * Rules (bench): Move target definition...
1277         * benchtests/Makefile: ... here.
1278
1279 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
1280
1281         * math/libm-test.inc (cos_test): Fix PI/2 test.
1282         (sincos_test): Likewise.
1283         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1284         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1285
1286 2013-04-11  Andreas Schwab  <schwab@suse.de>
1287
1288         [BZ #13988]
1289         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1290         accept exponent character only when digits were seen.
1291         * stdio-common/Makefile (tests): Add bug26.
1292         * stdio-common/bug26.c: New file.
1293
1294         [BZ #14293]
1295         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1296         non-freeable.
1297
1298 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1299
1300         * Makeconfig (rtld-prefix): Define built linker prefix.
1301         * Rules (run-bench): Use it.
1302         * math/Makefile (run-regen-ulps): Likewise.
1303
1304         * Rules (bench): Remove eval.
1305
1306 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1307             Roland McGrath  <roland@hack.frob.com>
1308             Ondrej Bilka  <neleai@seznam.cz>
1309
1310         [BZ #15346]
1311         * time/getdate.c: Include ctype.h and alloca.h.
1312         (__getdate_r): Trim leading and trailing spaces of input.
1313         * time/tst-getdate.c (tests): Add tests with leading and
1314         trailing spaces.
1315
1316 2013-04-08  Roland McGrath  <roland@hack.frob.com>
1317
1318         [BZ #14280]
1319         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1320         when computing value.
1321
1322 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1323
1324         * math/README.libm-test (How can I generate "libm-test-ulps"?):
1325         Use testrun.sh to run libm tests.
1326
1327         [BZ #15309]
1328         * elf/dl-open.c (dl_open_worker): memset all of seen array.
1329
1330 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
1331
1332         [BZ #15264]
1333         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1334
1335 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1336
1337         * Makefile.in (regen-ulps): New target.
1338         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1339         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1340         [ifneq (no,$(PERL)] (regen-ulps): New target.
1341         [ifeq (no,$(PERL)] (regen-ulps): New target.
1342         * math/libm-test.inc (ulps_file_name): Define.
1343         (output_dir): New variable.
1344         (options): Add "output-dir" option.
1345         (parse_opt): Handle 'o' case.
1346         (main): If output_dir is non-NULL use it as a prefix
1347         otherwise use "".
1348         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1349
1350 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1351
1352         [BZ #10060, #10062]
1353         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1354         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1355         fail configure if __sync_val_compare_and_swap is not inlined.
1356         * sysdeps/i386/configure: Regenerate.
1357         * configure.in: Build for i686 when configured for i386.
1358         * configure: Regenerate.
1359         * README: Remove i386 reference.
1360
1361 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
1362
1363         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1364         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1365
1366 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1367
1368         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1369         (lmsnanval): New variables.
1370         (F): Add conversion tests.
1371         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1372         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1373
1374         * stdio-common/tstdiomisc.c (F): Properly collect individual
1375         tests' results.
1376
1377         [BZ #14686, #15336]
1378         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1379         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1380         Instead, use input NaN values or generate a qNaN by arithmetic
1381         operation.  Also fix bugs to comply with the standard.
1382         * math/libm-test.inc (remainder_test): Add more tests.
1383
1384         [BZ #15335, #15342]
1385         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1387         input NaN values or generate a qNaN by arithmetic operation.
1388
1389         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1390         unreachable code.
1391
1392         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1393         definitions.
1394
1395 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
1396
1397         [BZ #14478]
1398         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1399         underflowed result.
1400         * math/s_cexpf.c (__cexpf): Likewise.
1401         * math/s_cexpl.c (__cexpl): Likewise.
1402         * math/libm-test.inc (cexp_test): Add more tests.
1403
1404 2013-04-03  Andreas Schwab  <schwab@suse.de>
1405
1406         [BZ #15330]
1407         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1408         order arrays from heap if bigger than alloca cutoff.
1409
1410 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
1411
1412         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1413         (SNAN_TESTS_double): Refer to GCC PR56831.
1414         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1415         GCC PR56828.
1416
1417 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1418
1419         * Rules (bench): Move bench.out after the run is complete.
1420
1421         * Rules (bench): Echo currently running benchmark.
1422
1423         * benchtests/Makefile (bench): Add atan and slowatan.
1424         * benchtests/atan-inputs: New file.
1425         * benchtests/slowatan-inputs: New file.
1426         * benchtests/slowatan.c: New file.
1427
1428         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1430         its value.
1431
1432         [BZ #15305]
1433         * sysdeps/unix/sysv/linux/kernel-features.h
1434         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1435         __ASSUME_XFS_RESTRICTED_CHOWN.
1436         * sysdeps/unix/sysv/linux/pathconf.c
1437         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1438         Save and restore errno.
1439
1440 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
1441
1442         [BZ #15327]
1443         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1444         arguments using __kernel_casinh.
1445         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1446         arguments using __kernel_casinhf.
1447         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1448         arguments using __kernel_casinhl.
1449         * math/libm-test.inc (cacosh_test): Add more tests.
1450         * sysdeps/i386/fpu/libm-test-ulps: Update.
1451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1452
1453 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1454
1455         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1457
1458         * bench/Makefile (bench): Add sin and slowsin.
1459         * benchtests/sin-inputs: New file.
1460         * benchtests/slowsin-inputs: New file.
1461         * benchtests/slowsin.c: New file.
1462
1463         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1464         (bench): Add slowexp and slowpow.
1465         (exp-ITER): Increase iterations.
1466         (pow-ITER): Likewise.
1467         * benchtests/exp-inputs: Change input.
1468         * benchtests/pow-inputs: Likewise.
1469         * benchtests/slowexp-inputs: New file.
1470         * benchtests/slowexp.c: New file.
1471         * benchtests/slowpow-inputs: New file.
1472         * benchtests/slowpow.c: New file.
1473
1474 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1475
1476         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1477         instructions.
1478         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1479         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1480         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1481         * benchtests/Makefile: Add rint benchtest.
1482         * benchtests/rint-inputs: Input for rint benchtest.
1483
1484 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1485
1486         * Versions.def (libm): Add GLIBC_2.18.
1487         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1488         hidden libm prototypes.
1489         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1490         * math/Makefile (libm-calls): Add s_issignaling.
1491         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1492         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
1493         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1494         declaration.
1495         * math/math.h [__USE_GNU] (issignaling): New macro.
1496         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1497         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1498         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1499         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1500         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1501         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1502         * manual/arith.texi (issignaling): New section.
1503         * manual/libm-err-tab.pl (@all_functions): Update comment.
1504         * math/gen-libm-test.pl (parse_args): Apply special handling for
1505         issignaling.
1506         * math/libm-test.inc (print_float, issignaling_test): New
1507         functions.
1508         (check_float_internal): Add issignaling checks.
1509         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1510         default definition.
1511         * sysdeps/powerpc/math-tests.h: New file.
1512         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1513         tests.
1514         * math/test-snan.c (TEST_FUNC): Likewise.
1515
1516 2013-03-30  David S. Miller  <davem@davemloft.net>
1517
1518         * po/de.po: Update from translation team.
1519
1520 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
1521
1522         [BZ #10357]
1523         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1524         imaginary part less than 1.0 and real part less than 0.5
1525         specially.
1526         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1527         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1528         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1529         (cacos_test): Add more tests.
1530         (casin_test): Likewise.
1531         (casinh_test): Likewise.
1532         * sysdeps/i386/fpu/libm-test-ulps: Update.
1533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1534
1535 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1536
1537         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1538         ONE with its value.
1539
1540         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1541         (__pow_mp): Replace ONE and MONE with their values.
1542         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1543         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1544         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1545         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1546         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1547         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1548
1549         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1550
1551         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1552         (__pow_mp): Replace ZERO and MZERO with their values.
1553         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1554         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1555         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1557         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1558         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1559         (__sqr): Likewise.
1560
1561         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1562
1563         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1564
1565 2013-03-28  Roland McGrath  <roland@hack.frob.com>
1566
1567         * include/stdlib.h [!SHARED] (__call_tls_dtors):
1568         Declare with __attribute__ ((weak)).
1569         * stdlib/exit.c (__libc_atexit) [!SHARED]:
1570         Call __call_tls_dtors only if it's not NULL.
1571
1572 2013-03-28  Roland McGrath  <roland@hack.frob.com>
1573
1574         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1575         didn't do it already, then set _dl_phdr and _dl_phnum based on the
1576         magic __ehdr_start linker symbol if it's defined.
1577         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1578         them up here if it was already done.
1579
1580         * elf/dl-support.c (_dl_phdr): Make pointer to const.
1581         (_dl_aux_init): Use const in cast when setting it.
1582         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1583         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1584         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1585
1586         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1587         Declare them here.
1588         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1589         * csu/libc-tls.c: Nor here.
1590         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1591
1592         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1593         (__libc_message): Never call vsyslog.
1594
1595 2013-03-28  Alan Modra  <amodra@gmail.com>
1596
1597         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1598         Define as empty.
1599         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1600         Likewise.
1601
1602 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1603
1604         [BZ #15214]
1605         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1606         underflow.
1607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1608
1609 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1610
1611         [BZ #15304]
1612         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1613         Don't add gid passed as argument.
1614
1615         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1616
1617 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
1618
1619         [BZ #15307]
1620         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1621         imaginary part between 1.0 and 1.5 and real part less than 0.5
1622         specially.
1623         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1624         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1625         * math/libm-test.inc (cacos_test): Add more tests.
1626         (casin_test): Likewise.
1627         (casinh_test): Likewise.
1628         * sysdeps/i386/fpu/libm-test-ulps: Update.
1629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1630
1631 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1632
1633         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1634         constants.
1635         (norm): Likewise.
1636         (denorm): Likewise.
1637         (__dbl_mp): Likewise.
1638         (add_magnitudes): Likewise.
1639         (sub_magnitudes): Likewise.
1640         (__add): Likewise.
1641         (__sub): Likewise.
1642         (__mul): Likewise.
1643         (__sqr): Likewise.
1644         (__inv): Likewise.
1645         (__dvd): Likewise.
1646
1647         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1648         commented code.
1649         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1650         (__dubcos): Likewise.
1651         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1652         (__ieee754_acos): Likewise.
1653         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1654         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1655         (__exp1): Likewise.
1656         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1658         (log1): Likewise.
1659         (my_log2): Likewise.
1660         (checkint): Likewise.
1661         * sysdeps/ieee754/dbl-64/e_remainder.c
1662         (__ieee754_remainder): Likewise.
1663         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1664         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1665         (bsloww): Likewise.
1666         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1667
1668         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1669         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1670         MANTISSA_STORE_T to store computations on mantissa.  Use
1671         macros for rounding and division.
1672         (denorm): Likewise.
1673         (__dbl_mp): Likewise.
1674         (add_magnitudes): Likewise.
1675         (sub_magnitudes): Likewise.
1676         (__mul): Likewise.
1677         (__sqr): Likewise.
1678         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1679         powers of two in terms of TWOPOW macro.
1680         (mp_no): Make type of mantissa as MANTISSA_T.
1681         [!RADIXI]: Define RADIXI.
1682         [!TWO52]: Define TWO52.
1683         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1684
1685 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1686
1687         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1688         llroundl symbol when building for PPC32.
1689
1690 2013-03-24  Mark H Weaver  <mhw@netris.org>
1691
1692         * manual/arith.texi (Normalization Functions): Fix prototypes for
1693         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1694
1695 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1696
1697         [BZ #13889]
1698         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1699         high value to check if expl overflow.
1700         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1701         to check for underflow and overflow.
1702         * math/libm-test.inc: Add exp test.
1703
1704 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
1705
1706         [BZ #11120]
1707         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1708         with NOT_IN_libc.
1709
1710 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1711
1712         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1713         symbol.
1714
1715 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1716
1717         * math/gen-libm-test.pl (parse_args, special_functions): Properly
1718         wrap blocks consisting of several statements.
1719
1720         * sysdeps/generic/math-tests.h: New file.
1721         * sysdeps/i386/fpu/math-tests.h: Likewise.
1722         * math/test-snan.c: Include it.
1723         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1724
1725 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1726
1727         [BZ #15285]
1728         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1729         (__ieee754_j0l): Do not improve calculations using cos of twice
1730         input for inputs above LDBL_MAX / 2.0L.
1731         (__ieee754_y0l): Likewise.
1732         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1733         (__ieee754_j1l): Do not improve calculations using cos of twice
1734         input for inputs above LDBL_MAX / 2.0L.
1735         (__ieee754_y1l): Likewise.
1736         * math/libm-test.inc (j0_test): Add another test.
1737         (j1_test): Likewise.
1738         (y0_test): Likewise.
1739         (y1_test): Likewise.
1740         * sysdeps/i386/fpu/libm-test-ulps: Update.
1741
1742 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1743
1744         * Rules ($(objpfx)bench-%.c): Include code from a C source
1745         file.
1746
1747 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
1748
1749         [BZ #15287]
1750         * math/k_casinh.c (__kernel_casinh): Handle arguments with
1751         imaginary part 1.0 and real part less than 0.5 specially.
1752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1754         * math/libm-test.inc (cacos_test): Add more tests.
1755         (casin_test): Likewise.
1756         (casinh_test): Likewise.
1757         * sysdeps/i386/fpu/libm-test-ulps: Update.
1758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1759
1760 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1761
1762         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1763         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1764
1765 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
1766
1767         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1768         * config.make.in (config-cflags-sse4): Remove variable.
1769         (config-cflags-avx): Likewise.
1770         (config-cflags-sse2avx): Likewise.
1771         (config-cflags-novzeroupper): Likewise.
1772         (config-asflags-i686): Likewise.
1773         (have-mfma4): Likewise.
1774         (have-as-vis3): Likewise.
1775         (MIG): Likewise.
1776         * configure.in (MIG): Do not AC_SUBST.
1777         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1778         (libc_cv_cc_sse4): Do not AC_SUBST.
1779         (libc_cv_cc_avx): Likewise.
1780         (libc_cv_cc_sse2avx): Likewise.
1781         (libc_cv_cc_novzeroupper): Likewise.
1782         (libc_cv_cc_fma4): Likewise.
1783         (libc_cv_as_i686): Likewise.
1784         (libc_cv_sparc_as_vis3): Likewise.
1785         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1786         LIBC_CONFIG_VAR.
1787         (config-asflags-i686): Likewise.
1788         (config-cflags-avx): Likewise.
1789         (config-cflags-sse2avx): Likewise.
1790         (have-mfma4): Likewise.
1791         (config-cflags-novzeroupper): Likewise.
1792         * sysdeps/mach/configure.in (MIG): Likewise.
1793         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1794         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1795         LIBC_CONFIG_VAR.
1796         (config-cflags-avx): Likewise.
1797         (config-cflags-sse2avx): Likewise.
1798         (have-mfma4): Likewise.
1799         (config-cflags-novzeroupper): Likewise.
1800         * configure: Regenerated.
1801         * sysdeps/i386/configure: Likewise.
1802         * sysdeps/mach/configure: Likewise.
1803         * sysdeps/sparc/configure: Likewise.
1804         * sysdeps/x86_64/configure: Likewise.
1805
1806 2013-03-20  Roland McGrath  <roland@hack.frob.com>
1807
1808         [BZ #14812]
1809         * locale/programs/localedef.c (options): Put N_ translation marker
1810         on argument names, not just descriptions.
1811
1812 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1813
1814         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1815
1816 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
1817
1818         [BZ #14176]
1819         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1820
1821 2013-03-19  Roland McGrath  <roland@hack.frob.com>
1822
1823         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1824         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1825         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1826         [!BEFORE_ABORT] (before_abort): New function.
1827         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1828         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1829         (writev_for_fatal): New function.
1830         (WRITEV_FOR_FATAL): New macro; call that.
1831         (backtrace_and_maps): New function.
1832         (BEFORE_ABORT): New macro; call that.
1833         (struct str_list): Type removed.
1834         (__libc_message, __libc_fatal): Functions removed.
1835         Include <sysdeps/posix/libc_fatal.c> instead.
1836
1837 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1838
1839         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1840         constants.
1841         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1842         double constants.
1843
1844 2013-03-19  Andreas Schwab  <schwab@suse.de>
1845
1846         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1847         * sysdeps/gnu/configure: Regenerate.
1848
1849         * configure.in: Substitute libc_cv_rtlddir.
1850         * configure: Regenerate.
1851         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1852         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1853         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1854         * elf/Makefile (install-others, CFLAGS-interp.c)
1855         (ldso_install, common-ldd-rewrite): Likewise.
1856         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1857         $(inst_slibdir)/$(rtld-installed-name).
1858         * scripts/rellns-sh: Add -p option.
1859         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1860         for source.
1861
1862 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1863
1864         * manual/nptl.texi: Renamed to ...
1865         * manual/threads.texi: ... this.
1866         * manual/Makefile (chapters): Update.
1867
1868 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1869
1870         [BZ #14812]
1871         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1872         on argument names, not just descriptions.
1873         * malloc/memusagestat.c (options): Likewise.
1874         * nss/getent.c (options): Likewise.
1875
1876 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1877
1878         [BZ #14812]
1879         * iconv/iconv_prog.c (options): Put N_ translation marker
1880         on argument names, not just descriptions.
1881         * iconv/iconvconfig.c (options): Likewise.
1882
1883 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1884
1885         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1886         implementation which is faster on all x86_64 architectures.
1887         Tested on AMD, Intel Nehalem, SNB, IVB.
1888         * sysdeps/x86_64/strnlen.S: Likewise.
1889
1890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1891         Remove all multiarch strlen and strnlen versions.
1892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1893         Remove strlen and strnlen related parts.
1894
1895         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1896         Inline strlen part.
1897         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1898
1899         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1900         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1901         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1902         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1903         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1904         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1905
1906 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1907
1908         * manual/memory.texi (Malloc Tunable Parameters):
1909         Sort parameters alphabetically. Add comments for missing entries.
1910
1911 2013-03-17  David S. Miller  <davem@davemloft.net>
1912
1913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1914
1915 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1916
1917         [BZ #15283]
1918         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1919         for arguments at most half maximum finite value.
1920         * math/libm-test.inc (j0_test): Add more tests.
1921         (j1_test): Likewise.
1922         (y0_test): Likewise.
1923         (y1_test): Likewise.
1924         * sysdeps/i386/fpu/libm-test-ulps: Update.
1925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1926
1927         [BZ #14155]
1928         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1929         1 / x and functions P and Q for arguments above 0x1p256L.
1930         (__ieee754_y0l): Likewise.
1931         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1932         (__ieee754_y1l): Likewise.
1933         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1934         (j1_test): Likewise.
1935         (y0_test): Likewise.
1936         (y1_test): Likewise.
1937
1938 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1939
1940         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1941         variable.
1942
1943 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1944
1945         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1946         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1947         zero since it's initialized to EXEC_PAGESIZE.
1948
1949         * sysdeps/unix/sysv/linux/ldsodefs.h
1950         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1951         * sysdeps/generic/ldsodefs.h: ... here.
1952
1953 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1954
1955         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1956
1957         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1958         math/test-snan.c.
1959         * math/test-snan.c: Renamed from
1960         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1961         * math/Makefile (tests): Add test-snan.
1962         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1963         test-powerpc-snan.
1964
1965         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1966         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1967         functions.
1968         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1969         __builtin_nan family of functions.
1970         * math/libm-test.inc (initialize): Initialize qnan_value with
1971         __builtin_nan family of functions.
1972         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1973         Remove variables.
1974         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1975         Remove functions.
1976         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1977         storage class.  Initialize qNaN_var and sNaN_var with
1978         __builtin_nan and __builtin_nans families of functions,
1979         respectively.
1980
1981         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1982         (sqrt_test): Remove duplicate test with qNaN input.
1983         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1984         (round_test, signbit_test, significand_test): Note missing +/-Inf
1985         as well as qNaN tests.
1986
1987         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1988         qNaN_var.  Fix a few strings, too.
1989         * math/libm-test.inc (nan_value): Rename to qnan_value.
1990         * math/gen-libm-test.pl (%beautify): Adjust to that.
1991         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1992         * math/test-misc.c (main): Likewise.
1993         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1994         to __qnan_bytes, and __qnan_union, respectively.
1995         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1996         Likewise.
1997         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1998         and lqnanval, respectively.
1999         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2000         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2001         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2002         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2003
2004         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2005         * math/test-misc.c (main) [__x86_64__]: Enable test for long
2006         doubles.
2007
2008         * math/test-misc.c (main): Fix copy'n'pastos.
2009         * misc/tst-efgcvt.c (special): Likewise.
2010
2011         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2012         Remove declarations.
2013
2014 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2015
2016         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2017         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2018         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2019         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2020
2021 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2022
2023         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2024         macro to return vdso values correctly in IFUNC implementations.
2025         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2026         Optimization by using IFUNC.
2027
2028 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2029             Richard Henderson  <rth@redhat.com>
2030             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2031
2032         * Makefile.in (bench): New target.
2033         * NEWS: Mention the benchmark framework.
2034         * Rules (bench): Likewise.
2035         (binaries-bench): Generate binaries for functions to
2036         benchmark.
2037         * benchtests/Makefile: New makefile for benchmark tests.
2038         * benchtests/bench-skeleton.c: New skeleton file for benchmark
2039         programs.
2040         * benchtests/exp-inputs: New input file for EXP function.
2041         * benchtests/pow-inputs: New input file for POW function.
2042         * scripts/bench.pl: New script to generate source files for
2043         benchmark programs.
2044
2045 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2046
2047         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2048         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2049         computations on mantissa.  Use macros for rounding and
2050         division.
2051         (denorm): Likewise.
2052         (__dbl_mp): Likewise.
2053         (add_magnitudes): Likewise.
2054         (sub_magnitudes): Likewise.
2055         (__mul): Likewise.
2056         (__sqr): Likewise.
2057         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
2058         powers of two in terms of TWOPOW macro.
2059         (mp_no): Make type of mantissa as MANTISSA_T.
2060         [!RADIXI]: Define RADIXI.
2061         [!TWO52]: Define TWO52.
2062         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2063
2064         * manual/nptl.texi (cindex): Modify threads to pthreads.
2065
2066 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
2067
2068         * sysdeps/x86_64/preconfigure: Regenerated.
2069
2070 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
2071
2072         [BZ #14155]
2073         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2074         0x1p28 and above.
2075         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2076         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2077         0x1p28 and above.
2078         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2079         * math/libm-test.inc (j0_test): Do not allow one spurious
2080         underflow exception.
2081         (y1_test): Likewise.
2082
2083 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2084
2085         * manual/Makefile (chapters): Add nptl.
2086         * manual/debug.texi (Debugging Support): Add link to Threads
2087         chapter.
2088         * manual/nptl.texi: New file.
2089
2090         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2091
2092 2013-03-14  Petr Baudis  <pasky@ucw.cz>
2093
2094         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2095         for non-NULL pointer before the memory validity test. Pointed
2096         out by Holger Brunck <holger.brunck@keymile.com>.
2097
2098 2013-03-13  Andreas Schwab  <schwab@suse.de>
2099
2100         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2101         instead of .os.
2102
2103 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
2104
2105         * timezone/zic.c: Update from tzcode 2013b.
2106
2107 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
2108
2109         * manual/install.texi (Configuring and compiling):
2110         Mention i686 and i586.
2111         * INSTALL: Regenerate.
2112
2113 2013-03-12  Roland McGrath  <roland@hack.frob.com>
2114
2115         * sysdeps/init_array/elf-init.c: New file.
2116         * csu/elf-init.c
2117         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2118         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2119
2120         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2121         __gmon_start__ as global, but as static with a .preinit_array pointer.
2122         * sysdeps/init_array/gmon-start.c: New file.  Use that.
2123         * sysdeps/init_array/crti.S: New file, empty except for comments.
2124         * sysdeps/init_array/crtn.S: Likewise.
2125
2126 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
2127
2128         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2129         definining bcopy.
2130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2131         Remove Prefer_SSE_for_memop.
2132         * sysdeps/x86_64/multiarch/init-arch.h: Remove
2133         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2134         HAS_PREFER_SSE_FOR_MEMOP.
2135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2136         memset-x86-64.
2137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2138         Remove bzero, memset ifunc support.
2139         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2140         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2141         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2142         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2143
2144 2013-03-11  Andreas Schwab  <schwab@suse.de>
2145
2146         [BZ #15234]
2147         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2148         by SHLIB_COMPAT.
2149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2150         (GLIBC_2.16): Remove pthread_atfork.
2151
2152 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2153
2154         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2155         (ptestcases.h): Likewise.
2156
2157 2013-03-08  Roland McGrath  <roland@hack.frob.com>
2158
2159         * Makeconfig ($(common-objpfx)config.status): Depend on
2160         sysdeps/*/preconfigure{,.in} too.
2161
2162 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
2163
2164         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2165         (__free_hook): Use void * instead of __malloc_ptr_t.
2166         (__malloc_hook): Likewise.
2167         (__realloc_hook): Likewise.
2168         (__memalign_hook): Likewise.
2169         (__after_morecore_hook): Likewise.
2170         * malloc/arena.c (save_malloc_hook): Likewise.
2171         (save_free_hook): Likewise.
2172         * malloc/hooks.c (malloc_hook_ini): Likewise.
2173         (realloc_hook_ini): Likewise.
2174         (memalign_hook_ini): Likewise.
2175         * malloc/malloc.c (malloc_hook_ini): Likewise.
2176         (realloc_hook_ini): Likewise.
2177         (memalign_hook_ini): Likewise.
2178         (__free_hook): Likewise.
2179         (__malloc_hook): Likewise.
2180         (__realloc_hook): Likewise.
2181         (__memalign_hook): Likewise.
2182         (__libc_malloc): Likewise.
2183         (__libc_free): Likewise.
2184         (__libc_realloc): Likewise.
2185         (__libc_memalign): Likewise.
2186         (__libc_valloc): Likewise.
2187         (__libc_pvalloc): Likewise.
2188         (__libc_calloc): Likewise.
2189         (__posix_memalign): Likewise.
2190         * malloc/morecore.c (__sbrk): Likewise.
2191         (__default_morecore): Likewise.
2192
2193         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2194
2195         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2196         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2197         __malloc_ptrdiff_t.
2198
2199         * malloc/malloc.h (__malloc_size_t): Remove macro.
2200         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2201         __malloc_size_t.
2202         (old_memalign_hook): Likewise.
2203         (old_realloc_hook): Likewise.
2204         (struct hdr): Likewise.
2205         (flood): Likewise.
2206         (mallochook): Likewise.
2207         (memalignhook): Likewise.
2208         (reallochook): Likewise.
2209         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2210         (tr_old_realloc_hook): Likewise.
2211         (tr_old_memalign_hook): Likewise.
2212         (tr_mallochook): Likewise.
2213         (tr_reallochook): Likewise.
2214         (tr_memalignhook): Likewise.
2215
2216 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2217
2218         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2219         default_ldbl_pack and using as default implementation.
2220         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2221         implementation.
2222         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2223         redundant definition.
2224         (ldbl_insert_mantissa): Likewise.
2225         (ldbl_canonicalize): Likewise.
2226         (ldbl_nearbyint): Likewise.
2227         (ldbl_pack): Rename to ldbl_pack_ppc.
2228         (ldbl_unpack): Rename to ldbl_unpack_ppc.
2229         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2230         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2231
2232 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2233
2234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2235         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2236         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2237         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2239         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2240         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2241         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2242
2243 2013-03-07  Andreas Jaeger  <aj@suse.de>
2244
2245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2246         bits/mman-linux.h.
2247
2248 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
2249
2250         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2251         Include mpa.h and declare __MPEXP.
2252         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2253         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2254         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2255         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2256         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2257         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2258         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2259
2260         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2261         (__slowpow): Use long double EXPL and LOGL functions to
2262         compute POW.
2263         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2264         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2265         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2266         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2267         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2268         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2269
2270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2271         intermediate variable to calculate exponent.
2272         (__sqr): Likewise.
2273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2274         Likewise.
2275         (__sqr): Likewise.
2276
2277         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2278         [!NO__SQR]: Define __sqr.
2279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2280         and NO__SQR.  Remove all code except __mul and __sqr.  Include
2281         sysdeps/ieee754/dbl-64/mpa.c.
2282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2283
2284         [BZ #12723]
2285         * posix/Makefile (tests): Add tst-pathconf.
2286         * posix/tst-pathconf.c: New test case.
2287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2288         _PC_PIPE_BUF.
2289         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2290
2291 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
2292
2293         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2294
2295 2013-03-06  Andreas Jaeger  <aj@suse.de>
2296
2297         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2298         definition via __MAP_ANONYMOUS.
2299
2300         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2301         it's not part of Linux headers.
2302
2303         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2304         (MAP_HUGE_MASK): Define.
2305
2306         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2307         Define.
2308         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2309         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2310         Define.
2311         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2312         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2313         Define.
2314         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2315         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2316         Define.
2317         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2318
2319         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2320         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2321         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2322         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2323         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2324         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2325
2326         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2327         Handle f2fs.
2328
2329         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2330         Handle f2fs and efivarfs.
2331
2332         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2333         f2fs.
2334
2335         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2336         (EFIVARFS_MAGIC): Add.
2337         (F2FS_LINK_MAX): Add.
2338
2339 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2340
2341         * stdio-common/vfprintf.c: Replace __builtin_expect with
2342         __glibc_unlikely.
2343
2344 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
2345
2346         [BZ #13550]
2347         * sysdeps/generic/bp-sym.h: Remove file.
2348         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2349         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2350         <bp-sym.h> and <bp-asm.h>.
2351         (__longjmp): Don't use BP_SYM.
2352         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2353         and <bp-asm.h>.
2354         (memcpy): Don't use BP_SYM.
2355         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2356         <bp-sym.h> and <bp-asm.h>.
2357         (memcpy): Don't use BP_SYM.
2358         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2359         <bp-asm.h>.
2360         (memcpy): Don't use BP_SYM.
2361         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2362         <bp-asm.h>.
2363         (memset): Don't use BP_SYM.
2364         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2365         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2366         (__bzero): Don't use BP_SYM.
2367         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2368         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2369         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2370         <bp-sym.h> and <bp-asm.h>.
2371         (memcmp): Don't use BP_SYM.  Remove comment about bounded
2372         pointers.
2373         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2374         <bp-sym.h> and <bp-asm.h>.
2375         (memcpy): Don't use BP_SYM.
2376         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2377         <bp-sym.h> and <bp-asm.h>.
2378         (memset): Don't use BP_SYM.
2379         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2380         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2381         (__bzero): Don't use BP_SYM.
2382         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2383         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2384         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2385         <bp-sym.h> and <bp-asm.h>.
2386         (strncmp): Don't use BP_SYM.  Remove comment about bounded
2387         pointers.
2388         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2389         <bp-sym.h> and <bp-asm.h>.
2390         (memcpy): Don't use BP_SYM.
2391         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2392         <bp-sym.h> and <bp-asm.h>.
2393         (memset): Don't use BP_SYM.
2394         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2395         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2396         (__bzero): Don't use BP_SYM.
2397         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2398         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2399         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2400         <bp-sym.h> and <bp-asm.h>.
2401         (__memchr): Don't use BP_SYM.
2402         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2403         <bp-sym.h> and <bp-asm.h>.
2404         (memcmp): Don't use BP_SYM.  Remove comment about bounded
2405         pointers.
2406         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2407         <bp-sym.h> and <bp-asm.h>.
2408         (memcpy): Don't use BP_SYM.
2409         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2410         <bp-sym.h> and <bp-asm.h>.
2411         (__mempcpy): Don't use BP_SYM.
2412         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2413         <bp-sym.h> and <bp-asm.h>.
2414         (__memrchr): Don't use BP_SYM.
2415         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2416         <bp-sym.h> and <bp-asm.h>.
2417         (memset): Don't use BP_SYM.
2418         (__bzero): Likewise.
2419         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2420         <bp-sym.h> and <bp-asm.h>.
2421         (__rawmemchr): Don't use BP_SYM.
2422         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2423         <bp-sym.h> and <bp-asm.h>.
2424         (__STRCMP): Don't use BP_SYM.
2425         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2426         <bp-sym.h> and <bp-asm.h>.
2427         (strchr): Don't use BP_SYM.
2428         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2429         <bp-sym.h> and <bp-asm.h>.
2430         (__strchrnul): Don't use BP_SYM.
2431         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2432         <bp-sym.h> and <bp-asm.h>.
2433         (strlen): Don't use BP_SYM.
2434         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2435         <bp-sym.h> and <bp-asm.h>.
2436         (strncmp): Don't use BP_SYM.  Remove comment about bounded
2437         pointers.
2438         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2439         <bp-sym.h> and <bp-asm.h>.
2440         (__strnlen): Don't use BP_SYM.
2441         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2442         <bp-sym.h> and <bp-asm.h>.
2443         (__GI__setjmp): Don't use BP_SYM.
2444         (_setjmp): Likewise.
2445         (__sigsetjmp): Likewise.
2446         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2447         (L(start_addresses)): Don't use BP_SYM.
2448         (_start): Likewise.
2449         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2450         <bp-asm.h>.
2451         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2452         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2453         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2454         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2455         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2456         <bp-asm.h>.
2457         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2458         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
2459         about bounded pointers.
2460         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2461         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2462         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2463         <bp-asm.h>.
2464         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
2465         about bounded pointers.  Remove GKM FIXME comments.
2466         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2467         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2468         <bp-asm.h>.
2469         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2470         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
2471         Remove GKM FIXME comments.
2472         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2473         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2474         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2475         <bp-asm.h>.
2476         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
2477         about bounded pointers.  Remove GKM FIXME comment.
2478         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2479         and <bp-asm.h>.
2480         (strncmp): Don't use BP_SYM.  Remove comment about bounded
2481         pointers.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2483         <bp-sym.h> and <bp-asm.h>.
2484         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2486         <bp-sym.h> and <bp-asm.h>.
2487         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
2488         comment.
2489
2490 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2491
2492         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2493         call free(NULL).
2494
2495 2013-03-05  David S. Miller  <davem@davemloft.net>
2496
2497         * po/es.po: Update from translation team.
2498
2499 2013-03-05  Andreas Jaeger  <aj@suse.de>
2500
2501         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2502         <bits/mman-linux.h>.
2503         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2504         is fine.
2505         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2506         <bits/mman-linux.h> to end of file.
2507         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2508         is fine.
2509         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2510         <bits/mman-linux.h> to end of file.
2511         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2512         is fine.
2513         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2514         <bits/mman-linux.h> to end of file.
2515
2516         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2517         (MCL_CURRENT, MCL_FUTURE): Define here.
2518
2519 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2520
2521         [BZ #15232]
2522         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2523         attribute_hidden.
2524         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2525
2526 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2527
2528         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2529         fourth parameter needed for rt_sigprocmask syscall.
2530         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2531         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2532         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2533         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2534         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2535         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2536
2537 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
2538
2539         [BZ #13550]
2540         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2541         comment about bounded pointers.
2542         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2543         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2544
2545 2013-03-04  Andreas Jaeger  <aj@suse.de>
2546
2547         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2548         common definitions.
2549
2550         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2551         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2552         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2553         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2554         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2555         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2556
2557 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2558
2559         [BZ #15055]
2560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2561         __ieee754_sqrl instead of __sqrl.
2562
2563 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
2564
2565         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2566         * sysdeps/powerpc/fpu_control.h: ... here.
2567         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2568         * sysdeps/powerpc/bits/fenvinline.h: ... here.
2569         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2570         * sysdeps/powerpc/bits/mathinline.h: ... here.
2571
2572 2013-03-01  Roland McGrath  <roland@hack.frob.com>
2573
2574         * elf/dl-hwcaps.c (_dl_important_hwcaps):
2575         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2576         to just [NEED_DL_SYSINFO_DSO].
2577         * elf/dl-support.c: Likewise.
2578         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2579         * elf/rtld.c (dl_main): Likewise.
2580         * elf/setup-vdso.h (setup_vdso): Likewise.
2581         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2582         * sysdeps/unix/sysv/linux/dl-sysdep.c
2583         (_dl_discover_osversion): Likewise.
2584
2585 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
2586
2587         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2588         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2589
2590 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2591
2592         * NEWS: Mention libm performance improvements and non-x86 PI
2593         futex support.
2594
2595         * csu/libc-start.c (__pthread_initialize_minimal): Change
2596         function arguments.
2597         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2598
2599 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
2600
2601         [BZ #13550]
2602         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2603         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2604         <bp-sym.h> and <bp-asm.h>.
2605         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2606         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2607         and <bp-asm.h>.
2608         (memcpy): Don't use BP_SYM.
2609         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2610         <bp-asm.h>.
2611         (__mpn_add_n): Don't use BP_SYM.
2612         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2613         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2614         and <bp-asm.h>.
2615         (__mpn_addmul_1): Don't use BP_SYM.
2616         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2617         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2618         <bp-sym.h>.
2619         (_setjmp): Don't use BP_SYM.
2620         (__novmx_setjmp): Likewise.
2621         (__GI__setjmp): Likewise.
2622         (__vmx_setjmp): Likewise.
2623         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2624         <bp-sym.h>.
2625         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2626         (__bzero): Don't use BP_SYM.
2627         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2628         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2629         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2630         <bp-sym.h> and <bp-asm.h>.
2631         (memcpy): Don't use BP_SYM.
2632         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2633         <bp-sym.h> and <bp-asm.h>.
2634         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2635         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2636         <bp-sym.h> and <bp-asm.h>.
2637         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2638         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2639         <bp-asm.h>.
2640         (__mpn_lshift): Don't use BP_SYM.
2641         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2642         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2643         <bp-asm.h>.
2644         (memset): Don't use BP_SYM.
2645         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2646         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2647         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2648         <bp-asm.h>.
2649         (__mpn_mul_1): Don't use BP_SYM.
2650         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2652         <bp-sym.h> and <bp-asm.h>.
2653         (memcmp): Don't use BP_SYM.
2654         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2655         <bp-sym.h> and <bp-asm.h>.
2656         (memcpy): Don't use BP_SYM.
2657         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2658         <bp-sym.h> and <bp-asm.h>.
2659         (memset): Don't use BP_SYM.
2660         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2661         <bp-sym.h> and <bp-asm.h>.
2662         (strncmp): Don't use BP_SYM.
2663         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2664         <bp-sym.h> and <bp-asm.h>.
2665         (memcpy): Don't use BP_SYM.
2666         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2667         <bp-sym.h> and <bp-asm.h>.
2668         (memset): Don't use BP_SYM.
2669         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2670         <bp-sym.h> and <bp-asm.h>.
2671         (__memchr): Don't use BP_SYM.
2672         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2673         <bp-sym.h> and <bp-asm.h>.
2674         (memcmp): Don't use BP_SYM.
2675         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2676         <bp-sym.h> and <bp-asm.h>.
2677         (memcpy): Don't use BP_SYM.
2678         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2679         <bp-sym.h> and <bp-asm.h>.
2680         (__mempcpy): Don't use BP_SYM.
2681         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2682         <bp-sym.h> and <bp-asm.h>.
2683         (__memrchr): Don't use BP_SYM.
2684         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2685         <bp-sym.h> and <bp-asm.h>.
2686         (memset): Don't use BP_SYM.
2687         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2688         <bp-sym.h> and <bp-asm.h>.
2689         (__rawmemchr): Don't use BP_SYM.
2690         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2691         <bp-sym.h> and <bp-asm.h>.
2692         (__STRCMP): Don't use BP_SYM.
2693         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2694         <bp-sym.h> and <bp-asm.h>.
2695         (strchr): Don't use BP_SYM.
2696         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2697         <bp-sym.h> and <bp-asm.h>.
2698         (__strchrnul): Don't use BP_SYM.
2699         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2700         <bp-sym.h> and <bp-asm.h>.
2701         (strlen): Don't use BP_SYM.
2702         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2703         <bp-sym.h> and <bp-asm.h>.
2704         (strncmp): Don't use BP_SYM.
2705         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2706         <bp-sym.h> and <bp-asm.h>.
2707         (__strnlen): Don't use BP_SYM.
2708         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2709         <bp-asm.h>.
2710         (__mpn_rshift): Don't use BP_SYM.
2711         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2712         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2713         <bp-sym.h> and <bp-asm.h>.
2714         (__sigsetjmp): Don't use BP_SYM.
2715         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2716         (L(start_addresses)): Don't use BP_SYM.
2717         (_start): Likewise.
2718         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2719         <bp-asm.h>.
2720         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2721         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2722         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2723         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2724         <bp-asm.h>.
2725         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2726         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2727         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2728         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2729         <bp-asm.h>.
2730         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2731         comments.
2732         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2733         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2734         <bp-asm.h>.
2735         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
2736         FIXME comments.
2737         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2738         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2739         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2740         <bp-asm.h>.
2741         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
2742         comment.
2743         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2744         and <bp-asm.h>.
2745         (strncmp): Don't use BP_SYM,
2746         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2747         <bp-asm.h>.
2748         (__mpn_sub_n): Don't use BP_SYM.
2749         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2750         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2751         and <bp-asm.h>.
2752         (__mpn_submul_1): Don't use BP_SYM.
2753         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2755         <bp-sym.h> and <bp-asm.h>.
2756         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2758         <bp-sym.h> and <bp-asm.h>.
2759         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
2760         comment.
2761
2762 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2763
2764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2765         Use ZK to minimize writes to Z.
2766         (sub_magnitudes): Simplify code a bit.
2767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2768         Use ZK to minimize writes to Z.
2769         (sub_magnitudes): Simplify code a bit.
2770
2771 2013-02-27  Roland McGrath  <roland@hack.frob.com>
2772
2773         * csu/gmon-start.c: Add special exception to license text.
2774
2775 2013-02-27  Richard Henderson  <rth@redhat.com>
2776
2777         * scripts/config.guess: Update from config.git.
2778         * scripts/config.sub: Likewise.
2779
2780 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2781
2782         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2783
2784         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2785
2786         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2787
2788         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2789
2790         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2791
2792 2013-02-26  Roland McGrath  <roland@hack.frob.com>
2793
2794         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2795         [$(build-shared = yes].
2796
2797 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2798
2799         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2800         (__mul): Reduce iterations for calculating mantissa.
2801
2802         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2803         MPTWO.
2804         (__mpranred): Likewise.
2805
2806         [BZ #15160]
2807         * malloc/memusagestat.c (main): Draw graphs for heap and stack
2808         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2809
2810 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
2811
2812         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2813         Define __attribute__.
2814
2815 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2816
2817         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2818         unused.
2819         * posix/regex_internal.h (__attribute): Remove.
2820         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2821         (re_string_context_at): Likewise.
2822         (bitset_not): Use __attribute__ and mark function as possibly
2823         unused.
2824         (bitset_merge): Likewise.
2825         (bitset_mask): Likewise.
2826         (re_string_char_size_at): Likewise.
2827         (re_string_wchar_at): Likewise.
2828         (re_string_elem_size_at): Likewise.
2829
2830 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2831
2832         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2833         code.
2834         (cc32): Likewise.
2835
2836         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2837         (__acr): Likewise.
2838         (__cpy): Likewise.
2839         (norm): Likewise.
2840         (denorm): Likewise.
2841         (__dbl_mp): Likewise.
2842         (add_magnitudes): Likewise.
2843         (sub_magnitudes): Likewise.
2844         (__mul): Likewise.
2845         (__inv): Likewise.
2846
2847         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2848         style.
2849
2850         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2851         style.
2852
2853         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2854         code.
2855
2856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2857         up changes with default code.
2858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2859         Likewise.
2860
2861 2013-02-24  Allan McRae  <allan@archlinux.org>
2862
2863         * manual/socket.texi (The Internet Namespace): Order menu items
2864         to match that in the file.
2865
2866         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2867         node listing of the info page menu.
2868
2869 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2870
2871         [BZ #13550]
2872         * sysdeps/i386/bp-asm.h: Remove file.
2873         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2874         (PARMS): Do not use macros from bp-asm.h.
2875         (S1): Likewise.
2876         (S2): Likewise.
2877         (SIZE): Likewise.
2878         (__mpn_add_n): Do not use BP_SYM
2879         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2880         "bp-asm.h".
2881         (PARMS): Do not use macros from bp-asm.h.
2882         (S1): Likewise.
2883         (SIZE): Likewise.
2884         (__mpn_addmul_1): Do not use BP_SYM
2885         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2886         "bp-asm.h".
2887         (PARMS): Do not use macros from bp-asm.h.
2888         (SIGMSK): Likewise.
2889         (_setjmp): Likewise.  Do not use BP_SYM.
2890         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2891         "bp-asm.h".
2892         (PARMS): Do not use macros from bp-asm.h.
2893         (SIGMSK): Likewise.
2894         (setjmp): Likewise.  Do not use BP_SYM.
2895         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2896         "bp-asm.h".
2897         (PARMS): Do not use macros from bp-asm.h.
2898         (__frexp): Do not use BP_SYM.
2899         (frexp): Likewise.
2900         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2901         "bp-asm.h".
2902         (PARMS): Do not use macros from bp-asm.h.
2903         (__frexpf): Do not use BP_SYM.
2904         (frexpf): Likewise.
2905         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2906         "bp-asm.h".
2907         (PARMS): Do not use macros from bp-asm.h.
2908         (__frexpl): Do not use BP_SYM.
2909         (frexpl): Likewise.
2910         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2911         "bp-asm.h".
2912         (PARMS): Do not use macros from bp-asm.h.
2913         (__remquo): Do not use BP_SYM.
2914         (remquo): Likewise.
2915         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2916         "bp-asm.h".
2917         (PARMS): Do not use macros from bp-asm.h.
2918         (__remquof): Do not use BP_SYM.
2919         (remquof): Likewise.
2920         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2921         "bp-asm.h".
2922         (PARMS): Do not use macros from bp-asm.h.
2923         (__remquol): Do not use BP_SYM.
2924         (remquol): Likewise.
2925         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2926         "bp-asm.h".
2927         (PARMS): Do not use macros from bp-asm.h.
2928         (DEST): Likewise.
2929         (SRC): Likewise.
2930         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2931         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2932         "bp-asm.h".
2933         (PARMS): Do not use macros from bp-asm.h.
2934         (strlen): Do not use BP_SYM.
2935         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2936         "bp-asm.h".
2937         (PARMS): Do not use macros from bp-asm.h.
2938         (S1): Likewise.
2939         (S2): Likewise.
2940         (SIZE): Likewise.
2941         (__mpn_add_n): Do not use BP_SYM.
2942         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2943         "bp-asm.h".
2944         (PARMS): Do not use macros from bp-asm.h.
2945         (S1): Likewise.
2946         (SIZE): Likewise.
2947         (__mpn_addmul_1): Do not use BP_SYM.
2948         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2949         weak_alias.
2950         (bzero): Likewise.
2951         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2952         "bp-asm.h".
2953         (PARMS): Do not use macros from bp-asm.h.
2954         (S): Likewise.
2955         (SIZE): Likewise.
2956         (__mpn_lshift): Do not use BP_SYM.
2957         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2958         "bp-asm.h".
2959         (PARMS): Do not use macros from bp-asm.h.
2960         (DEST): Likewise.
2961         (SRC): Likewise.
2962         (LEN): Likewise.
2963         (memcpy): Likewise.  Do not use BP_SYM.
2964         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2965         libc_hidden_def and weak_alias.
2966         (mempcpy): Do not use BP_SYM in weak_alias.
2967         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2968         "bp-asm.h".
2969         (PARMS): Do not use macros from bp-asm.h.
2970         (DEST): Likewise.
2971         (LEN): Likewise.
2972         [!BZERO_P] (CHR): Likewise.
2973         (memset): Likewise.  Do not use BP_SYM.
2974         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2975         "bp-asm.h".
2976         (PARMS): Do not use macros from bp-asm.h.
2977         (S1): Likewise.
2978         (SIZE): Likewise.
2979         (__mpn_mul_1): Do not use BP_SYM.
2980         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2981         "bp-asm.h".
2982         (PARMS): Do not use macros from bp-asm.h.
2983         (S): Likewise.
2984         (SIZE): Likewise.
2985         (__mpn_rshift): Do not use BP_SYM.
2986         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2987         "bp-asm.h".
2988         (PARMS): Do not use macros from bp-asm.h.
2989         (STR): Likewise.
2990         (CHR): Likewise.
2991         (strchr): Likewise.  Do not use BP_SYM.
2992         (index): Do not use BP_SYM in weak_alias.
2993         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2994         "bp-asm.h".
2995         (PARMS): Do not use macros from bp-asm.h.
2996         (DEST): Likewise.
2997         (SRC): Likewise.
2998         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2999         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3000         "bp-asm.h".
3001         (PARMS): Do not use macros from bp-asm.h.
3002         (strlen): Do not use BP_SYM.
3003         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3004         "bp-asm.h".
3005         (PARMS): Do not use macros from bp-asm.h.
3006         (S1): Likewise.
3007         (S2): Likewise.
3008         (SIZE): Likewise.
3009         (__mpn_sub_n): Do not use BP_SYM.
3010         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3011         "bp-asm.h".
3012         (PARMS): Do not use macros from bp-asm.h.
3013         (S1): Likewise.
3014         (SIZE): Likewise.
3015         (__mpn_submul_1): Do not use BP_SYM.
3016         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3017         "bp-asm.h".
3018         (PARMS): Do not use macros from bp-asm.h.
3019         (S1): Likewise.
3020         (S2): Likewise.
3021         (SIZE): Likewise.
3022         (__mpn_add_n): Do not use BP_SYM.
3023         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3024         weak_alias.
3025         (bzero): Likewise.
3026         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3027         "bp-asm.h".
3028         (PARMS): Do not use macros from bp-asm.h.
3029         (BLK2): Likewise.
3030         (LEN): Likewise.
3031         (memcmp): Do not use BP_SYM.
3032         (bcmp): Do not use BP_SYM in weak_alias.
3033         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3034         "bp-asm.h".
3035         (PARMS): Do not use macros from bp-asm.h.
3036         (DEST): Likewise.
3037         (SRC): Likewise.
3038         (LEN): Likewise.
3039         (memcpy): Likewise.  Do not use BP_SYM.
3040         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3041         "bp-asm.h".
3042         (PARMS): Do not use macros from bp-asm.h.
3043         (DEST): Likewise.
3044         (SRC): Likewise.
3045         (LEN): Likewise.
3046         (memmove): Likewise.  Do not use BP_SYM.
3047         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3048         "bp-asm.h".
3049         (PARMS): Do not use macros from bp-asm.h.
3050         (DEST): Likewise.
3051         (SRC): Likewise.
3052         (LEN): Likewise.
3053         (__mempcpy): Likewise.  Do not use BP_SYM.
3054         (mempcpy): Do not use BP_SYM in weak_alias.
3055         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3056         "bp-asm.h".
3057         (PARMS): Do not use macros from bp-asm.h.
3058         (DEST): Likewise.
3059         (LEN): Likewise.
3060         [!BZERO_P] (CHR): Likewise.
3061         (memset): Likewise.  Do not use BP_SYM.
3062         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3063         "bp-asm.h".
3064         (PARMS): Do not use macros from bp-asm.h.
3065         (STR2): Likewise.
3066         (strcmp): Do not use BP_SYM.
3067         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3068         "bp-asm.h".
3069         (PARMS): Do not use macros from bp-asm.h.
3070         (STR): Likewise.
3071         (DELIM): Likewise.
3072         [USE_AS_STRTOK_R] (SAVE): Likewise.
3073         (FUNCTION): Likewise.  Do not use BP_SYM.
3074         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3075         aliases.
3076         (strtok_r): Likewise.
3077         (__GI___strtok_r): Likewise.
3078         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3079         (PARMS): Do not use macros from bp-asm.h.
3080         (S): Likewise.
3081         (SIZE): Likewise.
3082         (__mpn_lshift): Do not use BP_SYM.
3083         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3084         (PARMS): Do not use macros from bp-asm.h.
3085         (STR): Likewise.
3086         (CHR): Likewise.
3087         (__memchr): Do not use BP_SYM.
3088         (memchr): Do not use BP_SYM in weak_alias.
3089         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3090         (PARMS): Do not use macros from bp-asm.h.
3091         (BLK2): Likewise.
3092         (LEN): Likewise.
3093         (memcmp): Do not use BP_SYM.
3094         (bcmp): Do not use BP_SYM in weak_alias.
3095         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3096         (PARMS): Do not use macros from bp-asm.h.
3097         (S1): Likewise.
3098         (SIZE): Likewise.
3099         (__mpn_mul_1): Do not use BP_SYM.
3100         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3101         "bp-asm.h".
3102         (PARMS): Do not use macros from bp-asm.h.
3103         (STR): Likewise.
3104         (CHR): Likewise.
3105         (__rawmemchr): Do not use BP_SYM.
3106         (rawmemchr): Do not use BP_SYM in weak_alias.
3107         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3108         (PARMS): Do not use macros from bp-asm.h.
3109         (S): Likewise.
3110         (SIZE): Likewise.
3111         (__mpn_rshift): Do not use BP_SYM.
3112         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3113         (PARMS): Do not use macros from bp-asm.h.
3114         (SIGMSK): Likewise.
3115         (__sigsetjmp): Likewise.  Do not use BP_SYM.
3116         * sysdeps/i386/start.S: Do not include "bp-sym.h".
3117         (_start): Do not use BP_SYM.
3118         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3119         (PARMS): Do not use macros from bp-asm.h.
3120         (DEST): Likewise.
3121         (SRC): Likewise.
3122         (__stpcpy): Likewise.  Do not use BP_SYM.
3123         (stpcpy): Do not use BP_SYM in weak_alias.
3124         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3125         "bp-asm.h".
3126         (PARMS): Do not use macros from bp-asm.h.
3127         (DEST): Likewise.
3128         (SRC): Likewise.
3129         (LEN): Likewise.
3130         (__stpncpy): Likewise.  Do not use BP_SYM.
3131         (stpncpy): Do not use BP_SYM in weak_alias.
3132         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3133         (PARMS): Do not use macros from bp-asm.h.
3134         (STR): Likewise.
3135         (CHR): Likewise.
3136         (strchr): Likewise.  Do not use BP_SYM.
3137         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3138         "bp-asm.h".
3139         (PARMS): Do not use macros from bp-asm.h.
3140         (STR): Likewise.
3141         (CHR): Likewise.
3142         (__strchrnul): Likewise.  Do not use BP_SYM.
3143         (strchrnul): Do not use BP_SYM in weak_alias.
3144         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3145         "bp-asm.h".
3146         (PARMS): Do not use macros from bp-asm.h.
3147         (STOP): Likewise.
3148         (strcspn): Do not use BP_SYM.
3149         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3150         "bp-asm.h".
3151         (PARMS): Do not use macros from bp-asm.h.
3152         (STR): Likewise.
3153         (STOP): Likewise.
3154         (strpbrk): Likewise.  Do not use BP_SYM.
3155         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3156         "bp-asm.h".
3157         (PARMS): Do not use macros from bp-asm.h.
3158         (STR): Likewise.
3159         (CHR): Likewise.
3160         (strrchr): Likewise.  Do not use BP_SYM.
3161         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3162         (PARMS): Do not use macros from bp-asm.h.
3163         (SKIP): Likewise.
3164         (strspn): Do not use BP_SYM.
3165         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3166         (PARMS): Do not use macros from bp-asm.h.
3167         (STR): Likewise.
3168         (DELIM): Likewise.
3169         (SAVE): Likewise.
3170         (FUNCTION): Likewise.  Do not use BP_SYM.
3171         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3172         aliases.
3173         (strtok_r): Likewise.
3174         (__GI___strtok_r): Likewise.
3175         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3176         (PARMS): Do not use macros from bp-asm.h.
3177         (S1): Likewise.
3178         (S2): Likewise.
3179         (SIZE): Likewise.
3180         (__mpn_sub_n): Do not use BP_SYM.
3181         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3182         "bp-asm.h".
3183         (PARMS): Do not use macros from bp-asm.h.
3184         (S1): Likewise.
3185         (SIZE): Likewise.
3186         (__mpn_submul_1): Do not use BP_SYM.
3187         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3188         <bp-sym.h>.
3189         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3190         and <bp-asm.h>.
3191         (PARMS): Do not use macros from bp-asm.h.
3192         (FLAGS): Likewise.
3193         (PTID): Likewise.
3194         (TLS): Likewise.
3195         (CTID): Likewise.
3196         (__clone): Do not use BP_SYM.
3197         (clone): Do not use BP_SYM in weak_alias.
3198         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3199         and <bp-asm.h>.
3200         (PARMS): Do not use macros from bp-asm.h.
3201         (LEN): Likewise.
3202         (__mmap64): Do not use BP_SYM.
3203         (mmap64): Do not use BP_SYM in weak_alias.
3204         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3205         <bp-sym.h> and <bp-asm.h>.
3206         (PARMS): Do not use macros from bp-asm.h.
3207         (__posix_fadvise64_l64): Do not use BP_SYM.
3208         * sysdeps/unix/sysv/linux/i386/semtimedop.S
3209         (PARMS): Do not use macros from bp-asm.h.
3210         (NSOPS): Likewise.
3211         (semtimedop): Do not use BP_SYM.
3212         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3213         and <bp-asm.h>.
3214
3215 2013-02-21  Allan McRae  <allan@archlinux.org>
3216
3217         * manual/message.texi (Charset conversion in gettext):
3218         Move @end statement to beginning of line.
3219
3220 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3221
3222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3223         static.
3224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3225         Likewise.
3226
3227         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3228         (denorm): Likewise.
3229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3231
3232 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3233
3234         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3235         tail-call to the resolved function if pltexit isn't needed.
3236
3237 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3238
3239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3240         or Y being zero as being unlikely.
3241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3242         Likewise.
3243
3244 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
3245
3246         * manual/nss.texi (System Databases and Name Service Switch):
3247         Remove frobnicate @pxref.
3248
3249 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
3250
3251         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3252         __attribute__ ((unused)) to __attribute__ ((__unused__)).
3253
3254 2013-02-20  Petr Machata  <pmachata@redhat.com>
3255
3256         * elf/elf.h (R_ARM_TARGET1): New macro.
3257         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3258         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3259         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3260         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3261         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3262         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3263         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3264         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3265         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3266         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3267         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3268         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3269         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3270         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3271         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3272         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3273         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3274         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3275         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3276         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3277         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3278         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3279         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3280         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3281         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3282         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3283         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3284         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3285         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3286         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3287         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3288         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3289         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3290         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3291         (R_ARM_THM_GOT_BREL12): Likewise.
3292         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3293         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3294         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3295         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3296         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3297         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3298         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3299         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3300         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3301
3302 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
3303
3304         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3305         __attribute_used__ to __attribute__ ((unused)).
3306
3307 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3308
3309         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3310         powerpc mpa.c.
3311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3312         comment formatting.
3313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3314
3315 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
3316
3317         [BZ #13550]
3318         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3319         Remove macro.
3320         (ENTER): Remove both macro definitions.
3321         (LEAVE): Likewise.
3322         (CHECK_BOUNDS_LOW): Likewise.
3323         (CHECK_BOUNDS_HIGH): Likewise.
3324         (CHECK_BOUNDS_BOTH): Likewise.
3325         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3326         (RETURN_BOUNDED_POINTER): Likewise.
3327         (RETURN_NULL_BOUNDED_POINTER): Likewise.
3328         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3329         (POP_ERRNO_LOCATION_RETURN): Likewise.
3330         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3331         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3332         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3333         macros.
3334         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3335         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3336         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3337         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3338         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3339         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3340         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3341         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3342         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3343         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3344         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3345         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3346         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3347         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3348         removed macros.
3349         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3350         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3351         macros.
3352         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3353         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3354         * sysdeps/i386/i586/memset.S (memset): Likewise.
3355         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3356         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3357         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3358         macros.
3359         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3360         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3361         Change uses of L(2) to L(out).
3362         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3363         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3364         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3365         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3366         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3367         removed macros.
3368         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3369         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3370         macros.
3371         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3372         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3373         (RETURN): Do not use macro LEAVE.
3374         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3375         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3376         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3377         * sysdeps/i386/i686/memset.S (memset): Likewise.
3378         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3379         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3380         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3381         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3382         Likewise.
3383         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3384         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
3385         L(1_2) and L(1_3) into L(1).
3386         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3387         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3388         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3389         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3390         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3391         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3392         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3393         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3394         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3395         macros.
3396         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3397         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3398         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3399         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3400         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3401         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3402         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3403         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3404         * sysdeps/i386/strcspn.S (strcspn): Likewise.
3405         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3406         * sysdeps/i386/strrchr.S (strrchr): Likewise.
3407         * sysdeps/i386/strspn.S (strspn): Likewise.
3408         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3409         conditional code.
3410         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3411         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3412         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3413         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
3414         L(1_3) into L(1_1).
3415         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3416         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3417         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3418         macros.
3419         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3420
3421 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
3422
3423         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3424         macro.
3425
3426 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3427
3428         * math/atest-exp.c (exp_mpn): Remove ROUND.
3429         * math/atest-exp2.c (exp_mpn): Likewise.
3430         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3431
3432         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3433         * stdlib/tst-tls-atexit-lib.c: Likewise.
3434         * stdlib/tst-tls-atexit.c: Likewise.
3435
3436 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
3437
3438         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3439         and __attribute_alloc_size__.
3440
3441 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
3442
3443         * include/programs/xmalloc.h: Change __attribute_alloc_size to
3444         __attribute_alloc_size__.
3445         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3446         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3447
3448 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
3449
3450         * include/programs/xmalloc.h: New file.
3451         * catgets/gencat.c: Include it.
3452         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3453         * elf/pldd.c: Likewise.
3454         * iconv/iconv_charmap.c: Likewise.
3455         * iconv/iconvconfig.c: Likewise.
3456         * iconv/strtab.c: Likewise.
3457         * locale/programs/locale.c: Likewise.
3458         * locale/programs/localedef.h: Likewise.
3459         * locale/programs/simple-hash.c: Likewise.
3460         * nscd/nscd.h: Likewise.
3461         * nss/makedb.c: Likewise.
3462         * sysdeps/generic/ldconfig.h: Likewise.
3463
3464 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3465
3466         * Versions.def: Add GLIBC_2.18.
3467         * include/link.h (struct link_map): New member l_tls_dtor_count.
3468         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3469         (__call_tls_dtors): Likewise.
3470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3471         __cxa_thread_atexit_impl.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3473         Likewise.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3475         Likewise.
3476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3477         Likewise.
3478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3479         Likewise.
3480         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3482         Likewise.
3483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3484         Likewise.
3485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3487         Likewise.
3488         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3489         (tests): Add test case tst-tls-atexit.
3490         (modules-names): Add shared library for tst-tls-atexit.
3491         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3492         (GLIBC_PRIVATE): Add __call_tls_dtors.
3493         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3494         for libstdc++.
3495         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3496         * stdlib/tst-tls-atexit.c: New test case.
3497         * stdlib/tst-tls-atexit-lib.c: New test case.
3498
3499         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3500
3501         * elf/Versions (ld): Add _dl_find_dso_for_object.
3502         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3503         * elf/dl-open.c (_dl_find_dso_for_object): New function.
3504         (dl_open_worker): Use _dl_find_dso_for_object.
3505         * elf/dl-sym.c (do_sym): Likewise.
3506         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3507
3508 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3509
3510         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3511         Syntactic changes only.
3512         (_dl_runtime_profile): Do a tail-call to the resolved function.
3513
3514 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
3515
3516         [BZ #13550]
3517         * sysdeps/x86_64/bp-asm.h: Remove file.
3518         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3519         <bp-sym.h> and <bp-asm.h>.
3520         (__clone): Do not use BP_SYM.
3521         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3522         <bp-sym.h> and <bp-asm.h>.
3523         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3524         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3525         "bp-asm.h".
3526         (_setjmp): Do not use BP_SYM.
3527         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3528         "bp-asm.h".
3529         (setjmp): Do not use BP_SYM.
3530         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3531         libc_hidden_def.
3532         (mempcpy): Do not use BP_SYM in weak_alias.
3533         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3534         "bp-asm.h".
3535         (strchr): Do not use BP_SYM.
3536         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3537         "bp-asm.h".
3538         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3539         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3540         (_start): Do not use BP_SYM.
3541         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3542         "bp-asm.h".
3543         (strcat): Do not use BP_SYM.
3544         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3545         "bp-asm.h".
3546         (STRCMP): Do not use BP_SYM.
3547         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3548         "bp-asm.h".
3549         (STRCPY): Do not use BP_SYM.
3550         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3551         "bp-asm.h".
3552         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3553         "bp-asm.h".
3554         (FUNCTION): Do not use BP_SYM.
3555         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3556         weak_alias.
3557         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3558
3559 2013-02-17  Andreas Jaeger  <aj@suse.de>
3560
3561         * time/Versions: Sort entries.
3562         * string/Versions: Likewise.
3563         * resolv/Versions: Likewise.
3564         * posix/Versions: Likewise.
3565         * iconv/Versions: Likewise.
3566         * elf/Versions: Likewise.
3567         * wcsmbs/Versions: Likewise.
3568
3569 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3570
3571         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3572         loop termination condition.
3573
3574         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3575         variable to calculate EZ.
3576         (__sqr): Likewise.
3577
3578         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3579         the lower precision input.
3580
3581 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
3582
3583         [BZ #13550]
3584         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3585         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3586         (run-via-rtld-prefix): Do not handle %-bp tests.
3587         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3588         (all-object-suffixes): Remove .ob.
3589         (bppfx): Remove variable.
3590         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3591         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3592         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3593         [$(build-bounded) = yes] (libtype.ob): Likewise.
3594         * Makerules (elide-routines.ob): Remove variable.
3595         (do-tests-clean): Do not handle *-bp.out.
3596         (common-mostlyclean): Do not handle *-bp and *-bp.out.
3597         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3598         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3599         (tests): Do not include $(tests-bp.out).
3600         (xtests): Do not include $(xtests-bp.out).
3601         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3602         [$(build-bounded) = yes] ($(addprefix
3603         $(objpfx),$(binaries-bounded))): Remove rule.
3604         ($(objpfx)%-bp.out): Remove rule.
3605         * config.make.in (build-bounded): Remove variable.
3606         * crypt/Makefile [$(build-bounded) = yes]
3607         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3608         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3609         append to variable.
3610         [$(build-bounded) = yes] (install-lib): Likewise.
3611         [$(build-bounded) = yes] (generated): Likewise.
3612         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3613         Remove rule.
3614         * intl/Makefile [$(build-bounded) = yes]
3615         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3616         * math/Makefile [$(build-bounded) = yes]
3617         ($(tests:%=$(objpfx)%-bp): Likewise.
3618         * misc/Makefile [$(build-bounded) = yes]
3619         ($(objpfx)tst-tsearch-bp): Likewise.
3620         * nptl/Makeconfig (bounded-thread-library): Remove variable.
3621         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3622         Remove dependency.
3623         * string/Makefile (o-objects.ob): Remove variable.
3624         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3625         (CFLAGS-.ob): Remove variable.
3626         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3627         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3628         both definitions of variable.
3629         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3630         (ASFLAGS-.ob): Remove variable.
3631
3632 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
3633
3634         [BZ #13550]
3635         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3636         Remove __BOUNDED_POINTERS__ from condition.
3637         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3638         * string/bits/string2.h [!__NO_STRING_INLINES &&
3639         !__BOUNDED_POINTERS__]: Likewise.
3640         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3641         Likewise.
3642         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3643         Remove conditional code.
3644         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3645         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3646         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3647         condition.
3648
3649         [BZ #13550]
3650         * csu/libc-start.c: Do not include <bp-sym.h>.
3651         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3652         * elf/dl-open.c: Do not include <bp-sym.h>.
3653         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3654         * math/fegetenv.c: Do not include <bp-sym.h>.
3655         (fegetenv): Do not use BP_SYM in versioned symbols.
3656         * nptl/sysdeps/pthread/bits/libc-lockP.h
3657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3658         <bp-sym.h>.
3659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3660         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3662         (__pthread_mutex_destroy): Likewise.
3663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3664         (__pthread_mutex_lock): Likewise.
3665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3666         (__pthread_mutex_trylock): Likewise.
3667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3668         (__pthread_mutex_unlock): Likewise.
3669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3670         (__pthread_mutexattr_init): Likewise.
3671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3672         (__pthread_mutexattr_destroy): Likewise.
3673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3674         (__pthread_mutexattr_settype): Likewise.
3675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3676         (__pthread_rwlock_init): Likewise.
3677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3678         (__pthread_rwlock_destroy): Likewise.
3679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3680         (__pthread_rwlock_rdlock): Likewise.
3681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3682         (__pthread_rwlock_tryrdlock): Likewise.
3683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3684         (__pthread_rwlock_wrlock): Likewise.
3685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3686         (__pthread_rwlock_trywrlock): Likewise.
3687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3688         (__pthread_rwlock_unlock): Likewise.
3689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3690         (__pthread_key_create): Likewise.
3691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3692         (__pthread_setspecific): Likewise.
3693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3694         (__pthread_getspecific): Likewise.
3695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3696         Likewise.
3697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3698         (_pthread_cleanup_push_defer): Likewise.
3699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3700         (_pthread_cleanup_pop_restore): Likewise.
3701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3702         (pthread_setcancelstate): Likewise.
3703         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3704         <bp-sym.h>.
3705         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3706         (memchr): Do not use BP_SYM in weak_alias.
3707         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3708         (fegetenv): Do not use BP_SYM in versioned symbols.
3709         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3710         (fesetenv): Do not use BP_SYM in versioned symbols.
3711         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3712         (feupdateenv): Do not use BP_SYM in versioned symbols.
3713         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3714         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3715         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3716         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3717         (open64): Do not use BP_SYM in weak_alias.
3718         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3719         (fegetenv): Do not use BP_SYM in versioned symbols.
3720         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3721         (fesetenv): Do not use BP_SYM in versioned symbols.
3722         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3723         (feupdateenv): Do not use BP_SYM in versioned symbols.
3724         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3725         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3726         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3727         (feraiseexcept): Do not use BP_SYM in versioned symbols.
3728         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3729         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3730         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3731         <bp-sym.h>.
3732         (__libc_start_main): Do not use BP_SYM.
3733
3734 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3735
3736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3737         redundant return line.
3738         (norm): Likewise.
3739         (denorm): Likewise.
3740         (dbl_mp): Likewise.
3741         (sub_magnitudes): Likewise.
3742         (__add): Likewise.
3743         (__sub): Likewise.
3744         (__mul): Likewise.
3745         (__inv): Likewise.
3746         (__dvd): Likewise.
3747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3748         (norm): Likewise.
3749         (denorm): Likewise.
3750         (dbl_mp): Likewise.
3751         (sub_magnitudes): Likewise.
3752         (__add): Likewise.
3753         (__sub): Likewise.
3754         (__mul): Likewise.
3755         (__inv): Likewise.
3756         (__dvd): Likewise.
3757
3758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3759         instead of __mul.
3760         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3761         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3762         (cc32): Likewise.
3763
3764         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3765         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3767         of __mul for squares.
3768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3769         function
3770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3771         Likewise.
3772         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3773         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3774
3775 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
3776
3777         [BZ #13550]
3778         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3779         code.
3780         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3781         prototype or function definition.  Rename ubp_* variables and
3782         parameters.  Remove argv definitions conditional on
3783         [__BOUNDED_POINTERS__].
3784         * debug/backtrace.c (__backtrace): Do not use __unbounded.
3785         * elf/dl-runtime.c (_dl_fixup): Likewise.
3786         * include/set-hooks.h (RUN_HOOK): Likewise.
3787         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3788         definition.
3789         * string/strcpy.c (strcpy): Do not use __unbounded.
3790         * sysdeps/generic/frame.h (struct layout): Likewise.
3791         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3792         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3793         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3794         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3795         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3796         (__backtrace): Likewise.
3797         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3798         use __ptrvalue.
3799         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3800         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3801         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3804         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3805         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3806         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3807         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3808         Do not use __unbounded.
3809         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3810         Rename __unboundedrlimits parameter to rlimits in prototype.
3811         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3812         Do not use __unbounded.
3813         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3814         not use __ptrvalue.
3815         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3816         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3817         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3818         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3819         __ptrvalue or __unbounded.
3820         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3821         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3822         use __unbounded.
3823         (__new_msgctl): Do not use __ptrvalue.
3824         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3825         __unbounded.
3826         (__libc_msgrcv): Do not use __ptrvalue.
3827         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3828         startup_info): Do not use __unbounded.
3829         (__libc_start_main): Likewise.  Rename ubp_* variables and
3830         parameters.  Remove argv definitions conditional on
3831         [__BOUNDED_POINTERS__].
3832         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3833         __ptrvalue.
3834         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3835         use __unbounded.
3836         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3837         or __ptrvalue.
3838         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3839         use __unbounded.
3840         (__new_shmctl): Do not use __ptrvalue.
3841         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3842         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3843         Likewise.
3844         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3845         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3846         (__libc_sigaction): Likewise.
3847         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3848         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3849         Likewise.
3850         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3851
3852 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3853
3854         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3855
3856         * string/mempcpy.c: Implement by calling memcpy.
3857
3858 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3859
3860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3861
3862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3863         evaluation.
3864
3865         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3866         values in the mantissa.
3867
3868         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3869         minimize writes to Z.
3870         (sub_magnitudes): Simplify code a bit.
3871
3872 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3873
3874         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3875         from the message.  The linker prefixes all warnings with that already.
3876
3877 2013-02-12  Andreas Schwab  <schwab@suse.de>
3878
3879         [BZ #15078]
3880         * posix/regexec.c (extend_buffers): Add parameter min_len.
3881         (check_matching): Pass minimum needed length.
3882         (clean_state_log_if_needed): Likewise.
3883         (get_subexp): Likewise.
3884         * posix/Makefile (tests): Add bug-regex34.
3885         (bug-regex34-ENV): Define.
3886         * posix/bug-regex34.c: New file.
3887
3888         [BZ #11561]
3889         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3890         elements compare against the byte sequence of it, not its name.
3891         * posix/Makefile (tests): Add bug-regex35.
3892         (bug-regex35-ENV): Define.
3893         * posix/bug-regex35.c: New file.
3894
3895 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3896
3897         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3898         comment.
3899         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3900         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3901         (CHECK_EOL): Add undef.
3902
3903 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3904
3905         * bits/stdlib-bsearch.h: New file.
3906         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3907         * stdlib/stdlib.h: Likewise.
3908
3909 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3910
3911         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3912         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3913         declaration.
3914         * manual/search.texi (Array Search Function): Add missing const in
3915         lfind prototype.
3916         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3917         declaration to use rlim_t.
3918         (Basic Scheduling Functions): Remove erroneous const from
3919         sched_getparam prototype.  Remove erroneous * from
3920         sched_get_priority_max and sched_get_priority_min prototypes.
3921         (Resource Usage): Fix summary @comment on vtimes to refer to
3922         sys/vtimes.h rather than vtimes.h.
3923         Add missing *s in vtimes prototype.
3924         (Limits on Resources): Fix ulimit prototype to return long int.
3925         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3926         prototypes to use long int rather than double.
3927         (BSD Random): Fix initstate and setstate to use char *, not void *.
3928         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3929         prototype to make second argument 'struct aiocb64 *const[]'.
3930         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3931         (Status of AIO Operations): Remove erroneous const in aio_return and
3932         aio_return64 prototypes.
3933         (Synchronizing I/O): Fix sync prototype to return void.
3934         * manual/startup.texi (Suboptions): Remove an erroneous const in
3935         getsubopt prototype.
3936         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3937         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3938         use size_t rather than int.
3939         (Scanning All Users): Likewise for getpwent_r.
3940         (Setting Groups): Add missing const to setgroups prototype.
3941         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3942         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3943         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3944         'const void *' rather than 'const char *'.
3945         (Host Address Functions): Likewise for inet_ntop.
3946         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3947         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3948         ssize_t for return value.
3949         (Sending Data): Likewise for send, sendto, sendmsg.
3950         (Socket Option Functions): Add a missing const in setsockopt prototype.
3951         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3952         use wchar_t for the argument.
3953         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3954         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3955         take no arguments.
3956         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3957         double/float/long double for second argument.
3958         Fix return types of significand, significandf, significandl.
3959         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3960         argument in fchmod prototype.
3961         (File Owner): Use uid_t and gid_t in fchown prototype.
3962         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3963         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3964         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3965         use 'const struct dirent **' as argument types to CMP function pointer
3966         argument.
3967         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3968         (File Times): Fix summary magic @comment for struct utimbuf and utime
3969         to refer to utime.h, not time.h.
3970         * manual/string.texi (Argz Functions): Add missing const in
3971         argz_extract and argz_next prototypes.
3972         (Finding Tokens in a String): Likewise for basename.
3973         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3974         (Copying and Concatenation): Fix typo in wmemmove prototype.
3975         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3976         (Signal Stack): Remove erroneous const in sigstack prototype.
3977         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3978         prototype.
3979         (Simple Calendar Time): Likewise for stime.
3980         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3981         prototype.
3982         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3983         say sys/sysctl.h instead.
3984         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3985         and vsyslog prototypes.
3986
3987 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3988
3989         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3990         Remove.
3991
3992 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3993
3994         * misc/sys/mman.h: Fix typo in mremap comment.
3995
3996 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3997
3998         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3999         the '\0' terminator.
4000
4001 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
4002
4003         [BZ #13550]
4004         * debug/segfault.c: Don't include <bp-checks.h>.
4005         * sysdeps/generic/bp-checks.h: Remove file.
4006         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4007         (__GETDENTS): Don't use CHECK_N.
4008         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4009         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4010         (__getgroups): Don't use CHECK_N.
4011         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4012         (setgroups): Don't use CHECK_N.
4013         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4014         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4015         (__libc_msgrcv): Don't use CHECK_N.
4016         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4017         (__libc_msgsnd): Don't use CHECK_N.
4018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4019         <bp-checks.h>.
4020         (__libc_pread): Don't use CHECK_N.
4021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4022         include <bp-checks.h>.
4023         (__libc_pread64): Don't use CHECK_N.
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4025         include <bp-checks.h>.
4026         (__libc_pwrite): Don't use CHECK_N.
4027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4028         include <bp-checks.h>.
4029         (__libc_pwrite64): Don't use CHECK_N.
4030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4031         <bp-checks.h>.
4032         (__libc_pread): Don't use CHECK_N.
4033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4034         include <bp-checks.h>.
4035         (__libc_pread64): Don't use CHECK_N.
4036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4037         include <bp-checks.h>.
4038         (__libc_pwrite): Don't use CHECK_N.
4039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4040         include <bp-checks.h>.
4041         (__libc_pwrite64): Don't use CHECK_N.
4042         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4043         (do_pread): Don't use CHECK_N.
4044         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4045         (do_pread64): Don't use CHECK_N.
4046         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4047         (do_pwrite): Don't use CHECK_N.
4048         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4049         (do_pwrite64): Don't use CHECK_N.
4050         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4051         (__libc_readv): Don't use CHECK_N.
4052         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4053         (semop): Don't use CHECK_N.
4054         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4055         <bp-checks.h>.
4056         (semtimedop): Don't use CHECK_N.
4057         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4058         (__libc_pread): Don't use CHECK_N.
4059         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4060         <bp-checks.h>.
4061         (__libc_pread64): Don't use CHECK_N.
4062         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4063         <bp-checks.h>.
4064         (__libc_pwrite): Don't use CHECK_N.
4065         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4066         <bp-checks.h>.
4067         (__libc_pwrite64): Don't use CHECK_N.
4068         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4069         <bp-checks.h>.
4070         (__libc_msgrcv): Don't use CHECK_N.
4071         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4072         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
4073         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4074         (__libc_writev): Don't use CHECK_N.
4075
4076 2013-02-08  Roland McGrath  <roland@hack.frob.com>
4077
4078         * string/strcpy.c: Removed unused variable.
4079
4080         * Makeconfig (+sysdep-includes): Define with := rather than =.
4081         Use an existing include/ subdir of each sysdeps dir before it.
4082
4083 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4084
4085         * nscd/connection.c (register_traced_file): Comment function.
4086         [HAVE_INOTIFY] (union __inev): Define.
4087         [HAVE_INOTIFY] (inotify_check_files): New function.
4088         [HAVE_INOTIFY] (clear_db_cache): Likewise.
4089         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4090         clear_db_cache.
4091         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4092
4093 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4094
4095         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4096         loaded if not already and that a failure is permanent.
4097
4098 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4099
4100         [BZ #15006]
4101         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4102         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4103
4104 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
4105
4106         [BZ #13550]
4107         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4108         (CHECK_1_NULL_OK): Likewise.
4109         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4110         (__fxstat): Do not use CHECK_1.
4111         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4112         <bp-checks.h>.
4113         (___fxstat64): Do not use CHECK_1.
4114         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4115         <bp-checks.h>.
4116         (__fxstatat): Do not use CHECK_1.
4117         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4118         <bp-checks.h>.
4119         (__fxstatat64): Do not use CHECK_1.
4120         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4121         <bp-checks.h>.
4122         (__fxstat): Do not use CHECK_1.
4123         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4124         <bp-checks.h>.
4125         (__fxstatat): Do not use CHECK_1.
4126         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4127         <bp-checks.h>.
4128         (__getresgid): Do not use CHECK_1.
4129         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4130         <bp-checks.h>.
4131         (__getresuid): Do not use CHECK_1.
4132         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4133         <bp-checks.h>.
4134         (__lxstat): Do not use CHECK_1.
4135         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4136         <bp-checks.h>.
4137         (__old_msgctl): Do not use CHECK_1.
4138         (__new_msgctl): Likewise.
4139         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4140         <bp-checks.h>.
4141         (__new_setrlimit): Do not use CHECK_1.
4142         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4143         <bp-checks.h>.
4144         (__old_shmctl): Do not use CHECK_1.
4145         (__new_shmctl): Likewise.
4146         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4147         <bp-checks.h>.
4148         (__xstat): Do not use CHECK_1.
4149         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4150         (__lxstat): Do not use CHECK_1.
4151         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4152         <bp-checks.h>.
4153         (___lxstat64): Do not use CHECK_1.
4154         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4155         (__old_msgctl): Do not use CHECK_1.
4156         (__new_msgctl): Likewise.
4157         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4158         <bp-checks.h>.
4159         (__gettimeofday): Do not use CHECK_1.
4160         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4161         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4162         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4163         <bp-checks.h>.
4164         (__gettimeofday): Do not use CHECK_1.
4165         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4166         (__old_shmctl): Do not use CHECK_1_NULL_OK.
4167         (__new_shmctl): Do not use CHECK_1.
4168         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4169         <bp-checks.h>.
4170         (do_sigtimedwait): Do not use CHECK_1.
4171         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4172         <bp-checks.h>.
4173         (do_sigwaitinfo): Do not use CHECK_1.
4174         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4175         <bp-checks.h>.
4176         (msgctl): Do not use CHECK_1.
4177         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4178         <bp-checks.h>.
4179         (shmctl): Do not use CHECK_1.
4180         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4181         (ustat): Do not use CHECK_1.
4182         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4183         <bp-checks.h>.
4184         (__fxstat): Do not use CHECK_1.
4185         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4186         <bp-checks.h>.
4187         (__fxstatat): Do not use CHECK_1.
4188         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4189         <bp-checks.h>.
4190         (__lxstat): Do not use CHECK_1.
4191         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4192         <bp-checks.h>.
4193         (__xstat): Do not use CHECK_1.
4194         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4195         (__xstat): Do not use CHECK_1.
4196         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4197         (___xstat64): Do not use CHECK_1.
4198
4199         [BZ #13550]
4200         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4201         definitions.
4202         (CHECK_BOUNDS_HIGH): Likewise.
4203         * string/strcpy.c: Do not include <bp-checks.h>.
4204         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4205
4206 2013-02-07  Roland McGrath  <roland@hack.frob.com>
4207
4208         * nscd/nscd-client.h (__nscd_drop_map_ref):
4209         Add __attribute__ ((unused)).
4210         * nis/nss-nisplus.h (niserr2nss): Likewise.
4211
4212         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4213         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4214
4215         * csu/libc-tls.c (init_static_tls, init_slotinfo):
4216         Remove inline keyword.
4217         * include/rounding-mode.h (round_away): Likewise.
4218         * libio/wfileops.c (adjust_wide_data): Likewise.
4219         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4220         (__m128i_strloadu_tolower): Likewise.
4221         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4222         (__m128i_strloadu_tolower): Likewise.
4223         * time/mktime.c (ydhms_diff): Likewise.
4224         * locale/elem-hash.h (elem_hash): Likewise.
4225         * locale/setlocale.c (setdata): Likewise.
4226         * posix/regex_internal.h (re_string_char_size_at): Likewise.
4227         (re_string_wchar_at): Likewise.
4228         (bitset_not, bitset_merge, bitset_mask): Likewise.
4229         [!(__GNUC__ > 3)] (inline): Remove macro.
4230         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4231         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4232         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4233         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4234         * string/memcmp.c (memcmp_bytes): Likewise.
4235         * locale/programs/locarchive.c (compute_hashval): Likewise.
4236         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4237         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4238         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4239         * nss/getent.c (print_rpc, print_protocols): Likewise.
4240         (print_passwd, print_group, print_aliases): Likewise.
4241         * nis/nss-nisplus.h (niserr2nss): Likewise.
4242         * nscd/connections.c (restart_p): Likewise.
4243         Change return type to bool.
4244
4245 2013-02-05  Roland McGrath  <roland@hack.frob.com>
4246
4247         * Makeconfig (all-Depend-files): Add existing
4248         $(sorted-subdirs:=/Depend) files.
4249         (all-subdirs): Remove nss.
4250         * sysdeps/unix/inet/Subdirs: Add it here instead.
4251         * hesiod/Depend: New file.
4252
4253         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4254         instead of calling alloca.
4255
4256         * io/lseek.c (__lseek): Rename to __libc_lseek.
4257         Define __lseek as an alias.
4258
4259         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4260
4261 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
4262
4263         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4264         else clause and remove check for non-standard endianness.
4265
4266 2013-02-04  David S. Miller  <davem@davemloft.net>
4267
4268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4269
4270 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
4271
4272         [BZ #13550]
4273         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4274         (__ubp_memchr): Remove prototype.
4275         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4276         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4277         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4278         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4279         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4280         Remove alias.
4281         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4282         (__ubp_memchr): Likewise.
4283         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4284         (__ubp_memchr): Likewise.
4285         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4286         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4287         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4288         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4289         CHECK_STRING.
4290         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4291         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4292         (__getcwd): Do not use CHECK_STRING.
4293         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4294         <bp-checks.h>.
4295         (__real_chown): Do not use CHECK_STRING.
4296         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4297         <bp-checks.h>.
4298         (fchownat): Do not use CHECK_STRING.
4299         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4300         CHECK_STRING.
4301         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4302         <bp-checks.h>.
4303         (__lchown): Do not use CHECK_STRING.
4304         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4305         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4306         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4307         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4309         include <bp-checks.h>.
4310         (truncate64): Do not use CHECK_STRING.
4311         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4312         <bp-checks.h>.
4313         (__real_chown): Do not use CHECK_STRING.
4314         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4315         <bp-checks.h>.
4316         (__lchown): Do not use CHECK_STRING.
4317         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4318         <bp-checks.h>.
4319         (__chown): Do not use CHECK_STRING.
4320         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4321         <bp-checks.h>.
4322         (truncate64): Do not use CHECK_STRING.
4323         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4324         Likewise.
4325         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4326         (__xmknod): Do not use CHECK_STRING.
4327         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4328         <bp-checks.h>.
4329         (__xmknodat): Do not use CHECK_STRING.
4330         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4331         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4332
4333 2013-02-04  Andreas Schwab  <schwab@suse.de>
4334
4335         [BZ #14142]
4336         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4337         * include/netdb.h: Likewise for h_errno.
4338         * elf/tst-stackguard1.c: Include <tls.h>.
4339
4340 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4341
4342         * elf/link.h (struct link_map): Extend the l_addr comment.
4343         * include/link.h (struct link_map): Likewise.
4344
4345 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
4346
4347         [BZ #13550]
4348         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4349         (BOUNDED_1): Remove macro.
4350         * debug/backtrace.c: Don't include <bp-checks.h>.
4351         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4352         (__backtrace): Likewise.
4353         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4354         <bp-checks.h>.
4355         (__backtrace): Don't use BOUNDED_1.
4356         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4357         <bp-checks.h>.
4358         (__backtrace): Don't use BOUNDED_1.
4359         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4360         (__backtrace): Don't use BOUNDED_1.
4361         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4362         (shmat): Don't use BOUNDED_N.
4363
4364 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
4365
4366         [BZ #13550]
4367         * sysdeps/generic/bp-start.h: Remove file.
4368         * csu/libc-start.c: Don't include <bp-start.h>.
4369         (LIBC_START_MAIN): Set up __environ directly instead of using
4370         INIT_ARGV_and_ENVIRON.
4371         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4372         <bp-start.h>.
4373
4374         [BZ #13550]
4375         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4376         definitions.
4377         (CHECK_FCNTL): Likewise.
4378         (CHECK_N_PAGES): Likewise.
4379
4380         [BZ #13550]
4381         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4382         definitions.
4383         (CHECK_SIGSET_NULL_OK): Likewise.
4384         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4385         <bp-checks.h>.
4386         (sigpending): Don't use CHECK_SIGSET.
4387         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4388         <bp-checks.h>.
4389         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4390         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4391         <bp-checks.h>.
4392         (do_sigsuspend): Don't use CHECK_SIGSET.
4393         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4394         use CHECK_SIGSET.
4395         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4396         (do_sigwait): Don't use CHECK_SIGSET.
4397         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4398         use CHECK_SIGSET.
4399         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4400         include <bp-checks.h>.
4401         (sigpending): Don't use CHECK_SIGSET.
4402         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4403         include <bp-checks.h>.
4404         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4405         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4406         <bp-checks.h>.
4407         (sigpending): Don't use CHECK_SIGSET.
4408         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4409         <bp-checks.h>.
4410         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4411
4412         [BZ #13550]
4413         * sysdeps/generic/bp-semctl.h: Remove file.
4414         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4415         <bp-checks.h> and <bp-semctl.h>.
4416         (__old_semctl): Don't use CHECK_SEMCTL.
4417         (__new_semctl): Likewise.
4418         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4419         and <bp-semctl.h>.
4420         (__old_semctl): Don't use CHECK_SEMCTL.
4421         (__new_semctl): Likewise.
4422         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4423         <bp-checks.h> and <bp-semctl.h>.
4424         (__old_semctl): Don't use CHECK_SEMCTL.
4425         (__new_semctl): Likewise.
4426         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4427         <bp-checks.h> and <bp-semctl.h>.
4428         (semctl): Don't use CHECK_SEMCTL.
4429
4430         [BZ #13550]
4431         * Makerules (elide-bp-thunks): Remove variable.
4432         (elide-routines.oS): Don't use $(elide-bp-thunks).
4433         (elide-routines.os): Likewise.
4434         (elide-routines.o): Likewise.
4435         (elide-routines.op): Likewise.
4436         (elide-routines.og): Likewise.
4437         (objects): Don't use $(bp-thunks).
4438         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4439         include.
4440         (common-generated): Do not add s-proto-bp.d.
4441         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4442         (int): Likewise.
4443         (typ): Likewise.
4444         Do not generate makefile rules for bounded-pointer thunks.
4445         * sysdeps/generic/bp-thunks.h: Remove file.
4446         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4447         * sysdeps/unix/s-proto-bp.S: Likewise.
4448
4449         [BZ #15062]
4450         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4451         parts of result separately when argument is not close to line from
4452         -i to i and one part of argument is small.
4453         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4454         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4455         * math/libm-test.inc (cacos_test): Add more tests.
4456         (casin_test): Likewise.
4457         (casinh_test): Likewise.
4458         * sysdeps/i386/fpu/libm-test-ulps: Update.
4459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4460
4461 2013-01-31  David S. Miller  <davem@davemloft.net>
4462
4463         * po/de.po: Update from translation team.
4464
4465 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
4466
4467         * time/tzfile.c: Include stdint.h for SIZE_MAX.
4468
4469 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
4470
4471         * configure.in (_AC_PROG_CC_C89): New definition.
4472         * configure: Regenerate.
4473
4474         * configure.in (AC_PROG_CPP): New definition.
4475         * configure: Regenerate.
4476
4477 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
4478
4479         * debug/tst-backtrace.h: New file.
4480         * debug/tst-backtrace2.c: Include tst-backtrace.h.
4481         (ret): Remove variable.
4482         (x): Likewise.
4483         (FAIL): Remove macro.
4484         (NO_INLINE): Likewise.
4485         (fn1): Use match function instead of strstr.
4486         * debug/tst-backtrace3.c: Include tst-backtrace.h.
4487         (ret): Remove variable.
4488         (x): Likewise.
4489         (FAIL): Remove macro.
4490         (NO_INLINE): Likewise.
4491         (fn): Use match function instead of strstr.
4492         * debug/tst-backtrace4.c: Include tst-backtrace.h.
4493         (ret): Remove variable.
4494         (x): Likewise.
4495         (FAIL): Remove macro.
4496         (NO_INLINE): Likewise.
4497         (handle_signal): Use match function instead of strstr.
4498         * debug/tst-backtrace5.c: Include tst-backtrace.h.
4499         (ret): Remove variable.
4500         (x): Likewise.
4501         (FAIL): Remove macro.
4502         (NO_INLINE): Likewise.
4503         (handle_signal): Use match function instead of strstr.
4504
4505 2013-01-23  Roland McGrath  <roland@hack.frob.com>
4506
4507         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4508
4509 2013-01-23  David S. Miller  <davem@davemloft.net>
4510
4511         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4512         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4513         argument of CAS if possible.
4514         * sysdeps/sparc/sparc64/bits/atomic.h
4515         (__arch_compare_and_exchange_val_32_acq): Likewise.
4516         (__arch_compare_and_exchange_val_64_acq): Likewise.
4517
4518 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
4519
4520         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4521         * sysdeps/posix/ulimit.c: ... this.
4522         Include <limits.h>.
4523         * sysdeps/unix/bsd/ulimit.c: Remove file.
4524
4525 2013-01-23  Adam Conrad  <adconrad@0c3.net>
4526
4527         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4528         (LDFLAGS-tst-array5): Likewise.
4529
4530 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
4531
4532         [BZ #15036]
4533         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4534         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4535         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4536         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4537
4538 2013-01-21  David S. Miller  <davem@davemloft.net>
4539
4540         * sysdeps/sparc/backtrace.c: New file.
4541         * sysdeps/sparc/sparc32/backtrace.h: New file.
4542         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4543         * sysdeps/sparc/sparc64/backtrace.h: New file.
4544         * sysdeps/sparc/sparc64/backtrace.c: Delete.
4545         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4546         -funwind-tables.
4547
4548 2013-01-21  Andreas Schwab  <schwab@suse.de>
4549
4550         [BZ #15020]
4551         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4552         closed its stdout.
4553
4554 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
4555
4556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4557         "mpa2.h".
4558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4559
4560 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
4561             Mark Mitchell  <mark@codesourcery.com>
4562             Tom de Vries  <tom@codesourcery.com>
4563             Paul Pluzhnikov  <ppluzhnikov@google.com>
4564
4565         * debug/tst-backtrace2.c: New file.
4566         * debug/tst-backtrace3.c: Likewise.
4567         * debug/tst-backtrace4.c: Likewise.
4568         * debug/tst-backtrace5.c: Likewise.
4569         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4570         (CFLAGS-tst-backtrace3.c): Likewise.
4571         (CFLAGS-tst-backtrace4.c): Likewise.
4572         (CFLAGS-tst-backtrace5.c): Likewise.
4573         (LDFLAGS-tst-backtrace2): Likewise.
4574         (LDFLAGS-tst-backtrace3): Likewise.
4575         (LDFLAGS-tst-backtrace4): Likewise.
4576         (LDFLAGS-tst-backtrace5): Likewise.
4577         (tests): Add new tests tst-backtrace2, tst-backtrace3,
4578         tst-backtrace4 and tst-backtrace5.
4579
4580 2013-01-18  Anton Blanchard  <anton@samba.org>
4581             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4582
4583         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4584         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4585         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4586         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4588         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4589         "+r" and remove output regs list as redundant.  Add explicit inline
4590         asm to specify register of return val to work around compiler codegen
4591         bug.  Remove (int) cast on return value.  Add return type parameter to
4592         use in macro so that this macro does not truncate return value for
4593         64-bit values.
4594         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4595         pass to INTERNAL_VSYSCALL_NCS.
4596         (INLINE_VSYSCALL): Add 'long int' as return type to
4597         INTERNAL_VSYSCALL_NCS macro invocation.
4598         (INTERNAL_VSYSCALL): Add 'long int' as return type to
4599         INTERNAL_VSYSCALL_NCS macro invocation.
4600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4601
4602 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4603
4604         [BZ #14496]
4605         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4606         Fix application of SIMD FP exception mask.
4607
4608         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4609         mp_no from a power of two.
4610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4611         __mpexp_twomm1.  Use __pow_mp.
4612
4613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4614         multiplication.
4615
4616 2013-01-17  David S. Miller  <davem@davemloft.net>
4617
4618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4619
4620 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
4621
4622         [BZ #15023]
4623         * include/complex.h: Condition contents on [!_COMPLEX_H].
4624         (__kernel_casinhf): New prototype.
4625         (__kernel_casinh): Likewise.
4626         (__kernel_casinhl): Likewise.
4627         * math/Makefile (libm_calls): Add k_casinh.
4628         * math/k_casinh.c: New file.
4629         * math/k_casinhf.c: Likewise.
4630         * math/k_casinhl.c: Likewise.
4631         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4632         finite nonzero arguments.
4633         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4634         finite nonzero arguments.
4635         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4636         finite nonzero arguments.
4637         * math/s_casinh.c: Do not include <float.h>.
4638         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4639         * math/s_casinhf.c: Do not include <float.h>.
4640         (__casinhf): Move code for finite nonzero arguments to
4641         k_casinhf.c.
4642         * math/s_casinhl.c: Do not include <float.h>.
4643         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4644         redefine.
4645         (__casinhl): Move code for finite nonzero arguments to
4646         k_casinhl.c.
4647         * math/libm-test.inc (cacos_test): Add more tests.
4648         * sysdeps/i386/fpu/libm-test-ulps: Update.
4649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4650
4651 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
4652
4653         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4654         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4655         [!HAVE_MREMAP]: Remove [defined linux] case.
4656         * malloc/arena.c: Do not include <malloc-sysdep.h>.
4657
4658 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4659
4660         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4661
4662 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
4663
4664         * elf/elf.h (R_386_SIZE32): New relocation.
4665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4666         R_386_SIZE32.
4667         (elf_machine_rela): Likewise.
4668         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4669         R_X86_64_SIZE64 and R_X86_64_SIZE32.
4670
4671 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
4672
4673         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4674         (FP_FAST_FMA): Do not define.
4675         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4676         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4677         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4678         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4679         !_SOFT_FLOAT]: Likewise.
4680         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4681         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4682         value.
4683         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4684         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4685         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4686         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4687         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4688         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4689         file.
4690
4691 2013-01-16  Andreas Schwab  <schwab@suse.de>
4692
4693         [BZ #14327]
4694         * include/stdlib.h (__mktemp): Add declaration.
4695         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4696         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4697
4698 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4699
4700         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4701         definitions.
4702         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4703         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4704         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4705         definitions here.
4706         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4707         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4708         definitions.
4709         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4710         and ONE.
4711         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4712         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4713         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4714         definitions.
4715         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4716         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4717         definitions.
4718         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4719
4720         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4721
4722 2013-01-15  David S. Miller  <davem@davemloft.net>
4723
4724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4725         trunc{,f} to libm-sysdep_routes.
4726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4728         file.
4729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4731         file.
4732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4733         file.
4734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4736         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4737         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4738         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4739         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4740         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4741         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4742
4743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4744         nearbyint{,f} to libm-sysdep_routes.
4745         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4747         New file.
4748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4749         file.
4750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4751         New file.
4752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4753         file.
4754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4756         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4757         file.
4758         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4759         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4760         file.
4761         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4762         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4763         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4764
4765         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4766         libc_feholdexcept and libc_fesetenv.
4767
4768 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
4769
4770         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4771
4772 2013-01-14  David S. Miller  <davem@davemloft.net>
4773
4774         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4775         (SPARC_ASM_VIS2_IFUNC): Likewise.
4776         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4778         use of 'siam' instruction.
4779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4780         Likewise.
4781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4782         Likewise.
4783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4784         Likewise.
4785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4790         file.
4791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4792         file.
4793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4794         file.
4795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4796         file.
4797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4802         new VIS2 routines.
4803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4806         Likewise.
4807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4812         routines to libm-sysdep_routines.
4813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4814
4815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4816         fdim/fdimf to libm-sysdep_routines.
4817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4818         file.
4819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4821         file.
4822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4825         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4826         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4827         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4828         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4829
4830 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4831
4832         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4833         to optimize copies.
4834
4835         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4838
4839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4840         local variable MPTWO.
4841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4842         Likewise.
4843
4844 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4845
4846         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4847         GLOB_NOESCAPE.
4848
4849 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4850
4851         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4852
4853 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4854
4855         * manual/pattern.texi (glob_t): Document gl_flags.
4856         (glob64_t): Likewise.
4857
4858 2013-01-11  David S. Miller  <davem@davemloft.net>
4859
4860         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4861         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4862         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4863         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4864         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4865         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4866         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4867         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4868         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4869         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4870         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4871         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4872         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4873
4874         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4875         sparc V9 rather than using V8 code.
4876         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4877         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4878
4879         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4880         Move to...
4881         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4882         Here.
4883
4884 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4885
4886         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4887         not in the main loop.
4888         * configure: Regenerated.
4889
4890 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4891
4892         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4893         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4894         to just #else.
4895         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4896         [!__GLIBC_HAVE_LONG_LONG] case.
4897         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4898         condition to just #else.
4899         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4900         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4901         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4902         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4903         unconditional.
4904         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4905         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4906         #elif condition to just #else.
4907         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4908         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4909         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4910         #elif condition to just #else.
4911
4912 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4913
4914         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4915         (EF_MIPS_ARCH_64): Fix value.
4916         (EF_MIPS_ARCH_32R2): New.
4917         (EF_MIPS_ARCH_64R2): New.
4918
4919 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4920
4921         * Makeconfig (+link-pie-before-libc): New.
4922         (+link-pie-after-libc): Likewise.
4923         (+link-pie-tests): Likewise.
4924         (+link-pie): Rewritten.
4925         (link-before-libc): Remove $(config-LDFLAGS).
4926         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4927         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4928         (config-LDFLAGS): Renamed to ...
4929         (rtld-LDFLAGS): This.
4930         (rtld-tests-LDFLAGS): New macro.
4931         (link-libc-rpath-link): Likewise.
4932         (link-libc-tests-rpath-link): Likewise.
4933         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4934         (link-libc): Prepand $(link-libc-rpath-link).
4935         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4936         (test-program-prefix): New macro.
4937         (test-via-rtld-prefix): Likewise.
4938         (test-program-cmd): Likewise.
4939         (host-test-program-cmd): Likewise.
4940         * Makefile ($(common-objpfx)testrun.sh): Replace
4941         $(run-program-prefix) with $(test-program-prefix).
4942         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4943         $(rtld-LDFLAGS).
4944         ($(common-objpfx)shlib.lds): Likewise.
4945         (build-module-helper): Likewise.
4946         ($(common-objpfx)format.lds): Likewise.
4947         * Rules (binaries-pie-tests): New.
4948         (binaries-pie-notests): Likewise.
4949         (binaries-pie): Rewritten.
4950         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4951         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4952         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4953         (make-test-out): Replace $(host-built-program-cmd) with
4954         $(host-test-program-cmd).
4955         * config.make.in (build-hardcoded-path-in-tests): New variable.
4956         * configure.in (--enable-hardcoded-path-in-tests): New configure
4957         option.
4958         (hardcoded_path_in_tests): New AC_SUBST.
4959         * configure: Regenerated.
4960         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4961         $(built-program-cmd) with $(test-program-cmd).
4962         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4963         (test_program_cmd): This.
4964         * elf/Makefile ($(objpfx)order.out): Run test with
4965         $(test-program-prefix).
4966         ($(objpfx)order2.out): Likewise.
4967         ($(objpfx)tst-initorder.out): Likewise.
4968         ($(objpfx)tst-initorder2.out): Likewise.
4969         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4970         $(test-program-cmd).
4971         ($(objpfx)tst-array1-static.out): Likewise.
4972         ($(objpfx)tst-array2.out): Likewise.
4973         ($(objpfx)tst-array3.out): Likewise.
4974         ($(objpfx)tst-array4.out): Likewise.
4975         ($(objpfx)tst-array5.out): Likewise.
4976         ($(objpfx)tst-array5-static.out): Likewise.
4977         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4978         $(test-program-cmd).
4979         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4980         $(run-program-prefix) with $(test-program-prefix).
4981         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4982         (test_program_prefix): This.
4983         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4984         $(run-program-prefix) with $(test-program-prefix).
4985         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4986         (test_program_prefix): This.
4987         * iconvdata/tst-tables.sh: Likewise.
4988         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4989         $(run-program-prefix) with $(test-program-prefix).
4990         ($(objpfx)tst-translit.out): Likewise.
4991         ($(objpfx)tst-gettext2.out): Likewise.
4992         ($(objpfx)tst-gettext4.out): Likewise.
4993         ($(objpfx)tst-gettext6.out): Likewise.
4994         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4995         (test_program_prefix): This.
4996         * intl/tst-gettext2.sh: Likewise.
4997         * intl/tst-gettext4.sh  Likewise.
4998         * intl/tst-gettext6.sh: Likewise.
4999         * intl/tst-translit.sh: Likewise.
5000         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5001         with $(test-program-cmd).
5002         * libio/Makefile ($(objpfx)test-freopen.out): Replace
5003         $(run-program-prefix) with $(test-program-prefix).
5004         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5005         (test_program_prefix): This.
5006         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5007         $(run-program-prefix) with $(test-program-prefix).
5008         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5009         (test_program_prefix): This.
5010         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5011         * posix/Makefile ($(objpfx)globtest.out): Replace
5012         $(run-via-rtld-prefix) and $(test-wrapper) with
5013         $(test-program-prefix) and $(test-via-rtld-prefix).
5014         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5015         $(test-program-prefix).
5016         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5017         $(host-test-program-cmd).
5018         (tst-spawn-ARGS): Likewise.
5019         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5020         $(test-program-prefix).
5021         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5022         (test_via_rtld_prefix): This.
5023         (test_wrapper): Renamed to ...
5024         (test_program_prefix): This.
5025         (run_program_prefix): Replaced by test_program_prefix.
5026         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5027         (test_program_prefix): This.
5028         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5029         with $(host-test-program-cmd).
5030         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5031         $(run-program-prefix) with $(test-program-prefix).
5032         ($(objpfx)tst-printf.out): Likewise.
5033         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5034         $(test-program-cmd).
5035         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5036         (test_program_prefix): This.
5037         * stdio-common/tst-unbputc.sh: Likewise.
5038         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5039         $(run-program-prefix) with $(test-program-prefix).
5040         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5041         (test_program_prefix): This.
5042         * string/Makefile ($(objpfx)tst-svc.out):  Replace
5043         $(built-program-cmd) with $(test-program-cmd).
5044
5045 2013-01-11  Andreas Jaeger  <aj@suse.de>
5046
5047         [BZ #15003]
5048         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5049         value. Sync with Linux 3.7.
5050
5051 2013-01-10  David S. Miller  <davem@davemloft.net>
5052
5053         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5054         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5055         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5056
5057 2013-01-10  Roland McGrath  <roland@hack.frob.com>
5058
5059         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5060         never set.
5061         * configure: Regenerated.
5062
5063 2013-01-10  David S. Miller  <davem@davemloft.net>
5064
5065         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5066         sparc V9 rather than using V8 code.
5067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5069
5070 2013-01-10  Roland McGrath  <roland@hack.frob.com>
5071
5072         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5073         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5074         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5075         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5076         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5077         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5078         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5079         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5080         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5081         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5082         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5083         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5084         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5085         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5086         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5087         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5088         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5089         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5090         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5091         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5092         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5093         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5094         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5095         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5096         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5097         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5098         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5099
5100 2013-01-10  David S. Miller  <davem@davemloft.net>
5101
5102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5103
5104 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
5105
5106         * posix/Makefile (tests-static): New variable.
5107         (tests): Add $(tests-static).
5108         (tst-exec-static-ARGS): New variable.
5109         (tst-spawn-static-ARGS): Likewise.
5110         * posix/tst-exec-static.c: New file.
5111         * posix/tst-spawn-static.c: Likewise.
5112         * posix/tst-exec.c: Support run directly.
5113         * posix/tst-spawn.c: Likewise.
5114
5115 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
5116
5117         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5118         long.
5119         * math/bits/mathcalls.h (llrint): Likewise.
5120         (llround): Likewise.
5121         * stdlib/stdlib.h (struct drand48_data): Likewise.
5122         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5123         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5124         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5125         Likewise.
5126         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5127         Likewise.
5128         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5129         (elf_greg_t): Likewise.
5130         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5131         (__jmp_buf): Likewise.
5132         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5133         definitions.
5134         (llrint): Likewise, for all definitions.
5135         (llrintl): Likewise.
5136
5137         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5138         Remove [__GNUC__] condition.
5139         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5140         condition to just [__USE_ISOC99].
5141         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5142
5143 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
5144
5145         [BZ #14200]
5146         * sysdeps/unix/sysv/linux/x86/bits/environments.h
5147         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5148         defined.
5149         (_POSIX_V6_ILP32_OFF32): Likewise.
5150         (_XBS5_ILP32_OFF32): Likewise.
5151         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5152         (__ILP32_OFFBIG_LDFLAGS): Likewise.
5153
5154 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5155
5156         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5157
5158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5159         doubles __mpexp_twomm1.  Adjust usage.
5160         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5161         Remove.
5162
5163 2013-01-10  Andreas Schwab  <schwab@suse.de>
5164
5165         [BZ #14964]
5166         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5167         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5168
5169 2013-01-09  David S. Miller  <davem@davemloft.net>
5170
5171         [BZ #15003]
5172         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5173         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5174         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5175         TCP_FASTOPEN): Define.
5176         (tcp_repair_opt): New structure.
5177         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5178         enum values.
5179         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5180         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5181         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5182         (tcp_cookie_transactions): New structure.
5183
5184 2013-01-09  Anton Blanchard  <anton@samba.org>
5185
5186         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5187         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5188         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5189         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5190
5191 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
5192
5193         * include/features.h (__USE_ANSI): Remove.
5194
5195 2013-01-09  Roland McGrath  <roland@hack.frob.com>
5196
5197         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5198
5199         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5200
5201 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5202
5203         * sysdeps/s390/fpu/libm-test-ulps: Update.
5204
5205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5206
5207         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5208         (__acr): Likewise.
5209         (__cpy): Likewise.
5210         (norm): Likewise.
5211         (denorm): Likewise.
5212         (__mp_dbl): Likewise.
5213         (__dbl_mp): Likewise.
5214         (add_magnitudes): Likewise.
5215         (sub_magnitudes): Likewise.
5216         (__add): Likewise.
5217         (__sub): Likewise.
5218         (__mul): Likewise.
5219         (__inv): Likewise.
5220         (__dvd): Likewise.
5221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5222         (__acr): Likewise.
5223         (__cpy): Likewise.
5224         (norm): Likewise.
5225         (denorm): Likewise.
5226         (__mp_dbl): Likewise.
5227         (__dbl_mp): Likewise.
5228         (add_magnitudes): Likewise.
5229         (sub_magnitudes): Likewise.
5230         (__add): Likewise.
5231         (__sub): Likewise.
5232         (__mul): Likewise.
5233         (__inv): Likewise.
5234         (__dvd): Likewise.
5235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5236         (__acr): Likewise.
5237         (__cpy): Likewise.
5238         (norm): Likewise.
5239         (denorm): Likewise.
5240         (__mp_dbl): Likewise.
5241         (__dbl_mp): Likewise.
5242         (add_magnitudes): Likewise.
5243         (sub_magnitudes): Likewise.
5244         (__add): Likewise.
5245         (__sub): Likewise.
5246         (__mul): Likewise.
5247         (__inv): Likewise.
5248         (__dvd): Likewise.
5249
5250 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
5251
5252         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5253         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5254         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5255         2 && __USE_EXTERN_INLINES]: Likewise.
5256
5257 2013-01-08  Andreas Jaeger  <aj@suse.de>
5258
5259         [BZ# 14985]
5260         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5261         Remove.
5262         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5263         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5264
5265 2013-01-07  Anton Blanchard  <anton@samba.org>
5266
5267         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5268         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5269         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5270         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5271         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5272         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5273         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5274         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5276         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5277         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5278         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5279         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5280         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5281         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5282         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5283         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5285         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5286         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5287         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5288         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5290         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5291         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5292         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5293         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5294         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5296         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5297         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5299         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5300         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5301         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5302         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5303         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5304         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5305         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5307         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5308         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5309         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5310
5311 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
5312
5313         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5314         (__MALLOC_PMT): Likewise.
5315         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5316         [__GNUC__], only on [_LIBC].
5317         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5318         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5319         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5320         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5321         forward declaration.
5322         (realloc_hook_ini): Likewise.
5323         (memalign_hook_ini): Likewise.
5324         (__libc_memalign): Do not use __MALLOC_PMT in variable
5325         declaration.
5326         (__libc_valloc): Likewise.
5327         (__libc_pvalloc): Likewise.
5328         (__libc_calloc): Likewise.
5329         (__posix_memalign): Likewise.
5330
5331         [BZ #14996]
5332         * math/s_casinh.c: Include <float.h>.
5333         (__casinh): Do not do computation with squaring and square root
5334         for large arguments.
5335         * math/s_casinhf.c: Include <float.h>.
5336         (__casinhf): Do not do computation with squaring and square root
5337         for large arguments.
5338         * math/s_casinhl.c: Include <float.h>.
5339         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5340         (__casinhl): Do not do computation with squaring and square root
5341         for large arguments.
5342         * math/libm-test.inc (casin_test): Add more tests.
5343         (casinh_test): Likewise.
5344         * sysdeps/i386/fpu/libm-test-ulps: Update.
5345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5346
5347 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
5348
5349         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5350         (__x86_64_raw_data_cache_size): Likewise.
5351         (__x86_64_data_cache_size_half): Likewise.
5352         (__x86_64_raw_data_cache_size_half): Likewise.
5353         (__x86_64_shared_cache_size): Likewise.
5354         (__x86_64_raw_shared_cache_size): Likewise.
5355         (__x86_64_shared_cache_size_half): Likewise.
5356         (__x86_64_raw_shared_cache_size_half): Likewise.
5357         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5358         to ...
5359         (__x86_data_cache_size): This.
5360         (__x86_64_raw_data_cache_size): Renamed to ...
5361         (__x86_raw_data_cache_size): This.
5362         (__x86_64_data_cache_size_half): Renamed to ...
5363         (__x86_data_cache_size_half): This.
5364         (__x86_64_raw_data_cache_size_half): Renamed to ...
5365         (__x86_raw_data_cache_size_half): This.
5366         (__x86_64_shared_cache_size): Renamed to ...
5367         (__x86_shared_cache_size): This.
5368         (__x86_64_raw_shared_cache_size): Renamed to ...
5369         (__x86_raw_shared_cache_size): This.
5370         (__x86_64_shared_cache_size_half): Renamed to ...
5371         (__x86_shared_cache_size_half): This.
5372         (__x86_64_raw_shared_cache_size_half): Renamed to ...
5373         (__x86_raw_shared_cache_size_half): This.
5374         * sysdeps/x86_64/memcpy.S: Updated.
5375         * sysdeps/x86_64/memset.S: Likewise.
5376         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5377         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5378         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5379
5380 2013-01-04  David S. Miller  <davem@davemloft.net>
5381
5382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5383
5384 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
5385
5386         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5387         1 to avoid redefinition warning.
5388         (__USE_GNU): Don't define.
5389         (init_signaling_nan): Protoize.
5390
5391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5392
5393 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5394
5395         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5397         (__cpymn): Likewise.
5398         (norm): Remove commented code.
5399         (denorm): Likewise.
5400         (__mp_dbl): Likewise.
5401         (__inv): Likewise.
5402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5403         (__cpymn): Likewise.
5404         (norm): Remove commented code.
5405         (denorm): Likewise.
5406         (__mp_dbl): Likewise.
5407         (__inv): Likewise.
5408
5409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5410         mp_no value for 1.0 and 2.0.
5411         (norm): Use RADIXI instead of radixi.d.
5412         (denorm): Likewise.
5413         (__mul): Use 0.0 instead of zero.d.
5414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5415         mp_no value for 1.0 and 2.0.
5416         (norm): Use RADIXI instead of radixi.d.
5417         (denorm): Likewise.
5418         (__mul): Use 0.0 instead of zero.d.
5419
5420 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
5421
5422         [BZ #14994]
5423         * math/s_casinh.c (__casinh): Reduce finite argument to first
5424         quadrant then set signs of results at the end.
5425         * math/s_casinhf.c (__casinhf): Likewise.
5426         * math/s_casinhl.c (__casinhl): Likewise.
5427         * math/libm-test.inc (casin_test): Add more tests.
5428         (casinh_test): Likewise.
5429         * sysdeps/i386/fpu/libm-test-ulps: Update.
5430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5431
5432 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5433
5434         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5435
5436         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5437
5438         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5439         declarations.
5440         (denorm): Likewise.
5441         (__mp_dbl): Likewise.
5442         (__inv): Likewise.
5443
5444         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5445         and adjust the header comment.
5446
5447         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5448         variable name from declaration.
5449
5450 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
5451
5452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5453         Initialize COMMON_CPUID_INDEX_7 element.
5454         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5455         (CPUID_RTM): Likewise.
5456         (HAS_RTM): Likewise.
5457         (COMMON_CPUID_INDEX_7): New enum.
5458
5459 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
5460
5461         [BZ #14981]
5462         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5463         size is zero, record memory as freed.
5464
5465 2013-01-03  Andreas Jaeger  <aj@suse.de>
5466
5467         * po/ia.po: Add new Interlingua translation.
5468
5469 2012-01-03  Allan McRae  <allan@archlinux.org>
5470
5471         * locale/programs/localedef.c: Fix description of '--posix' flag.
5472
5473 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
5474
5475         * NEWS: Update dates in second copyright notice.
5476         * README: Update copyright dates in example.
5477         * manual/libc.texinfo: Update copyright dates.
5478         * scripts/test-installation.pl: Update copyright date in --version
5479         output.
5480
5481         * hurd/ctty-input.c: Fix copyright notice formatting.
5482         * hurd/ctty-output.c: Likewise.
5483         * hurd/dtable.c: Likewise.
5484         * hurd/hurd-raise.c: Likewise.
5485         * hurd/hurdprio.c: Likewise.
5486         * hurd/msgportdemux.c: Likewise.
5487         * misc/sys/file.h: Likewise.
5488         * misc/sys/ioctl.h: Likewise.
5489         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5490         * sysdeps/mach/hurd/chdir.c: Likewise.
5491         * sysdeps/mach/hurd/fchdir.c: Likewise.
5492         * sysdeps/mach/hurd/rename.c: Likewise.
5493         * sysdeps/mach/hurd/rmdir.c: Likewise.
5494         * sysdeps/mach/hurd/seekdir.c: Likewise.
5495         * sysdeps/mach/hurd/setsid.c: Likewise.
5496         * sysdeps/posix/wait3.c: Likewise.
5497
5498         * All files with FSF copyright notices: Update copyright dates
5499         using scripts/update-copyrights.
5500         * intl/plural.c: Regenerated.
5501         * locale/programs/charmap-kw.h: Likewise.
5502         * locale/programs/locfile-kw.h: Likewise.
5503
5504 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5505
5506         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5507         four values.
5508
5509         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5510         calculation loop and add branch prediction.
5511
5512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5513         check access beyond bounds of m1np.
5514
5515         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5516         MPTWO.
5517         (__inv): Remove local variable MPTWO to use the global
5518         constant.
5519         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5520         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5521         variable MPTWO.
5522         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5523         MP3HALFS static const.
5524
5525 2013-01-01  David S. Miller  <davem@davemloft.net>
5526
5527         * po/ca.po: Update from translation team.
5528
5529 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
5530
5531         * scripts/update-copyrights: New file.
5532         * Makeconfig: Reformat copyright notice.
5533         * ctype/ctype.h: Likewise.
5534         * debug/swprintf_chk.c: Likewise.
5535         * elf/dl-cache.c: Likewise.
5536         * elf/dl-debug.c: Likewise.
5537         * elf/dl-object.c: Likewise.
5538         * grp/initgroups.c: Likewise.
5539         * hurd/Makefile: Likewise.
5540         * hurd/hurd/signal.h: Likewise.
5541         * hurd/hurdfault.c: Likewise.
5542         * hurd/hurdioctl.c: Likewise.
5543         * hurd/hurdlookup.c: Likewise.
5544         * hurd/intr-msg.c: Likewise.
5545         * iconv/gconv_open.c: Likewise.
5546         * libio/swprintf.c: Likewise.
5547         * locale/lc-ctype.c: Likewise.
5548         * locale/nl_langinfo.c: Likewise.
5549         * mach/Machrules: Likewise.
5550         * mach/Makefile: Likewise.
5551         * malloc/obstack.h: Likewise.
5552         * manual/Makefile: Likewise.
5553         * manual/tsort.awk: Likewise.
5554         * misc/bits/stab.def: Likewise.
5555         * nis/nis_print_group_entry.c: Likewise.
5556         * nis/nis_table.c: Likewise.
5557         * nis/nss_compat/compat-pwd.c: Likewise.
5558         * nis/nss_compat/compat-spwd.c: Likewise.
5559         * po/Makefile: Likewise.
5560         * posix/fnmatch.c: Likewise.
5561         * posix/regex.h: Likewise.
5562         * resolv/Makefile: Likewise.
5563         * resolv/nss_dns/dns-network.c: Likewise.
5564         * resolv/res_hconf.c: Likewise.
5565         * scripts/gen-sorted.awk: Likewise.
5566         * soft-fp/soft-fp.h: Likewise.
5567         * stdio-common/printf.h: Likewise.
5568         * stdlib/monetary.h: Likewise.
5569         * stdlib/random.c: Likewise.
5570         * stdlib/random_r.c: Likewise.
5571         * sysdeps/generic/Makefile: Likewise.
5572         * sysdeps/gnu/Makefile: Likewise.
5573         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5575         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5577         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5580         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5581         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5582         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5583         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5584         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5585         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5586         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5587         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5588         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5589         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5590         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5591         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5592         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5593         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5594         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5595         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5596         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5597         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5598         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5599         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5600         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5601         * sysdeps/mach/hurd/errnos.awk: Likewise.
5602         * sysdeps/mach/hurd/fork.c: Likewise.
5603         * sysdeps/mach/hurd/getcwd.c: Likewise.
5604         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5605         * sysdeps/mach/hurd/mmap.c: Likewise.
5606         * sysdeps/mach/hurd/utimes.c: Likewise.
5607         * sysdeps/mach/hurd/xmknod.c: Likewise.
5608         * sysdeps/posix/profil.c: Likewise.
5609         * sysdeps/posix/readdir_r.c: Likewise.
5610         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5611         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5612         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5613         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5615         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5616         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5617         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5619         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5620         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5621         * sysdeps/pthread/lio_listio.c: Likewise.
5622         * sysdeps/sparc/dl-procinfo.h: Likewise.
5623         * sysdeps/unix/i386/sysdep.S: Likewise.
5624         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5625         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5626         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5627         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5629         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5630         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5631         * sysdeps/unix/sysv/linux/speed.c: Likewise.
5632         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5633         * sysdeps/wordsize-32/divdi3.c: Likewise.
5634         * time/sys/time.h: Likewise.
5635         * wcsmbs/Makefile: Likewise.
5636
5637 2013-01-01  David S. Miller  <davem@davemloft.net>
5638
5639         * po/fr.po: Update from translation team.
5640
5641         * catgets/gencat.c: Update copyright year.
5642         * csu/version.c: Likewise.
5643         * debug/catchsegv.sh: Likewise.
5644         * debug/pcprofiledump.c: Likewise.
5645         * debug/xtrace.sh: Likewise.
5646         * elf/ldconfig.c: Likewise.
5647         * elf/ldd.bash.in: Likewise.
5648         * elf/pldd.c: Likewise.
5649         * elf/sotruss.ksh: Likewise.
5650         * elf/sprof.c: Likewise.
5651         * iconv/iconv_prog.c: Likewise.
5652         * iconv/iconvconfig.c: Likewise.
5653         * locale/programs/locale.c: Likewise.
5654         * locale/programs/localedef.c: Likewise.
5655         * login/programs/pt_chown.c: Likewise.
5656         * malloc/memusage.sh: Likewise.
5657         * malloc/memusagestat.c: Likewise.
5658         * malloc/mtrace.pl: Likewise.
5659         * nscd/nscd.c: Likewise.
5660         * nss/getent.c: Likewise.
5661         * nss/makedb.c: Likewise.
5662         * posix/getconf.c: Likewise.
5663
5664 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5665
5666         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5667         numbers.
5668
5669 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
5670
5671         * math/bits/mathcalls.h (modf): Use __nonnull.
5672
5673 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5674
5675         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5676         (split): Use macro CN instead of the bare value.
5677         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5678         could be used.
5679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5680         instead of the bare value.
5681         (power1): Likewise.
5682
5683 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5684
5685         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5686         __ATAN_TWOM.
5687         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5688
5689         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5690         their values.
5691         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5692         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5693         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5694         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5695
5696 2012-12-28  Andreas Jaeger  <aj@suse.de>
5697
5698         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
5699         values are from Linux 3.7.
5700
5701         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5702         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
5703
5704 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5705
5706         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5707         TRUE case.
5708
5709         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5710         (norm): Likewise.
5711         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5712         variables with preprocessor constants.
5713         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5714         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5715         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5716
5717 2012-12-27  Bruno Haible  <bruno@clisp.org>
5718
5719         [BZ #14317]
5720         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5721         only if needed.
5722
5723 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5724
5725         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5726         and use variable directly.
5727         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5728
5729         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5730         MPONE.
5731         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5732         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5733         variable MPONE.
5734         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5736         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5737         include directive.  Remove local variable MPONE.
5738         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5739         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5740         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5741
5742 2012-12-25  David S. Miller  <davem@davemloft.net>
5743
5744         * version.h (RELEASE): Set to "development".
5745         (VERSION): Set to "2.17.90".
5746         * NEWS: Add 2.18 section.
5747
5748 2012-12-21  David S. Miller  <davem@davemloft.net>
5749
5750         * po/hr.po: Update from translation team.
5751
5752 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5753
5754         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5755
5756 2012-12-19  Steve Ellcey  <sellcey@mips.com>
5757
5758         * NEWS:  Mention new memcpy for MIPS.
5759
5760 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5761
5762         * manual/contrib.texi (Contributors): Spelling correction.
5763
5764 2012-12-15  David S. Miller  <davem@davemloft.net>
5765
5766         * po/ru.po: Update from translation team.
5767
5768 2012-12-13  David S. Miller  <davem@davemloft.net>
5769
5770         * NEWS: Mention IFUNC testsuite enhancements.
5771
5772         * po/pl.po: Update from translation team.
5773         * po/bg.po: Likewise.
5774
5775         * manual/contrib.texi (Contributors): Update entries for Hongjiu
5776         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
5777
5778 2012-12-11  David S. Miller  <davem@davemloft.net>
5779
5780         * po/sv.po: Update from translation team.
5781
5782         * po/vi.po: Update from translation team.
5783
5784         * po/cs.po: Update from translation team.
5785
5786         * po/de.po: Update from translation team.
5787         * po/eo.po: Likewise.
5788         * po/nl.po: Likewise.
5789
5790 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5791
5792         [BZ #14246]
5793         * manual/argp.texi (Argp Helper Functions): Move node to follow
5794         Argp Parsing State.
5795
5796         [BZ #14872]
5797         * manual/conf.texi (Limits on File System Capacity): Mention if
5798         terminating null is included in the max size.
5799
5800 2012-12-10  Andreas Jaeger  <aj@suse.de>
5801
5802         * po/cs.po: Update from translation team.
5803
5804 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5805
5806         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5807         void pointer and cast to uintptr_t.
5808         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5809         path.
5810         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5811         * sysdeps/s390/s390-64/memset.S: Likewise.
5812
5813 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
5814
5815         [BZ #14833]
5816         * menual/message.texi (Message Translation): Fix typos.
5817         (Helper programs for gettext): Likewise.
5818
5819 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
5820
5821         [BZ #14898]
5822         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5823         Change to -1.
5824
5825 2012-12-07  David S. Miller  <davem@davemloft.net>
5826
5827         * po/libc.pot: Update.
5828
5829 2012-12-07  Richard Henderson  <rth@redhat.com>
5830
5831         [BZ #10114]
5832         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5833         normal/normal case to before the switch.
5834         (_FP_DIV): Likewise.
5835
5836 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5837             Mike Frysinger  <vapier@gentoo.org>
5838
5839         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5840         check for __NR_fadvise64_64.
5841
5842 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5843
5844         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5845         0, not just to plain "0" as a statement.
5846         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5847         with cw.
5848
5849 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5850
5851         * NEWS: Use sourceware.org in Bugzilla URL.
5852
5853 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5854
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5856         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5857
5858         * stdio-common/tst-put-error.c (do_test): Add newline to the
5859         padded test to ensure flush.
5860
5861 2012-12-05  Jeff Law  <law@redhat.com>
5862
5863         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5864
5865 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5866
5867         * README: Don't refer to ports add-on as distributed separately.
5868         Mention AArch64 in list of systems supported in the ports add-on.
5869
5870         * LICENSES: Add more non-FSF copyright and license notices.
5871
5872         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5873         ((unused)).
5874
5875         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5876
5877         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5878         10000 as width of padded output.
5879
5880 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5881
5882         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5883
5884         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5885         variable LX with __attribute__ ((unused)).
5886         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5887         Likewise.
5888         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5890         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5891         with __attribute__ ((unused)).
5892
5893 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5894
5895         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5896
5897 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5898
5899         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5900         (CFLAGS-nldbl-acos.c): New variable.
5901         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5902         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5903         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5904         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5905         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5906         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5907         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5908         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5909         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5910         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5911         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5912         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5913         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5914         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5915         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5916         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5917         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5918         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5919         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5920         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5921         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5922         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5923         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5924         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5925         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5926         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5927         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5928         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5929         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5930         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5931         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5932         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5933         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5934         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5935         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5936         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5937         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5938         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5939         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5940         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5941         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5942         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5943         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5944         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5945         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5946         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5947         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5948         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5949         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5950         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5951         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5952         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5953         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5954         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5955         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5956         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5957         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5958         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5959         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5960         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5961         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5962         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5963         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5964         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5965         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5966         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5967         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5968         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5969         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5970         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5971         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5972         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5973         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5974         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5975         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5976         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5977         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5978         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5979         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5980         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5981         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5982         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5983         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5984         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5985         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5986         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5987         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5988         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5989         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5990         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5991         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5992         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5993         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5994         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5995         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5996         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5997         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5998
5999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6000         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6001
6002         [BZ #14914]
6003         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6004         whole low double instead of just low 47 bits when splitting values
6005         into two parts.
6006
6007 2012-12-03  Allan McRae  <allan@archlinux.org>
6008
6009         * manual/stdio.texi (Predefined Printf Handlers): Remove
6010         @hsep and @vsep usage.
6011
6012 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
6013
6014         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6015         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6016
6017 2012-12-03  Jeff Law  <law@redhat.com>
6018
6019         * time/sys/time.h (settimeofday): Do not mark TV argument
6020         as __nonnull.
6021
6022 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
6023
6024         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6025         when currently writing and seek to current position when not.
6026         * libio/Makefile (tests): Remove bug-fclose1.
6027         * libio/bug-fclose1.c: Delete.
6028
6029 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
6030
6031         * manual/arith.texi (feenableexcept): Fix typo.
6032         (fedisableexcept): Likewise.
6033
6034 2012-11-30  Roland McGrath  <roland@hack.frob.com>
6035
6036         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6037         second, differently-typed declaration, rather than a cast.
6038
6039 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6040
6041         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6042         * include/rpc/svc.h: ... here.
6043
6044 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
6045
6046         [BZ #13013]
6047         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6048         depending n and resplen2 to catch cases where answer
6049         equals answerp2.
6050
6051 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
6052
6053         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6054         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6055
6056 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
6057
6058         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6059
6060 2012-11-29  Roland McGrath  <roland@hack.frob.com>
6061
6062         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6063
6064 2012-11-28  Jeff Law  <law@redhat.com>
6065
6066         [BZ #13761]
6067         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6068         dataset_temporary.  Track alloca usage into alloca_used.
6069         If dataset is large allocate and release it via malloc/free.
6070
6071 2012-06-04  Florian Weimer  <fweimer@redhat.com>
6072
6073         [BZ #14197]
6074         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6075
6076 2012-11-28  David S. Miller  <davem@davemloft.net>
6077
6078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6079
6080 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
6081
6082         [BZ #14803]
6083         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6084         of pi/2 rounded to nearest to 64 bits.
6085         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6086         nearest to 64 bits.
6087         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6088         bits.
6089
6090 2012-11-28  Jeff Law <law@redhat.com>
6091             Martin Osvald <mosvald@redhat.com>
6092
6093         [BZ #14889]
6094         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6095         * sunrpc/svc.c: Include time.h.
6096         (__svc_accept_failed): New function.
6097         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6098         any reason other than EINTR, call __svc_accept_failed.
6099         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6100         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6101
6102 2012-11-28  Andreas Schwab  <schwab@suse.de>
6103
6104         * scripts/abilist.awk: Also handle indirect functions in .opd
6105         section.
6106
6107 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
6108
6109         [BZ #13881]
6110         * sysdeps/x86/fpu/powl_helper.c: New file.
6111         * sysdeps/x86/fpu/Makefile: Likewise.
6112         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6113         (p3): New object.
6114         (__ieee754_powl): Use __powl_helper for finite arguments except
6115         integer exponents below 8.
6116         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6117         (p3): New object.
6118         (__ieee754_powl): Use __powl_helper for finite arguments except
6119         integer exponents below 8.
6120         * math/libm-test.inc (pow_test): Add more tests and enable some
6121         previously disabled tests.
6122         * sysdeps/i386/fpu/libm-test-ulps: Update.
6123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6124
6125 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6126             Carlos O'Donell  <carlos_odonell@mentor.com>
6127
6128         * nss/makedb.c (is_prime): Assert that input is odd and greater
6129         than 4.  Note that fact in a comment too.
6130         (next_prime): Add 4 to input.
6131
6132 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6133
6134         [BZ #11741]
6135         * libio/Makefile (tests): Add test case tst-fwrite-error.
6136         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6137         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6138         * libio/tst-fwrite-error.c: New test case.
6139
6140 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
6141
6142         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6143         before casting to void *.
6144         * include/libc-internal.h (__pointer_type): New macro.
6145         (__integer_if_pointer_type_sub): Likewise.
6146         (__integer_if_pointer_type): Likewise.
6147         (cast_to_integer): Likewise.
6148         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6149         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6150         before casting to atomic64_t.
6151         (atomic_exchange_acq): Likewise.
6152         (__arch_exchange_and_add_body): Likewise.
6153         (__arch_add_body): Likewise.
6154         (atomic_add_negative): Likewise.
6155         (atomic_add_zero): Likewise.
6156
6157 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
6158
6159         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6160         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6161         (add_fdes): Likewise.
6162         (linear_search_fdes): Likewise.
6163         (binary_search_unencoded_fdes): Likewise.
6164
6165 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
6166
6167         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6168
6169 2012-11-24  Adam Conrad  <adconrad@0c3.net>
6170
6171         * configure.in: Autodetect C++ header directories.
6172         * configure: Regenerated.
6173
6174 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
6175
6176         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6177
6178 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
6179
6180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6181
6182 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
6183
6184         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6185         LDBL_MANT_DIG == 106]: Disable some tests.
6186         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6187         Likewise.
6188         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6189         Likewise.
6190
6191         [BZ #14871]
6192         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6193         input for small inputs.  Return +/- pi/2 for large inputs.
6194         * math/libm-test.inc (atan_test): Add more tests.
6195
6196         * sysdeps/generic/unwind-dw2-fde-glibc.c
6197         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6198         __attribute__ ((unused)).
6199
6200         [BZ #14645]
6201         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6202         x * y if x and y are nonzero and z is zero.
6203
6204         [BZ #14811]
6205         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6206         nonzero exponents with absolute value below 0x1p-117 to +/-
6207         0x1p-117.
6208
6209         [BZ #14869]
6210         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6211         up arguments below 2**-450, not just those below 2**-500.
6212         * math/libm-test.inc (hypot_test): Add another test.
6213
6214         [BZ #14868]
6215         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6216         Return a+b for ratio over 2**120, not 2**60.
6217         * math/libm-test.inc (hypot_test): Add another test.
6218
6219         * math/libm-test.inc (clog_test): Use
6220         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6221         (clog10_test): Likewise.
6222
6223         [BZ #6778]
6224         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6225
6226 2012-11-22  Andreas Schwab  <schwab@suse.de>
6227
6228         * sysdeps/i386/fpu/libm-test-ulps: Update.
6229
6230 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
6231
6232         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6233         printf output with newline.
6234
6235 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
6236
6237         [BZ #14865]
6238         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6239         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6240         -z nodlopen, -z initfirst and -z execstack support.
6241         * configure: Regenerated.
6242
6243         * elf/elf.h (DF_1_NODIRECT): New macro.
6244         (DF_1_IGNMULDEF): Likewise.
6245         (DF_1_NOKSYMS): Likewise.
6246         (DF_1_NOHDR): Likewise.
6247         (DF_1_EDITED): Likewise.
6248         (DF_1_NORELOC): Likewise.
6249         (DF_1_SYMINTPOSE): Likewise.
6250         (DF_1_GLOBAUDIT): Likewise.
6251         (DF_1_SINGLETON): Likewise.
6252         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6253         DT_1_SUPPORTED_MASK bits.
6254         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6255
6256 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
6257
6258         * sysdeps/unix/make-syscalls.sh: Document prefixes.
6259
6260 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
6261
6262         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6263         macro.
6264
6265         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6266         (sendmmsg): Move declarations...
6267         * socket/sys/socket.h: ... here.
6268         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6269         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6270         include it from...
6271         * socket/recvmmsg.c: ... this new file.
6272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6273         (sendmmsg): Rename to __sendmmsg, create weak alias and make
6274         definition of __sendmmsg hidden.
6275         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6276         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6277         Move ENOSYS stub into and include it from...
6278         * socket/sendmmsg.c: ... this new file.
6279         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6280         (sysdep_routines): Move recvmmsg and sendmmsg...
6281         * socket/Makefile (routines): ... here.
6282         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6283         (GLIBC_PRIVATE): Add __sendmmsg.
6284         * include/sys/socket.h (__sendmmsg): Add declarations.
6285         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6286         sendmmsg.
6287
6288 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
6289
6290         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6291         variable I1 with __attribute__ ((unused)).
6292         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6293
6294 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
6295
6296         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6297         DUMMY variables with __attribute__ ((unused)).
6298
6299         * bits/byteswap.h: Include <bits/types.h>.
6300         (__bswap_64): Use __uint64_t instead of unsigned long long int.
6301
6302 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
6303
6304         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6305         string_t.  Do not manually set errno.
6306         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6307         length with __strnlen.  Make sure to both set errno and return it on
6308         failure.
6309
6310 2012-11-19  David S. Miller  <davem@davemloft.net>
6311
6312         With help from Joseph Myers.
6313         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6314         very large arguments properly.
6315         * math/libm-test.inc (atan_test): New tests.
6316         (atan2_test): New tests.
6317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6319
6320 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
6321
6322         [BZ #14856]
6323         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6324         Define to 3.
6325
6326         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6327         [POSIX] (EADDRNOTAVAIL): Likewise.
6328         [POSIX] (EAFNOSUPPORT): Likewise.
6329         [POSIX] (EALREADY): Likewise.
6330         [POSIX] (ECONNABORTED): Likewise.
6331         [POSIX] (ECONNREFUSED): Likewise.
6332         [POSIX] (ECONNRESET): Likewise.
6333         [POSIX] (EDESTADDRREQ): Likewise.
6334         [POSIX] (EDQUOT): Likewise.
6335         [POSIX] (EHOSTUNREACH): Likewise.
6336         [POSIX] (EIDRM): Likewise.
6337         [POSIX] (EISCONN): Likewise.
6338         [POSIX] (ELOOP): Likewise.
6339         [POSIX] (EMULTIHOP): Likewise.
6340         [POSIX] (ENETDOWN): Likewise.
6341         [POSIX] (ENETUNREACH): Likewise.
6342         [POSIX] (ENOBUFS): Likewise.
6343         [POSIX] (ENODATA): Likewise.
6344         [POSIX] (ENOLINK): Likewise.
6345         [POSIX] (ENOMSG): Likewise.
6346         [POSIX] (ENOPROTOOPT): Likewise.
6347         [POSIX] (ENOSR): Likewise.
6348         [POSIX] (ENOSTR): Likewise.
6349         [POSIX] (ENOTCONN): Likewise.
6350         [POSIX] (ENOTSOCK): Likewise.
6351         [POSIX] (EOPNOTSUPP): Likewise.
6352         [POSIX] (EOVERFLOW): Likewise.
6353         [POSIX] (EPROTO): Likewise.
6354         [POSIX] (EPROTONOSUPPORT): Likewise.
6355         [POSIX] (EPROTOTYPE): Likewise.
6356         [POSIX] (ESTALE): Likewise.
6357         [POSIX] (ETIME): Likewise.
6358         [POSIX] (ETXTBSY): Likewise.
6359         [POSIX] (EWOULDBLOCK): Likewise.
6360         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6361         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6362         [POSIX] (SEEK_CUR): Likewise.
6363         [POSIX] (SEEK_END): Likewise.
6364         [POSIX || UNIX98] (mode_t): Do not require.
6365         [POSIX] (off_t): Likewise.
6366         [POSIX] (pid_t): Likewise.
6367         [POSIX] (sys/stat.h): Do not allow header.
6368         [POSIX] (unistd.h): Likewise.
6369         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6370         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6371         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6372         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6373         require.
6374         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6375         sigevent): Specify elements.
6376         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6377         entry.
6378         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6379         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6380
6381         * conform/data/cpio.h-data [POSIX]: Disable whole file.
6382         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6383         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6384         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6385         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6386         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6387         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6388         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6389         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6390         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6391         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6392         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6393         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6394         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6395         Likewise.
6396         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6397         Likewise.
6398         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6399         Likewise.
6400         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6401         Likewise.
6402         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6403         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6404         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6405         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6406         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6407         Specify lower bound on value.
6408         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6409         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6410         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6411         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6412         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6413         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6414         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6415         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6416         value.
6417         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6418         as optional.
6419         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6420         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6421         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6422         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6423         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6424         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6425         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6426         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6427         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6428         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6429         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6430         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6431         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6432         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6433         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6434         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6435         entry.
6436         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6437         optional.
6438         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6439         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6440         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6441         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6442         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6443         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6444         Likewise.
6445         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6446         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6447         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6448         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6449         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
6450         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6451         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6452         as optional.
6453         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6454         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6455         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6456         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6457         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6458         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6459         specify as optional.
6460         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6461         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6462         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6463         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6464         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6465         [XPG3] (NL_LANGMAX): Likewise.
6466         [POSIX || XPG3] (NL_MSGMAX): Likewise.
6467         [POSIX || XPG3] (NL_NMAX): Likewise.
6468         [POSIX || XPG3] (NL_SETMAX): Likewise.
6469         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6470         [XPG3] (NZERO): Likewise.
6471         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6472         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6473         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6474         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6475         (REG_ERANGE): Expect.
6476         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6477         optional-constant.
6478         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6479         Use (void) in prototype.
6480         [POSIX] (*_t): Allow.
6481         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6482         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6483         (WRDE_BADVAL): Expect.
6484
6485         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6486         expect.
6487         [XPG3 || XPG4] (O_RSYNC): Likewise.
6488         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6489         Likewise.
6490         [XPG3 || XPG4] (pthread_sigmask): Likewise.
6491         [XPG3 || XPG4] (sigqueue): Likewise.
6492         [XPG3 || XPG4] (sigtimedwait): Likewise.
6493         [XPG3 || XPG4] (sigwaitinfo): Likewise.
6494         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6495         [XPG3 || XPG4] (vsnprintf): Likewise.
6496         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6497         Likewise.
6498         [XPG3 || XPG4] (blksize_t): Likewise.
6499         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6500         Likewise.
6501         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6502         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6503         [XPG3 || XPG4] (struct itimerspec): Likewise.
6504         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6505         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6506         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6507         [XPG3 || XPG4] (clockid_t): Likewise.
6508         [XPG3 || XPG4] (timer_t): Likewise.
6509         [XPG3 || XPG4] (clock_getres): Likewise.
6510         [XPG3 || XPG4] (clock_gettime): Likewise.
6511         [XPG3 || XPG4] (clock_settime): Likewise.
6512         [XPG3 || XPG4] (nanosleep): Likewise.
6513         [XPG3 || XPG4] (timer_create): Likewise.
6514         [XPG3 || XPG4] (timer_delete): Likewise.
6515         [XPG3 || XPG4] (timer_gettime): Likewise.
6516         [XPG3 || XPG4] (timer_getoverrun): Likewise.
6517         [XPG3 || XPG4] (timer_settime): Likewise.
6518         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6519         [XPG3 || XPG4] (getlogin_r): Likewise.
6520         [XPG3 || XPG4] (pread): Likewise.
6521         [XPG3 || XPG4] (pthread_atfork): Likewise.
6522         [XPG3 || XPG4] (pwrite): Likewise.
6523
6524         [BZ #14835]
6525         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6526         <bits/siginfo.h>.
6527
6528 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
6529
6530         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6531         finalizing MALLSTREAM.
6532
6533         * sysdeps/mach/hurd/syncfs.c: New file.
6534
6535 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6536
6537         [BZ #14719]
6538         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6539         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6540         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6541         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6542         (_nss_dns_gethostbyname4_r): Likewise.
6543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6544         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6545
6546 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
6547
6548         [BZ #13763]
6549         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6550
6551 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
6552
6553         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6554         * elf/cache.c (print_entry): Print ",AArch64" for
6555         FLAG_AARCH64_LIB64
6556
6557         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6558         * elf/cache.c (print_entry): Print ",hard-float" for
6559         FLAG_ARM_LIBHF.
6560
6561 2012-11-18  David S. Miller  <davem@davemloft.net>
6562
6563         With help from Joseph Myers.
6564         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6565         cutoff to 2**-13.
6566         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6567         cutoff to 2**-25.
6568         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6569         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6570         small.
6571         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6572         * math/libm-test.inc (y0_test): New tests.
6573         (y1_test): New tests.
6574         * sysdeps/i386/fpu/libm-test-ulps: Update.
6575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6577
6578 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
6579
6580         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6581         64-bit targets.
6582         * configure: Regenerated.
6583
6584 2012-11-17  David S. Miller  <davem@davemloft.net>
6585
6586         [BZ #14811]
6587         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6588         nonzero exponents with absolute value below 0x1p-128 to +/-
6589         0x1p-128.
6590
6591 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
6592
6593         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6594
6595         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6596
6597         * posix/getconf-speclist.c: New file.
6598         * posix/posix-envs.def: Likewise.
6599         * posix/confstr.c (START_ENV_GROUP): New macro.
6600         (END_ENV_GROUP): Likewise.
6601         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6602         (KNOWN_PRESENT_ENV_STRING): Likewise.
6603         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6604         (UNKNOWN_ENVIRONMENT): Likewise.
6605         (confstr): Include posix-envs.def instead of handling
6606         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6607         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6608         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6609         (END_ENV_GROUP): Likewise.
6610         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6611         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6612         (UNKNOWN_ENVIRONMENT): Likewise.
6613         (__sysconf): Include posix-envs.def instead of handling associated
6614         cases directly here.
6615         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6616         preprocessing getconf-speclist.c rather than running getconf or
6617         generating empty file.
6618
6619 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
6620
6621         * scripts/check-local-headers.sh: Ignore 'mach' headers.
6622
6623 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
6624
6625         [BZ #14672]
6626         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6627
6628 2012-11-16  David S. Miller  <davem@davemloft.net>
6629
6630         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6631         smaller than LDBL_EPSILON/2.0L, just return xm1.
6632
6633 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
6634
6635         * elf/tst-array1.c (init): Set constructor priority to 1000.
6636         (fini): Set destructor priority to 1000.
6637         * elf/tst-array2dep.c: Likewise.
6638
6639 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6640
6641         [BZ #11741]
6642         * libio/fileops.c (_IO_new_file_write): Correctly return error.
6643         (_IO_new_file_xsputn): Also return EOF if none of the input
6644         data was written when overflow failed.
6645         * libio/iopadn.c (_IO_padn): Likewise.
6646         * libio/iowpadn.c (_IO_wpadn): Likewise.
6647         * stdio-common/tst-put-error.c: Add copyright notice.
6648         (do_test): Add case for printing padded string.
6649         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6650         _IO_padn returned error.
6651         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6652         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6653         return EOF.
6654
6655 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6656
6657         * libio/libioP.h: Add comment note that the references to C++
6658         bits are now obsolete.
6659
6660 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6661
6662         * math/libm-test.inc (check_complex): Use asprintf.
6663
6664 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
6665
6666         * debug/pcprofiledump.c (print_version): Update copyright year.
6667         * malloc/memusagestat.c (print_version): Likewise.
6668
6669 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6670
6671         [BZ #14831]
6672         * elf/Makefile (tests): Add tst-audit8.
6673         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6674         ($(objpfx)tst-audit8.out): New target.
6675         (tst-audit8-ENV): New variable.
6676         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6677         audit if l_reloc_result is NULL.
6678         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6679         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6680         * elf/tst-audit8.c: New file.
6681
6682 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6683
6684         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6685         * misc/Makefile (CFLAGS-select.c): Define.
6686         * posix/Makefile (CFLAGS-pause.c): Define.
6687
6688 2012-11-13  David S. Miller  <davem@davemloft.net>
6689
6690         * crypt/Makefile: Move test targets after toplevel Rules
6691         inclusion.  Grab any necessary sysdep routines when linking.
6692         * crypt/md5.c (md5_process_block): Remove define, we will always
6693         name it __md5_process_block.
6694         (md5_finish_ctx): Update md5_process_block call.
6695         (md5_stream): Likewise.
6696         (md5_process_bytes): Likewise.
6697         (md5_process_block): Rename to __md5_process_block and move to ...
6698         * crypt/md5-block.c: ... here.
6699         * crypt/sha256.c (sha256_process_block): Move to ...
6700         * crypt/sha256-block.c: ... here.
6701         * crypt/sha512.c (sha512_process_block): Move to ...
6702         * crypt/sha512-block.c: ... here.
6703         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6704         path.
6705         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6706         * sysdeps/sparc/sparc64/multiarch/Makefile
6707         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6708         crypt subdir.
6709         (localedef-aux): Add md5 crypto assembler when in locale subdir.
6710         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6711         multiarch changes.
6712         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6713         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6714         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6715         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6716         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6717         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6718         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6719         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6720         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6721         file.
6722         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6723         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6724         file.
6725         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6726
6727 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
6728
6729         * timezone/tzselect.ksh: Update from tzcode git revision
6730         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6731         * timezone/zdump.c: Likewise.
6732         * timezone/zic.c: Likewise.
6733         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6734         in TZVERSION setting, not $(PKGVERSION).
6735         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
6736         REPORT_BUGS_TO settings.
6737
6738         [BZ #14838]
6739         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6740         macro.
6741
6742 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6743
6744         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6745         detection to immediately after _FP_ROUND().
6746         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6747         bits are 0.
6748
6749 2012-11-11  David S. Miller  <davem@davemloft.net>
6750
6751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6752         inttypes.h
6753         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6754         __close rather than their public counterparts.
6755
6756 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
6757
6758         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6759         file.
6760         [UNIX98] (sem_timedwait): Do not expect.
6761         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6762         [XPG4 || UNIX98] (sockatmark): Do not expect.
6763         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6764         (clock_getcpuclockid): Do not expect.
6765         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6766         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6767         Do not expect.
6768         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6769         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6770         [UNIX98] (vwscanf): Likewise.
6771         [UNIX98] (vswscanf): Likewise.
6772
6773 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
6774
6775         * timezone/version.h: Remove file.
6776         * timezone/README: Do not refer to version.h.
6777         * timezone/Makefile ($(objpfx)zic.o): New dependency on
6778         $(objpfx)version.h.
6779         ($(objpfx)zdump.o): Likewise.
6780         ($(objpfx)version.h): New target.
6781
6782         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6783         2012i.
6784         * timezone/README: Don't mention modification to tzselect.ksh.
6785         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6786         work on unmodified tzselect.ksh.  Substitute version numbers in
6787         tzselect.ksh.
6788
6789         * Makefile (format-me): Remove.
6790         (INSTALL): Adjust indentation.  Use commands directly instead of
6791         using $(format-me).
6792
6793         * aclocal.m4 (ACX_PKGVERSION): New macro.
6794         (ACX_BUGURL): Likewise.
6795         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6796         (PKGVERSION): New AC_DEFINE_UNQUOTED.
6797         (REPORT_BUGS_TO): Likewise.
6798         * configure: Regenerated.
6799         * config.h.in (PKGVERSION): New macro.
6800         (REPORT_BUGS_TO): Likewise.
6801         * config.make.in (PKGVERSION): New variable.
6802         (PKGVERSION_TEXI): Likewise.
6803         (REPORT_BUGS_TO): Likewise.
6804         (REPORT_BUGS_TEXI): Likewise.
6805         * Makefile (format-me): Use -I$(common-objpfx)manual.
6806         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6807         ($(common-objpfx)manual/%): New target.
6808         (manual/%): Remove target.
6809         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6810         (print_version): Use PKGVERSION.
6811         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6812         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6813         and REPORT_BUGS_TO.
6814         ($(objpfx)xtrace): Likewise.
6815         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6816         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6817         (print_version): Use PKGVERSION.
6818         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6819         (do_version): Use PKGVERSION.
6820         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6821         REPORT_BUGS_TO.
6822         (common-ldd-rewrite): Likewise.
6823         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6824         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6825         (print_version): Use PKGVERSION.
6826         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6827         * elf/pldd.c (argp_program_bug_address): Remove variable.
6828         (more_help): New function.
6829         (argp): Use more_help.
6830         (print_version): Use PKGVERSION.
6831         * elf/sln.c (main): Use PKGVERSION.
6832         (usage): Use REPORT_BUGS_TO.
6833         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6834         (top level): Use PKGVERSION.
6835         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6836         (print_version): Use PKGVERSION.
6837         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6838         (print_version): Use PKGVERSION.
6839         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6840         (print_version): Use PKGVERSION.
6841         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6842         (print_version): Use PKGVERSION.
6843         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6844         (print_version): Use PKGVERSION.
6845         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6846         (print_version): Use PKGVERSION.
6847         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6848         and BUGURL.
6849         ($(objpfx)memusage): Likewise.
6850         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6851         (do_version): Use PKGVERSION.
6852         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6853         (print_version): Use PKGVERSION.
6854         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6855         ($PKGVERSION): New variable.
6856         ($REPORT_BUGS_TO): Likewise.
6857         (usage): Use $REPORT_BUGS_TO.
6858         (top level): Use $PKGVERSION.
6859         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6860         ($(objpfx)pkgvers.texi): New rule.
6861         ($(objpfx)stamp-pkgvers): Likewise.
6862         * manual/install.texi: Include pkgvers.texi.
6863         (--with-pkgversion): Document new configure option.
6864         (--with-bugurl): Likewise.
6865         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6866         than necessarily for this particular distribution.  Use
6867         REPORT_BUGS_TO for where to report bugs.
6868         * INSTALL: Regenerated.
6869         * manual/libc.texinfo: Include pkgvers.texi.
6870         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6871         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6872         (print_version): Use PKGVERSION.
6873         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6874         (print_version): Use PKGVERSION.
6875         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6876         (print_version): Use PKGVERSION.
6877         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6878         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6879         macro.
6880         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6881         (print_version): Use PKGVERSION.
6882         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6883         (print_version): Use PKGVERSION.
6884         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6885         and PKGVERSION.
6886
6887         * timezone/checktab.awk: Update from tzcode 2012i.
6888         * timezone/ialloc.c: Likewise.
6889         * timezone/private.h: Likewise.
6890         * timezone/scheck.c: Likewise.
6891         * timezone/tzfile.h: Likewise.
6892         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6893         (TZVERSION): Hardcode tzcode version number.
6894         * timezone/zdump.c: Update from tzcode 2012i.
6895         * timezone/zic.c: Likewise.
6896         * timezone/version.h: New file.
6897         * timezone/README: Describe version.h.  Update upstream location.
6898
6899         [BZ #14824]
6900         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6901         (mktemp): Enable declaration.
6902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6903         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6904         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6905         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6906         Likewise.
6907         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6908         Likewise.
6909         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6910         Likewise.
6911         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6912         Likewise.
6913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6914         Likewise.
6915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6916         Likewise.
6917
6918         [BZ #14821]
6919         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6920         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6921         for copies of such integer values.
6922         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6923         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6924
6925 2012-11-09  Andreas Jaeger  <aj@suse.de>
6926
6927         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6928         definitions and declarations that are provided by
6929         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6930
6931 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6932
6933         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6934         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6935         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6936         definition.
6937
6938 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6939
6940         * elf/elf.h: Update comment before AArch64 relocations.
6941
6942 2012-11-07  David S. Miller  <davem@davemloft.net>
6943
6944         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6945         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6946         (__start_context): Declare.
6947         (__makecontext_ret): Delete.
6948         (__makecontext): Hook up __start_context instead of
6949         __makecontext_ret.
6950         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6951         (sysdep_routines): Add __start_context when in stdlib.
6952
6953 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6954
6955         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6956         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6957         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6958         hardcoded "nm".
6959         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6960         (READELF): New variable.  Use it instead of hardcoded "readelf".
6961
6962 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6963
6964         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6965         * sysdeps/x86/Makefile: Here.
6966         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6967         * sysdeps/x86/tst-xmmymm.sh: This.
6968
6969 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6970
6971         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6972         expectations.
6973         [UNIX98] (pthread_barrier_t): Do not expect.
6974         [UNIX98] (pthread_barrierattr_t): Likewise.
6975         [UNIX98] (pthread_spinlock_t): Likewise.
6976         [UNIX98] (pthread_barrier_destroy): Likewise.
6977         [UNIX98] (pthread_barrier_init): Likewise.
6978         [UNIX98] (pthread_barrier_wait): Likewise.
6979         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6980         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6981         [UNIX98] (pthread_barrierattr_init): Likewise.
6982         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6983         [UNIX98] (pthread_getcpuclockid): Likewise.
6984         [UNIX98] (pthread_mutex_timedlock): Likewise.
6985         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6986         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6987         [UNIX98] (pthread_sigmask): Likewise.
6988         [UNIX98] (pthread_spin_destroy): Likewise.
6989         [UNIX98] (pthread_spin_init): Likewise.
6990         [UNIX98] (pthread_spin_lock): Likewise.
6991         [UNIX98] (pthread_spin_trylock): Likewise.
6992         [UNIX98] (pthread_spin_unlock): Likewise.
6993         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6994         Do not expect.
6995         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6996         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6997         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6998         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6999         [XPG3 || XPG4] (pthread_key_t): Likewise.
7000         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7001         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7002         [XPG3 || XPG4] (pthread_once_t): Likewise.
7003         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7004         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7005         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7006         [XPG3 || XPG4] (pthread_t): Likewise.
7007
7008         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7009         not expect.
7010         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7011
7012         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7013         Change function return type to int.
7014
7015         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7016         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7017         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7018         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7019         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7020         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7021         [!POSIX] (posix_madvise): Likewise.
7022         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7023         && !UNIX98].
7024         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7025         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7026         (mode_t): Likewise.
7027         (posix_mem_offset): Likewise.
7028         (posix_typed_mem_get_info): Likewise.
7029         (posix_typed_mem_open): Likewise.
7030
7031         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7032         Change condition to [XOPEN2K8].
7033
7034         * conform/conformtest.pl: Preprocess allow-header data with -x c
7035         instead of from stdin.
7036         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7037         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7038         [C99-based standards] (cerfc): Likewise.
7039         [C99-based standards] (cexp2): Likewise.
7040         [C99-based standards] (cexpm1): Likewise.
7041         [C99-based standards] (clog10): Likewise.
7042         [C99-based standards] (clog1p): Likewise.
7043         [C99-based standards] (clog2): Likewise.
7044         [C99-based standards] (clgamma): Likewise.
7045         [C99-based standards] (ctgamma): Likewise.
7046         [C99-based standards] (cerff): Likewise.
7047         [C99-based standards] (cerfcf): Likewise.
7048         [C99-based standards] (cexp2f): Likewise.
7049         [C99-based standards] (cexpm1f): Likewise.
7050         [C99-based standards] (clog10f): Likewise.
7051         [C99-based standards] (clog1pf): Likewise.
7052         [C99-based standards] (clog2f): Likewise.
7053         [C99-based standards] (clgammaf): Likewise.
7054         [C99-based standards] (ctgammaf): Likewise.
7055         [C99-based standards] (cerfl): Likewise.
7056         [C99-based standards] (cerfcl): Likewise.
7057         [C99-based standards] (cexp2l): Likewise.
7058         [C99-based standards] (cexpm1l): Likewise.
7059         [C99-based standards] (clog10l): Likewise.
7060         [C99-based standards] (clog1pl): Likewise.
7061         [C99-based standards] (clog2l): Likewise.
7062         [C99-based standards] (clgammal): Likewise.
7063         [C99-based standards] (ctgammal): Likewise.
7064         * conform/data/inttypes.h-data [C99-based standards]: Include
7065         stdint.h-data.  Remove all expectations for stdint.h contents.
7066         [C99-based standards] (PRI*): Do not allow.
7067         [C99-based standards] (SCN*): Likewise.
7068         [C99-based standards] (*_t): Likewise.
7069         [C99-based-standards] (PRId8): Expect macro.
7070         [C99-based-standards] (PRIi8): Likewise.
7071         [C99-based-standards] (PRIo8): Likewise.
7072         [C99-based-standards] (PRIu8): Likewise.
7073         [C99-based-standards] (PRIx8): Likewise.
7074         [C99-based-standards] (PRIX8): Likewise.
7075         [C99-based-standards] (SCNd8): Likewise.
7076         [C99-based-standards] (SCNi8): Likewise.
7077         [C99-based-standards] (SCNo8): Likewise.
7078         [C99-based-standards] (SCNu8): Likewise.
7079         [C99-based-standards] (SCNx8): Likewise.
7080         [C99-based-standards] (PRIdLEAST8): Likewise.
7081         [C99-based-standards] (PRIiLEAST8): Likewise.
7082         [C99-based-standards] (PRIoLEAST8): Likewise.
7083         [C99-based-standards] (PRIuLEAST8): Likewise.
7084         [C99-based-standards] (PRIxLEAST8): Likewise.
7085         [C99-based-standards] (PRIXLEAST8): Likewise.
7086         [C99-based-standards] (SCNdLEAST8): Likewise.
7087         [C99-based-standards] (SCNiLEAST8): Likewise.
7088         [C99-based-standards] (SCNoLEAST8): Likewise.
7089         [C99-based-standards] (SCNuLEAST8): Likewise.
7090         [C99-based-standards] (SCNxLEAST8): Likewise.
7091         [C99-based-standards] (PRIdFAST8): Likewise.
7092         [C99-based-standards] (PRIiFAST8): Likewise.
7093         [C99-based-standards] (PRIoFAST8): Likewise.
7094         [C99-based-standards] (PRIuFAST8): Likewise.
7095         [C99-based-standards] (PRIxFAST8): Likewise.
7096         [C99-based-standards] (PRIXFAST8): Likewise.
7097         [C99-based-standards] (SCNdFAST8): Likewise.
7098         [C99-based-standards] (SCNiFAST8): Likewise.
7099         [C99-based-standards] (SCNoFAST8): Likewise.
7100         [C99-based-standards] (SCNuFAST8): Likewise.
7101         [C99-based-standards] (SCNxFAST8): Likewise.
7102         [C99-based-standards] (PRId16): Likewise.
7103         [C99-based-standards] (PRIi16): Likewise.
7104         [C99-based-standards] (PRIo16): Likewise.
7105         [C99-based-standards] (PRIu16): Likewise.
7106         [C99-based-standards] (PRIx16): Likewise.
7107         [C99-based-standards] (PRIX16): Likewise.
7108         [C99-based-standards] (SCNd16): Likewise.
7109         [C99-based-standards] (SCNi16): Likewise.
7110         [C99-based-standards] (SCNo16): Likewise.
7111         [C99-based-standards] (SCNu16): Likewise.
7112         [C99-based-standards] (SCNx16): Likewise.
7113         [C99-based-standards] (PRIdLEAST16): Likewise.
7114         [C99-based-standards] (PRIiLEAST16): Likewise.
7115         [C99-based-standards] (PRIoLEAST16): Likewise.
7116         [C99-based-standards] (PRIuLEAST16): Likewise.
7117         [C99-based-standards] (PRIxLEAST16): Likewise.
7118         [C99-based-standards] (PRIXLEAST16): Likewise.
7119         [C99-based-standards] (SCNdLEAST16): Likewise.
7120         [C99-based-standards] (SCNiLEAST16): Likewise.
7121         [C99-based-standards] (SCNoLEAST16): Likewise.
7122         [C99-based-standards] (SCNuLEAST16): Likewise.
7123         [C99-based-standards] (SCNxLEAST16): Likewise.
7124         [C99-based-standards] (PRIdFAST16): Likewise.
7125         [C99-based-standards] (PRIiFAST16): Likewise.
7126         [C99-based-standards] (PRIoFAST16): Likewise.
7127         [C99-based-standards] (PRIuFAST16): Likewise.
7128         [C99-based-standards] (PRIxFAST16): Likewise.
7129         [C99-based-standards] (PRIXFAST16): Likewise.
7130         [C99-based-standards] (SCNdFAST16): Likewise.
7131         [C99-based-standards] (SCNiFAST16): Likewise.
7132         [C99-based-standards] (SCNoFAST16): Likewise.
7133         [C99-based-standards] (SCNuFAST16): Likewise.
7134         [C99-based-standards] (SCNxFAST16): Likewise.
7135         [C99-based-standards] (PRId32): Likewise.
7136         [C99-based-standards] (PRIi32): Likewise.
7137         [C99-based-standards] (PRIo32): Likewise.
7138         [C99-based-standards] (PRIu32): Likewise.
7139         [C99-based-standards] (PRIx32): Likewise.
7140         [C99-based-standards] (PRIX32): Likewise.
7141         [C99-based-standards] (SCNd32): Likewise.
7142         [C99-based-standards] (SCNi32): Likewise.
7143         [C99-based-standards] (SCNo32): Likewise.
7144         [C99-based-standards] (SCNu32): Likewise.
7145         [C99-based-standards] (SCNx32): Likewise.
7146         [C99-based-standards] (PRIdLEAST32): Likewise.
7147         [C99-based-standards] (PRIiLEAST32): Likewise.
7148         [C99-based-standards] (PRIoLEAST32): Likewise.
7149         [C99-based-standards] (PRIuLEAST32): Likewise.
7150         [C99-based-standards] (PRIxLEAST32): Likewise.
7151         [C99-based-standards] (PRIXLEAST32): Likewise.
7152         [C99-based-standards] (SCNdLEAST32): Likewise.
7153         [C99-based-standards] (SCNiLEAST32): Likewise.
7154         [C99-based-standards] (SCNoLEAST32): Likewise.
7155         [C99-based-standards] (SCNuLEAST32): Likewise.
7156         [C99-based-standards] (SCNxLEAST32): Likewise.
7157         [C99-based-standards] (PRIdFAST32): Likewise.
7158         [C99-based-standards] (PRIiFAST32): Likewise.
7159         [C99-based-standards] (PRIoFAST32): Likewise.
7160         [C99-based-standards] (PRIuFAST32): Likewise.
7161         [C99-based-standards] (PRIxFAST32): Likewise.
7162         [C99-based-standards] (PRIXFAST32): Likewise.
7163         [C99-based-standards] (SCNdFAST32): Likewise.
7164         [C99-based-standards] (SCNiFAST32): Likewise.
7165         [C99-based-standards] (SCNoFAST32): Likewise.
7166         [C99-based-standards] (SCNuFAST32): Likewise.
7167         [C99-based-standards] (SCNxFAST32): Likewise.
7168         [C99-based-standards] (PRId64): Likewise.
7169         [C99-based-standards] (PRIi64): Likewise.
7170         [C99-based-standards] (PRIo64): Likewise.
7171         [C99-based-standards] (PRIu64): Likewise.
7172         [C99-based-standards] (PRIx64): Likewise.
7173         [C99-based-standards] (PRIX64): Likewise.
7174         [C99-based-standards] (SCNd64): Likewise.
7175         [C99-based-standards] (SCNi64): Likewise.
7176         [C99-based-standards] (SCNo64): Likewise.
7177         [C99-based-standards] (SCNu64): Likewise.
7178         [C99-based-standards] (SCNx64): Likewise.
7179         [C99-based-standards] (PRIdLEAST64): Likewise.
7180         [C99-based-standards] (PRIiLEAST64): Likewise.
7181         [C99-based-standards] (PRIoLEAST64): Likewise.
7182         [C99-based-standards] (PRIuLEAST64): Likewise.
7183         [C99-based-standards] (PRIxLEAST64): Likewise.
7184         [C99-based-standards] (PRIXLEAST64): Likewise.
7185         [C99-based-standards] (SCNdLEAST64): Likewise.
7186         [C99-based-standards] (SCNiLEAST64): Likewise.
7187         [C99-based-standards] (SCNoLEAST64): Likewise.
7188         [C99-based-standards] (SCNuLEAST64): Likewise.
7189         [C99-based-standards] (SCNxLEAST64): Likewise.
7190         [C99-based-standards] (PRIdFAST64): Likewise.
7191         [C99-based-standards] (PRIiFAST64): Likewise.
7192         [C99-based-standards] (PRIoFAST64): Likewise.
7193         [C99-based-standards] (PRIuFAST64): Likewise.
7194         [C99-based-standards] (PRIxFAST64): Likewise.
7195         [C99-based-standards] (PRIXFAST64): Likewise.
7196         [C99-based-standards] (SCNdFAST64): Likewise.
7197         [C99-based-standards] (SCNiFAST64): Likewise.
7198         [C99-based-standards] (SCNoFAST64): Likewise.
7199         [C99-based-standards] (SCNuFAST64): Likewise.
7200         [C99-based-standards] (SCNxFAST64): Likewise.
7201         [C99-based-standards] (PRIdMAX): Likewise.
7202         [C99-based-standards] (PRIiMAX): Likewise.
7203         [C99-based-standards] (PRIoMAX): Likewise.
7204         [C99-based-standards] (PRIuMAX): Likewise.
7205         [C99-based-standards] (PRIxMAX): Likewise.
7206         [C99-based-standards] (PRIXMAX): Likewise.
7207         [C99-based-standards] (SCNdMAX): Likewise.
7208         [C99-based-standards] (SCNiMAX): Likewise.
7209         [C99-based-standards] (SCNoMAX): Likewise.
7210         [C99-based-standards] (SCNuMAX): Likewise.
7211         [C99-based-standards] (SCNxMAX): Likewise.
7212         [C99-based-standards] (PRIdPTR): Likewise.
7213         [C99-based-standards] (PRIiPTR): Likewise.
7214         [C99-based-standards] (PRIoPTR): Likewise.
7215         [C99-based-standards] (PRIuPTR): Likewise.
7216         [C99-based-standards] (PRIxPTR): Likewise.
7217         [C99-based-standards] (PRIXPTR): Likewise.
7218         [C99-based-standards] (SCNdPTR): Likewise.
7219         [C99-based-standards] (SCNiPTR): Likewise.
7220         [C99-based-standards] (SCNoPTR): Likewise.
7221         [C99-based-standards] (SCNuPTR): Likewise.
7222         [C99-based-standards] (SCNxPTR): Likewise.
7223         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7224         allow.
7225         * conform/data/stdint.h-data: Update comments to clarify
7226         requirements.
7227         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
7228         type.
7229         [C99-based standards] (INT8_MAX): Likewise.
7230         [C99-based standards] (INT16_MIN): Likewise.
7231         [C99-based standards] (INT16_MAX): Likewise.
7232         [C99-based standards] (INT32_MIN): Likewise.
7233         [C99-based standards] (INT32_MAX): Likewise.
7234         [C99-based standards] (INT64_MIN): Likewise.
7235         [C99-based standards] (INT64_MAX): Likewise.
7236         [C99-based standards] (UINT8_MAX): Likewise.
7237         [C99-based standards] (UINT16_MAX): Likewise.
7238         [C99-based standards] (UINT32_MAX): Likewise.
7239         [C99-based standards] (UINT64_MAX): Likewise.
7240         [C99-based standards] (INT_LEAST8_MIN): Likewise.
7241         [C99-based standards] (INT_LEAST8_MAX): Likewise.
7242         [C99-based standards] (INT_LEAST16_MIN): Likewise.
7243         [C99-based standards] (INT_LEAST16_MAX): Likewise.
7244         [C99-based standards] (INT_LEAST32_MIN): Likewise.
7245         [C99-based standards] (INT_LEAST32_MAX): Likewise.
7246         [C99-based standards] (INT_LEAST64_MIN): Likewise.
7247         [C99-based standards] (INT_LEAST64_MAX): Likewise.
7248         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7249         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7250         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7251         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7252         [C99-based standards] (INT_FAST8_MIN): Likewise.
7253         [C99-based standards] (INT_FAST8_MAX): Likewise.
7254         [C99-based standards] (INT_FAST16_MIN): Likewise.
7255         [C99-based standards] (INT_FAST16_MAX): Likewise.
7256         [C99-based standards] (INT_FAST32_MIN): Likewise.
7257         [C99-based standards] (INT_FAST32_MAX): Likewise.
7258         [C99-based standards] (INT_FAST64_MIN): Likewise.
7259         [C99-based standards] (INT_FAST64_MAX): Likewise.
7260         [C99-based standards] (UINT_FAST8_MAX): Likewise.
7261         [C99-based standards] (UINT_FAST16_MAX): Likewise.
7262         [C99-based standards] (UINT_FAST32_MAX): Likewise.
7263         [C99-based standards] (UINT_FAST64_MAX): Likewise.
7264         [C99-based standards] (INTPTR_MIN): Likewise.
7265         [C99-based standards] (INTPTR_MAX): Likewise.
7266         [C99-based standards] (UINTPTR_MAX): Likewise.
7267         [C99-based standards] (INTMAX_MIN): Likewise.
7268         [C99-based standards] (INTMAX_MAX): Likewise.
7269         [C99-based standards] (UINTMAX_MAX): Likewise.
7270         [C99-based standards] (PTRDIFF_MIN): Likewise.
7271         [C99-based standards] (PTRDIFF_MAX): Likewise.
7272         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7273         [C99-based standards] (SIZE_MAX): Likewise.
7274         [C99-based standards] (WCHAR_MAX): Likewise.
7275         [C99-based standards] (WINT_MAX): Likewise.
7276         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
7277         constraint on value.
7278         [C99-based standards] (WCHAR_MIN): Likewise.
7279         [C99-based standards] (WINT_MIN): Likewise.
7280         [C99-based standards] (*_t): Allow.
7281         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7282         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7283         Include math.h-data and complex.h-data.  Remove all expectations
7284         of math.h and complex.h contents.
7285         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7286         at end of line.
7287         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7288         (struct tm): Expect tag.
7289         [C99-based-standards] (wcstof): Expect function.
7290         [C99-based-standards] (wcstold): Likewise.
7291         [C99-based-standards] (wcstoll): Likewise.
7292         [C99-based-standards] (wcstoull): Likewise.
7293         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7294         macro-int-constant.  Specify type.
7295         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
7296         constraint on value.
7297         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7298         Specify type.
7299         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7300         Specify value.
7301         [ISO C standards]: Do not allow headers.
7302         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7303         wcs[abcdefghijklmnopqrstuvwxyz]*.
7304         [ISO C standards] (*_t): Do not allow.
7305         * conform/data/wctype.h-data [C99-based standards] (iswblank):
7306         Expect function.
7307         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7308         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7309         Specify type.
7310         [ISO C standards]: Do not allow headers.
7311         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7312         is[abcdefghijklmnopqrstuvwxyz]*.
7313         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7314         to[abcdefghijklmnopqrstuvwxyz]*.
7315         [ISO C standards] (*_t): Do not allow.
7316         * conform/data/stdalign.h-data: New file.
7317         * conform/data/stdbool.h-data: Likewise.
7318         * conform/data/stdnoreturn.h-data: Likewise.
7319
7320 2012-11-07  Roland McGrath  <roland@hack.frob.com>
7321
7322         [BZ #14815]
7323         * manual/filesys.texi (Directory Entries): Typo fix.
7324         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7325
7326 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7327
7328         * elf/elf.h (EM_AARCH64): New macro.
7329         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7330         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7331         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7332         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7333         (R_AARCH64_TLSDESC): Likewise.
7334         (NT_ARM_TLS): Likewise.
7335         (NT_ARM_HW_BREAK): Likewise.
7336         (NT_ARM_HW_WATCH): Likewise.
7337
7338 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
7339
7340         [BZ #14811]
7341         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7342         (__ieee754_powl): Saturate nonzero exponents with absolute value
7343         below 0x1p-79 to +/- 0x1p-79.
7344         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7345         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7346         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7347         nonzero exponents with absolute value below 0x1p-32 to +/-
7348         0x1p-32.
7349         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7350         (__ieee754_powl): Saturate nonzero exponents with absolute value
7351         below 0x1p-79 to +/- 0x1p-79.
7352         * math/libm-test.inc (pow_test): Add more tests.
7353
7354 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7355
7356         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7357         _dl_s390_cap_flags with kernel. Increase string length.
7358         (_dl_s390_platforms): Add z196 and zEC12.
7359
7360 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
7361
7362         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7363         Change XOPEN21K to XOPEN2K.
7364
7365 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
7366
7367         * string/memmove.c: Use memcpy when possible.
7368
7369 2012-11-06  Andreas Jaeger  <aj@suse.de>
7370
7371         * po/eo.po: Update from translation team.
7372
7373 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
7374
7375         [BZ #14793]
7376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7377         exponent and small x and y exponents, scale x or y up.  Increase
7378         by 2 the exponent used in scaling up.
7379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7381         * math/libm-test.inc (fma_test): Add more tests.
7382         (fma_test_towardzero): Likewise.
7383         (fma_test_downward): Likewise.
7384         (fma_test_upward): Likewise.
7385
7386 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
7387
7388         [BZ #14805]
7389         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7390         fenv_t *.
7391
7392         [BZ #14801]
7393         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7394         namespace for names of struct fields.
7395         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7396         fenv_t fields.
7397         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7398         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7399
7400 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7401
7402         [BZ #3665]
7403         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7404
7405 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7406
7407         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7408         PTR_DEMANGLE.
7409
7410         [BZ #5246]
7411         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7412         PTR_DEMANGLE.
7413
7414 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
7415
7416         [BZ #14797]
7417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7418         definitely overflow as x * y not x * y + z.
7419         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7420         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7421         * math/libm-test.inc (fma_test): Add more tests.
7422         (fma_test_towardzero): Likewise.
7423         (fma_test_downward): Likewise.
7424         (fma_test_upward): Likewise.
7425
7426 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7427
7428         [BZ #157]
7429
7430         * include/stub-tag.h: Remove file.
7431         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7432         '#include' of it.
7433         * manual/maint.texi (Porting): Don't reference it.
7434         * Makerules ($(objpfx)stubs): Likewise.
7435         * dirent/closedir.c: Don't include <stub-tag.h>.
7436         * dirent/dirfd.c: Likewise.
7437         * dirent/fdopendir.c: Likewise.
7438         * dirent/getdents.c: Likewise.
7439         * dirent/getdents64.c: Likewise.
7440         * dirent/opendir.c: Likewise.
7441         * dirent/readdir.c: Likewise.
7442         * dirent/readdir64.c: Likewise.
7443         * dirent/readdir64_r.c: Likewise.
7444         * dirent/readdir_r.c: Likewise.
7445         * dirent/rewinddir.c: Likewise.
7446         * dirent/seekdir.c: Likewise.
7447         * dirent/telldir.c: Likewise.
7448         * gmon/profil.c: Likewise.
7449         * grp/setgroups.c: Likewise.
7450         * inet/if_index.c: Likewise.
7451         * io/access.c: Likewise.
7452         * io/chdir.c: Likewise.
7453         * io/chmod.c: Likewise.
7454         * io/chown.c: Likewise.
7455         * io/close.c: Likewise.
7456         * io/dup.c: Likewise.
7457         * io/dup2.c: Likewise.
7458         * io/dup3.c: Likewise.
7459         * io/euidaccess.c: Likewise.
7460         * io/faccessat.c: Likewise.
7461         * io/fchdir.c: Likewise.
7462         * io/fchmod.c: Likewise.
7463         * io/fchmodat.c: Likewise.
7464         * io/fchown.c: Likewise.
7465         * io/fchownat.c: Likewise.
7466         * io/fcntl.c: Likewise.
7467         * io/flock.c: Likewise.
7468         * io/fstatfs.c: Likewise.
7469         * io/fstatfs64.c: Likewise.
7470         * io/fstatvfs.c: Likewise.
7471         * io/fstatvfs64.c: Likewise.
7472         * io/futimens.c: Likewise.
7473         * io/fxstat.c: Likewise.
7474         * io/fxstat64.c: Likewise.
7475         * io/fxstatat.c: Likewise.
7476         * io/fxstatat64.c: Likewise.
7477         * io/getcwd.c: Likewise.
7478         * io/isatty.c: Likewise.
7479         * io/lchmod.c: Likewise.
7480         * io/lchown.c: Likewise.
7481         * io/link.c: Likewise.
7482         * io/linkat.c: Likewise.
7483         * io/lseek.c: Likewise.
7484         * io/lseek64.c: Likewise.
7485         * io/lxstat64.c: Likewise.
7486         * io/mkdir.c: Likewise.
7487         * io/mkdirat.c: Likewise.
7488         * io/mkfifo.c: Likewise.
7489         * io/mkfifoat.c: Likewise.
7490         * io/open.c: Likewise.
7491         * io/open64.c: Likewise.
7492         * io/openat.c: Likewise.
7493         * io/openat64.c: Likewise.
7494         * io/pipe.c: Likewise.
7495         * io/pipe2.c: Likewise.
7496         * io/poll.c: Likewise.
7497         * io/posix_fadvise.c: Likewise.
7498         * io/posix_fadvise64.c: Likewise.
7499         * io/posix_fallocate.c: Likewise.
7500         * io/posix_fallocate64.c: Likewise.
7501         * io/read.c: Likewise.
7502         * io/readlink.c: Likewise.
7503         * io/readlinkat.c: Likewise.
7504         * io/rmdir.c: Likewise.
7505         * io/sendfile.c: Likewise.
7506         * io/sendfile64.c: Likewise.
7507         * io/statfs.c: Likewise.
7508         * io/statfs64.c: Likewise.
7509         * io/statvfs.c: Likewise.
7510         * io/statvfs64.c: Likewise.
7511         * io/symlink.c: Likewise.
7512         * io/symlinkat.c: Likewise.
7513         * io/ttyname.c: Likewise.
7514         * io/ttyname_r.c: Likewise.
7515         * io/umask.c: Likewise.
7516         * io/unlink.c: Likewise.
7517         * io/unlinkat.c: Likewise.
7518         * io/utime.c: Likewise.
7519         * io/utimensat.c: Likewise.
7520         * io/write.c: Likewise.
7521         * io/xmknod.c: Likewise.
7522         * io/xmknodat.c: Likewise.
7523         * io/xstat.c: Likewise.
7524         * io/xstat64.c: Likewise.
7525         * login/getpt.c: Likewise.
7526         * login/grantpt.c: Likewise.
7527         * login/unlockpt.c: Likewise.
7528         * math/e_acoshl.c: Likewise.
7529         * math/e_acosl.c: Likewise.
7530         * math/e_asinl.c: Likewise.
7531         * math/e_atan2l.c: Likewise.
7532         * math/e_atanhl.c: Likewise.
7533         * math/e_coshl.c: Likewise.
7534         * math/e_expl.c: Likewise.
7535         * math/e_fmodl.c: Likewise.
7536         * math/e_gammal_r.c: Likewise.
7537         * math/e_hypotl.c: Likewise.
7538         * math/e_j0l.c: Likewise.
7539         * math/e_j1l.c: Likewise.
7540         * math/e_jnl.c: Likewise.
7541         * math/e_lgammal_r.c: Likewise.
7542         * math/e_log10l.c: Likewise.
7543         * math/e_log2l.c: Likewise.
7544         * math/e_logl.c: Likewise.
7545         * math/e_powl.c: Likewise.
7546         * math/e_rem_pio2l.c: Likewise.
7547         * math/e_sinhl.c: Likewise.
7548         * math/e_sqrtl.c: Likewise.
7549         * math/fclrexcpt.c: Likewise.
7550         * math/fedisblxcpt.c: Likewise.
7551         * math/feenablxcpt.c: Likewise.
7552         * math/fegetenv.c: Likewise.
7553         * math/fegetexcept.c: Likewise.
7554         * math/fegetround.c: Likewise.
7555         * math/feholdexcpt.c: Likewise.
7556         * math/fesetenv.c: Likewise.
7557         * math/fesetround.c: Likewise.
7558         * math/feupdateenv.c: Likewise.
7559         * math/fgetexcptflg.c: Likewise.
7560         * math/fraiseexcpt.c: Likewise.
7561         * math/fsetexcptflg.c: Likewise.
7562         * math/ftestexcept.c: Likewise.
7563         * math/k_cosl.c: Likewise.
7564         * math/k_rem_pio2l.c: Likewise.
7565         * math/k_sinl.c: Likewise.
7566         * math/k_tanl.c: Likewise.
7567         * math/s_asinhl.c: Likewise.
7568         * math/s_atanl.c: Likewise.
7569         * math/s_cbrtl.c: Likewise.
7570         * math/s_erfl.c: Likewise.
7571         * math/s_expm1l.c: Likewise.
7572         * math/s_log1pl.c: Likewise.
7573         * math/s_tanhl.c: Likewise.
7574         * misc/acct.c: Likewise.
7575         * misc/brk.c: Likewise.
7576         * misc/chflags.c: Likewise.
7577         * misc/chroot.c: Likewise.
7578         * misc/fchflags.c: Likewise.
7579         * misc/fgetxattr.c: Likewise.
7580         * misc/flistxattr.c: Likewise.
7581         * misc/fremovexattr.c: Likewise.
7582         * misc/fsetxattr.c: Likewise.
7583         * misc/fsync.c: Likewise.
7584         * misc/ftruncate.c: Likewise.
7585         * misc/futimes.c: Likewise.
7586         * misc/futimesat.c: Likewise.
7587         * misc/getdomain.c: Likewise.
7588         * misc/getdtsz.c: Likewise.
7589         * misc/gethostid.c: Likewise.
7590         * misc/gethostname.c: Likewise.
7591         * misc/getloadavg.c: Likewise.
7592         * misc/getpagesize.c: Likewise.
7593         * misc/getsysstats.c: Likewise.
7594         * misc/getxattr.c: Likewise.
7595         * misc/gtty.c: Likewise.
7596         * misc/ioctl.c: Likewise.
7597         * misc/lgetxattr.c: Likewise.
7598         * misc/listxattr.c: Likewise.
7599         * misc/llistxattr.c: Likewise.
7600         * misc/lremovexattr.c: Likewise.
7601         * misc/lsetxattr.c: Likewise.
7602         * misc/lutimes.c: Likewise.
7603         * misc/madvise.c: Likewise.
7604         * misc/mincore.c: Likewise.
7605         * misc/mlock.c: Likewise.
7606         * misc/mlockall.c: Likewise.
7607         * misc/mmap.c: Likewise.
7608         * misc/mprotect.c: Likewise.
7609         * misc/msync.c: Likewise.
7610         * misc/munlock.c: Likewise.
7611         * misc/munlockall.c: Likewise.
7612         * misc/munmap.c: Likewise.
7613         * misc/preadv.c: Likewise.
7614         * misc/preadv64.c: Likewise.
7615         * misc/ptrace.c: Likewise.
7616         * misc/pwritev.c: Likewise.
7617         * misc/pwritev64.c: Likewise.
7618         * misc/readv.c: Likewise.
7619         * misc/reboot.c: Likewise.
7620         * misc/remap_file_pages.c: Likewise.
7621         * misc/removexattr.c: Likewise.
7622         * misc/revoke.c: Likewise.
7623         * misc/select.c: Likewise.
7624         * misc/setdomain.c: Likewise.
7625         * misc/setegid.c: Likewise.
7626         * misc/seteuid.c: Likewise.
7627         * misc/sethostid.c: Likewise.
7628         * misc/sethostname.c: Likewise.
7629         * misc/setregid.c: Likewise.
7630         * misc/setreuid.c: Likewise.
7631         * misc/setxattr.c: Likewise.
7632         * misc/sstk.c: Likewise.
7633         * misc/stty.c: Likewise.
7634         * misc/swapoff.c: Likewise.
7635         * misc/swapon.c: Likewise.
7636         * misc/sync.c: Likewise.
7637         * misc/syncfs.c: Likewise.
7638         * misc/syscall.c: Likewise.
7639         * misc/truncate.c: Likewise.
7640         * misc/ualarm.c: Likewise.
7641         * misc/usleep.c: Likewise.
7642         * misc/ustat.c: Likewise.
7643         * misc/utimes.c: Likewise.
7644         * misc/vhangup.c: Likewise.
7645         * misc/writev.c: Likewise.
7646         * posix/_exit.c: Likewise.
7647         * posix/alarm.c: Likewise.
7648         * posix/execve.c: Likewise.
7649         * posix/fexecve.c: Likewise.
7650         * posix/fork.c: Likewise.
7651         * posix/fpathconf.c: Likewise.
7652         * posix/getaddrinfo.c: Likewise.
7653         * posix/getegid.c: Likewise.
7654         * posix/geteuid.c: Likewise.
7655         * posix/getgid.c: Likewise.
7656         * posix/getgroups.c: Likewise.
7657         * posix/getlogin.c: Likewise.
7658         * posix/getlogin_r.c: Likewise.
7659         * posix/getpgid.c: Likewise.
7660         * posix/getpid.c: Likewise.
7661         * posix/getppid.c: Likewise.
7662         * posix/getresgid.c: Likewise.
7663         * posix/getresuid.c: Likewise.
7664         * posix/getsid.c: Likewise.
7665         * posix/getuid.c: Likewise.
7666         * posix/glob64.c: Likewise.
7667         * posix/nanosleep.c: Likewise.
7668         * posix/pathconf.c: Likewise.
7669         * posix/pause.c: Likewise.
7670         * posix/posix_madvise.c: Likewise.
7671         * posix/pread.c: Likewise.
7672         * posix/pread64.c: Likewise.
7673         * posix/pwrite.c: Likewise.
7674         * posix/pwrite64.c: Likewise.
7675         * posix/sched_getaffinity.c: Likewise.
7676         * posix/sched_getp.c: Likewise.
7677         * posix/sched_gets.c: Likewise.
7678         * posix/sched_primax.c: Likewise.
7679         * posix/sched_primin.c: Likewise.
7680         * posix/sched_rr_gi.c: Likewise.
7681         * posix/sched_setaffinity.c: Likewise.
7682         * posix/sched_setp.c: Likewise.
7683         * posix/sched_sets.c: Likewise.
7684         * posix/sched_yield.c: Likewise.
7685         * posix/setgid.c: Likewise.
7686         * posix/setlogin.c: Likewise.
7687         * posix/setpgid.c: Likewise.
7688         * posix/setresgid.c: Likewise.
7689         * posix/setresuid.c: Likewise.
7690         * posix/setsid.c: Likewise.
7691         * posix/setuid.c: Likewise.
7692         * posix/sleep.c: Likewise.
7693         * posix/spawni.c: Likewise.
7694         * posix/sysconf.c: Likewise.
7695         * posix/times.c: Likewise.
7696         * posix/wait.c: Likewise.
7697         * posix/wait3.c: Likewise.
7698         * posix/wait4.c: Likewise.
7699         * posix/waitpid.c: Likewise.
7700         * resolv/gai_sigqueue.c: Likewise.
7701         * resource/getpriority.c: Likewise.
7702         * resource/getrlimit.c: Likewise.
7703         * resource/getrusage.c: Likewise.
7704         * resource/nice.c: Likewise.
7705         * resource/setpriority.c: Likewise.
7706         * resource/setrlimit.c: Likewise.
7707         * resource/ulimit.c: Likewise.
7708         * rt/aio_cancel.c: Likewise.
7709         * rt/aio_fsync.c: Likewise.
7710         * rt/aio_read.c: Likewise.
7711         * rt/aio_sigqueue.c: Likewise.
7712         * rt/aio_suspend.c: Likewise.
7713         * rt/aio_write.c: Likewise.
7714         * rt/clock_getres.c: Likewise.
7715         * rt/clock_gettime.c: Likewise.
7716         * rt/clock_nanosleep.c: Likewise.
7717         * rt/clock_settime.c: Likewise.
7718         * rt/lio_listio.c: Likewise.
7719         * rt/mq_close.c: Likewise.
7720         * rt/mq_getattr.c: Likewise.
7721         * rt/mq_notify.c: Likewise.
7722         * rt/mq_open.c: Likewise.
7723         * rt/mq_receive.c: Likewise.
7724         * rt/mq_send.c: Likewise.
7725         * rt/mq_setattr.c: Likewise.
7726         * rt/mq_timedreceive.c: Likewise.
7727         * rt/mq_timedsend.c: Likewise.
7728         * rt/mq_unlink.c: Likewise.
7729         * rt/shm_open.c: Likewise.
7730         * rt/shm_unlink.c: Likewise.
7731         * rt/timer_create.c: Likewise.
7732         * rt/timer_delete.c: Likewise.
7733         * rt/timer_getoverr.c: Likewise.
7734         * rt/timer_gettime.c: Likewise.
7735         * rt/timer_settime.c: Likewise.
7736         * setjmp/__longjmp.c: Likewise.
7737         * setjmp/setjmp.c: Likewise.
7738         * signal/kill.c: Likewise.
7739         * signal/killpg.c: Likewise.
7740         * signal/raise.c: Likewise.
7741         * signal/sigaction.c: Likewise.
7742         * signal/sigaltstack.c: Likewise.
7743         * signal/sigblock.c: Likewise.
7744         * signal/sigignore.c: Likewise.
7745         * signal/sigintr.c: Likewise.
7746         * signal/signal.c: Likewise.
7747         * signal/sigpause.c: Likewise.
7748         * signal/sigpending.c: Likewise.
7749         * signal/sigqueue.c: Likewise.
7750         * signal/sigreturn.c: Likewise.
7751         * signal/sigset.c: Likewise.
7752         * signal/sigsetmask.c: Likewise.
7753         * signal/sigstack.c: Likewise.
7754         * signal/sigsuspend.c: Likewise.
7755         * signal/sigtimedwait.c: Likewise.
7756         * signal/sigvec.c: Likewise.
7757         * signal/sigwait.c: Likewise.
7758         * signal/sigwaitinfo.c: Likewise.
7759         * signal/sysv_signal.c: Likewise.
7760         * socket/accept.c: Likewise.
7761         * socket/accept4.c: Likewise.
7762         * socket/bind.c: Likewise.
7763         * socket/connect.c: Likewise.
7764         * socket/getpeername.c: Likewise.
7765         * socket/getsockname.c: Likewise.
7766         * socket/getsockopt.c: Likewise.
7767         * socket/isfdtype.c: Likewise.
7768         * socket/listen.c: Likewise.
7769         * socket/recv.c: Likewise.
7770         * socket/recvfrom.c: Likewise.
7771         * socket/recvmsg.c: Likewise.
7772         * socket/send.c: Likewise.
7773         * socket/sendmsg.c: Likewise.
7774         * socket/sendto.c: Likewise.
7775         * socket/setsockopt.c: Likewise.
7776         * socket/shutdown.c: Likewise.
7777         * socket/sockatmark.c: Likewise.
7778         * socket/socket.c: Likewise.
7779         * socket/socketpair.c: Likewise.
7780         * stdio-common/ctermid.c: Likewise.
7781         * stdio-common/cuserid.c: Likewise.
7782         * stdio-common/remove.c: Likewise.
7783         * stdio-common/rename.c: Likewise.
7784         * stdio-common/renameat.c: Likewise.
7785         * stdio-common/tempname.c: Likewise.
7786         * stdlib/getcontext.c: Likewise.
7787         * stdlib/makecontext.c: Likewise.
7788         * stdlib/setcontext.c: Likewise.
7789         * stdlib/swapcontext.c: Likewise.
7790         * stdlib/system.c: Likewise.
7791         * streams/fattach.c: Likewise.
7792         * streams/fdetach.c: Likewise.
7793         * streams/getmsg.c: Likewise.
7794         * streams/getpmsg.c: Likewise.
7795         * streams/putmsg.c: Likewise.
7796         * streams/putpmsg.c: Likewise.
7797         * sysdeps/unix/bsd/getpt.c: Likewise.
7798         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7799         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7800         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7802         Likewise.
7803         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7804         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7805         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7806         * sysvipc/msgctl.c: Likewise.
7807         * sysvipc/msgget.c: Likewise.
7808         * sysvipc/msgrcv.c: Likewise.
7809         * sysvipc/msgsnd.c: Likewise.
7810         * sysvipc/semctl.c: Likewise.
7811         * sysvipc/semget.c: Likewise.
7812         * sysvipc/semop.c: Likewise.
7813         * sysvipc/semtimedop.c: Likewise.
7814         * sysvipc/shmat.c: Likewise.
7815         * sysvipc/shmctl.c: Likewise.
7816         * sysvipc/shmdt.c: Likewise.
7817         * sysvipc/shmget.c: Likewise.
7818         * termios/tcdrain.c: Likewise.
7819         * termios/tcflow.c: Likewise.
7820         * termios/tcflush.c: Likewise.
7821         * termios/tcgetattr.c: Likewise.
7822         * termios/tcgetpgrp.c: Likewise.
7823         * termios/tcsendbrk.c: Likewise.
7824         * termios/tcsetattr.c: Likewise.
7825         * termios/tcsetpgrp.c: Likewise.
7826         * time/adjtime.c: Likewise.
7827         * time/clock.c: Likewise.
7828         * time/getitimer.c: Likewise.
7829         * time/gettimeofday.c: Likewise.
7830         * time/setitimer.c: Likewise.
7831         * time/settimeofday.c: Likewise.
7832         * time/stime.c: Likewise.
7833         * time/time.c: Likewise.
7834
7835 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7836
7837         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7838         /usr/old/bin.
7839
7840         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7841         instead of spaces.
7842         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7843
7844 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7845
7846         [BZ #14796]
7847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7848         FE_TONEAREST before applying Dekker multiplication and Knuth
7849         addition.  Clear inexact exceptions and check for exact zero
7850         results afterwards.
7851         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7852         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7854         * math/libm-test.inc (fma_test): Add more tests.
7855         (fma_test_towardzero): Likewise.
7856         (fma_test_downward): Likewise.
7857         (fma_test_upward): Likewise.
7858         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7859         function.
7860         (libc_fesetround): New macro.
7861         (libc_fesetroundf): Likewise.
7862         (libc_fesetroundl): Likewise.
7863         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7864         function.
7865         (libc_fesetround_387): Likewise.
7866         (libc_fesetroundf): New macro.
7867         (libc_fesetround): Likewise.
7868         (libc_fesetroundl): Likewise.
7869         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7870         function.
7871         (libc_fesetroundf): New macro.
7872         (libc_fesetround): Likewise.
7873         (libc_fesetroundl): Likewise.
7874         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7875         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7876         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7877         libm_hidden_ver.
7878         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7879         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7880         libm_hidden_def.
7881         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7882         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7883         libm_hidden_ver.
7884         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7885         libm_hidden_def.
7886
7887         [BZ #3439]
7888         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7889         integer constant usable in #if and use that to give value to enum
7890         constant.
7891         (FE_DIVBYZERO): Likewise.
7892         (FE_UNDERFLOW): Likewise.
7893         (FE_OVERFLOW): Likewise.
7894         (FE_INVALID): Likewise.
7895         (FE_INVALID_SNAN): Likewise.
7896         (FE_INVALID_ISI): Likewise.
7897         (FE_INVALID_IDI): Likewise.
7898         (FE_INVALID_ZDZ): Likewise.
7899         (FE_INVALID_IMZ): Likewise.
7900         (FE_INVALID_COMPARE): Likewise.
7901         (FE_INVALID_SOFTWARE): Likewise.
7902         (FE_INVALID_SQRT): Likewise.
7903         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7904         (FE_TONEAREST): Likewise.
7905         (FE_TOWARDZERO): Likewise.
7906         (FE_UPWARD): Likewise.
7907         (FE_DOWNWARD): Likewise.
7908         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7909         (FE_DIVBYZERO): Likewise.
7910         (FE_OVERFLOW): Likewise.
7911         (FE_UNDERFLOW): Likewise.
7912         (FE_INEXACT): Likewise.
7913         (FE_TONEAREST): Likewise.
7914         (FE_DOWNWARD): Likewise.
7915         (FE_UPWARD): Likewise.
7916         (FE_TOWARDZERO): Likewise.
7917         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7918         (FE_UNDERFLOW): Likewise.
7919         (FE_OVERFLOW): Likewise.
7920         (FE_DIVBYZERO): Likewise.
7921         (FE_INVALID): Likewise.
7922         (FE_TONEAREST): Likewise.
7923         (FE_TOWARDZERO): Likewise.
7924         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7925         (FE_OVERFLOW): Likewise.
7926         (FE_UNDERFLOW): Likewise.
7927         (FE_DIVBYZERO): Likewise.
7928         (FE_INEXACT): Likewise.
7929         (FE_TONEAREST): Likewise.
7930         (FE_TOWARDZERO): Likewise.
7931         (FE_UPWARD): Likewise.
7932         (FE_DOWNWARD): Likewise.
7933         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7934         (FE_DIVBYZERO): Likewise.
7935         (FE_OVERFLOW): Likewise.
7936         (FE_UNDERFLOW): Likewise.
7937         (FE_INEXACT): Likewise.
7938         (FE_TONEAREST): Likewise.
7939         (FE_DOWNWARD): Likewise.
7940         (FE_UPWARD): Likewise.
7941         (FE_TOWARDZERO): Likewise.
7942
7943 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7944
7945         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7946
7947 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7948
7949         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7950         commands.  Quote $PWD.
7951         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7952         -x" by "export".
7953         (remove_newlines): Remove.
7954
7955 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7956
7957         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7958         * stdlib/stdlib.h (atof): Moved to ...
7959         * include/bits/stdlib-float.h: Here.  New file.
7960         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7961         * stdlib/bits/stdlib-float.h: New file.
7962         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7963         -mno-sse -mno-mmx.
7964         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7965         <xmmintrin.h>.
7966
7967 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7968
7969         * conform/conformtest.pl (@headers): Add fenv.h.
7970         * conform/data/fenv.h-data: New file.
7971         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7972         include of <math/fenv.h>.
7973
7974         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7975         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7976         && !UNIX98].  Enables tests for XOPEN2K8.
7977         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7978         POSIX2008]: Likewise.
7979
7980         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7981         (struct rusage): Do not expect type or its members.
7982
7983         [BZ #3439]
7984         * math/math.h (FP_NAN): Define macro to integer constant usable in
7985         #if and use that to give value to enum constant.
7986         (FP_INFINITE): Likewise.
7987         (FP_ZERO): Likewise.
7988         (FP_SUBNORMAL): Likewise.
7989         (FP_NORMAL): Likewise.
7990
7991 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7992
7993         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7994         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7995         arguments.
7996
7997 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7998
7999         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8000         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8001         autoconf-time if not.
8002         * configure.in: Remove AC_PREREQ.
8003
8004 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8005
8006         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8007         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8008         of the internal implementation.
8009
8010 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
8011
8012         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8013         except include of <misc/sys/syslog.h>.
8014
8015 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
8016
8017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8018         function returns with a NULL context exit with zero.
8019
8020 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8021
8022         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8023
8024 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
8025
8026         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8027         (run_program_cmd): This.
8028         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8029         (tst_langinfo): New variable.  Use it.
8030
8031 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
8032
8033         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8034         floating point opcodes.
8035
8036 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
8037
8038         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8039         variable.
8040
8041         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8042
8043         * sysdeps/mach/hurd/powerpc: Remove directory.
8044         * sysdeps/mach/powerpc: Likewise.
8045
8046 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
8047
8048         * scripts/check-local-headers.sh: Ignore c++ headers.
8049
8050 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
8051
8052         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8053         __libc_cleanup_region_start argument.
8054
8055 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
8056
8057         [BZ #14784]
8058         [BZ #14785]
8059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8060         x * y using scaling, not as x * y + z.
8061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8063         * math/libm-test.inc (fma_test): Add more tests.
8064         (fma_test_towardzero): Likewise.
8065         (fma_test_downward): Likewise.
8066         (fma_test_upward): Likewise.
8067
8068 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
8069
8070         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8071
8072 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
8073
8074         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8075         New variable.
8076
8077 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
8078
8079         * rt/tst-shm.c (worker): Correct checking for mmap failure.
8080
8081 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8082
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8084         Fix sort order.
8085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8086         Likewise.
8087
8088 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8089
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8091         Fix the order of the list for glibc 2.17.
8092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8093         Likewise.
8094
8095 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8096
8097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8098
8099 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
8100
8101         [BZ #14610]
8102         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8103         for low part of x being zero before using __atanl (y).
8104         * math/libm-test.inc (atan2_test): Add another test.
8105
8106         * manual/install.texi (Configuring and compiling): Document
8107         general use of test-wrapper and test-wrapper-env.
8108         * INSTALL: Regenerated.
8109
8110         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8111         (__fma): Do not extract and scale down low bits on after-rounding
8112         systems when result rounded to normal precision would have normal
8113         exponent.
8114         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8115         (__fmal): Do not extract and scale down low bits on after-rounding
8116         systems when result rounded to normal precision would have normal
8117         exponent.
8118         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8119         (__fmal): Do not extract and scale down low bits on after-rounding
8120         systems when result rounded to normal precision would have normal
8121         exponent.
8122         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8123         macro.
8124         (fma_test): Add more tests.
8125         (fma_test_towardzero): Likewise.
8126         (fma_test_downward): Likewise.
8127         (fma_test_upward): Likewise.
8128
8129 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
8130
8131         * sysdeps/i386/tininess.h: Renamed to ...
8132         * sysdeps/x86/tininess.h: This.
8133         * sysdeps/x86_64/tininess.h: Removed.
8134
8135 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
8136
8137         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8138         input.  Use $(build-program-cmd).
8139         ($(objpfx)tst-array1-static.out): Likewise.
8140         ($(objpfx)tst-array2.out): Likewise.
8141         ($(objpfx)tst-array3.out): Likewise.
8142         ($(objpfx)tst-array4.out): Likewise.
8143         ($(objpfx)tst-array5.out): Likewise.
8144         ($(objpfx)tst-array5-static.out): Likewise.
8145
8146 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
8147
8148         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8149         if defined.
8150
8151         * nss/nsswitch.h (nss_interface_function): Provide new
8152         macro for use with NSS functions.
8153         * grp/initgroups.c: Use new macro.
8154         * nss/getXXbyYY.c: Likewise.
8155         * nss/getXXbyYY_r.c: Likewise.
8156         * nss/getXXent.c: Likewise.
8157         * nss/getXXent_r.c: Likewise.
8158         * sysdeps/posix/getaddrinfo.c: Likewise.
8159
8160 2012-10-30  Andreas Jaeger  <aj@suse.de>
8161
8162         * po/ru.po: Update Russion translation from translation project.
8163
8164 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
8165
8166         [BZ #14152]
8167         [BZ #14783]
8168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8169         result and shift together with sticky bit instead of replicating
8170         round-to-nearest rounding.
8171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8172         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8173         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
8174         missing underflow exceptions.
8175         (fma_test_towardzero): Add more tests.
8176         (fma_test_downward): Likewise.
8177         (fma_test_upward): Likewise.
8178
8179         [BZ #14047]
8180         * sysdeps/generic/tininess.h: New file.
8181         * sysdeps/i386/tininess.h: Likewise.
8182         * sysdeps/sh/tininess.h: Likewise.
8183         * sysdeps/x86_64/tininess.h: Likewise.
8184         * stdlib/tst-strtod-underflow.c: Likewise.
8185         * stdlib/tst-tininess.c: Likewise.
8186         * stdlib/strtod_l.c: Include <tininess.h>.
8187         (round_and_return): Do not set errno for exact underflow cases.
8188         Force an underflow exception when setting errno for underflow.
8189         Determine underflow based on rounding to normal precision if
8190         TININESS_AFTER_ROUNDING.
8191         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8192         ERANGE for exact underflow cases.
8193         * stdlib/Makefile (tests): Add tst-tininess and
8194         tst-strtod-underflow.
8195         ($(objpfx)tst-tininess): Use $(link-libm).
8196         ($(objpfx)tst-strtod-underflow): Likewise.
8197
8198 2012-10-30  Andreas Jaeger  <aj@suse.de>
8199
8200         [BZ#14767]
8201         * elf/Makefile (tests): Remove conditional for have-initfini-array
8202         since this is now always required and the variable does not exist
8203         anymore.
8204         (tests-static): Likewise.
8205         (modules-names): Likewise.
8206
8207         * po/eo.po: Add Esperanto translation from translation project.
8208
8209         * elf/tst-array1.c (fini_array): Make writeable so that it can be
8210         merged with constructor/destructor.
8211         (init_array): Likewise.
8212         * elf/tst-array2dep.c (fini_array): Likewise.
8213         (init_array): Likewise.
8214
8215 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
8216
8217         * manual/message.texi: Delete @cartouche tags.
8218
8219 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
8220
8221         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8222         EOPNOTSUPP.
8223         * sysdeps/mach/hurd/fsync.c: Likewise.
8224
8225         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8226         [_POSIX_REALTIME_SIGNALS]: Change condition to
8227         [_POSIX_REALTIME_SIGNALS > 0].
8228
8229 2012-10-27  Andreas Jaeger  <aj@suse.de>
8230
8231         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8232         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8233         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8234         [__WORDSIZE != 64]: Likewise.
8235
8236 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
8237
8238         *  iconvdata/tst-table.sh: Remove ${SHELL}.
8239         *  iconvdata/tst-tables.sh: Likewise.
8240
8241 2012-10-25  David S. Miller  <davem@davemloft.net>
8242
8243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8244         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8245         of strtoull.
8246
8247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8248         ifunc-impl-list.c
8249         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8250         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8251         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8252         file.
8253
8254 2012-10-25  Roland McGrath  <roland@hack.frob.com>
8255
8256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8257         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8258         __getdirentries.
8259
8260 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
8261             Jim Blandy  <jimb@codesourcery.com>
8262
8263         * scripts/cross-test-ssh.sh: New file.
8264         * manual/install.texi (Configuring and compiling): Document use of
8265         cross-test-ssh.sh.
8266         * INSTALL: Regenerated.
8267
8268 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
8269
8270         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8271         EOPNOTSUPP.
8272
8273 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
8274
8275         * Makeconfig (run-program-prefix): Fix comment.
8276
8277 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
8278             Jim Blandy  <jimb@codesourcery.com>
8279
8280         * Makeconfig (test-wrapper): New variable,
8281         (test-wrapper-env): Likewise.
8282         [$(cross-compiling) = yes && $(test-wrapper) != ""]
8283         (run-built-tests): Define to yes.
8284         (run-program-prefix): Use $(test-wrapper).
8285         (built-program-cmd): Likewise.
8286         * Rules (make-test-out): Use $(test-wrapper-env) and
8287         $(host-built-program-cmd).
8288         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8289         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8290         tst-pathopt.sh.
8291         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8292         $(test-wrapper-env) to tst-rtld-load-self.sh.
8293         ($(objpfx)order2.out): Use $(test-wrapper).
8294         ($(objpfx)tst-initorder.out): Likewise.
8295         ($(objpfx)tst-initorder2.out): Likewise.
8296         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8297         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8298         (test_wrapper_env): New variable.  Use it to run ld.so.
8299         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8300         Use it to run ld.so.
8301         (test_wrapper_env): Likewise.
8302         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8303         $(test-wrapper) to run-iconv-test.sh.
8304         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8305         (ICONV): Use $test_wrapper.
8306         * posix/Makefile ($(objpfx)globtest.out): Pass
8307         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8308         globtest.sh, not $(run-program-prefix).
8309         * posix/globtest.sh (run_via_rtld_prefix): New variable.
8310         (test_wrapper): Likewise.
8311         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
8312         set together with run_via_rtld_prefix.
8313         (run_program_prefix): Define in terms of test_wrapper and
8314         run_via_rtld_prefix.
8315
8316 2012-10-24  Roland McGrath  <roland@hack.frob.com>
8317
8318         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8319         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8320         Targets removed.
8321
8322         [BZ #14743]
8323         * include/time.h: Remove librt_hidden_proto (clock_gettime).
8324         Declare __clock_getres, __clock_gettime, __clock_settime,
8325         __clock_nanosleep, and __clock_getcpuclockid.
8326         * rt/clock_gettime.c: Define __clock_gettime as an alias.
8327         Remove librt_hidden_def (clock_gettime).
8328         * sysdeps/unix/clock_gettime.c: Likewise.
8329         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8330         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8331         * rt/clock_getres.c: Define __clock_getres as an alias.
8332         * sysdeps/posix/clock_getres.c: Likewise.
8333         * rt/clock_settime.c: Define __clock_settime as an alias.
8334         * sysdeps/unix/clock_settime.c: Likewise.
8335         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8336         * sysdeps/unix/clock_nanosleep.c: Likewise.
8337         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8338         * rt/clock-compat.c: New file.
8339         * rt/Makefile (librt-routines): Add clock-compat and move
8340         $(clock-routines) to ...
8341         (routines): ... here, new variable.
8342         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8343         Don't add get_clockfreq here.
8344         * rt/Versions (libc: GLIBC_2.17): New version set.
8345         Add clock_* symbols here.
8346         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
8347         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8348         (GLIBC_2.17): Add clock_* symbols.
8349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8351         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8353         Likewise.
8354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8355         Likewise.
8356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8360         * NEWS: Mention the move.
8361
8362         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8363         Use __open, __read, __close rather than their public counterparts.
8364         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8365         (__get_clockfreq_via_cpuinfo): Likewise.
8366         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8367         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8368
8369         * config.h.in (HAVE_IFUNC): New #undef.
8370         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8371         was successful.
8372         * configure: Regenerated.
8373
8374 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
8375
8376         * configure.in: Move READELF check to start of file.
8377         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8378         libc_cv_asm_gnu_indirect_function in the process.
8379         * configure: Regenerated.
8380
8381 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
8382
8383         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8384         send the output to /dev/null.
8385         (libc_cv_cc_with_libunwind): Likewise.
8386         (libc_cv_as_noexecstack): Likewise.
8387         * configure: Regenerate.
8388
8389 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
8390
8391         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8392
8393         * posix/globtest.sh (TMPDIR): Do not set.
8394         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8395         (testout): Likewise.
8396
8397 2012-10-24  Andreas Jaeger  <aj@suse.de>
8398
8399         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8400         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8401         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8402         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8403         posix_fadvise64, posix_fallocate64.
8404
8405         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8406         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8407         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8408         Likewise.
8409         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8410         Likewise.
8411         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8412
8413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8414         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8415         <bits/fcntl-linux.h>.
8416         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8417
8418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8419         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8420         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8421         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8422         [__WORDSIZE != 64]: Likewise.
8423
8424 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
8425
8426         * Makeconfig (run-built-tests): New variable.
8427         * Rules [$(cross-compiling) = yes]: Change condition to
8428         [$(run-built-tests) = no].
8429         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8430         to [$(run-built-tests) = yes].
8431         * elf/Makefile [$(cross-compiling) = no]: Likewise
8432         * grp/Makefile [$(cross-compiling) = no]: Likewise.
8433         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8434         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8435         * intl/Makefile [$(cross-compiling) = no]: Likewise.
8436         * io/Makefile [$(cross-compiling) = no]: Likewise.
8437         * libio/Makefile [$(cross-compiling) = no]: Likewise.
8438         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8439         * misc/Makefile [$(cross-compiling) = no]: Likewise.
8440         * posix/Makefile [$(cross-compiling) = no]: Likewise.
8441         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8442         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8443         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8444         * string/Makefile [$(cross-compiling) = no]: Likewise.
8445
8446         * posix/Makefile ($(objpfx)globtest.out): Pass
8447         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8448         $(rtld-installed-name).
8449         * posix/globtest.sh (elf_objpfx): Remove variable.
8450         (rtld_installed_name): Likewise.
8451         (library_path): Likewise.
8452         (run_program_prefix): New variable.  Use for running globtest
8453         binary.
8454
8455 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
8456             Joseph Myers  <joseph@codesourcery.com>
8457
8458         * Makeconfig (host-built-program-cmd): New variable.
8459         * elf/Makefile (tst-stackguard1-ARGS): Use
8460         $(host-built-program-cmd).
8461         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8462         (tst-spawn-ARGS): Likewise.
8463         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8464
8465 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
8466             Jim Blandy  <jimb@codesourcery.com>
8467
8468         * Makeconfig (run-via-rtld-prefix): New variable.
8469         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8470         (built-program-cmd): Likewise.
8471
8472 2012-10-22  Andreas Jaeger  <aj@suse.de>
8473
8474         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8475         __O_RSYNC if it exists, otherwise to O_SYNC.
8476
8477 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
8478             Joseph Myers  <joseph@codesourcery.com>
8479
8480         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8481         /dev/null.
8482         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8483         from /dev/null
8484         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8485         /dev/null.
8486
8487 2012-10-22  Andreas Jaeger  <aj@suse.de>
8488
8489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8490         Define always.
8491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8492
8493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8494         bits/fcntl-linux.h.
8495
8496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8497         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8498
8499         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8500         to __O_LARGEFILE.
8501         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8502         to __O_LARGEFILE.
8503
8504 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
8505             Joseph Myers  <joseph@codesourcery.com>
8506
8507         * config.make.in (NM): New variable.
8508
8509 2012-10-21  Andreas Jaeger  <aj@suse.de>
8510
8511         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8512         definitions and declarations that are provided by
8513         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8514
8515 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
8516
8517         [BZ #14683]
8518         * elf/Makefile (tests-static): Add tst-leaks1-static.
8519         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8520         ($(objpfx)tst-leaks1-static): New rule.
8521         ($(objpfx)tst-leaks1-static-mem): Likewise.
8522         (tst-leaks1-static-ENV): New macro.
8523         * elf/dl-open.c (dl_open_worker): Check the main application
8524         only if SHARED is defined.
8525         * elf/tst-leaks1-static.c: New file.
8526
8527 2012-10-20  Andreas Jaeger  <aj@suse.de>
8528
8529         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8530         generic values for Linux.
8531         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8532         and declarations that are provided by <bits/fcntl-linux.h> and
8533         include <bits/fcntl-linux.h>.
8534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8536
8537 2012-10-20  Roland McGrath  <roland@hack.frob.com>
8538
8539         * io/fcntl.h: Move include of <bits/types.h> to the top and
8540         include it unconditionally.
8541
8542 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
8543
8544         * wcsmbs/Makefile (tests-ifunc): New variable.
8545         (tests): Add $(tests-ifunc).
8546         * wcsmbs/test-wcschr-ifunc.c: New file.
8547         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8548         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8549         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8550         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8551         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8552
8553         * string/Makefile (tests-ifunc): New variable.
8554         (tests): Add $(tests-ifunc).
8555         * string/test-memccpy.c (TEST_NAME): New macro.
8556         * string/test-memchr.c (TEST_NAME): Likewise.
8557         * string/test-memcmp.c (TEST_NAME): Likewise.
8558         * string/test-memcpy.c (TEST_NAME): Likewise.
8559         * string/test-memmem.c (TEST_NAME): Likewise.
8560         * string/test-memmove.c (TEST_NAME): Likewise.
8561         * string/test-memset.c (TEST_NAME): Likewise.
8562         * string/test-rawmemchr.c (TEST_NAME): Likewise.
8563         * string/test-stpcpy.c (TEST_NAME): Likewise.
8564         * string/test-stpncpy.c (TEST_NAME): Likewise.
8565         * string/test-strcasecmp.c (TEST_NAME): Likewise.
8566         * string/test-strcasestr.c (TEST_NAME): Likewise.
8567         * string/test-strcat.c (TEST_NAME): Likewise.
8568         * string/test-strchr.c (TEST_NAME): Likewise.
8569         * string/test-strcmp.c(TEST_NAME): Likewise.
8570         * string/test-strcpy.c (TEST_NAME): Likewise.
8571         * string/test-strcspn.c (TEST_NAME): Likewise.
8572         * string/test-strlen.c (TEST_NAME): Likewise.
8573         * string/test-strncasecmp.c (TEST_NAME): Likewise.
8574         * string/test-strncmp.c (TEST_NAME): Likewise.
8575         * string/test-strncpy.c (TEST_NAME): Likewise.
8576         * string/test-strnlen.c (TEST_NAME): Likewise.
8577         * string/test-strpbrk.c (TEST_NAME): Likewise.
8578         * string/test-strrchr.c (TEST_NAME): Likewise.
8579         * string/test-strspn.c (TEST_NAME): Likewise.
8580         * string/test-strstr.c (TEST_NAME): Likewise.
8581         * string/test-bcopy-ifunc.c: New file.
8582         * string/test-bzero-ifunc.c: Likewise.
8583         * string/test-memccpy-ifunc.c: Likewise.
8584         * string/test-memchr-ifunc.c: Likewise.
8585         * string/test-memcmp-ifunc.c: Likewise.
8586         * string/test-memcpy-ifunc.c: Likewise.
8587         * string/test-memmem-ifunc.c: Likewise.
8588         * string/test-memmove-ifunc.c: Likewise.
8589         * string/test-mempcpy-ifunc.c: Likewise.
8590         * string/test-memset-ifunc.c: Likewise.
8591         * string/test-rawmemchr-ifunc.c: Likewise.
8592         * string/test-stpcpy-ifunc.c: Likewise.
8593         * string/test-stpncpy-ifunc.c: Likewise.
8594         * string/test-strcasecmp-ifunc.c: Likewise.
8595         * string/test-strcasestr-ifunc.c: Likewise.
8596         * string/test-strcat-ifunc.c: Likewise.
8597         * string/test-strchr-ifunc.c: Likewise.
8598         * string/test-strchrnul-ifunc.c: Likewise.
8599         * string/test-strcmp-ifunc.c: Likewise.
8600         * string/test-strcpy-ifunc.c: Likewise.
8601         * string/test-strcspn-ifunc.c: Likewise.
8602         * string/test-strlen-ifunc.c: Likewise.
8603         * string/test-strncasecmp-ifunc.c: Likewise.
8604         * string/test-strncat-ifunc.c: Likewise.
8605         * string/test-strncmp-ifunc.c: Likewise.
8606         * string/test-strncpy-ifunc.c: Likewise.
8607         * string/test-strnlen-ifunc.c: Likewise.
8608         * string/test-strpbrk-ifunc.c: Likewise.
8609         * string/test-strrchr-ifunc.c: Likewise.
8610         * string/test-strspn-ifunc.c: Likewise.
8611         * string/test-strstr-ifunc.c: Likewise.
8612
8613         * debug/Makefile (tests-ifunc): New variable.
8614         (tests): Add $(tests-ifunc).
8615         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8616         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8617         * debug/test-stpcpy_chk-ifunc.c: New file.
8618         * debug/test-strcpy_chk-ifunc.c: Likewise.
8619
8620 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8621
8622         [BZ #13601]
8623         * elf/dl-load.c (open_verify): Retry read if the entire ELF
8624         header is not read in.
8625
8626 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
8627
8628         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
8629         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
8630         directly.  Pass built executable to script as
8631         $(built-program-cmd).
8632         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
8633         $testprogram without using LD_LIBRARY_PATH and $ldso.
8634
8635         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8636         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8637         $(rtld-installed-name).
8638         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8639         (rtld_installed_name): Likewise.
8640         (library_path): Likewise.
8641         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
8642         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8643         $(run-program-prefix) to tst-tables.sh.
8644         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
8645         it to run tst-table-from and tst-table-to.
8646         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8647         Pass it to tst-table.sh.
8648         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8649         $(run-program-prefix) to tst-gettext.sh.
8650         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8651         tst-translit.sh.
8652         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8653         tst-gettext2.sh.
8654         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
8655         to run tst-gettext.
8656         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
8657         to run tst-gettext2.
8658         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
8659         to run tst-translit.
8660         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8661         $(run-program-prefix) to tst-mtrace.sh.
8662         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
8663         to run tst-mtrace.
8664         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8665         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8666         $(rtld-installed-name).
8667         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8668         (rtld_installed_name): Likewise.
8669         (run_program_prefix): New variable.  Use it to run wordexp-test.
8670
8671         * Makeconfig (ARCH): Remove all definitions.
8672         (machine): Likewise.
8673         [ARCH]: Remove conditional code.
8674         [!objdir]: Give error.
8675         [!objdir] (objpfx): Remove.
8676         [!objdir] (common-objpfx): Likewise.
8677         [!objdir] (common-objdir): Likewise.
8678         * configure.in (config_makefile): Remove.  Hardcode Makefile in
8679         AC_CONFIG_FILES call.
8680         * configure: Regenerated.
8681
8682         [BZ #13888]
8683         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8684         or TMPDIR.
8685         (testout): Likewise.
8686
8687         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8688         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8689         $(rtld-installed-name).
8690         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8691         (rtld_installed_name): Likwise.
8692         (runit): Remove function.
8693         (run_getconf): New variable,  Use it for running getconf binary.
8694
8695 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
8696
8697         [BZ #14716]
8698         * string/test-memmem.c (check_result): New function.
8699         (do_one_test): Use it.
8700         (check1): New function.
8701         (test_main): Use it.
8702
8703 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
8704
8705         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8706
8707 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
8708
8709         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8710         (_G_LSEEK64): Likewise.
8711         (_G_MMAP64): Likewise.
8712         (_G_FSTAT64): Likewise.
8713         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8714         (_G_LSEEK64): Likewise.
8715         (_G_MMAP64): Likewise.
8716         (_G_FSTAT64): Likewise.
8717         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8718         unconditional.  Call __mmap64 directly.
8719         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8720         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
8721         __lseek64 directly.
8722         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8723         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
8724         __mmap64 directly.
8725         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8726         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8727         __lseek64 directly.
8728         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8729         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
8730         __lseek64 directly.
8731         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8732         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
8733         __lseek64 directly.
8734         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8735         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
8736         __fxstat64 directly.
8737         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8738         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8739         unconditional.
8740         (freopen64) [!_G_OPEN64]: Remove conditional code.
8741         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8742         unconditional.
8743         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8744         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8745         unconditional.
8746         (ftello64) [!_G_LSEEK64]: Remove conditional code.
8747         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8748         unconditional.
8749         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8750         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8751         unconditional.
8752         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8753         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8754         unconditional.
8755         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8756         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8757         unconditional.
8758         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8759         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8760         unconditional.
8761         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8762
8763 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8764
8765         [BZ #12140]
8766         * manual/memory.texi (Malloc Tunable Parameters): Add note
8767         about free list pointers overwriting some perturb bytes.
8768         Wording suggested by Roland McGrath.
8769
8770 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
8771
8772         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8773         (lgamma_test): Likewise.
8774         (tgamma_test): Likewise.
8775
8776 2012-10-16  Florian Weimer  <fweimer@redhat.com>
8777
8778         [BZ #14700]
8779         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8780         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8781
8782 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
8783
8784         * NEWS: Mention BZ #14716.
8785         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8786         when removing AVAILABLE1_USES_J macro.
8787
8788 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8789
8790         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8791         (__bswap_64): __uint64_t for unsigned 64-bit int.
8792
8793 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
8794
8795         * include/string.h (memmem): Declare libc hidden alias.
8796         * string/memmem.c (memmem): Define libc hidden alias.
8797         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8798         __read, __close instead of open, read, close.
8799
8800 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
8801
8802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8803         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8804         global and hidden.
8805         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8806         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8807         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8808         Likewise.
8809         (__rawmemchr_sse2): Likewise.
8810         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8811         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8812         (__strchr_sse2): Likewise.
8813         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8814         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8815         (__strcasecmp_sse2): Likewise.
8816         (__strncasecmp_sse2): Likewise.
8817         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8818         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8819         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8820         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8821         (__strrchr_sse2): Likewise.
8822         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8823         ifunc-impl-list.c.
8824         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8825         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8826         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8827         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8828         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8829         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8830         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8831         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8832         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8833         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8834         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8835         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8836         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8837         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8838         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8839         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8840         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8841         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8842         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8843         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8844         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8845         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8846         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8847         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8848         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8849         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8850         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8851         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8852         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8853         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8854
8855         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8856         global and hidden.
8857         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8858         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8859         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8860         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8861         Likewise.
8862         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8863         Likewise.
8864         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8865         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8866         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8867         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8868         ifunc-impl-list.c.
8869         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8870         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8871         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8872         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8873         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8874         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8875         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8876         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8877         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8878         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8879         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8880         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8881         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8882         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8883         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8884         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8885         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8886         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8887         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8888         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8889         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8890         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8891         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8892         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8893         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8894         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8895         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8896         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8897         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8898         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8899         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8900         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8901         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8902         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8903         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8904         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8905         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8906         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8907         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8908         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8909         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8910
8911         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8912         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8913         * include/ifunc-impl-list.h: New file.
8914         * misc/ifunc-impl-list.c: Likewise.
8915         * misc/Makefile (routines): Add ifunc-impl-list.
8916         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8917         * string/test-string.h: Include <ifunc-impl-list.h>.
8918         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8919         impl_array): New variables.
8920         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8921         are defined.
8922         (test_init): Call __libc_ifunc_impl_list to initialize
8923         func_list if TEST_IFUNC and TEST_NAME are defined.
8924
8925         * string/Makefile (strop-tests): Add bcopy and bzero.
8926         * string/test-bcopy.c: New file.
8927         * string/test-bzero.c: Likewise.
8928         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8929         defined.
8930         * string/test-memset.c: Support bzero test if TEST_BZERO is
8931         defined.
8932         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8933         __libc_memmove.
8934         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8935         __libc_memset.
8936         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8937         of memset.
8938
8939 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8940
8941         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8942         * configure: Regenerated.
8943
8944         * Makeconfig (+link-static-before-libc): Don't include
8945         $(link-static-libc).
8946
8947         * libio/libio.h (_IO_pos_t): Remove.
8948
8949 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8950
8951         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8952         McGrath.
8953
8954 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8955
8956         * crypt/crypt-entry.c: Include fips-private.h.
8957         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8958         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8959         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8960         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8961
8962 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8963
8964         * crypt/crypt-private.h: Include stdbool.h.
8965         (_ufc_setup_salt_r): Return bool.
8966         * crypt/crypt-entry.c: Include errno.h.
8967         (__crypt_r): Return NULL with EINVAL for bad salt.
8968         * crypt/crypt_util.c (bad_for_salt): New.
8969         (_ufc_setup_salt_r): Check that salt is long enough and within
8970         the specified alphabet.
8971         * crypt/badsalttest.c: New file.
8972         * crypt/Makefile (tests): Add it.
8973         ($(objpfx)badsalttest): New.
8974
8975 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8976
8977         * NEWS: Add entry for BZ #14602.
8978
8979 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8980
8981         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8982         type-generic.
8983         * math/libm-test.inc: Update comment listing what functions and
8984         macros are tested.
8985         (isgreater_test): New function.
8986         (isgreaterequal_test): Likewise.
8987         (isless_test): Likewise.
8988         (islessequal_test): Likewise.
8989         (islessgreater_test): Likewise.
8990         (isunordered_test): Likewise.
8991         (main): Call the new functions.
8992
8993 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8994
8995         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8996         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8997         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8998         * sysdeps/i386/configure: Regenerated.
8999         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9000         * sysdeps/mach/configure: Regenerated.
9001         * sysdeps/mach/hurd/configure: Regenerated.
9002         * sysdeps/powerpc/configure: Regenerated.
9003         * sysdeps/powerpc/powerpc32/configure: Regenerated.
9004         * sysdeps/powerpc/powerpc64/configure: Regenerated.
9005         * sysdeps/s390/s390-32/configure: Regenerated.
9006         * sysdeps/s390/s390-64/configure: Regenerated.
9007         * sysdeps/sh/configure: Regenerated.
9008         * sysdeps/sparc/configure: Regenerated.
9009         * sysdeps/unix/sysv/linux/configure: Regenerated.
9010         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9011         * sysdeps/x86_64/configure: Regenerated.
9012
9013         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9014         defined.  Don't check if MAP is NULL.
9015
9016 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
9017
9018         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9019         (_G_stat64): Likewise.
9020         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9021         (_G_stat64): Likewise.
9022         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9023         instead of struct _G_stat64.
9024         * libio/fileops.c (mmap_remap_check): Likewise.
9025         (decide_maybe_mmap): Likewise.
9026         (_IO_new_file_seekoff): Likewise.
9027         (_IO_file_stat): Likewise.
9028         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9029         _G_off64_t.
9030         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9031         instead of struct _G_stat64.
9032         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9033
9034 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
9035
9036         [BZ #14602]
9037         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9038         Replace with ...
9039         (CHECK_EOL): New macro.
9040         (two_way_short_needle): Check beginning of haystack for EOL.  Use
9041         CHECK_EOL.
9042         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9043         Replace with CHECK_EOL.
9044         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9045         Replace with CHECK_EOL.
9046
9047 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
9048
9049         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9050         type-generic.
9051         * math/libm-test.inc: Update comment listing what functions and
9052         macros are tested.
9053         (finite_test): New function.
9054         (isinf_test): Likewise.
9055         (isnan_test): Likewise.
9056         (fpclassify_test): Test subnormal input.
9057         (isfinite_test): Likewise.
9058         (isnormal_test): Likewise.
9059         (main): Call the new functions.
9060
9061 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
9062
9063         [BZ #14660]
9064         * Makerules (%.dynsym): Force C locale when running
9065         $(OBJDUMP) --dynamic-syms.
9066
9067 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
9068
9069         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9070         <stdint.h>.
9071
9072 2012-10-06  David S. Miller  <davem@davemloft.net>
9073
9074         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9075         upper 32-bits of the length value in %o2 since we use branch-on-register
9076         tests which consider the entire 64-bit register.
9077
9078 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
9079
9080         * string/test-strstr.c (check2): Add a test for page boundary.
9081
9082 2012-10-05  David S. Miller  <davem@davemloft.net>
9083
9084         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9085         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9086         file.
9087         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9088         sysdep_routines.
9089         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9090         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9091         and bzero when HWCAP_SPARC_CRYPTO is present.
9092
9093 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
9094
9095         [BZ #14602]
9096         * string/test-strstr.c (check2): New function.
9097         (test_main): Call check2.
9098
9099         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9100         and bug-strchr1.
9101         * string/bug-strcasestr1.c (do_test): Moved to ...
9102         * string/test-strcasestr.c (check1): Here.  New function.
9103         (do_one_test): Break out result checking code into ...
9104         (check_result): This.  New function.
9105         (do_one_test): Call check_result.
9106         (test_main): Call check1.
9107         * string/bug-strchr1.c (do_test): Moved to ...
9108         * string/test-strchr.c (check1): Here.  New function.
9109         (do_one_test): Break out result checking code into ...
9110         (check_result): This.  New function.
9111         (do_one_test): Call check_result.
9112         (test_main): Call check1.
9113         * string/bug-strstr1.c (main): Moved to ...
9114         * string/test-strstr.c (check1): Here.  New function.
9115         (do_one_test): Break out result checking code into ...
9116         (check_result): This.  New function.
9117         (do_one_test): Call check_result.
9118         (test_main): Call check1.
9119         * string/bug-strcasestr1.c: Removed.
9120         * string/bug-strchr1.c: Likewise.
9121         * string/bug-strstr1.c: Likewise.
9122
9123         * elf/Makefile (dl-routines): Add hwcaps.
9124         * elf/dl-support.c (_dl_important_hwcaps): Removed.
9125         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9126         (_dl_important_hwcaps): Moved to ...
9127         * elf/dl-hwcaps.c: Here.  New file.
9128         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9129
9130         [BZ #14557]
9131         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9132         if IS_IN_rtld isn't defined.
9133
9134         * elf/dl-support.c (_dl_sysinfo_map): New.
9135         Include "get-dynamic-info.h" and "setup-vdso.h".
9136         (_dl_non_dynamic_init): Call setup_vdso.
9137         * elf/dynamic-link.h: Don't include <assert.h>.
9138         (elf_get_dynamic_info): Moved to ...
9139         * elf/get-dynamic-info.h: Here.  New file.
9140         * elf/dynamic-link.h: Include "get-dynamic-info.h".
9141         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9142         * elf/setup-vdso.h: Here.  New file.
9143         * elf/rtld.c: Include "setup-vdso.h".
9144         (dl_main): Call setup_vdso.
9145
9146 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
9147
9148         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9149         creal in comment listing functions tested.  List finite, isinf,
9150         isnan, isless, islessequal, isgreater, isgreaterequal,
9151         islessgreater, isunordered, lgamma_r and pow10 as functions and
9152         macros not tested.  Mention which functions not tested are aliases
9153         for other functions.  Fix typo.  Note that signs of NaNs are not
9154         tested.
9155
9156         * scripts/config.guess: Update from config.git.
9157         * scripts/config.sub: Likewise.
9158
9159 2012-10-04  Roland McGrath  <roland@hack.frob.com>
9160
9161         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9162         * misc/madvise.c (madvise): Renamed to __madvise.
9163         Make madvise a weak alias.
9164         * include/sys/mman.h: Declare __madvise.
9165         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9166         * sysdeps/unix/syscalls.list
9167         (madvise): Make __madvise the strong name, and madvise a weak alias.
9168         * sysdeps/unix/sysv/linux/syscalls.list
9169         (madvise, mmap): Remove redundant entries.
9170         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9171         * malloc/malloc.c (mtrim): Likewise.
9172         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9173
9174 2012-10-03  Roland McGrath  <roland@hack.frob.com>
9175
9176         * sysdeps/mach/hurd/dl-cache.c: File removed.
9177         * config.h.in (USE_LDCONFIG): New #undef.
9178         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9179         * configure: Regenerated.
9180         * elf/Makefile (dl-routines): Add dl-cache only under
9181         [$(use-ldconfig) = yes].
9182         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9183         cache on [USE_LDCONFIG].
9184         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9185         [USE_LDCONFIG].
9186         * elf/rtld.c (dl_main): Likewise.
9187
9188 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
9189
9190         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9191         _SC_LEVEL4_CACHE_LINESIZE.
9192
9193 2012-10-03  Roland McGrath  <roland@hack.frob.com>
9194
9195         * sysdeps/unix/bsd/confstr.h: File removed.
9196
9197 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
9198
9199         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9200         sys/sdt-config.h.
9201
9202 2012-10-02  Roland McGrath  <roland@hack.frob.com>
9203
9204         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9205         Make 'mapoff' field ElfW(Off) rather than off_t.
9206
9207 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
9208
9209         * nscd/Makefile: Remove nscd-cflags and all its users.
9210         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9211         (CFLAGS-nonlib): Add compiler flags for nscd modules.
9212
9213         [BZ #10631]
9214         * malloc.c (malloc_printerr): Clarify error message.
9215
9216 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
9217
9218         [BZ #14648]
9219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9220         Set bit_FMA_Usable if FMA is supported.
9221         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9222         macro.
9223         (bit_FMA4_Usable): Updated.
9224         (index_FMA_Usable): New macro.
9225         (CPUID_FMA): Likewise
9226         (HAS_FMA): Defined with bit_FMA_Usable.
9227
9228 2012-10-01  Roland McGrath  <roland@hack.frob.com>
9229
9230         * bits/types.h (__swblk_t): Type removed.
9231         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9232         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9233         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9234         (__SWBLK_T_TYPE): Likewise.
9235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9236         (__SWBLK_T_TYPE): Likewise.
9237         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9238         (__SWBLK_T_TYPE): Likewise.
9239         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9240         (__SWBLK_T_TYPE): Likewise.
9241
9242 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
9243             Honza Horak <hhorak@redhat.com>
9244
9245         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9246         (xdr_mapname): Use YPMAXMAP as maxsize.
9247         (xdr_peername): Use YPMAXPEER as maxsize.
9248         (xdr_keydat): Use YPAXRECORD as maxsize.
9249         (xdr_valdat): Use YPMAXRECORD as maxsize.
9250
9251 2012-10-01  Roland McGrath  <roland@hack.frob.com>
9252
9253         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9254
9255         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9256         * csu/init-first.c: ... here.
9257         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9258         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9259         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9260         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9261         * sysdeps/i386/init-first.c: File removed.
9262         * sysdeps/sh/init-first.c: File removed.
9263
9264 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
9265
9266         [BZ #14645]
9267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9268         if x * y might underflow to zero and z is zero.
9269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9271         * math/libm-test.inc (min_subnorm_value): New variable.
9272         (fma_test): Add more tests.
9273         (fma_test_towardzero): Likewise.
9274         (fma_test_downward): Likewise
9275         (fma_test_upward): Likewise.
9276         (initialize): Set min_subnorm_value.
9277
9278 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
9279
9280         [BZ #14638]
9281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9282         0 + 0.
9283         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9284         mode for addition resulting in exact zero.
9285         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9287         exact 0 + 0.
9288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9290         * math/libm-test.inc (fma_test): Add more tests.
9291         (fma_test_towardzero): New function.
9292         (fma_test_downward): Likewise.
9293         (fma_test_upward): Likewise.
9294         (main): Call the new functions.
9295
9296 2012-09-28  David S. Miller  <davem@davemloft.net>
9297
9298         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9299
9300 2012-09-28  Roland McGrath  <roland@hack.frob.com>
9301
9302         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9303         instead of SIGALRM.
9304
9305         * sysdeps/gnu/_G_config.h: Moved to ...
9306         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9307         * sysdeps/mach/hurd/_G_config.h: Moved to ...
9308         * sysdeps/generic/_G_config.h: ... here.
9309
9310         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
9311
9312         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9313
9314         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9315         Conditionalize target on [libnss_test1.so-version].
9316
9317         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9318
9319         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9320         (elfobjdir): Move out of conditionals.
9321
9322         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9323         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9324         (__nss_lookup_function): Conditionalize label remove_from_tree on
9325         [!DO_STATIC_NSS || SHARED], matching its only use.
9326
9327 2012-09-28  David S. Miller  <davem@davemloft.net>
9328
9329         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9330         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9331         file.
9332         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9333         sysdep_routines.
9334         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9335         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9336         when HWCAP_SPARC_CRYPTO is present.
9337
9338 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
9339
9340         * io/tst-mknodat.c: Create a FIFO instead of a socket.
9341
9342 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
9343
9344         [BZ #6530]
9345         * stdio-common/vfprintf.c (process_string_arg): Revert
9346         2000-07-22 change.
9347
9348 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
9349
9350         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9351         for testcase.
9352         * stdio-common/tst-sprintf.c: Include <locale.h>
9353         (main): Test sprintf's handling of incomplete multibyte
9354         characters.
9355
9356 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
9357
9358         * elf/dl-runtime.c (VERSYMIDX): Removed.
9359         * elf/dl-version.c (VERSYMIDX): Likewise.
9360         * elf/do-rel.h (VERSYMIDX): Likewise.
9361         (VALIDX): Likewise.
9362         * elf/dynamic-link.h (VERSYMIDX): Likewise.
9363         * elf/rtld.c (VALIDX): Likewise.
9364         (ADDRIDX): Likewise.
9365         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9366         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9367         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9368         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9369         (VALIDX): Likewise.
9370         (ADDRIDX): Likewise.
9371
9372 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
9373
9374         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9375
9376 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
9377
9378         [BZ #11438]
9379         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9380         to global scope.
9381         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9382         addresses are in the same scope as 192.0.2/24.
9383         * posix/gai.conf: Document new scope table defaults.
9384
9385 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9386
9387         [BZ #5298]
9388         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9389         for ftell.  Compute offsets from write pointers instead.
9390         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9391
9392 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9393
9394         [BZ #14543]
9395         * libio/Makefile (tests): New test case tst-fseek.
9396         * libio/tst-fseek.c: New test case to verify that fseek/ftell
9397         combination works in wide mode.
9398         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9399         state when the external buffer state changes.
9400
9401 2012-09-27  David S. Miller  <davem@davemloft.net>
9402
9403         [BZ #14376]
9404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9405         pass reloc->r_addend in as the 'high' argument to
9406         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9407
9408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9409
9410 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
9411
9412         * rt/tst-aio2.c: Include <pthread.h>.
9413         * rt/tst-aio3.c: Likewise.
9414
9415 2012-09-27  Steve Ellcey  <sellcey@mips.com>
9416
9417         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9418
9419 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9420
9421         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9422         contents on [SHARED].
9423
9424 2012-09-26  Marek Polacek  <polacek@redhat.com>
9425
9426         [BZ #14530]
9427         [BZ #13741]
9428         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9429         for C++ and GCC <4.3 as well as for non GCC compilers.
9430
9431 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9432
9433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9434
9435 2012-09-25  Roland McGrath  <roland@hack.frob.com>
9436
9437         * Makefile.in (all, install): Declare with .PHONY.
9438         Reported by Michael Hope <michael.hope@linaro.org>.
9439
9440 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9441
9442         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9443         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9444         system header.
9445         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9446         Likewise.
9447         (sydep_routines): Add the new and the internal functions.
9448         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9449         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9451         (GLIBC_2.17): Add the new function.
9452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9453         (GLIBC_2.17): Likewise.
9454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9455         (GLIBC_2.17): Likewise.
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9457         (GLIBC_2.17): Likewise.
9458         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9459
9460 2012-09-25  Alan Modra  <amodra@gmail.com>
9461
9462         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9463         Add release barrier before setting once_control to say
9464         initialisation is done.  Add hints on lwarx.  Use macro in
9465         place of isync.
9466         (clear_once_control): Add release barrier.
9467
9468 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
9469
9470         [BZ #13629]
9471         * math/s_clog.c (__clog): Handle more values close to |z| = 1
9472         specially.
9473         * math/s_clog10.c (__clog10): Likewise.
9474         * math/s_clog10f.c (__clog10f): Likewise.
9475         * math/s_clog10l.c (__clog10l): Likewise.
9476         * math/s_clogf.c (__clogf): Likewise.
9477         * math/s_clogl.c (__clogl): Likewise.
9478         * math/Makefile (libm-calls): Add x2y2m1.
9479         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9480         (__x2y2m1): Likewise.
9481         (__x2y2m1l): Likewise.
9482         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9483         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9484         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9485         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9486         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9487         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9488         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9489         * sysdeps/i386/fpu/libm-test-ulps: Update.
9490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9491
9492         [BZ #14621]
9493         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9494         int as type of variable DEPTH.
9495         (glob): Use size_t instead of int as type of variables NEWCOUNT
9496         and OLD_PATHC.
9497
9498 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9499
9500         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9501         Add s_sincosf-sse2.
9502         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9503         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9504         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9505         macros for using routine as __sincosf_ia32.
9506         Use macro for function declaration and weak_alias.
9507         * sysdeps/i386/fpu/libm-test-ulps: Update.
9508
9509         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9511
9512         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9513         subnormal argument.
9514         * math/s_cexpf.c (__cexpf): Likewise.
9515         * math/s_csinf.c (__csinf): Likewise.
9516         * math/s_csinhf.c (__csinhf): Likewise.
9517         * math/s_ctanf.c (__ctanf): Likewise.
9518         * math/s_ctanhf.c (__ctanhf): Likewise.
9519         * math/s_ccosh.c (__ccoshf): Likewise.
9520         * math/s_cexp.c (__cexpl): Likewise.
9521         * math/s_csin.c (__csin): Likewise.
9522         * math/s_csinh.c (__csinh): Likewise.
9523         * math/s_ctan.c (__ctan): Likewise.
9524         * math/s_ctanh.c (ctanh): Likewise.
9525         * math/s_ccoshl.c (__ccoshl): Likewise.
9526         * math/s_cexpl.c (__cexpl): Likewise.
9527         * math/s_csinl.c (__csinl): Likewise.
9528         * math/s_csinhl.c (__csinhl): Likewise.
9529         * math/s_ctanl.c (__ctanl): Likewise.
9530         * math/s_ctanhl.c (__ctanhl): Likewise.
9531
9532 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
9533
9534         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9535         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9536         (_IO_off_t): Define to __off_t, not _G_off_t.
9537         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9538         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9539         (_IO_wint_t): Define to wint_t, not _G_wint_t.
9540         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9541         type of __dummy and __dummy2 fields.
9542         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9543         (_G_ssize_t): Likewise.
9544         (_G_off_t): Likewise.
9545         (_G_pid_t): Likewise.
9546         (_G_uid_t): Likewise.
9547         (_G_wchar_t): Likewise.
9548         (_G_wint_t): Likewise.
9549         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9550         (_G_ssize_t): Likewise.
9551         (_G_off_t): Likewise.
9552         (_G_pid_t): Likewise.
9553         (_G_uid_t): Likewise.
9554         (_G_wchar_t): Likewise.
9555         (_G_wint_t): Likewise.
9556         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9557         (_G_ssize_t): Likewise.
9558         (_G_off_t): Likewise.
9559         (_G_pid_t): Likewise.
9560         (_G_uid_t): Likewise.
9561         (_G_wchar_t): Likewise.
9562         (_G_wint_t): Likewise.
9563
9564 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9565
9566         * malloc/arena.c: Include malloc-sysdep.h.
9567         (shrink_heap): Use check_may_shrink_heap to decide if madvise
9568         is sufficient to shrink the heap or an unmap is needed.
9569         * sysdeps/generic/malloc-sysdep.h: New file.  Define
9570         new function check_may_shrink_heap.
9571         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
9572         new function check_may_shrink_heap.
9573
9574 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9575
9576         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9577         comments.
9578
9579 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
9580
9581         * catgets/test-gencat.sh: Add "set -e".
9582         * elf/tst-pathopt.sh: Likewise.
9583         * grp/tst_fgetgrent.sh: Likewise.
9584         * iconvdata/run-iconv-test.sh: Likewise.
9585         * intl/tst-gettext.sh: Likewise.
9586         * intl/tst-gettext2.sh: Likewise.
9587         * intl/tst-gettext4.sh: Likewise.
9588         * intl/tst-gettext6.sh: Likewise.
9589         * intl/tst-translit.sh: Likewise.
9590         * io/ftwtest-sh: Likewise.
9591         * libio/test-freopen.sh: Likewise.
9592         * malloc/tst-mtrace.sh: Likewise.
9593         * posix/globtest.sh: Likewise.
9594         * posix/tst-getconf.sh: Likewise.
9595         * posix/wordexp-tst.sh: Likewise.
9596         * stdio-common/tst-printf.sh: Likewise.
9597         * stdio-common/tst-unbputc.sh: Likewise.
9598         * stdlib/tst-fmtmsg.sh: Likewise.
9599         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9600         * catgets/Makefile: Do not specify -e option when running
9601         testsuite shell scripts.
9602         * elf/Makefile: Likewise.
9603         * grp/Makefile: Likewise.
9604         * iconvdata/Makefile: Likewise.
9605         * intl/Makefile: Likewise.
9606         * io/Makefile: Likewise.
9607         * libio/Makefile: Likewise.
9608         * malloc/Makefile: Likewise.
9609         * posix/Makefile: Likewise.
9610         * stdio-common/Makefile: Likewise.
9611         * stdlib/Makefile: Likewise.
9612         * sysdeps/x86_64/Makefile: Likewise.
9613
9614         * io/ftwtest-sh: Add copyright header.
9615         * posix/globtest.sh: Likewise.
9616         * posix/tst-getconf.sh: Likewise.
9617         * posix/wordexp-tst.sh: Likewise.
9618         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9619
9620 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
9621
9622         [BZ #13679]
9623         * Makeconfig (+link): Defined as $(+link-static) if
9624         $(build-shared) isn't yes.
9625         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9626         isn't yes.
9627         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9628
9629         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9630
9631         [BZ #14562]
9632         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9633         new chunk size with MALLOC_ALIGN_MASK.
9634
9635 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
9636
9637         [BZ #5044]
9638         * stdio-common/printf_fphex.c: Include <stdbool.h> and
9639         <rounding-mode.h>.
9640         (__printf_fphex): Determine rounding using get_rounding_mode and
9641         round_away.
9642         * stdio-common/tst-printf-round.c (struct hex_test): New
9643         structure.
9644         (hex_tests): New variable.
9645         (test_hex_in_one_mode): New function.
9646         (do_test): Also run tests for hex float output.
9647
9648 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
9649
9650         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9651         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9652         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9653         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9654         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9655         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9656         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9657         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9658
9659 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
9660
9661         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9662         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9663         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9664         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9665
9666 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
9667
9668         [BZ #14579]
9669         * elf/rtld.c (dl_main): Limit the check for self loading to normal
9670         mode only.
9671         * elf/tst-rtld-load-self.sh: New test.
9672         * elf/Makefile: Run it.
9673
9674 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
9675
9676         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9677         (tst-writev-ENV): Remove.
9678         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9679
9680 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
9681
9682         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9683
9684 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
9685
9686         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9687         unconditional.
9688         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9689         Likewise.
9690         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9691         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9692         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9693         Likewise.
9694
9695 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9696
9697         [BZ #14587]
9698         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9699         * config.make.in (have-cpp-asm-debuginfo): Removed.
9700         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9701         * configure: Regenerated.
9702
9703 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
9704
9705         [BZ #5044]
9706         * stdio-common/printf_fp.c: Include <stdbool.h> and
9707         <rounding-mode.h>.
9708         (___printf_fp): Determine rounding using get_rounding_mode and
9709         round_away.
9710         * stdio-common/tst-printf-round.c: New file.
9711         * stdio-common/Makefile (tests): Add tst-printf-round.
9712         (link-libm): New variable.
9713         ($(objpfx)tst-printf-round): Depend in $(link-libm).
9714
9715 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
9716
9717         [BZ #14576]
9718         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9719         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9720         Likewise.
9721         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9722         Likewise.
9723
9724 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
9725
9726         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9727         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9728         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9729         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9730
9731 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
9732
9733         [BZ #14518]
9734         * include/rounding-mode.h: New file.
9735         * sysdeps/generic/get-rounding-mode.h: Likewise.
9736         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9737         * stdlib/strtod_l.c: Include <rounding-mode.h>.
9738         (MAX_VALUE): New macro.
9739         (MIN_VALUE): Likewise.
9740         (overflow_value): New function.
9741         (underflow_value): Likewise.
9742         (round_and_return): Use overflow_value and underflow_value to
9743         determine return values in overflow and underflow cases.  Use
9744         round_away to determine rounding depending on rounding mode.
9745         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9746         determine return values in overflow and underflow cases.
9747         * stdlib/tst-strtod-round.c: Include <fenv.h>.
9748         (struct test_results): New structure.
9749         (struct test): Use struct test_results to store expected results
9750         for all rounding modes.
9751         (TEST): Include expected results for all rounding modes.
9752         (test_in_one_mode): New function.
9753         (do_test): Use test_in_one_mode to compute and check results.
9754         Check results for all rounding modes.
9755         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9756         $(link-libm).
9757
9758 2012-12-09  Allan McRae  <allan@archlinux.org>
9759
9760         * sysdeps/i386/fpu/libm-test-ulps: Update
9761
9762 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
9763
9764         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9765         (_G_int32_t): Likewise.
9766         (_G_uint16_t): Likewise.
9767         (_G_uint32_t): Likewise.
9768         (_G_HAVE_BOOL): Likewise.
9769         (_G_HAVE_ATEXIT): Likewise.
9770         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9771         (_G_HAVE_IO_FILE_OPEN): Likewise.
9772         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9773         (_G_int32_t): Likewise.
9774         (_G_uint16_t): Likewise.
9775         (_G_uint32_t): Likewise.
9776         (_G_HAVE_BOOL): Likewise.
9777         (_G_HAVE_ATEXIT): Likewise.
9778         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9779         (_G_HAVE_IO_FILE_OPEN): Likewise.
9780         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9781         (_G_int32_t): Likewise.
9782         (_G_uint16_t): Likewise.
9783         (_G_uint32_t): Likewise.
9784         (_G_HAVE_BOOL): Likewise.
9785         (_G_HAVE_ATEXIT): Likewise.
9786         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9787         (_G_HAVE_IO_FILE_OPEN): Likewise.
9788
9789 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
9790
9791         * csu/libc-tls.c: Update copyright years.
9792
9793 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
9794
9795         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9796         [!_G_USING_THUNKS]: Remove conditional code.
9797         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9798         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9799
9800         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9801         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9802         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9803         (_G_VTABLE_LABEL_PREFIX): Likewise.
9804         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9805         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9806         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9807         (_G_VTABLE_LABEL_PREFIX): Likewise.
9808         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9809         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9810         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9811         (_G_VTABLE_LABEL_PREFIX): Likewise.
9812         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9813
9814 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
9815
9816         * libio/Makefile: Include ../Makeconfig before tests.
9817         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9818         only if $(build-shared) is yes.
9819
9820         * iconv/gconv_db.c: Update copyright years.
9821
9822 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9823
9824         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9825         unwind info if defined PIC. Fix special cases description.
9826         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9827
9828         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9829         DP_HI_MASK entry.
9830         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9831
9832 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9833
9834         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9835
9836         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9837         is NULL.
9838
9839         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9840         (LDLIBS-tst-chk4): This.
9841         (LDFLAGS-tst-chk5): Renamed to ...
9842         (LDLIBS-tst-chk5): This.
9843         (LDFLAGS-tst-chk6): Renamed to ...
9844         (LDLIBS-tst-chk6): This.
9845         (LDFLAGS-tst-lfschk4): Renamed to ...
9846         (LDLIBS-tst-lfschk4): This.
9847         (LDFLAGS-tst-lfschk5): Renamed to ...
9848         (LDLIBS-tst-lfschk5): This.
9849         (LDFLAGS-tst-lfschk6): Renamed to ...
9850         (LDLIBS-tst-lfschk6): This.
9851
9852         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9853         on $(common-objpfx)soversions.mk.
9854
9855 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9856
9857         [BZ #10014]
9858         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9859         example host name.
9860
9861 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9862
9863         * malloc/arena.c (arena_get_retry): New function that gets
9864         another arena for the caller to try its request on.
9865         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9866         current arena cannot fulfill the request.
9867         (__libc_memalign): Likewise.
9868         (__libc_memalign): Likewise.
9869         (__libc_pvalloc): Likewise.
9870         (__libc_calloc): Likewise.
9871
9872 2012-09-05  John Tobey  <john.tobey@gmail.com>
9873
9874         [BZ #13542]
9875         * manual/arith.texi (Operations on Complex): Fix description
9876         of carg branch cut.
9877
9878 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9879
9880         [BZ #10014]
9881         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9882         host name.
9883
9884         [BZ #10038]
9885         * manual/memory.texi (Memory): Make order of menu items match
9886         order of sections.
9887
9888 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9889
9890         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9891         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9892         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9893
9894 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9895
9896         * csu/libc-tls.c (static_dtv): Renamed to ...
9897         (_dl_static_dtv): This.  Make it global.
9898         (_dl_initial_dtv): Removed.
9899         (__libc_setup_tls): Updated.
9900         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9901         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9902         DL_INITIAL_DTV.
9903
9904 2012-09-06  Petr Machata  <pmachata@redhat.com>
9905
9906         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9907         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9908         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9909         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9910
9911 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9912
9913         [BZ #14545]
9914         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9915         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9916         freeing dtv[-1].
9917
9918 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9919
9920         [BZ #14544]
9921         * Makeconfig (link-static-before-libc): Replace $(+prector)
9922         with $(+prectorT).
9923         (link-static-after-libc): Replace $(+postctor) with
9924         $(+postctorT).
9925         (link-bounded): Replace $(+prector)/$(+postctor) with
9926         $(+prectorT)/$(+postctorT).
9927         (+prectorT): New macro.
9928         (+postctorT): Likewise.
9929
9930 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9931
9932         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9933         (round_str): Handle values above the maximum for IBM long double
9934         as inexact.
9935         * stdlib/tst-strtod-round.c (tests): Regenerated.
9936
9937 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9938
9939         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9940         assembler flag.
9941         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9942         zarch_nohighgprs around the zarch optimized routines.
9943         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9944         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9945         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9946         for zarch.
9947
9948 2012-09-05  David S. Miller  <davem@davemloft.net>
9949
9950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9951
9952         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9953         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9954         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9955         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9956         entries.
9957
9958 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9959
9960         * malloc/arena.c: Fold copyright years.
9961         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9962
9963 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9964
9965         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9966
9967 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9968
9969         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9970
9971 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9972
9973         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9974         change internal state upon failure.
9975
9976 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9977
9978         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9979         * malloc/memusage.c (mmap): Likewise.
9980         (mmap64, mremap): Likewise.  Adjust name in comment.
9981
9982 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9983
9984         * libio/fileops.c: Fix typos in comments.
9985         * libio/oldfileops.c: Likewise.
9986         * libio/wfileops.c: Likewise.
9987
9988 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9989
9990         [BZ #1349]
9991         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9992         (tst-malloc-usable-ENV): Set environment for test case.
9993         * malloc/hooks.c (malloc_check_get_size): New function to get
9994         requested size.
9995         * malloc/malloc.c (musable): Use malloc_check_get_size.
9996         * malloc/tst-malloc-usable.c: New test case.
9997
9998 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9999
10000         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10001
10002 2012-09-05  Allan McRae  <allan@archlinux.org>
10003
10004         [BZ #13966]
10005         * configure.in (CXX_SYSINCLUDES): Use compiler output to
10006         determine header location.
10007         * configure: Regenerated.
10008
10009 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
10010
10011         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10012         float format.
10013         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10014         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10015         format.
10016         (test): Regenerate.
10017
10018 2012-09-04  David S. Miller  <davem@davemloft.net>
10019
10020         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10021         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10022         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10023
10024 2012-09-04  Florian Weimer  <fweimer@redhat.com>
10025
10026         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10027         failures.
10028
10029         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10030
10031 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
10032
10033         [BZ #9914]
10034         * libio/iogetdelim.c: Include <limits.h>.
10035         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10036         + len + 1 would overflow.
10037
10038 2012-09-03  Andreas Jaeger  <aj@suse.de>
10039
10040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10041         * sysdeps/i386/fpu/libm-test-ulps: Update.
10042
10043 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10044
10045         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10046         Add s_sinf-sse2, s_conf-sse2.
10047
10048         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10049         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10050         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10051         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10052
10053         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10054         for using routine as __sinf_ia32.
10055         Use macro for function declaration and weak_alias.
10056         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10057         for using routine as __cosf_ia32.
10058         Use macro for function declaration and weak_alias.
10059
10060         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10061         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10062
10063         * sysdeps/x86_64/fpu/s_sinf.S: New file.
10064         * sysdeps/x86_64/fpu/s_cosf.S: New file.
10065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10066
10067         * math/libm-test.inc (cos_test): Add more test cases.
10068         (sin_test): Likewise.
10069         (sincos_test): Likewise.
10070
10071 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10072
10073         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10074         (IFUNC_RESOLVE): Make pointers to the specialized implementations
10075         hidden.
10076         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10077
10078 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
10079
10080         [BZ #14538]
10081         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10082         first element of the GOT.
10083         (elf_machine_load_address): Return the difference between
10084         the runtime address of _DYNAMIC and elf_machine_dynamic ().
10085
10086 2012-09-01  Allan McRae  <allan@archlinux.org>
10087
10088         [BZ #13412]
10089         * configure.in (AWK): Require gawk version 3.0 or later.
10090         * configure: Regenerated.
10091
10092 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
10093
10094         * sysdeps/unix/sysv/linux/kernel-features.h
10095         (__ASSUME_POSIX_CPU_TIMERS): Remove.
10096         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10097         [__NR_clock_getres]: Make code unconditional.
10098         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10099         (clock_getcpuclockid): Remove code left unreachable by removal of
10100         conditionals.
10101         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10102         code unconditional.
10103         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10104         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10105         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10106         Make code unconditional.
10107         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10108         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10109         * sysdeps/unix/sysv/linux/clock_settime.c
10110         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10111         conditional code.
10112         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10113         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10114
10115 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
10116
10117         [BZ #14476]
10118         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10119         scripts/test-installation.pl.
10120
10121         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10122         and $ld_so_version if it is set.
10123
10124 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10125
10126         [BZ #14516]
10127         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10128         failure if reading from procfs failed.
10129         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10130
10131 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
10132
10133         * sysdeps/unix/sysv/linux/kernel-features.h
10134         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10135         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10136         Remove conditional code.
10137         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10138         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10139         Remove conditional code.
10140         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10141         * sysdeps/unix/sysv/linux/i386/fxstat.c
10142         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10143         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10144         * sysdeps/unix/sysv/linux/i386/fxstatat.c
10145         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10146         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10147         * sysdeps/unix/sysv/linux/i386/lxstat.c
10148         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10149         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10150         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10151         Remove conditional code.
10152         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10153         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10154         Remove conditional code.
10155         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10156         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10157         <kernel-features.h>.
10158         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10159         Remove.
10160         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10161         Remove conditional code.
10162         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10163         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10164         Remove conditional.
10165
10166 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
10167
10168         [BZ #5400]
10169         * NEWS: Add fixed bug number.
10170
10171 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
10172
10173         [BZ #14519]
10174         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10175         underflowing exponent in case of negative sign.
10176         * stdlib/tst-strtod-round-data: Add more tests.
10177         * stdlib/tst-strtod-round.c (tests): Regenerated.
10178
10179         [BZ #3479]
10180         * stdlib/strtod_l.c (NDIG): Remove.
10181         (HEXNDIG): Likewise.
10182         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10183         smallest representable value.
10184         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10185         lie within an exact representation of 1/2 ulp of the result.
10186         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10187         unconditionally.
10188         (TENS_P9_IDX): Define unconditionally.
10189         (TENS_P9_SIZE): Likewise.
10190         (TENS_P10_IDX): Likewise.
10191         (TENS_P10_SIZE): Likewise.
10192         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10193         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10194         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10195         entries for 10^2^13 and 10^2^14.
10196         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10197         (TENS_P13_IDX): Define.
10198         (TENS_P13_SIZE): Likewise.
10199         (TENS_P14_IDX): Likewise.
10200         (TENS_P14_SIZE): Likewise.
10201         (_fpioconst_pow10): Change array size to
10202         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
10203         unconditional.
10204         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10205         1024]: Add entries for 10^2^13 and 10^2^14.
10206         [LAST_POW10 > _LAST_POW10]: Remove #error.
10207         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10208         (_fpioconst_pow10): Change array size to
10209         FPIOCONST_POW10_ARRAY_SIZE.
10210         * stdlib/gen-fpioconst.c: New file.
10211         * stdlib/gen-tst-strtod-round.c: Likewise.
10212         * stdlib/tst-strtod-round-data: Likewise.
10213         * stdlib/tst-strtod-round.c: Likewise.
10214         * stdlib/Makefile (tests): Add tst-strtod-round.
10215
10216         [BZ #14459]
10217         * stdlib/strtod_l.c: Include <stdint.h>.
10218         (NDEBUG): Do not define.
10219         (round_and_return): Change EXPONENT parameter to type intmax_t.
10220         Rearrange calculations to avoid internal overflow possibilities.
10221         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10222         Rearrange calculations to avoid internal overflow possibilities.
10223         Assert that number fits inside MPNSIZE limbs.
10224         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10225         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
10226         calculations and add assertions to avoid internal overflow
10227         possibilities.  Add casts to avoid signed/unsigned operations.
10228         * stdlib/tst-strtod-overflow.c: New file.
10229         * stdlib/Makefile (tests): Add tst-strtod-overflow.
10230
10231 2012-08-25  Marek Polacek  <polacek@redhat.com>
10232
10233         * time/time.h: Fix some typos in comments.
10234
10235 2012-08-23  Roland McGrath  <roland@hack.frob.com>
10236
10237         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10238         * posix/tst-rfc3484-2.c: Likewise.
10239         * posix/tst-rfc3484-3.c: Likewise.
10240
10241 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
10242
10243         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10244         (EF_ARM_ABI_FLOAT_HARD): Likewise.
10245
10246 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
10247
10248         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10249         #include of fxstatat64.c.
10250
10251 2012-08-22  Roland McGrath  <roland@hack.frob.com>
10252
10253         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10254         * shadow/getspent_r.c: Likewise.
10255         * shadow/getspnam.c: Likewise.
10256         * shadow/getspnam_r.c: Likewise.
10257         * gshadow/getsgent.c: Likewise.
10258         * gshadow/getsgent_r.c: Likewise.
10259         * gshadow/getsgnam.c: Likewise.
10260         * gshadow/getsgnam_r.c: Likewise.
10261         * inet/getnetbyad.c: Likewise.
10262         * inet/getnetbyad_r.c: Likewise.
10263         * inet/getnetbynm.c: Likewise.
10264         * inet/getnetbynm_r.c: Likewise.
10265         * inet/getnetent.c: Likewise.
10266         * inet/getnetent_r.c: Likewise.
10267         * inet/getproto.c: Likewise.
10268         * inet/getproto_r.c: Likewise.
10269         * inet/getprtent.c: Likewise.
10270         * inet/getprtent_r.c: Likewise.
10271         * inet/getprtname.c: Likewise.
10272         * inet/getprtname_r.c: Likewise.
10273         * inet/getrpcbyname.c: Likewise.
10274         * inet/getrpcbyname_r.c: Likewise.
10275         * inet/getrpcbynumber.c: Likewise.
10276         * inet/getrpcbynumber_r.c: Likewise.
10277         * inet/getrpcent.c: Likewise.
10278         * inet/getrpcent_r.c: Likewise.
10279         * inet/getaliasent.c: Likewise.
10280         * inet/getaliasent_r.c: Likewise.
10281         * inet/getaliasname.c: Likewise.
10282         * inet/getaliasname_r.c: Likewise.
10283         * nscd/getgrgid_r.c: Likewise.
10284         * nscd/getgrnam_r.c: Likewise.
10285         * nscd/gethstbyad_r.c: Likewise.
10286         * nscd/gethstbynm3_r.c: Likewise.
10287         * nscd/getpwnam_r.c: Likewise.
10288         * nscd/getpwuid_r.c: Likewise.
10289         * nscd/getsrvbynm_r.c: Likewise.
10290         * nscd/getsrvbypt_r.c: Likewise.
10291         * nscd/gai.c: Likewise.
10292
10293         * configure.in (build_nscd): New substituted variable, set
10294         by --disable-build-nscd and defaults to $use_nscd.
10295         * configure: Regenerated.
10296         * config.make.in (build-nscd): New substituted variable.
10297         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10298         Change conditional to require [$(build-nscd) = yes] as well.
10299         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10300
10301         [BZ# 13696]
10302         * configure.in (use_nscd): New substituted variable, set by
10303         --disable-nscd.  If enabled, define USE_NSCD.
10304         * configure: Regenerated.
10305         * config.h.in: Add USE_NSCD.
10306         * config.make.in (use-nscd): New substituted variable.
10307         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10308         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10309         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10310         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10311         (CFLAGS-getgrnam_r.c): Likewise.
10312         (CFLAGS-initgroups.c): Likewise.
10313         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10314         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10315         Variables removed.
10316         * inet/getnetgrent_r.c
10317         (nscd_setnetgrent): New function, broken out of ...
10318         (setnetgrent): ... here.  Call it.
10319         (innetgr): Conditionalize nscd bits on [USE_NSCD].
10320         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10321         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10322         * nscd/Makefile (routines, aux): Move definitions after include of
10323         Makeconfig.  Conditionalize on [$(use-nscd) != no].
10324         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10325         Conditionalize on [USE_NSCD].
10326         (is_nscd, nscd_init_cb): Likewise.
10327         (nss_load_library): Conditionalize init callback on [USE_NSCD].
10328         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10329         * nss/nss_db/db-init.c: Likewise.
10330         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10331         [USE_NSCD].
10332         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10333         (make_request): Use it.
10334         (cache_valid_p): New function.
10335         (__check_pf): Use it.
10336         * NEWS: Add item for --disable-nscd.
10337
10338 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
10339
10340         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10341         to support sed >= 4.2.1-20-ga9bf076.
10342         * configure: Regenerated.
10343
10344 2012-08-22  Roland McGrath  <roland@hack.frob.com>
10345
10346         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10347         Conditionalize whole body on [IREL].
10348
10349 2012-08-22  Jeff Law <law@redhat.com>
10350
10351         [BZ #14505]
10352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10353         if the family is PF_UNSPEC.
10354
10355 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
10356
10357         * Makerules (lib-version): Rename from V.
10358         (install-lib-nosubdir): Change V to lib-version.
10359
10360 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
10361
10362         [BZ #14252]
10363         * powerpc32/power6/wcschr.c: New file.
10364         * powerpc32/power6/wcscpy.c: New file.
10365         * powerpc32/power6/wcsrchr.c: New file.
10366         * powerpc64/power6/wcschr.c: New file.
10367         * powerpc64/power6/wcscpy.c: New file.
10368         * powerpc64/power6/wcsrchr.c: New file.
10369
10370 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
10371
10372         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10373         (two_way_short_needle): Use it.
10374         * string/strstr.c (AVAILABLE1_USES_J): Define.
10375         * string/strcasestr.c: Likewise.
10376
10377         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10378         array references.
10379         * string/strcasestr.c (TOLOWER): Make side-effect safe.
10380
10381         [BZ #11607]
10382         * NEWS: Add an entry.
10383         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10384         define their defaults.
10385         (two_way_short_needle): Detect end-of-string on-the-fly.
10386         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10387         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10388         * string/bug-strcasestr1.c: New test.
10389         * string/Makefile: Run it.
10390
10391 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
10392
10393         [BZ #11607]
10394         * string/str-two-way.h (two_way_short_needle): Optimize matching of
10395         the first character.
10396
10397 2012-08-21  Roland McGrath  <roland@hack.frob.com>
10398
10399         * csu/elf-init.c (__libc_csu_irel): Function removed.
10400         * csu/libc-start.c (apply_irel): New function.
10401         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10402
10403 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
10404
10405         * sysdeps/unix/sysv/linux/kernel-features.h
10406         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10407         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10408         <kernel-features.h>.
10409         [__NR_fadvise64_64]: Make code unconditional.
10410         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10411         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10412         !__NR_fadvise64_64)]: Likewise.
10413         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10414         !__NR_fadvise64_64))]: Likewise.
10415         [__NR_fadvise64]: Make code unconditional.
10416         [!__NR_fadvise64]: Remove conditional code.
10417         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10418         <kernel-features.h>.
10419         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10420         unconditional.
10421         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10422         conditional code.
10423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10424         not include <kernel-features.h>.
10425         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10426         unconditional.
10427         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10428         conditional code.
10429         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10430         include <kernel-features.h>.
10431         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10432         unconditional.
10433         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10434         conditional code.
10435
10436 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
10437
10438         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10439         slight instruction rearrangements per scrollpipe analysis.
10440         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10441
10442 2012-08-20  Roland McGrath  <roland@hack.frob.com>
10443
10444         * manual/syslog.texi (syslog; vsyslog, closelog):
10445         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10446         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10447
10448         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10449         DSOCAPS to match condition on defining it.
10450
10451 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
10452
10453         * sysdeps/unix/sysv/linux/kernel-features.h
10454         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10456         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10457         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10459         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10460         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10462         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10463         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10464
10465         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10466         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10467
10468         * sysdeps/unix/sysv/linux/kernel-features.h
10469         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10470         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10471         unconditional.
10472         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10473         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10474         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10475         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10476         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10477         Make code unconditional.
10478         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10479         (__mmap64) [!__NR_mmap2]: Likewise.
10480         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10481         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10482         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10483         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10484         [__NR_mmap2]: Make code unconditional.
10485         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10486         (__mmap64) [!__NR_mmap2]: Likewise.
10487
10488 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10489
10490         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10491
10492 2012-08-18  Andreas Jaeger  <aj@suse.de>
10493
10494         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10495
10496 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
10497
10498         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10499         * include/unistd.h (__have_sock_cloexec): Likewise.
10500         (__have_pipe2): Likewise.
10501         (__have_dup3): Likewise.
10502
10503 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
10504
10505         [BZ #9685]
10506         * include/unistd.h (__have_pipe2): Change define into an extern int.
10507         (__have_dup3): Likewise.
10508         * socket/have_sock_cloexec.c: Include fcntl.h.
10509         (__have_pipe2): New variable.
10510         (__have_dup3): Likewise.
10511
10512 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
10513
10514         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10515
10516 2012-08-17  Marek Polacek  <polacek@redhat.com>
10517
10518         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10519         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10520
10521 2012-08-17  Roland McGrath  <roland@hack.frob.com>
10522
10523         * configure.in: Add AC_SUBST for sysheaders.
10524         * configure: Regenerated.
10525         * config.make.in (sysheaders): New substituted variable.
10526
10527         * sysdeps/unix/mkfifo.c: Moved ...
10528         * sysdeps/posix/mkfifo.c: ... here.
10529         * sysdeps/unix/mkfifoat.c: Moved ...
10530         * sysdeps/posix/mkfifoat.c: ... here.
10531
10532         * sysdeps/unix/utime.c: Moved ...
10533         * sysdeps/posix/utime.c: ... here.
10534
10535         * sysdeps/unix/time.c: Moved ...
10536         * sysdeps/posix/time.c: ... here.
10537         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10538         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10539
10540         * sysdeps/unix/nice.c: Moved ...
10541         * sysdeps/posix/nice.c: ... here.
10542
10543         * sysdeps/unix/alarm.c: Moved ...
10544         * sysdeps/posix/alarm.c: ... here.
10545
10546         * intl/Makefile ($(codeset_mo)): Depend on the input file.
10547
10548 2012-08-17  Jeff Law <law@redhat.com>
10549
10550         * intl/Makefile (codeset_mo): New variable.
10551         ($(codeset_mo)): New target.
10552         (tst-codeset.out): Depend on that.  Remove explicit rule.
10553         (tst-gettext3.out, tst-gettext5.out): Likewise.
10554         (LOCPATH-ENV, tst-codeset-ENV): New variables.
10555         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10556         * intl/tst-codeset.sh: Remove.
10557         * intl/tst-gettext3.sh: Likewise.
10558         * intl/tst-gettext5.sh: Likewise.
10559
10560 2012-08-17  Roland McGrath  <roland@hack.frob.com>
10561
10562         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
10563         * sysdeps/unix/syscalls.list: ... here.
10564
10565         * sysdeps/posix/getaddrinfo.c
10566         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10567         (gaiconf_init, gaiconf_reload): Use them.
10568         [!_STATBUF_ST_NSEC]
10569         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10570         Define using time_t rather than struct timespec.
10571
10572         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10573         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10574         Macros removed.
10575         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10576         [!NO_THREADS].
10577         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10578         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10579         Likewise.
10580
10581         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10582         __libc_cleanup_push argument.
10583
10584         * bits/param.h: New file.
10585         * misc/sys/param.h: New file.
10586         * include/sys/param.h: New file.
10587         * misc/Makefile (headers): Add bits/param.h.
10588         * sysdeps/generic/sys/param.h: File removed.
10589         * sysdeps/unix/sysv/linux/bits/param.h: New file.
10590         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10591         * sysdeps/mach/hurd/bits/param.h: New file.
10592         * sysdeps/mach/hurd/sys/param.h: File removed.
10593
10594         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10595         last change.
10596
10597         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10598         [_IO_MTSAFE_IO].
10599         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10600         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10601         New macros.
10602
10603         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10604         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10605         rather than -D_IO_MTSAFE_IO conditionally.
10606         * stdio-common/Makefile (CPPFLAGS): Likewise.
10607         * wcsmbs/Makefile (CPPFLAGS): Likewise.
10608         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10609         Use $(libio-mtsafe).
10610         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10611         of -D_IO_MTSAFE_IO.
10612         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10613         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10614         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10615         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10616         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10617         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10618         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10619         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10620         (CFLAGS-fread_u_chk.c): Likewise.
10621         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10622         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10623         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10624         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10625         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10626         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10627         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10628         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10629         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10630
10631         * libio/Makefile: Test [$(libc-reentrant) = yes]
10632         instead of [$(filter %REENTRANT, $(defines)) nonempty].
10633
10634         * Makeconfig
10635         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10636         * sysdeps/pthread/configure: File removed.
10637         * sysdeps/pthread/Makeconfig: New file.
10638         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10639         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10640
10641 2012-08-16  Gary Benson  <gbenson@redhat.com>
10642
10643         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10644         unmapping the first object in a namespace.
10645
10646 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10647
10648         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10649         (__internal_setnetgrent): ... this.  Add internal_function to
10650         definition.  Add libc_hidden_def.
10651         (setnetgrent): Update caller.
10652         (internal_endnetgrent): Renamed to ...
10653         (__internal_endnetgrent): ... this.  Add internal_function to
10654         definition.  Add libc_hidden_def.
10655         (endnetgrent): Update caller.
10656         (internal_getnetgrent_r): Renamed to ...
10657         (__internal_getnetgrent_r): ... this.  Add internal_function to
10658         definition.  Add libc_hidden_def.
10659         (__getnetgrent_r): Update caller.
10660         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
10661
10662 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10663
10664         * stdlib/longlong.h: Update from GCC.
10665
10666 2012-08-16  Roland McGrath  <roland@hack.frob.com>
10667
10668         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10669         on _QL, which is set by umul_ppmm but never used.
10670         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10671         variables, which are set by GMP macros but never used.
10672         * stdio-common/_itowa.c (_itowa): Likewise.
10673         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10674         * stdlib/mod_1.c (mpn_mod_1): Likewise.
10675
10676 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
10677
10678         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10679         struct La_sh_regs is not constant.
10680         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10681         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10682         and struct La_sparc64_regs are not constant.
10683
10684 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
10685
10686         * sysdeps/unix/sysv/linux/kernel-features.h
10687         (__ASSUME_POSIX_TIMERS): Remove.
10688         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10689         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10690         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10691         Make code unconditional.
10692         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10693         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10694         Make code unconditional.
10695         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10696         * sysdeps/unix/sysv/linux/clock_nanosleep.c
10697         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10698         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10699         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10700         Make code unconditional.
10701         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10702         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10703         (__libc_missing_posix_timers): Remove.
10704
10705 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10706
10707         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10708         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10709
10710         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10711
10712         * elf/dl-sym.c: Include <stdlib.h>.
10713
10714         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10715         constants, which avoids warnings in 32-bit builds.
10716
10717         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10718         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10719
10720         * misc/lseek.c: File moved to ...
10721         * io/lseek.c: ... here.
10722
10723         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10724
10725         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10726         shifting LEN more than 31 bits at once.
10727
10728 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10729
10730         [BZ #14195]
10731         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10732         segmentation fault for a case of two empty input strings.
10733         * string/test-strncasecmp.c (check1): Renamed to...
10734         (bz12205): ...this.
10735         (bz14195): Add new testcase for two empty input strings and N > 0.
10736         (test_main): Call new testcase, adapt for renamed function.
10737
10738 2012-08-15  Andreas Jaeger  <aj@suse.de>
10739
10740         [BZ #14090]
10741         * crypt/md5test2.c: New test, based on test supplied by Serge
10742         Belyshev <belyshev@depni.sinp.msu.ru>.
10743         * crypt/Makefile (xtests): Add md5test-giant..
10744         * crypt/Makefile ($(objpfx)md5test-giant): Add.
10745
10746 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
10747
10748         [BZ #14090]
10749         * crypt/md5.c (md5_process_block): Don't assume the buffer
10750         length is less than 2**32.
10751         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10752         length is less than 2**64.
10753
10754 2012-08-15  Roland McGrath  <roland@hack.frob.com>
10755
10756         * string/str-two-way.h: Include <sys/param.h>.
10757         (MAX): Macro removed.
10758
10759         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10760         Move #define and #undef of memmove to just before and after
10761         including <string.h>.
10762
10763         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10764         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10765         and after including <string.h>.  Move declarations of
10766         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10767         to before #include "string/memmove.c".
10768
10769         * include/dirent.h: Declare __getdirentries.
10770
10771         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10772         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10773
10774 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
10775
10776         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10777         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10778         * sysdeps/i386/configure: Regenerated.
10779         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10780         STABS_CURRENT_FILE, and STABS_FUN.
10781         (END): Remove call to STABS_FUN_END.
10782         (STABS_CURRENT_FILE1): Delete.
10783         (STABS_CURRENT_FILE): Likewise.
10784         (STABS_FUN): Likewise.
10785         (STABS_FUN_END): Likewise.
10786         (STABS_FUN2): Likewise.
10787         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10788         * sysdeps/x86_64/configure: Regenerated.
10789
10790 2012-08-14  Roland McGrath  <roland@hack.frob.com>
10791
10792         * elf/dl-open.c: Include <atomic.h>.
10793         * elf/dl-lookup.c: Likewise.
10794
10795 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
10796
10797         * sysdeps/unix/sysv/linux/kernel-features.h
10798         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10799         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10800         unconditionally.
10801         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10802         unconditionally.
10803         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10804         condition on __ASSUME_CLONE_THREAD_FLAGS.
10805
10806 2012-08-14  Andreas Jaeger  <aj@suse.de>
10807
10808         * sysdeps/i386/fpu/libm-test-ulps: Update.
10809
10810 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
10811
10812         * include/atomic.h (atomic_exchange_and_add): Split into ...
10813         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10814         New atomic macros.
10815
10816 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
10817
10818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10819
10820 2012-08-13  Jeff Law <law@redhat.com>
10821
10822         * manual/stdio.texi (snprintf): Clarify handling of the trailing
10823         null byte in the output string.
10824
10825 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
10826
10827         * sysdeps/unix/sysv/linux/kernel-features.h
10828         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10829         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10830         (__ASSUME_ARG_MAX_STACK_BASED): Define.
10831         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10832         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10833         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10834         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10835
10836 2012-08-09  Jeff Law <law@redhat.com>
10837
10838         [BZ #13939]
10839         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10840         When avoid_arena is set, don't retry in the that arena.  Pick the
10841         next one, whatever it might be.
10842         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10843         (arena_lock): Pass in new parameter to arena_get2.
10844         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10845         arena_get2.
10846         (__libc_malloc): Unify retrying after main arena failure with
10847         __libc_memalign version.
10848         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10849
10850 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10851
10852         [BZ #14166]
10853         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10854         to __redirect_strstr.
10855         (__strstr_sse42): Use typeof __redirect_strstr.
10856         (__strstr_ia32): Likewise.
10857         (__libc_strstr): New prototype.
10858         (strstr): Renamed to ...
10859         (__libc_strstr): This.
10860         (strstr): New strong alias of __libc_strstr.
10861         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10862         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10863         __redirect_time.
10864         Include <time.h>.
10865         (__libc_time): New prototype.
10866         (time_ifunc): Replace time with __libc_time.
10867         (time): New strong alias and hidden definition of __libc_time.
10868         (__GI_time): Remove strong alias.
10869         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10870         Include <stddef.h>.
10871         (memmove): Redefined to __redirect_memmove.
10872         (__memmove_sse2): Use typeof __redirect_memmove.
10873         (__memmove_ssse3): Likewise.
10874         (__memmove_ssse3_back): Likewise.
10875         (__libc_memmove): New prototype.
10876         (memmove): Renamed to ...
10877         (__libc_memmove): This.
10878         (memmove): New strong alias of __libc_memmove.
10879
10880 2012-08-08  Mark Salter  <msalter@redhat.com>
10881
10882         * elf/elf.h
10883         (R_MN10300_TLS_GD): Define.
10884         (R_MN10300_TLS_LD): Likewise.
10885         (R_MN10300_TLS_LDO): Likewise.
10886         (R_MN10300_TLS_GOTIE): Likewise.
10887         (R_MN10300_TLS_IE): Likewise.
10888         (R_MN10300_TLS_LE): Likewise.
10889         (R_MN10300_TLS_DTPMOD): Likewise.
10890         (R_MN10300_TLS_DTPOFF): Likewise.
10891         (R_MN10300_TLS_TPOFF): Likewise.
10892         (R_MN10300_SYM_DIFF): Likewise.
10893         (R_MN10300_ALIGN): Likewise.
10894         (R_MN10300_NUM): Update.
10895
10896 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10897
10898         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10899         Remove.
10900
10901 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10902
10903         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10904
10905         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10906         sysdeps/unix -> sysdeps/posix move.
10907         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10908
10909 2012-08-07      Allan McRae     <allan@archlinux.org>
10910
10911         [BZ #14303]
10912         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10913         (SUNOS_CPP): Likewise.
10914         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10915         not found.
10916         (open_input): Call CPP using execvp.
10917
10918 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10919
10920         * sysdeps/unix/sysv/linux/kernel-features.h
10921         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10922         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10923         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10924         (__ASSUME_WAITID_SYSCALL): Likewise.
10925         * sysdeps/unix/sysv/linux/dl-execstack.c
10926         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10927         code unconditional.
10928         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10929         conditional code.
10930         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10931         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10932         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10933         code.
10934         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10935         unconditional.
10936         [__ASSUME_WAITID_SYSCALL]: Likewise.
10937         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10938
10939 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10940
10941         * sysdeps/unix/closedir.c: Renamed to ...
10942         * sysdeps/posix/closedir.c: ... here.
10943         * sysdeps/unix/dirfd.c: Renamed to ...
10944         * sysdeps/posix/dirfd.c: ... here.
10945         * sysdeps/unix/dirstream.h: Renamed to ...
10946         * sysdeps/posix/dirstream.h: ... here.
10947         * sysdeps/unix/fdopendir.c: Renamed to ...
10948         * sysdeps/posix/fdopendir.c: ... here.
10949         * sysdeps/unix/opendir.c: Renamed to ...
10950         * sysdeps/posix/opendir.c: ... here.
10951         * sysdeps/unix/readdir.c: Renamed to ...
10952         * sysdeps/posix/readdir.c: ... here.
10953         * sysdeps/unix/readdir_r.c: Renamed to ...
10954         * sysdeps/posix/readdir_r.c: ... here.
10955         * sysdeps/unix/rewinddir.c: Renamed to ...
10956         * sysdeps/posix/rewinddir.c: ... here.
10957         * sysdeps/unix/seekdir.c: Renamed to ...
10958         * sysdeps/posix/seekdir.c: ... here.
10959         * sysdeps/unix/telldir.c: Renamed to ...
10960         * sysdeps/posix/telldir.c: ... here.
10961         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10962         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10963         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10964         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10965
10966         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10967         * bits/fcntl.h: ... here.
10968
10969         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10970         not 0.
10971         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10972         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10973         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10974         (struct flock): Move l_start, l_len to the beginning.
10975         Use __pid_t for l_pid.
10976         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10977         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10978         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10979         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10980         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10981         [__USE_LARGEFILE64] (struct flock64): New type.
10982         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10983
10984         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10985         * bits/dirent.h: ... here.
10986
10987         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10988         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10989
10990 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10991
10992         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10993         Change from 2.6.0 to 2.6.16.
10994         * sysdeps/unix/sysv/linux/configure: Regenerated.
10995         * sysdeps/unix/sysv/linux/kernel-features.h
10996         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10997         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10998         version.
10999         (__ASSUME_UTIMES): Likewise.
11000         (__ASSUME_CLONE_STOPPED): Remove.
11001         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11002         architectures, not kernel version.
11003         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11004         (__ASSUME_NO_CLONE_DETACHED): Likewise.
11005         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11006         (__ASSUME_WAITID_SYSCALL): Likewise.
11007         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11008         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11009         * README: State 2.6.16 as minimum Linux kernel version.  Do not
11010         refer to older versions.
11011
11012 2012-08-06  Roland McGrath  <roland@hack.frob.com>
11013
11014         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11015         Define alphasort64 as an alias.
11016         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11017         Define versionsort64 as an alias.
11018         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11019         Define scandir64 as an alias.
11020         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11021         Define scandirat64 as an alias.
11022         * dirent/alphasort64.c (alphasort64):
11023         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11024         * dirent/versionsort64.c: Likewise.
11025         * dirent/scandir64.c: Likewise.
11026         * dirent/scandirat64.c: Likewise.
11027         * sysdeps/wordsize-64/alphasort.c: File removed.
11028         * sysdeps/wordsize-64/alphasort64.c: File removed.
11029         * sysdeps/wordsize-64/scandir.c: File removed.
11030         * sysdeps/wordsize-64/scandir64.c: File removed.
11031         * sysdeps/wordsize-64/scandirat.c: File removed.
11032         * sysdeps/wordsize-64/scandirat64.c: File removed.
11033         * sysdeps/wordsize-64/versionsort.c: File removed.
11034         * sysdeps/wordsize-64/versionsort64.c: File removed.
11035         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11036         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11037         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11038         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11039         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11040         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11041         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11042         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11043
11044         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11045         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11046         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11047         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11048         [defined __arch64__ || defined __sparcv9]
11049         (__INO_T_MATCHES_INO64_T): New macro.
11050         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11051         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11052         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11053         * sysdeps/unix/sysv/linux/bits/dirent.h
11054         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11055         (_DIRENT_MATCHES_DIRENT64): New macro.
11056
11057         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11058         Define lockf64 as an alias.
11059         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11060         Define fseeko64 as an alias.
11061         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11062         Define ftello64 as an alias.
11063         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11064         Define _IO_fgetpos64 and fgetpos64 as aliases.
11065         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11066         Define _IO_fsetpos64 and fsetpos64 as aliases.
11067         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11068         Conditionalize body on this.
11069         * libio/fseeko64.c: Likewise.
11070         * libio/ftello64.c: Likewise.
11071         * libio/iofgetpos64.c: Likewise.
11072         * libio/iofsetpos64.c: Likewise.
11073         * sysdeps/wordsize-64/lockf.c: File removed.
11074         * sysdeps/wordsize-64/lockf64.c: File removed.
11075         * sysdeps/wordsize-64/fseeko.c: File removed.
11076         * sysdeps/wordsize-64/fseeko64.c: File removed.
11077         * sysdeps/wordsize-64/ftello.c: File removed.
11078         * sysdeps/wordsize-64/ftello64.c: File removed.
11079         * sysdeps/wordsize-64/iofgetpos.c: File removed.
11080         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11081         * sysdeps/wordsize-64/iofsetpos.c: File removed.
11082         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11083         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11084         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11085         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11086         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11087         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11088         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11089         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11090         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11091         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11092         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11093
11094         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11095         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11096         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11098         [defined __arch64__ || defined __sparcv9]
11099         (__OFF_T_MATCHES_OFF64_T): New macro.
11100         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11101         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11102         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11103         (__OFF_T_MATCHES_OFF64_T): New macro.
11104
11105 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
11106
11107         * stdlib/secure-getenv.c (__secure_getenv): Replace
11108         GLIBC_2_16 with GLIBC_2_17.
11109
11110 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
11111
11112         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11113         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11114
11115 2012-08-03  David S. Miller  <davem@davemloft.net>
11116
11117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11118
11119 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
11120
11121         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11122         Remove.
11123         (__ASSUME_CORRECT_SI_PID): Likewise.
11124         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11125         (__ASSUME_TMPFS_NAME): Likewise.
11126         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11127         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11128         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11129         (HAVE_AUX_SECURE): Make definition unconditional.
11130         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11131         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11132
11133 2012-08-03  Roland McGrath  <roland@hack.frob.com>
11134
11135         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11136         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11137         * sysdeps/mach/hurd/eloop-threshold.h: New file.
11138         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11139         __eloop_threshold instead of SYMLOOP_MAX.
11140
11141         * sysdeps/generic/eloop-threshold.h: New file.
11142         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11143         of MAXSYMLINKS.
11144         * elf/chroot_canon.c (chroot_canon): Likewise.
11145
11146 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
11147
11148         [BZ #13717]
11149         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11150         Change to 2.6.0 everywhere.
11151         * sysdeps/unix/sysv/linux/configure: Regenerated.
11152         * sysdeps/unix/sysv/linux/kernel-features.h
11153         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11154         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11155         kernel versions.
11156         (__ASSUME_POSIX_TIMERS): Define unconditionally.
11157         (__ASSUME_FUTEX_REQUEUE): Remove.
11158         (__ASSUME_STATFS64): Define unconditionally.
11159         (__ASSUME_AT_SECURE): Likewise.
11160         (__ASSUME_CORRECT_SI_PID): Likewise.
11161         (__ASSUME_TGKILL): Define without depending on kernel version for
11162         i386.
11163         (__ASSUME_UTIMES): Likewise.
11164         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11165         kernel version.
11166         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11167         (__ASSUME_TMPFS_NAME): Likewise.
11168         * README: Update reference to Linux kernel versions.
11169
11170 2012-08-02  Marek Polacek  <polacek@redhat.com>
11171
11172         [BZ# 14150]
11173         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
11174         libc_cv_asm_type_prefix with %.
11175         * configure: Regenerated.
11176         * include/libc-symbols.h: Remove comment about
11177         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11178         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11179         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11180         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11181         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11182         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11183         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11184         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11185         * elf/tst-unique2mod1.c: Likewise.
11186         * elf/tst-unique1mod2.c: Likewise.
11187         * elf/tst-unique1mod1.c: Likewise.
11188         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11189         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11190         Replace ASM_TYPE_DIRECTIVE with .type.
11191         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11192         * sysdeps/i386/sysdep.h: Likewise.
11193         * sysdeps/x86_64/sysdep.h: Likewise.
11194         * sysdeps/sh/sysdep.h: Likewise.
11195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11196         Do not define ASM_TYPE_DIRECTIVE.
11197         * sysdeps/powerpc/sysdep.h: Likewise.
11198         * sysdeps/powerpc/powerpc32/sysdep.h:
11199         Replace ASM_TYPE_DIRECTIVE with .type.
11200         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11201         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11202         * sysdeps/i386/fpu/e_powf.S: Likewise.
11203         * sysdeps/i386/fpu/e_expl.S: Likewise.
11204         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11205         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11206         * sysdeps/i386/fpu/e_pow.S: Likewise.
11207         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11208         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11209         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11210         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11211         * sysdeps/i386/fpu/e_log2.S: Likewise.
11212         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11213         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11214         * sysdeps/i386/fpu/e_powl.S: Likewise.
11215         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11216         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11217         * sysdeps/i386/fpu/e_logl.S: Likewise.
11218         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11219         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11220         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11221         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11222         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11223         * sysdeps/i386/fpu/e_log.S: Likewise.
11224         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11225         * sysdeps/i386/fpu/e_logf.S: Likewise.
11226         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11227         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11228         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11229         * sysdeps/i386/fpu/e_log10.S: Likewise.
11230         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11231         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11232         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11233         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11234         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11235         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11236         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11237         * sysdeps/i386/i686/strtok.S: Likewise.
11238         * sysdeps/i386/i386-mcount.S: Likewise.
11239         * sysdeps/i386/strtok.S: Likewise.
11240         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11241         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11242         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11243         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11244         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11245         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11246         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11247         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11248         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11249         * sysdeps/x86_64/_mcount.S: Likewise.
11250         * sysdeps/x86_64/strtok.S: Likewise.
11251         * sysdeps/sh/_mcount.S: Likewise.
11252
11253 2012-08-01  Roland McGrath  <roland@hack.frob.com>
11254
11255         * libio/iofopen.c: Include <fcntl.h>.
11256         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11257         (_IO_fopen64, fopen64): Define as aliases.
11258         * libio/iofopen64.c: Include <fcntl.h>.
11259         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11260         Conditionalize body on this.
11261         * sysdeps/wordsize-64/iofopen.c: File removed.
11262         * sysdeps/wordsize-64/iofopen64.c: File removed.
11263
11264 2012-08-01  Marek Polacek  <polacek@redhat.com>
11265
11266         * libc/Makeconfig: Use elf in place of binfmt-subdir.
11267         Use dlfcn directly instead of a variable.
11268         (binfmt-subdir): Do not define.
11269         (dlfcn): Likewise.
11270
11271 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
11272
11273         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11274         Remove all definitions.
11275         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11276         <kernel-features.h>.
11277         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11278         (miss_F_GETOWN_EX): Remove all definitions.
11279         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11280         macro definition.
11281         [!__ASSUME_FCNTL64]: Remove conditional code.
11282         [__ASSUME_FCNTL64]: Make code unconditional.
11283         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11284         <kernel-features.h>.
11285         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11286         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11287         (lockf64) [__NR_fcntl64]: Make code unconditional.
11288         (lockf64) [__ASSUME_FCNTL64]: Likewise.
11289
11290         * sysdeps/unix/sysv/linux/kernel-features.h
11291         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11292         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11293         Make code unconditional.
11294         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11295         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11297         [__NR_vfork]: Make code unconditional.
11298         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11299         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11301         [__NR_vfork]: Make code unconditional.
11302         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11303         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11304
11305 2012-08-01  Roland McGrath  <roland@hack.frob.com>
11306
11307         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11308         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11309
11310         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11311         Define mkstemp64 as an alias.
11312         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11313         Define mkstemps64 as an alias.
11314         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11315         Define mkostemp64 as an alias.
11316         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11317         Define mkostemps64 as an alias.
11318         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11319         Conditionalize body on this.
11320         * misc/mkostemp64.c: Likewise.
11321         * misc/mkostemps64.c: Likewise.
11322         * misc/mkstemps64.c: Likewise.
11323         * sysdeps/wordsize-64/mkstemp64.c: File removed.
11324         * sysdeps/wordsize-64/mkostemp64.c: File removed.
11325         * sysdeps/wordsize-64/mkostemp.c: File removed.
11326         * sysdeps/wordsize-64/mkstemp.c: File removed.
11327         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11328         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11329         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11330         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11331
11332         [BZ #14138]
11333         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11334         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11335         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11336         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11337
11338         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11339         compat_symbol macros from <shlib-compat.h> rather than the underlying
11340         default_symbol_version and symbol_version macros, so that DEFAULT
11341         lines in shlib-versions are respected.
11342         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11343
11344 2012-08-01  Florian Weimer  <fweimer@redhat.com>
11345
11346         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11347         Declare with warn_unused_result.
11348         (setgid, setregid, setegid, setresgid): Likewise.
11349         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11350         Likewise.
11351         * WUR-REPORT: Remove set*id functions.
11352
11353 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
11354
11355         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11356
11357 2012-07-31  Roland McGrath  <roland@hack.frob.com>
11358
11359         [BZ #10191]
11360         * include/sys/socket.h (__libc_accept, __libc_accept4):
11361         Add attribute_hidden.
11362         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11363
11364         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11365         use of PTR_MANGLE.
11366         * inet/getnetgrent_r.c (setup): Likewise.
11367
11368         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11369
11370 2012-07-31  David S. Miller  <davem@davemloft.net>
11371
11372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11373
11374 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
11375
11376         [BZ #13629]
11377         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11378         value between 1.0 and 2.0 and smaller part has absolute value less
11379         than 1.0.
11380         * math/s_clog10.c (__clog10): Likewise.
11381         * math/s_clog10f.c (__clog10f): Likewise.
11382         * math/s_clog10l.c (__clog10l): Likewise.
11383         * math/s_clogf.c (__clogf): Likewise.
11384         * math/s_clogl.c (__clogl): Likewise.
11385         * math/libm-test.inc (clog_test): Add more tests.
11386         (clog10_test): Likewise.
11387         * sysdeps/i386/fpu/libm-test-ulps: Update.
11388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11389
11390 2012-07-31  Florian Weimer  <fweimer@redhat.com>
11391
11392         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11393         Exit with zero in case no suitable GID is found, and write a
11394         message to standard error.
11395
11396 2012-07-30  Roland McGrath  <roland@hack.frob.com>
11397
11398         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11399         rather than to 1.
11400         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11401         (MAXPATHLEN): Removed.
11402         (NOGROUP, NODEV): New macros.
11403         (setbit, clrbit, isset, isclr): New macros.
11404         (howmany, roundup, powerof2): New macros.
11405         (DEV_BSIZE): New macro.
11406
11407         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11408         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11409
11410         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11411         definition on [!__NO_LONG_DOUBLE_MATH].
11412
11413         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11414         PTR_MANGLE and PTR_DEMANGLE.
11415
11416         * socket/accept4.c (accept4): Rename to __libc_accept4.
11417         Define accept4 as a weak alias.
11418
11419         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11420         on [_DIRENT_HAVE_D_TYPE].
11421         * io/ftw.c (ftw_dir): Likewise.
11422
11423         * io/xmknod.c (__xmknod): Don't check PATH for being null.
11424
11425         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11426
11427         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11428         Use the BSD numbers rather than the arbitrary ones we had.
11429         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11430         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11431         (SIGXCPU, SIGXFSZ): New macros.
11432         (_NSIG): Now 32.
11433
11434         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11435         initializer on [_LIBC_REENTRANT].
11436
11437         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11438         definitions inside [_POSIX_MAPPED_FILES].
11439
11440         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11441
11442         * dirent/opendir.c: Include <fcntl.h>.
11443
11444         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11445         (__libc_getspecific): Likewise.
11446         (__libc_key_create): Likewise.
11447
11448         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11449         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11450         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11451         (tmpfile64): Define as alias.
11452         * sysdeps/wordsize-64/tmpfile.c: File removed.
11453         * sysdeps/wordsize-64/tmpfile64.c: File removed.
11454         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11455         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11456
11457         * stdio-common/vfscanf.c: Include <stdbool.h>.
11458         * nss/makedb.c: Likewise.
11459         * stdio-common/_i18n_number.h: Likewise.
11460         * argp/argp-help.c: Likewise.
11461         * posix/wordexp.c: Likewise.
11462         * sysdeps/posix/spawni.c: Likewise.
11463         * nss/nss_files/files-initgroups.c: Likewise.
11464         * stdio-common/reg-modifier.c: Include <stdlib.h>.
11465         * nss/nss_files/files-initgroups.c: Likewise.
11466         * nss/nss_db/db-netgrp.c: Likewise.
11467         * nss/nss_db/db-initgroups.c: Likewise.
11468         * io/fchmodat.c: Include <sys/stat.h>.
11469
11470         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11471         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11472
11473         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11474         [HAVE_MMAP].
11475
11476         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11477         Add multiple inclusion protection.
11478
11479 2012-07-27  David S. Miller  <davem@davemloft.net>
11480
11481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11482
11483 2012-07-27  Gary Benson  <gbenson@redhat.com>
11484
11485         [BZ #14298]
11486         * elf/rtld.c: Include <stap-probe.h>.
11487         (dl_main): Added static probes "init_start" and "init_complete".
11488         * elf/dl-load.c: Include <stap-probe.h>.
11489         (lose): Take new parameter "nsid".
11490         Added static probe "map_failed".
11491         (_dl_map_object_from_fd): Pass namespace id to lose.
11492         Added static probe "map_start".
11493         (open_verify): Pass namespace id to lose.
11494         * elf/dl-open.c: Include <stap-probe.h>.
11495         (dl_open_worker) Added static probes "map_complete", "reloc_start"
11496         and "reloc_complete".
11497         * elf/dl-close.c: Include <stap-probe.h>.
11498         (_dl_close_worker): Added static probes "unmap_start" and
11499         "unmap_complete".
11500         * elf/rtld-debugger-interface.txt: New file documenting the above.
11501
11502 2012-07-26  Roland McGrath  <roland@hack.frob.com>
11503
11504         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11505         rather than a string variable.
11506         * sunrpc/rpc_main.c (h_output): Likewise.
11507         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11508
11509 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
11510
11511         * inet/check_native.c: New file.
11512
11513 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
11514
11515         [BZ #13629]
11516         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11517         if larger part has absolute value 1.0.
11518         * math/s_clog10.c (__clog10): Likewise.
11519         * math/s_clog10f.c (__clog10f): Likewise.
11520         * math/s_clog10l.c (__clog10l): Likewise.
11521         * math/s_clogf.c (__clogf): Likewise.
11522         * math/s_clogl.c (__clogl): Likewise.
11523         * math/libm-test.inc (clog_test): Add more tests.
11524         (clog10_test): Likewise.
11525         * sysdeps/i386/fpu/libm-test-ulps: Update.
11526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11527
11528         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11529         (pltexit): Likewise.
11530         (La_regs): Likewise.
11531         (La_retval): Likewise.
11532         (int_retval): Likewise.
11533         Update #error for removed macros to refer only to definitions in
11534         tst-audit.h.
11535         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11536         macro.
11537         (pltexit): Likewise.
11538         (La_regs): Likewise.
11539         (La_retval): Likewise.
11540         (int_retval): Likewise.
11541         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11542         macro.
11543         (pltexit): Likewise.
11544         (La_regs): Likewise.
11545         (La_retval): Likewise.
11546         (int_retval): Likewise.
11547         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11548         macro.
11549         (pltexit): Likewise.
11550         (La_regs): Likewise.
11551         (La_retval): Likewise.
11552         (int_retval): Likewise.
11553         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11554         macro.
11555         (pltexit): Likewise.
11556         (La_regs): Likewise.
11557         (La_retval): Likewise.
11558         (int_retval): Likewise.
11559         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11560         macro.
11561         (pltexit): Likewise.
11562         (La_regs): Likewise.
11563         (La_retval): Likewise.
11564         (int_retval): Likewise.
11565         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11566         macro.
11567         (pltexit): Likewise.
11568         (La_regs): Likewise.
11569         (La_retval): Likewise.
11570         (int_retval): Likewise.
11571         * sysdeps/generic/tst-audit.h: Update comment to refer only to
11572         macro definitions in tst-audit.h.
11573         * sysdeps/i386/tst-audit.h: New file.
11574         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11575         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11576         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11577         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11578         * sysdeps/sh/tst-audit.h: Likewise.
11579         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11580         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11581         * sysdeps/x86_64/tst-audit.h: Likewise.
11582
11583 2012-07-26  Andreas Jaeger  <aj@suse.de>
11584
11585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11586         ptrace.
11587
11588         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11589         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11590         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11591         PTRACE_O_MASK.
11592         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11593         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11594         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11595
11596         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11597         value.
11598
11599         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11600         _sigsys.
11601         (si_call_addr, si_syscall, si_arch): Define new macro.
11602         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11603         _sigsys.
11604         (si_call_addr, si_syscall, si_arch): Define new marcro.
11605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11606         _sigsys.
11607         (si_call_addr, si_syscall, si_arch): Define new macro.
11608         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11609         _sigsys.
11610         (si_call_addr, si_syscall, si_arch): Define new macro.
11611
11612 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
11613
11614         [BZ #13717]
11615         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11616         Change to 2.4.21 where previously 2.4.1.
11617         * sysdeps/unix/sysv/linux/configure: Regenerated.
11618         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11619         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11620         Linux kernel version.
11621         (__ASSUME_STD_AUXV): Remove.
11622         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11623         kernel version.
11624         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11625         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11626         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11627         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11628         (__ASSUME_NETLINK_SUPPORT): Likewise.
11629         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11630         (__no_netlink_support): Remove conditional definition.
11631         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11632         Remove.
11633         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11634         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11635         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11636         (if_nameindex_ioctl): Remove.
11637         (if_nameindex_netlink): Do not handle __no_netlink_support.
11638         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11639         code.
11640         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11641         Remove conditional code.
11642         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11643         code.
11644         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11645         unconditional.
11646         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11647         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11648         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11649         Remove.
11650         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11651         [!__ASSUME_STD_AUXV]: Remove conditional code.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11653         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11654         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11656         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11657         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11658         code.
11659         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11661         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11662         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11663         conditional code.
11664         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11666         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11667         code.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11669         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11670         conditional code.
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11672         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11673         code unconditional.
11674         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11675         conditional code.
11676         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11677         unconditional.
11678         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11679         conditional code.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11681         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11682         unconditional.
11683         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11684         conditional code.
11685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11686         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11687         code unconditional.
11688         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11689         conditional code.
11690         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11691         unconditional.
11692         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11693         conditional code.
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11695         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11696         code unconditional.
11697         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11698         conditional code.
11699         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11700         unconditional.
11701         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11702         conditional code.
11703
11704 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
11705
11706         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11707         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11708         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11709         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11710         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11711         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11712         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11713         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11714         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11715         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11716         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11717         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11718         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11719         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11720         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11721         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11722         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11723         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11724         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11726         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11727         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11728         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11729
11730 2012-07-25  Florian Weimer  <fweimer@redhat.com>
11731
11732         * Versions.def: Add GLIBC_2.17.
11733         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11734         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11735         Introduce __libc_secure_getenv.
11736         * stdlib/Versions (2.17): Add secure_getenv
11737         (GLIBC_PRIVATE): Add __libc_secure_getenv.
11738         * stdlib/secure-getenv.c: Rename __secure_getenv to
11739         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
11740         symbol __secure_getenv for GLIBC_2.0.
11741         * stdlib/tst-secure-getenv.c: New.
11742         * stdlib/Makefile (tests): Add testcase.
11743         * manual/startup.texi (Environment Access): Document
11744         secure_getenv.
11745         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11746         __libc_secure_getenv.
11747         * inet/ruserpass.c (ruserpass): Likewise.
11748         * malloc/mtrace.c (mtrace): Likewise.
11749         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11750         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11751         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11752         * sysdeps/posix/tempname.c: Likewise.  Evaluate
11753         HAVE_SECURE_GETENV.
11754         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11755         __secure_getenv to __libc_secure_getenv.
11756         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11758         Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11760         Likewise.
11761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11768
11769 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
11770
11771         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11772         (struct La_i86_retval): Likewise.
11773         (struct La_x86_64_regs): Likewise.
11774         (struct La_x86_64_retval): Likewise.
11775         (struct La_x32_regs): Likewise.
11776         (struct La_x32_retval): Likewise.
11777         (struct La_ppc32_regs): Likewise.
11778         (struct La_ppc32_retval): Likewise.
11779         (struct La_ppc64_regs): Likewise.
11780         (struct La_ppc64_retval): Likewise.
11781         (struct La_sh_regs): Likewise.
11782         (struct La_sh_retval): Likewise.
11783         (struct La_s390_32_regs): Likewise.
11784         (struct La_s390_32_retval): Likewise.
11785         (struct La_s390_64_regs): Likewise.
11786         (struct La_s390_64_retval): Likewise.
11787         (struct La_sparc32_regs): Likewise.
11788         (struct La_sparc32_retval): Likewise.
11789         (struct La_sparc64_regs): Likewise.
11790         (struct La_sparc64_retval): Likewise.
11791         (struct audit_ifaces): Remove architecture-specific pltenter and
11792         pltexit members.
11793         * sysdeps/i386/ldsodefs.h: New file.
11794         * sysdeps/powerpc/ldsodefs.h: Likewise.
11795         * sysdeps/s390/ldsodefs.h: Likewise.
11796         * sysdeps/sh/ldsodefs.h: Likewise.
11797         * sysdeps/sparc/ldsodefs.h: Likewise.
11798         * sysdeps/x86_64/ldsodefs.h: Likewise.
11799
11800 2012-07-25  Marek Polacek  <polacek@redhat.com>
11801
11802         [BZ #6808]
11803         * math/libm-test.inc (yn_test): Add another test.
11804         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11805         to ERANGE when the result is +-Inf.
11806         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11807         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11808         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11809         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11810
11811 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
11812
11813         * conform/data/time.h-data (NULL): Use macro-constant.  Require
11814         equal to 0.
11815         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
11816         clock_t.
11817         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
11818
11819 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
11820
11821         * configure.in <sysdeps resolving>: Correct printing
11822         Implies_before.
11823         * configure: Regenerate.
11824
11825 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
11826
11827         * math/w_ilogb.c: Include <limits.h>.
11828         * math/w_ilogbl.c: Likewise.
11829
11830 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11831
11832         * manual/lang.texi (__va_copy): Document primarily as ISO C99
11833         va_copy.  Document allowing for unavailable va_copy only as
11834         pre-C99 compatibility.
11835         * manual/string.texi (Copying and Concatenation): Use va_copy
11836         instead of __va_copy in concat example.
11837
11838 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11839
11840         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11841         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11842         it if not null.
11843
11844         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11845         with O_NOLINK passed to __file_name_lookup.
11846
11847         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11848         with O_NOLINK passed to __file_name_lookup.
11849
11850         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11851         negative N or less than NGIDS.
11852
11853         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11854         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11855         enough.  Use memcpy instead of strncpy.
11856
11857 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11858
11859         * elf/Makefile (check-data): Remove.
11860         (localplt.data): New vpath directive.
11861         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11862         instead of $(check-data).
11863         * scripts/data/localplt-generic.data: Move to ...
11864         * sysdeps/generic/localplt.data: ... here.
11865         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11866         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11867         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11869         ... here.
11870         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11872         ... here.
11873         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11875         ... here.
11876         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11878         ... here.
11879         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11881         ... here.
11882         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11884         ... here.
11885
11886 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11887
11888         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11889         PPC32 and PPC64 files.
11890         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11891         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11892
11893 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11894
11895         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11896         __makecontext_ret to ...
11897         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11898         ... here and call exit if uc_link is NULL.  New file.
11899         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11900         __makecontext_ret.S.
11901         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11902         __makecontext_ret to ...
11903         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11904         ... here and call exit if uc_link is NULL.  New file.
11905         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11906         __makecontext_ret.S.
11907
11908 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11909
11910         * elf/elf.h (R_390_IRELATIVE): New definition.
11911         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11912         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11913         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11914         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11915         (elf_machine_lazy_rel): Likewise.
11916         * sysdeps/s390/dl-irel.h: New file.
11917         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11918         * sysdeps/s390/s390-64/memset.S: New asm code.
11919         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11920         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11921         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11922         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11923         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11924         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11925         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11926         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11927         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11928         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11929         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11930         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11931         * sysdeps/s390/s390-32/memset.S: New asm code.
11932         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11933
11934 2012-07-17  Marek Polacek  <polacek@redhat.com>
11935
11936         [BZ #14349]
11937         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11938         * sysdeps/s390/s390-64/configure.in: Likewise.
11939         * sysdeps/sparc/configure.in: Likewise.
11940         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11941         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11942         * sysdeps/i386/configure.in: Likewise.
11943         * sysdeps/x86_64/configure.in: Likewise.
11944         * sysdeps/sh/configure.in: Likewise.
11945         * sysdeps/s390/s390-32/configure: Regenerated.
11946         * sysdeps/s390/s390-64/configure: Likewise.
11947         * sysdeps/x86_64/configure: Likewise.
11948         * sysdeps/sh/configure: Likewise.
11949         * sysdeps/powerpc/powerpc64/configure: Likewise.
11950         * sysdeps/powerpc/powerpc32/configure: Likewise.
11951         * sysdeps/sparc/configure: Likwise.
11952         * sysdeps/i386/configure: Likewise.
11953
11954         * elf/dl-open.c: Comment fixes.
11955
11956 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11957
11958         * Makefile [CXX] (check-data): Remove.
11959         [CXX] (c++-types.data): New vpath directive.
11960         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11961         vpath.  Do not allow for C++ type data being missing.
11962         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11963         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11964         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11965         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11966         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11967         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11968         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11970         ... here.
11971         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11973         ... here.
11974         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11976         ... here.
11977         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11979         ... here.
11980         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11982         ... here.
11983         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11985         ... here.
11986         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11988         ... here.
11989         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11991
11992         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11993         definitions to architecture-specific files.
11994         (TLS_IE): Likewise.
11995         (TLS_LD): Likewise.
11996         (TLS_GD): Likewise.
11997         * sysdeps/i386/tls-macros.h: New file.
11998         * sysdeps/powerpc/tls-macros.h: Likewise.
11999         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12000         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12001         * sysdeps/sh/tls-macros.h: Likewise.
12002         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12003         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12004         * sysdeps/x86_64/tls-macros.h: Likewise.
12005
12006 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
12007
12008         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12009         zero value for regular exit case.
12010
12011         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12012         (__start_context): Preserve zero value for regular exit case.
12013
12014 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
12015             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12016
12017         * manual/setjmp.texi (setcontext): Clarify normal process
12018         termination when uc_link is the null pointer.
12019         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12020         exit call.
12021
12022 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
12023
12024         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12025         preprocessor.  Test for each exception mask separately.
12026
12027 2012-07-16  Andreas Jaeger  <aj@suse.de>
12028
12029         * po/ru.po: Update from translation team.
12030
12031 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
12032
12033         * conform/data/string.h-data (NULL): Use macro-constant.  Require
12034         equal to 0.
12035         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12036         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12037         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12038         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12040
12041 2012-07-13  Andreas Jaeger  <aj@suse.de>
12042
12043         * po/fr.po: Update from translation team.
12044
12045 2012-07-12  Marek Polacek  <polacek@redhat.com>
12046
12047         [BZ #14173]
12048         * math/libm-test.inc (yn_test): Add test for BZ #14173.
12049         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12050         loop condition.
12051
12052 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
12053
12054         [BZ #13717]
12055         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12056         Change to 2.4.1 where previously 2.4.0.
12057         * sysdeps/unix/sysv/linux/configure: Regenerated.
12058         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12059         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12060         version.
12061         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12062         (__ASSUME_AT_CLKTCK): Remove.
12063         (__ASSUME_AT_PAGESIZE): Likewise.
12064         (__ASSUME_AT_XID): Likewise.
12065         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12066         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12067         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12068         unconditionally.
12069         (HAVE_AUX_PAGESIZE): Likewise.
12070         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12071         [__ASSUME_AT_CLKTCK]: Make code unconditional.
12072         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12073
12074 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
12075
12076         [BZ #14307]
12077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12078         the temporary buffer used to invoke __gethostbyname2_r,
12079         __gethostbyaddr_r and gethostbyname4_r to make room for struct
12080         host_data / struct gaih_addrtuple.
12081         * resolv/nss_dns/dns-host.c (global scope): Move definition of
12082         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12083         header file nss/nsswitch.h.
12084         * nss/nsswitch.h (global scope): Add definition of implementation
12085         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12086         resolv/nss_dns/dns-host.c).
12087
12088 2012-07-11  Andreas Jaeger  <aj@suse.de>
12089
12090         * po/fr.po: Update from translation team.
12091
12092         * po/sv.po: Update from translation team
12093         * po/fr.po: Another update from translation team.
12094
12095 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12096
12097         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12098         for subnormals or multiply small sinh result by itself.
12099         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12101
12102 2012-07-11  David S. Miller  <davem@davemloft.net>
12103
12104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12105
12106 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
12107
12108         [BZ #14347]
12109         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12110         (INTERNAL_MARK): Shift it here.
12111
12112 2012-07-10  Marek Polacek  <polacek@redhat.com>
12113
12114         [BZ #14151]
12115         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
12116         libc_cv_asm_global_directive with .globl.
12117         * configure: Regenerated.
12118         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12119         with .globl.
12120         * sysdeps/i386/configure: Regenerated.
12121         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12122         with .globl.
12123         * sysdeps/x86_64/configure: Regenerated.
12124         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12125         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12126         * elf/tst-unique2mod2.c: Likewise.
12127         * elf/tst-unique2mod1.c: Likewise.
12128         * elf/tst-unique1mod2.c: Likewise.
12129         * elf/tst-unique1mod1.c: Likewise.
12130         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12131         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12132         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12133         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12134         * sysdeps/mach/sysdep.h: Likewise.
12135         * sysdeps/i386/sysdep.h: Likewise.
12136         * sysdeps/i386/i386-mcount.S: Likewise.
12137         * sysdeps/x86_64/_mcount.S: Likewise.
12138         * sysdeps/x86_64/sysdep.h: Likewise.
12139         * sysdeps/sh/_mcount.S: Likewise.
12140         * sysdeps/sh/sysdep.h: Likewise.
12141         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12142         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12143         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12144         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12145         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12146         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12147         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12148         * locale/localeinfo.h: Likewise.
12149         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12150         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12151
12152 2012-07-09  Roland McGrath  <roland@hack.frob.com>
12153
12154         [BZ #14336]
12155         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12156         system".
12157         * manual/message.texi (The Uniforum approach): Likewise.
12158         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12159         (glibc iconv Implementation): Likewise.
12160
12161 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
12162
12163         [BZ #14337]
12164         * math/s_clog.c (__clog): Avoid scaling a value down where that
12165         could result in underflow.
12166         * math/s_clog10.c (__clog10): Likewise.
12167         * math/s_clog10f.c (__clog10f): Likewise.
12168         * math/s_clog10l.c (__clog10l): Likewise.
12169         * math/s_clogf.c (__clogf): Likewise.
12170         * math/s_clogl.c (__clogl): Likewise.
12171         * math/libm-test.inc (clog_test): Add more tests.
12172         (clog10_test): Likewise.
12173         * sysdeps/i386/fpu/libm-test-ulps: Update.
12174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12175
12176 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
12177
12178         [BZ #14283]
12179         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12180         by 7 not 8 to examine high bit of fractional part.
12181
12182         [BZ #14042]
12183         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12184         for call to __mcount_internal.
12185         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12186         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12187         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12188
12189 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
12190
12191         [BZ #14154]
12192         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12193         approximation for values within 0x1p-13f of an odd multiple of
12194         pi/4.
12195         * math/libm-test.inc (tan_test): Do not allow spurious underflow
12196         exception.  Add more tests.
12197         * sysdeps/i386/fpu/libm-test-ulps: Update.
12198
12199         [BZ #6778]
12200         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12201         inputs and return -1 for them.  Do not check for +Inf in case not
12202         reachable for +Inf.
12203         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12204         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12205         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12206         and return -1 for them.  Do not check for +Inf in case not
12207         reachable for +Inf.
12208         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12209         define.
12210         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12211         and return -1 for them.  Do not check for +Inf in case not
12212         reachable for +Inf.
12213         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
12214         spurious underflow.
12215         * sysdeps/i386/fpu/libm-test-ulps: Update.
12216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12217
12218 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
12219
12220         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12221
12222 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
12223
12224         [BZ #14157]
12225         [BZ #14331]
12226         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12227         could result in spurious underflow.  Scale down values above
12228         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12229         * math/s_csqrtf.c (__csqrtf): Likewise.
12230         * math/s_csqrtl.c (__csqrtl): Likewise.
12231         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
12232         spurious underflow.
12233         * sysdeps/i386/fpu/libm-test-ulps: Update.
12234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12235
12236 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12237
12238         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12239         xopen-msg.sed.
12240         * catgets/xopen-msg.awk: New file.
12241         * catgets/xopen-msg.sed: Removed.
12242
12243         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12244         po2text.sed.
12245         * intl/po2test.awk: New file.
12246         * intl/po2test.sed: Removed.
12247
12248 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
12249
12250         [BZ #14328]
12251         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12252         or multiply small sinh result by itself.
12253         * math/s_ctanf.c (__ctanf): Likewise.
12254         * math/s_ctanh.c (__ctanh): Likewise.
12255         * math/s_ctanhf.c (__ctanhf): Likewise.
12256         * math/s_ctanhl.c (__ctanhl): Likewise.
12257         * math/s_ctanl.c (__ctanl): Likewise.
12258         * math/libm-test.inc (ctan_test_tonearest): New function.
12259         (ctan_test_towardzero): Likewise.
12260         (ctan_test_downward): Likewise.
12261         (ctan_test_upward): Likewise.
12262         (ctanh_test_tonearest): Likewise.
12263         (ctanh_test_towardzero): Likewise.
12264         (ctanh_test_downward): Likewise.
12265         (ctanh_test_upward): Likewise.
12266         (main): Call these new functions.
12267         * sysdeps/i386/fpu/libm-test-ulps: Update.
12268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12269
12270 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
12271
12272         * .gitignore: Delete /ports entry.
12273
12274 2012-07-03  Andreas Jaeger  <aj@suse.de>
12275
12276         * po/bg.po: Update from translation team.
12277         * po/cs.po: Likewise.
12278         * po/de.po: Likewise.
12279         * po/hr.po: Likewise.
12280         * po/nl.pl: Likewise.
12281         * po/pl.po: Likewise.
12282         * po/vi.po: Likewise.
12283
12284 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
12285
12286         * Makeconfig [!+link] (+link-before-libc): New variable.
12287         [!+link] (+link-after-libc): Likewise.
12288         [!+link] (+link-tests): Likewise.
12289         [!+link] (+link): Define in terms of $(+link-before-libc) and
12290         $(+link-after-libc).
12291         [!+link-static] (+link-static-before-libc): New variable.
12292         [!+link-static] (+link-static-after-libc): Likewise.
12293         [!+link-static] (+link-static-tests): Likewise.
12294         [!+link-static] (+link-static): Define in terms of
12295         $(+link-static-before-libc) and $(+link-static-after-libc).
12296         [build-shared] (link-libc-before-gnulib): New variable.
12297         [build-shared] (link-libc-tests): Likewise.
12298         [build-shared] (link-libc): Define in terms of
12299         $(link-libc-before-gnulib).
12300         [!build-shared] (link-libc-tests): New variable.
12301         (link-libc-static-tests): New variable.
12302         [!gnulib] (gnulib-arch): New variable.
12303         [!gnulib] (gnulib-tests): Likewise.
12304         [!gnulib] (static-gnulib-arch): Likewise.
12305         [!gnulib] (static-gnulib-tests): Likewise.
12306         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
12307         Define with "=" instead of ":=".
12308         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
12309         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
12310         * Rules (binaries-all-notests): New variable.
12311         (binaries-all-tests): Likewise.
12312         (binaries-static-notests): Likewise.
12313         (binaries-static-tests): Likewise.
12314         (binaries-all): Define using $(binaries-all-notests) and
12315         $(binaries-all-tests).
12316         (binaries-static): Define using $(binaries-static-notests) and
12317         $(binaries-static-tests).
12318         (binaries-shared-tests): New variable.
12319         (binaries-shared-notests): Likewise.
12320         (binaries-shared): Remove variable.
12321         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12322         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12323         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12324         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12325         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12326         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12327         * elf/Makefile (sln-modules): New variable.
12328         (extra-objs): Add $(sln-modules:=.o).
12329         (ldconfig-modules): Add static-stubs.
12330         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12331         * elf/static-stubs.c: New file.
12332
12333         [BZ #14283]
12334         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12335         by 7 not 8 to examine high bit of fractional part.  Use volatile
12336         variables when splitting into final array of floats if
12337         __FLT_EVAL_METHOD__ != 0.
12338         * math/libm-test.inc (cos_test): Add another test.
12339         (sin_test): Likewise.
12340         * sysdeps/i386/fpu/libm-test-ulps: Update.
12341
12342         [BZ #14273]
12343         * math/libm-test.inc (cosh_test): Add more tests.
12344
12345         * version.h (RELEASE): Set to "development".
12346         (VERSION): Set to "2.16.90".
12347
12348 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
12349
12350         * NEWS: Update copyright. Remove last-updated date.
12351         Mention math library bug fixes and timezone data changes.
12352         * README: Mention GNU/Hurd, x32, and HPPA support status.
12353
12354 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
12355
12356         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12357
12358 2012-06-27  Andreas Jaeger  <aj@suse.de>
12359
12360         * manual/contrib.texi (Contributors): Add Samuel Thibault.
12361
12362 2012-06-25  Andreas Jaeger  <aj@suse.de>
12363
12364         * sysdeps/s390/fpu/libm-test-ulps: Update.
12365
12366 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
12367             Thomas Schwinge  <thomas@codesourcery.com>
12368
12369         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12370         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12371         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12372         fanotify_mark.
12373
12374 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
12375
12376         * sysdeps/mach/start.c: Remove file.
12377         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12378         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12379         * sysdeps/sh/init-first.c: Likewise.
12380
12381         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12382         registers for frame unwinding purposes, add CFI directives.
12383         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12384         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12385         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12386         Likewise.
12387
12388         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12389         __fortify_fail returning.
12390         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12391
12392         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12393         sysdeps/sh/____longjmp_chk.S.
12394         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12395         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12396         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12397         (gen-as-const-headers): Append sigaltstack-offsets.sym.
12398
12399         * sysdeps/sh/abort-instr.h: New file.
12400         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12401         process in case exit returns.
12402
12403         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12404         initialize the GOT register before use.
12405
12406         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12407         calculation of ARGC > 4.
12408
12409         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12410         meaningful names to some local labels.
12411
12412 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12413             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12414
12415         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12416         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12417         (__arch_compare_and_exchange_val_16_acq): Likewise.
12418         (__arch_compare_and_exchange_val_32_acq): Likewise.
12419         (atomic_exchange_and_add): Fix gUSA sequence.
12420         (atomic_add): Likewise.
12421         (atomic_add_negative): Likewise.
12422         (atomic_add_zero): Likewise.
12423         (atomic_bit_test_set): Likewise.
12424
12425 2012-06-22  Andreas Schwab  <schwab@redhat.com>
12426
12427         [BZ #13579]
12428         * include/link.h (struct link_map): Add l_free_initfini.
12429         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12430         l_initfini.
12431         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12432         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12433         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12434         set.
12435
12436 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
12437
12438         * configure.in: Use AC_LANG_SOURCE.
12439         * configure: Regenerate.
12440
12441 2012-06-22  Roland McGrath  <roland@hack.frob.com>
12442
12443         * configure.in (libc_cv_localstatedir): New substituted variable.
12444         * configure: Regenerated.
12445         * config.make.in (localstatedir): New variable, substituted from
12446         libc_cv_localstatedir.
12447         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12448         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12449         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12450         * sysdeps/gnu/configure: Regenerated.
12451
12452 2012-06-21  Jeff Law  <law@redhat.com>
12453
12454         [BZ #14277]
12455         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12456         free.  Simplify list management for _LIBC case.
12457
12458 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
12459
12460         [BZ #14273]
12461         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12462         Clear sign bit of 64-bit integer value before comparing against
12463         overflow value.
12464
12465         * sysdeps/mach/configure: Regenerated.
12466
12467 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
12468
12469         [BZ #14278]
12470         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12471
12472 2012-06-21  Jeff Law  <law@redhat.com>
12473
12474         [BZ #13882]
12475         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
12476         uint16_t for elements in the "seen" array to avoid char overflows.
12477         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12478         * elf/dl-open.c (dl_open_worker): Likewise.
12479
12480 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
12481
12482         * scripts/list-sources.sh: Scan PORTS for translations.
12483         * po/libc.pot: Regenerated.
12484
12485 2012-06-21  Andreas Jaeger  <aj@suse.de>
12486
12487         [BZ #12194]
12488         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12489         warning.
12490         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12491         * bits/byteswap-16.h (__bswap_16): Likewise.
12492         * bits/byteswap.h (__bswap_constant_16): Likewise.
12493
12494 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
12495
12496         [BZ #14117]
12497         * sysdeps/i386/fpu_control.h: Removed.
12498         * sysdeps/x86_64/fpu_control.h: Moved to ...
12499         * sysdeps/x86/fpu_control.h: Here.
12500
12501         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12502         (_FPU_SETCW): Likewise.
12503
12504 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
12505
12506         [BZ #14117]
12507         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12508         * sysdeps/x86/fpu/bits/mathinline.h: This.
12509         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12510
12511         [BZ #14050]
12512         [BZ #14117]
12513         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12514         functions if __x86_64__ is defined.
12515
12516 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
12517
12518         * string/endian.h: Add !__ASSEMBLER__ condition for including
12519         conversion interfaces.
12520
12521 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
12522
12523         [BZ #14241]
12524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12525         of ABS(x) in calculating zero to negative powers other than odd
12526         integers.
12527         * math/libm-test.inc (pow_test): Add more tests.
12528
12529 2012-06-15  Andreas Jaeger  <aj@suse.de>
12530
12531         * manual/contrib.texi (Contributors): Update entry of Liubov
12532         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12533         Machado Filho.
12534
12535 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
12536
12537         * string/string.h: Add __wur to GNU version of strerror_r.
12538
12539 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
12540
12541         [BZ #14229]
12542         * string/Makefile (tests): Add tst-strtok_r.
12543         * string/tst-strtok_r.c: New file.
12544         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12545         RAX_LP/RDX_LP on SAVE_PTR.
12546
12547 2012-06-14  Roland McGrath  <roland@hack.frob.com>
12548
12549         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12550
12551 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
12552
12553         * libm_test.inc (csqrt_test): Allow more spurious underflow
12554         exceptions.
12555         (j0_test): Likewise.
12556         (j1_test): Likewise.
12557         (y0_test): Likewise.
12558         (y1_test): Likewise.
12559
12560 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
12561
12562         * po/Makefile (libc.pot): Use UTF-8 charset.
12563
12564 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
12565
12566         [BZ #14210]
12567         Suppress sign-conversion warning from FD_SET.
12568         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12569         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12570         not unsigned long int.
12571         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12572
12573 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
12574
12575         [BZ #14050]
12576         [BZ #14117]
12577         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12578         __extern_always_inline instead of __extern_inline.
12579         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12580         (__signbit): Likewise.
12581         (__signbitl): Support C++ namespace.
12582         (lrintf): New inline function.
12583         (lrint): Likewise.
12584         (llrintf): Likewise.
12585         (llrint): Likewise.
12586         (fmaxf): Likewise.
12587         (fmax): Likewise.
12588         (fminf): Likewise.
12589         (fmin): Likewise.
12590         (rint): Likewise.
12591         (rintf): Likewise.
12592         (ceil): Likewise.
12593         (ceilf): Likewise.
12594         (floor): Likewise.
12595         (floorf): Likewise.
12596         (nearbyint): Likewise.
12597         (nearbyintf): Likewise.
12598
12599 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
12600
12601         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12602         non-default versions.
12603
12604 2012-06-11  Roland McGrath  <roland@hack.frob.com>
12605
12606         [BZ #14218]
12607         * manual/argp.texi (Argp): Reword argp_parse description slightly.
12608
12609 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
12610
12611         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12612         (FE_UPWARD, FE_DOWNWARD): Don't define.
12613         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12614         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12615
12616         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12617         reading it.
12618         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12619         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12620
12621 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12622
12623         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12625         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12626         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12627
12628 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12629
12630         [BZ #14117]
12631         * sysdeps/i386/fpu/bits/fenv.h: Removed.
12632         * sysdeps/i386/fpu/Implies: New file.
12633         * sysdeps/x86_64/fpu/Implies: Likewise.
12634         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12635         * sysdeps/x86/fpu/bits/fenv.h: This.
12636
12637         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12638         __SSE_MATH__.
12639
12640 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12641
12642         [BZ #14134]
12643         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12644         character 0xffff that matches the last element of the
12645         conversion table.
12646
12647 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12648
12649         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12650         fmodl commit.
12651
12652 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12653
12654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12655         values higher than 25.6283.
12656
12657 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12658
12659         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12660         subnormal exponent extraction and add some __builtin_expect.
12661         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12662         Fix for subnormal mantissa calculation.
12663
12664 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
12665
12666         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12667         cpu2 is -1 and errno is not ENOSYS.
12668
12669 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
12670
12671         [BZ #14117]
12672         * sysdeps/i386/i486/bits/string.h: Renamed to ...
12673         * sysdeps/x86/bits/string.h: This.
12674         * sysdeps/x86_64/bits/string.h: Removed.
12675
12676         * sysdeps/i386/i486/bits/string.h: Define inline functions only
12677         if not compiling for x86-64, but compiling for >= i486.
12678
12679         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12680         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12681
12682         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12683         New macro from Linux kernel 3.4.0.
12684         (FP_XSTATE_MAGIC2): Likewise.
12685         (FP_XSTATE_MAGIC2_SIZE): Likewise.
12686         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12687         (struct _fpx_sw_bytes): New struct.
12688         (struct _xsave_hdr): Likewise.
12689         (struct _ymmh_state): Likewise.
12690         (struct _xstate): Likewise.
12691
12692         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12693         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12694         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12695         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12696         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12697         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12698
12699         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12700         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12701         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12702         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12703         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12704         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12705
12706 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12707
12708         [BZ #13743]
12709         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12710         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12711         (sysdep_headers): Include sys/platform/ppc.h.
12712         * sysdeps/powerpc/test-gettimebase.c: Test for
12713         __ppc_get_timebase() to catch future ISA opcode/insn changes.
12714         * manual/Makefile (appendices): Include platform.texi.
12715         * manual/contrib.texi (Contributors): Update @node pointers.
12716         * manual/maint.texi (Maintenance): Likewise.
12717         (Platform): New node.
12718         * manual/platform.texi: New file.  Document the new features.
12719
12720 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12721             Jakub Jelinek  <jakub@redhat.com>
12722
12723         [BZ #14188]
12724         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12725         where __builtin_expect is unavailable.
12726
12727 2012-06-03  David S. Miller  <davem@davemloft.net>
12728
12729         * stdlib/longlong.h: Updated from GCC.
12730
12731 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
12732
12733         [BZ #14042]
12734         * sysdeps/powerpc/powerpc32/mcount.c: New file.
12735         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12736         __mcount_internal.
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12738         (GLIBC_2.16): Likewise.
12739
12740 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12741
12742         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12743
12744 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12745
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12747         (default-abi): New variable.
12748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12749         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12750         variable.
12751         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12752         Likewise.
12753         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12754         Likewise.
12755         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12756         Likewise.
12757
12758         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12759         definition.  Document in comment.
12760
12761 2012-06-01  David S. Miller  <davem@davemloft.net>
12762
12763         * stdlib/longlong.h: Updated from GCC.
12764
12765 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12766
12767         [BZ #14117]
12768         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12769         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12770         sys/debugreg.h sys/io.h here.
12771         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12772         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12773         sys/io.h.
12774         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12775         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12776         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12777         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12778         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12779         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12780
12781         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12782         Define only if __x86_64__ is defined.
12783
12784 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
12785
12786         [BZ #14048]
12787         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12788         Use int64_t for variable i.
12789         * math/libm-test.inc (fmod_test): Add more tests.
12790
12791         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12792         z computation is not scheduled after fetestexcept.
12793         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12794         Use math_force_eval instead of asm to ensure calculation scheduled
12795         before exception test.
12796         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12797         Ensure a1 + u.d computation is not scheduled after fetestexcept.
12798
12799 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
12800
12801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12802         computation is not scheduled after fetestexcept.
12803
12804 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12805
12806         [BZ #14117]
12807         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12808         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12809
12810 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12811
12812         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12813         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12814
12815 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12816
12817         [BZ #14117]
12818         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12819         <bits/wordsize.h>.
12820         (__WCHAR_MIN): Support __WORDSIZE == 64.
12821         (__WCHAR_MAX): Likewise.
12822
12823         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12824         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12825
12826         [BZ #14183]
12827         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12828         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12829
12830         [BZ #14117]
12831         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12832         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12833
12834         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12835         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12836
12837         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12838         Defined to 1 if __x86_64__ isn't defined.
12839         (_STAT_VER_LINUX_OLD): New.
12840         (st_atime): Remove duplicate.
12841         (st_mtime): Likewise.
12842         (st_ctime): Likewise.
12843
12844 2012-05-31  David S. Miller  <davem@davemloft.net>
12845
12846         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12847         entries.
12848
12849 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12850
12851         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12852         gen-libm-test.pl.
12853
12854         [BZ #14132]
12855         * elf/dl-reloc.c: Include <_itoa.h>.
12856         (_dl_reloc_bad_type): Remove use of INTUSE.
12857         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12858         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12859         * stdio-common/psiginfo.c (psiginfo): Likewise.
12860         * stdio-common/psignal.c (psignal): Likewise.
12861         * string/strsignal.c (strsignal): Likewise.
12862         * include/signal.h (_sys_siglist): Declare hidden proto.
12863         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12864         INTVARDEF with libc_hidden_data_def.
12865         * stdio-common/itoa-udigits.c: Likewise.
12866         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12867         (_itoa_lower_digits_internal): Remove declaration.
12868         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12869         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12870         (_sys_sigabbrev_internal): Remove aliases.
12871         (_sys_siglist): Define hidden alias.
12872
12873 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12874
12875         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12876         bits/sysctl.h.
12877
12878 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12879
12880         [BZ #14117]
12881         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12882         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12883
12884         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12885         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12886         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12887         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12888         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12889         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12890
12891         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12892         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12893         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12894
12895         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12896         with __addr.
12897         (insw): Likewise.
12898         (insl): Likewise.
12899         (outsb): Likewise.
12900         (outsw): Likewise.
12901         (outsl): Likewise.
12902
12903         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12904         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12905         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12906
12907         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12908         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12909         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12910         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12911         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12912         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12913
12914         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12915         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12916
12917         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12918         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12919
12920         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12921         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12922         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12923
12924         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12925         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12926         to ...
12927         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12928
12929         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12930         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12931         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12932
12933         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12934         for x86-64.
12935         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12936
12937 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12938
12939         * math/math.h (M_El): Use two more decimal places.
12940         (M_LOG2El): Likewise.
12941         (M_LOG10El): Likewise.
12942         (M_LN2l): Likewise.
12943         (M_LN10l): Likewise.
12944         (M_PIl): Likewise.
12945         (M_PI_2l): Likewise.
12946         (M_PI_4l): Likewise.
12947         (M_1_PIl): Likewise.
12948         (M_2_PIl): Likewise.
12949         (M_2_SQRTPIl): Likewise.
12950         (M_SQRT2l): Likewise.
12951         (M_SQRT1_2l): Likewise.
12952
12953 2012-05-31  David S. Miller  <davem@davemloft.net>
12954
12955         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12956         values between float registers.
12957         * sysdeps/sparc/sparc64/memset.S: Likewise.
12958         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12959
12960 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12961
12962         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12963         -D_FORTIFY_SOURCE=1.
12964         (CPPFLAGS-tst-longjmp_chk.c): Define.
12965         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12966         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12967         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12968         CFLAGS-tst-wchar-h.c.
12969
12970 2012-05-31  Marek Polacek  <polacek@redhat.com>
12971
12972         [BZ #14132]
12973         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12974         __endmntent_internal): Remove declaration.
12975         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12976         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12977         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12978
12979 2012-05-30  David S. Miller  <davem@davemloft.net>
12980
12981         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12982         (___Q_simulate_exceptions): Use real FP ops rather than writing
12983         into the %fsr.
12984         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12985         Likewise.
12986
12987 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12988
12989         [BZ #14117]
12990         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12991         * sysdeps/x86/bits/xtitypes.h: This.
12992
12993         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12994         * sysdeps/x86/bits/wordsize.h: This.
12995
12996         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12997         * sysdeps/x86/bits/huge_vall.h: This.
12998
12999         * sysdeps/i386/bits/select.h: Removed.
13000         * sysdeps/x86_64/bits/select.h: Renamed to ...
13001         * sysdeps/x86/bits/select.h: This.
13002
13003         * sysdeps/i386/bits/setjmp.h: Removed.
13004         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13005         * sysdeps/x86/bits/setjmp.h: This.
13006
13007         * sysdeps/i386/bits/mathdef.h: Removed.
13008         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13009         * sysdeps/x86/bits/mathdef.h: This.
13010
13011 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
13012
13013         [BZ #14132]
13014         * include/sys/socket.h (__connect_internal)
13015         (__libc_sa_len_internal): Remove declaration.
13016         (__connect, __libc_sa_len): Declare hidden_proto.
13017         (SA_LEN): Remove use of INTUSE.
13018         * socket/connect.c: Add libc_hidden_def.
13019         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13020         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13021         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13022         alias.
13023         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13025         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13026         of adding _internal alias.
13027
13028 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
13029
13030         [BZ #14117]
13031         * sysdeps/i386/bits/link.h: Removed.
13032         * sysdeps/i386/bits/linkmap.h: Likewise.
13033         * sysdeps/x86_64/bits/link.h: Renamed to ...
13034         * sysdeps/x86/bits/link.h: This.
13035         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13036         * sysdeps/x86/bits/linkmap.h: This.
13037
13038         * sysdeps/i386/bits/endian.h: Removed.
13039         * sysdeps/x86_64/bits/endian.h: Renamed to ...
13040         * sysdeps/x86/bits/endian.h: This.
13041
13042         * sysdeps/i386/bits/byteswap.h: Removed.
13043         * sysdeps/i386/bits/byteswap-16.h: Likewise.
13044         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13045         * sysdeps/x86/bits/byteswap.h: This.
13046         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13047         * sysdeps/x86/bits/byteswap-16.h: This.
13048         * sysdeps/i386/Implies: Add x86.
13049         * sysdeps/x86_64/Implies: Likewise.
13050
13051 2012-05-30  David S. Miller  <davem@davemloft.net>
13052
13053         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13054         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13055         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13056         (FP_TRAPPING_EXCEPTIONS): Define.
13057         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13058         (FP_TRAPPING_EXCEPTIONS): Define.
13059         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13060         subnormals only when inexact has been signalled or underflow
13061         exceptions are enabled.
13062         (_FP_PACK_CANONICAL): Likewise.
13063
13064 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
13065
13066         [BZ #14183]
13067         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13068         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13069
13070 2012-05-30  Richard Henderson  <rth@twiddle.net>
13071
13072         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13073         with #ifndef NOT_IN_libc.
13074
13075         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
13076         marked to avoid plt entry.
13077
13078 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
13079
13080         [BZ #14112]
13081         * Makeconfig (default-abi): New macro.
13082         (abi-includes): Likewise.
13083         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
13084         $(abi-$(default-abi)-lib-soname) for soname if defined.
13085         ($(common-objpfx)gnu/lib-names.stmp): Generate from
13086         abi-variants.
13087         * Makefile (installed-stubs): Likewise.
13088         * include/stubs-biarch.h: Removed.
13089         * scripts/lib-names.awk: Only handle one library at a time.
13090         * scripts/soversions.awk: Remove WORDSIZE support.
13091         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13092         entries.
13093         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13094         Removed.
13095         (syscall-list-default-condition): Likewise.
13096         (syscall-list-default-condition): Likewise.
13097         (syscall-list-includes): Likewise.
13098         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13099         syscall-list-* with abi-*.  Handle undefined abi-variants.
13100         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13101         * sysdeps/unix/sysv/linux/i386/Implies: New file.
13102         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13103         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13104         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13105         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13106         Removed.
13107         (syscall-list-32-options): Likewise.
13108         (syscall-list-32-condition): Likewise.
13109         (syscall-list-64-options): Likewise.
13110         (syscall-list-64-condition): Likewise.
13111         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13112         macro.
13113         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13114         Renamed to ...
13115         (abi-*): This.
13116         (abi-64-ld-soname): New macro.
13117         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13118         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13119         Renamed to ...
13120         (abi-*): This.
13121         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13122         * sysdeps/x86_64/x32/shlib-versions: Likewise.
13123
13124 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
13125
13126         * sysdeps/unix/sysv/linux/kernel-features.h
13127         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13128         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13129         include <kernel-features.h>.
13130         [!__NR_ftruncate64]: Remove conditional code.
13131         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13132         [__NR_ftruncate64]: Make code unconditional.
13133         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13134         * sysdeps/unix/sysv/linux/truncate64.c: Do not
13135         include <kernel-features.h>.
13136         [!__NR_ftruncate64]: Remove conditional code.
13137         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13138         [__NR_ftruncate64]: Make code unconditional.
13139         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13141         include <kernel-features.h>.
13142         [!__NR_ftruncate64]: Remove conditional code.
13143         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13144         [__NR_ftruncate64]: Make code unconditional.
13145         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13147         include <kernel-features.h>.
13148         [!__NR_ftruncate64]: Remove conditional code.
13149         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13150         [__NR_ftruncate64]: Make code unconditional.
13151         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13152
13153         * configure.in (libc_cv_fpie): Weaken to a compile test using
13154         LIBC_TRY_CC_OPTION.
13155         * configure: Regenerated.
13156
13157 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13158
13159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13163         Refreshed.
13164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13170         Refreshed.
13171
13172 2012-05-27  David S. Miller  <davem@davemloft.net>
13173
13174         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13175         (___Q_zero): New.
13176         (__Q_simulate_exceptions): Return void.  Change to simulate
13177         exceptions by writing into the %fsr.
13178         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13179         (__Qp_handle_exceptions): Likewise.
13180         (numbers): Delete.
13181         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13182         __Qp_handle_exceptions.
13183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13184         __Qp_handle_exceptions.
13185         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13186         as unused and give dummy FP_RND_NEAREST initializer.
13187         (FP_INHIBIT_RESULTS): Define.
13188         (___Q_simulate_exceptions): Update declaration.
13189         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13190         formatting.
13191         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13192         as unused and give dummy FP_RND_NEAREST initializer.
13193         (__Qp_handle_exceptions): Update declaration.
13194         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13195         formatting.
13196
13197 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
13198
13199         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13200         the temporary FPU control word.
13201         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13202         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13203         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13204         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13205         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13206         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13207         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13208         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13209         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13210         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13211         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13212
13213 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13214
13215         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13216         fields.
13217
13218 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
13219
13220         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13221         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13222         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13223         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13224         Likewise.
13225         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13226         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13227         Likewise.
13228
13229 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
13230
13231         * po/h.po: Update from translation team.
13232
13233 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
13234
13235         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13236
13237         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13238         handling of denormals.
13239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13240         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13241         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13242         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13243         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13244         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13245         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13246         Likewise.
13247
13248 2012-05-26  Marek Polacek  <polacek@redhat.com>
13249
13250         [BZ #14152]
13251         * math/libm-test.inc (fma_test): Don't always expect underflow
13252         exception.
13253
13254 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13255
13256         [BZ #12416]
13257         * elf/tst-execstack.c: Include stackinfo.h.
13258         (do_test): Adjust test case to ensure that pthread_getattr_np
13259         behaviour remains the same after marking stack executable.
13260
13261 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
13262
13263         * sysdeps/unix/sysv/linux/kernel-features.h
13264         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13265         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13266         kernel-features.h.
13267         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13268         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13269         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13270         kernel-features.h.
13271         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13272         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13273
13274 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
13275
13276         * configure.in: Define the default includes to being none.
13277         * configure: Regenerated.
13278
13279 2012-05-25  Roland McGrath  <roland@hack.frob.com>
13280
13281         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13282         * sysdeps/x86_64/setjmp.S: Likewise.
13283         * sysdeps/i386/bsd-setjmp.S: Likewise.
13284         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13285         * sysdeps/i386/setjmp.S: Likewise.
13286         * sysdeps/i386/__longjmp.S: Likewise.
13287         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13288         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13289
13290         * include/stap-probe.h: New file.
13291         * configure.in: Handle --enable-systemtap.
13292         * configure: Regenerated.
13293         * config.h.in (USE_STAP_PROBE): New #undef.
13294         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13295         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13296         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13297
13298 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
13299
13300         [BZ #13717]
13301         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13302         to 2.4.0 where earlier.
13303         * sysdeps/unix/sysv/linux/configure: Regenerated.
13304         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
13313         [__ASSUME_32BITUIDS]: Make code unconditional.
13314         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13315         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13316         <kernel-features.h>.
13317         [__ASSUME_32BITUIDS]: Make code unconditional.
13318         [!__ASSUME_32BITUIDS]: Remove conditional code.
13319         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13320         <kernel-features.h>.
13321         [__ASSUME_32BITUIDS]: Make code unconditional.
13322         [!__ASSUME_32BITUIDS]: Remove conditional code.
13323         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13324         <kernel-features.h>.
13325         [__ASSUME_32BITUIDS]: Make code unconditional.
13326         [!__ASSUME_32BITUIDS]: Remove conditional code.
13327         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13328         <kernel-features.h>.
13329         [__ASSUME_32BITUIDS]: Make code unconditional.
13330         [!__ASSUME_32BITUIDS]: Remove conditional code.
13331         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13332         <kernel-features.h>.
13333         [__ASSUME_32BITUIDS]: Make code unconditional.
13334         [!__ASSUME_32BITUIDS]: Remove conditional code.
13335         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13336         <kernel-features.h>.
13337         [__ASSUME_32BITUIDS]: Make code unconditional.
13338         [!__ASSUME_32BITUIDS]: Remove conditional code.
13339         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13340         <kernel-features.h>.
13341         [__ASSUME_32BITUIDS]: Make code unconditional.
13342         [!__ASSUME_32BITUIDS]: Remove conditional code.
13343         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13344         <kernel-features.h>.
13345         [__ASSUME_32BITUIDS]: Make code unconditional.
13346         [!__ASSUME_32BITUIDS]: Remove conditional code.
13347         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13348         <kernel-features.h>.
13349         [__ASSUME_32BITUIDS]: Make code unconditional.
13350         [!__ASSUME_32BITUIDS]: Remove conditional code.
13351         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13352         <kernel-features.h>.
13353         [__ASSUME_32BITUIDS]: Make code unconditional.
13354         [!__ASSUME_32BITUIDS]: Remove conditional code.
13355         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13356         <kernel-features.h>.
13357         [__NR_setresgid] (__setresgid): Do not declare.
13358         [__ASSUME_32BITUIDS]: Make code unconditional.
13359         [!__ASSUME_32BITUIDS]: Remove conditional code.
13360         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13361         <kernel-features.h>.
13362         [__NR_setresuid] (__setresuid): Do not declare.
13363         [__ASSUME_32BITUIDS]: Make code unconditional.
13364         [!__ASSUME_32BITUIDS]: Remove conditional code.
13365         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13366         <kernel-features.h>.
13367         [__ASSUME_32BITUIDS]: Make code unconditional.
13368         [!__ASSUME_32BITUIDS]: Remove conditional code.
13369         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13370         <kernel-features.h>.
13371         [__ASSUME_32BITUIDS]: Make code unconditional.
13372         [!__ASSUME_32BITUIDS]: Remove conditional code.
13373         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13374         <kernel-features.h>.
13375         [__ASSUME_32BITUIDS]: Make code unconditional.
13376         [!__ASSUME_32BITUIDS]: Remove conditional code.
13377         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13378         <kernel-features.h>.
13379         [__ASSUME_32BITUIDS]: Make code unconditional.
13380         [!__ASSUME_32BITUIDS]: Remove conditional code.
13381         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13382         <kernel-features.h>.
13383         [__ASSUME_32BITUIDS]: Make code unconditional.
13384         [!__ASSUME_32BITUIDS]: Remove conditional code.
13385         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13386         <kernel-features.h>.
13387         [__ASSUME_32BITUIDS]: Make code unconditional.
13388         [!__ASSUME_32BITUIDS]: Remove conditional code.
13389         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13390         <kernel-features.h>.
13391         [__ASSUME_32BITUIDS]: Make code unconditional.
13392         [!__ASSUME_32BITUIDS]: Remove conditional code.
13393         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13394         <kernel-features.h>.
13395         [__ASSUME_32BITUIDS]: Make code unconditional.
13396         [!__ASSUME_32BITUIDS]: Remove conditional code.
13397         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13398         <kernel-features.h>.
13399         [__ASSUME_32BITUIDS]: Make code unconditional.
13400         [!__ASSUME_32BITUIDS]: Remove conditional code.
13401         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13402         <kernel-features.h>.
13403         [__ASSUME_32BITUIDS]: Make code unconditional.
13404         [!__ASSUME_32BITUIDS]: Remove conditional code.
13405         * sysdeps/unix/sysv/linux/kernel-features.h
13406         (__ASSUME_SETRESUID_SYSCALL): Remove.
13407         (__ASSUME_SETRESGID_SYSCALL): Likewise.
13408         (__ASSUME_32BITUIDS): Likewise.
13409         (__ASSUME_LDT_WORKS): Likewise.
13410         (__ASSUME_O_DIRECTORY): Likewise.
13411         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13412         architecture but not kernel version.
13413         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13414         (__ASSUME_MMAP2_SYSCALL): Likewise.
13415         (__ASSUME_STAT64_SYSCALL): Likewise.
13416         (__ASSUME_IPC64): Likewise.
13417         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13418         <kernel-features.h>.
13419         [__ASSUME_32BITUIDS]: Make code unconditional.
13420         [!__ASSUME_32BITUIDS]: Remove conditional code.
13421         * sysdeps/unix/sysv/linux/opendir.c: Do not include
13422         <kernel-features.h>.
13423         [__ASSUME_O_DIRECTORY]: Make code unconditional.
13424         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13425         132096]: Remove conditional code.
13426         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13427         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13428         <kernel-features.h>.
13429         [__ASSUME_32BITUIDS]: Make code unconditional.
13430         [!__ASSUME_32BITUIDS]: Remove conditional code.
13431         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13432         <kernel-features.h>.
13433         [__ASSUME_32BITUIDS]: Make code unconditional.
13434         [!__ASSUME_32BITUIDS]: Remove conditional code.
13435         * sysdeps/unix/sysv/linux/setegid.c: Do not include
13436         <kernel-features.h>.
13437         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13438         unconditional.
13439         (__setresgid): Do not declare.
13440         [__ASSUME_32BITUIDS]: Make code unconditional.
13441         [!__ASSUME_32BITUIDS]: Remove conditional code.
13442         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13443         <kernel-features.h>.
13444         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13445         unconditional.
13446         (__setresuid): Do not declare.
13447         [__ASSUME_32BITUIDS]: Make code unconditional.
13448         [!__ASSUME_32BITUIDS]: Remove conditional code.
13449         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13450         <kernel-features.h>.
13451         [__ASSUME_32BITUIDS]: Make code unconditional.
13452         [!__ASSUME_32BITUIDS]: Remove conditional code.
13453         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13454         <kernel-features.h>.
13455         [__ASSUME_32BITUIDS]: Make code unconditional.
13456         [!__ASSUME_32BITUIDS]: Remove conditional code.
13457
13458 2012-05-25  Richard Henderson  <rth@twiddle.net>
13459
13460         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13461         dl_hwcap to ifunc resolver.
13462         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13463         elf_ifunc_invoke.
13464         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13465         dl_hwcap to ifunc resolver.
13466         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13467
13468 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13469
13470         [BZ #14153]
13471         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13472         for |x| <= 2**-26, not 2**-57.
13473         * math/libm-test.inc (acos_test): Do not allow spurious underflow
13474         exception.
13475
13476 2012-05-24  Jeff Law  <law@redhat.com>
13477
13478         * stdio-common/Makefile (tests): Add bug25.
13479         * stdio-common/bug25.c: New test.
13480
13481 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13482
13483         [BZ #13576]
13484         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13485         multiple of MALLOC_ALIGNMENT in size.
13486         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13487
13488 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13489
13490         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13491         Require >= 256.
13492         (FILENAME_MAX): Use macro-int-constant.
13493         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
13494         (_IOFBF): Use macro-int-constant.
13495         (_IOLBF): Likewise.
13496         (_IONBF): Likewise.
13497         (SEEK_CUR): Likewise.
13498         (SEEK_END): Likewise.
13499         (SEEK_SET): Likewise.
13500         (TMP_MAX): Likewise.
13501         (EOF): Use macro-int-constant.  Require < 0.
13502         (NULL): Use macro-constant.  Require == 0.
13503         (stdin): Require type to be FILE *.
13504         (stdout): Likewise.
13505         (stderr): Likewise.
13506         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13507         macro-int-constant.
13508         (EXIT_SUCCESS): Likewise.
13509         (NULL): Use macro-constant.  Require == 0.
13510         (RAND_MAX): Use macro-int-constant.
13511         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13512         [C99-based standards] (strtof): Require function.
13513         [C99-based standards] (strtold): Likewise.
13514         [C99-based standards] (strtoll): Likewise.
13515         [C99-based standards] (strtoull): Likewise.
13516         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13517         [ISO || ISO99 || ISO11] (limits.h): Likewise.
13518         [ISO || ISO99 || ISO11] (math.h): Likewise.
13519         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13520         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13521         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13522
13523 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
13524
13525         [BZ #14132]
13526         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13527         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13528         * intl/dgettext.c (DCGETTEXT): Likewise.
13529         * intl/gettext.c (DCGETTEXT): Likewise.
13530         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13531         * posix/regex_internal.h (gettext): Likewise.
13532         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13533         Remove declaration.
13534         * include/argz.h (__argz_count_internal)
13535         (__argz_stringify_internal): Remove declaration.
13536         (__argz_count, __argz_stringify): Declare hidden proto.
13537         * intl/dcgettext.c: Remove use of INTDEF.
13538         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13539         * string/argz-stringify.c: Likewise.
13540         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13541         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13542         Declare hidden proto.
13543         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13544         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13545         Declare hidden proto.
13546         * include/stdio.h (__asprintf_internal): Don't declare.
13547         (__asprintf): Don't define as macro.  Declare hidden proto.
13548         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13549         (__fsetlocking): Declare hidden proto.
13550         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13551         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13552         hidden proto.
13553         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13554         (_IO_setlinebuf): Remove use of INTUSE.
13555         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13556         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13557         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13558         Remove declaration.
13559         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13560         (_IO_do_flush): Remove use of INTUSE.
13561         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13562         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13563         (_IO_adjust_column, _IO_least_wmarker)
13564         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13565         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13566         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13567         (_IO_default_doallocate, _IO_wdefault_doallocate)
13568         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13569         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13570         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13571         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13572         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13573         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13574         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13575         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13576         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13577         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13578         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13579         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13580         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13581         proto.
13582         (_IO_flush_all_internal, _IO_adjust_column_internal)
13583         (_IO_default_uflow_internal, _IO_default_finish_internal)
13584         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13585         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13586         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13587         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13588         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13589         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13590         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13591         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13592         (_IO_file_close_internal, _IO_file_close_it_internal)
13593         (_IO_file_underflow_internal, _IO_file_overflow_internal)
13594         (_IO_file_init_internal, _IO_file_attach_internal)
13595         (_IO_file_fopen_internal, _IO_file_read_internal)
13596         (_IO_file_sync_internal, _IO_file_seek_internal)
13597         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13598         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13599         (_IO_str_underflow_internal, _IO_str_overflow_internal)
13600         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13601         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13602         (_IO_list_all_internal, _IO_link_in_internal)
13603         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13604         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13605         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13606         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13607         (_IO_do_write_internal, _IO_padn_internal)
13608         (_IO_getline_info_internal, _IO_getline_internal)
13609         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13610         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13611         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13612         (_IO_vfscanf_internal, _IO_vfprintf_internal)
13613         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13614         (_IO_init_internal, _IO_un_link_internal): Don't declare.
13615         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13616         with libc_hidden_ver, remove use of INTUSE.
13617         * libio/genops.c: Likewise.
13618         * libio/freopen.c: Likewise.
13619         * libio/freopen64.c: Likewise.
13620         * libio/iofclose.c: Likewise.
13621         * libio/iofdopen.c: Likewise.
13622         * libio/iofflush.c: Likewise.
13623         * libio/iofflush_u.c: Likewise.
13624         * libio/iofgets.c: Likewise.
13625         * libio/iofgets_u.c: Likewise.
13626         * libio/iofopen.c: Likewise.
13627         * libio/iofopncook.c: Likewise.
13628         * libio/iofread.c: Likewise.
13629         * libio/iofread_u.c: Likewise.
13630         * libio/ioftell.c: Likewise.
13631         * libio/iofwrite.c: Likewise.
13632         * libio/iogetline.c: Likewise.
13633         * libio/iogets.c: Likewise.
13634         * libio/iogetwline.c: Likewise.
13635         * libio/iopadn.c: Likewise.
13636         * libio/iopopen.c: Likewise.
13637         * libio/ioseekoff.c: Likewise.
13638         * libio/ioseekpos.c: Likewise.
13639         * libio/iosetbuffer.c: Likewise.
13640         * libio/iosetvbuf.c: Likewise.
13641         * libio/ioungetc.c: Likewise.
13642         * libio/ioungetwc.c: Likewise.
13643         * libio/iovdprintf.c: Likewise.
13644         * libio/iovsprintf.c: Likewise.
13645         * libio/iovsscanf.c: Likewise.
13646         * libio/memstream.c: Likewise.
13647         * libio/obprintf.c: Likewise.
13648         * libio/oldfileops.c: Likewise.
13649         * libio/oldiofclose.c: Likewise.
13650         * libio/oldiofdopen.c: Likewise.
13651         * libio/oldiofopen.c: Likewise.
13652         * libio/oldiopopen.c: Likewise.
13653         * libio/oldstdfiles.c: Likewise.
13654         * libio/putc.c: Likewise.
13655         * libio/setbuf.c: Likewise.
13656         * libio/setlinebuf.c: Likewise.
13657         * libio/stdfiles.c: Likewise.
13658         * libio/strops.c: Likewise.
13659         * libio/vasprintf.c: Likewise.
13660         * libio/vscanf.c: Likewise.
13661         * libio/vsnprintf.c: Likewise.
13662         * libio/vswprintf.c: Likewise.
13663         * libio/wfiledoalloc.c: Likewise.
13664         * libio/wfileops.c: Likewise.
13665         * libio/wgenops.c: Likewise.
13666         * libio/wmemstream.c: Likewise.
13667         * libio/wstrops.c: Likewise.
13668         * libio/__fpurge.c: Likewise.
13669         * libio/__fsetlocking.c: Likewise.
13670         * assert/assert.c: Likewise.
13671         * debug/fgets_chk.c: Likewise.
13672         * debug/fgets_u_chk.c: Likewise.
13673         * debug/fread_chk.c: Likewise.
13674         * debug/fread_u_chk.c: Likewise.
13675         * debug/gets_chk.c: Likewise.
13676         * debug/obprintf_chk.c: Likewise.
13677         * debug/vasprintf_chk.c: Likewise.
13678         * debug/vdprintf_chk.c: Likewise.
13679         * debug/vsnprintf_chk.c: Likewise.
13680         * debug/vsprintf_chk.c: Likewise.
13681         * malloc/mtrace.c: Likewise.
13682         * misc/error.c: Likewise.
13683         * misc/syslog.c: Likewise.
13684         * stdio-common/asprintf.c: Likewise.
13685         * stdio-common/fxprintf.c: Likewise.
13686         * stdio-common/getw.c: Likewise.
13687         * stdio-common/isoc99_fscanf.c: Likewise.
13688         * stdio-common/isoc99_scanf.c: Likewise.
13689         * stdio-common/isoc99_vfscanf.c: Likewise.
13690         * stdio-common/isoc99_vscanf.c: Likewise.
13691         * stdio-common/isoc99_vsscanf.c: Likewise.
13692         * stdio-common/printf-prs.c: Likewise.
13693         * stdio-common/printf_fp.c: Likewise.
13694         * stdio-common/printf_fphex.c: Likewise.
13695         * stdio-common/printf_size.c: Likewise.
13696         * stdio-common/putw.c: Likewise.
13697         * stdio-common/scanf.c: Likewise.
13698         * stdio-common/sprintf.c: Likewise.
13699         * stdio-common/tmpfile.c: Likewise.
13700         * stdio-common/vfprintf.c: Likewise.
13701         * stdio-common/vfscanf.c: Likewise.
13702         * stdlib/strfmon_l.c: Likewise.
13703         * sunrpc/openchild.c: Likewise.
13704         * sunrpc/xdr_stdio.c: Likewise.
13705         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13706         * sysdeps/mach/hurd/tmpfile.c: Likewise.
13707
13708 2012-05-24  Roland McGrath  <roland@hack.frob.com>
13709
13710         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13711
13712         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13713         in the third column, to generate for the shared library an IFUNC
13714         that uses _dl_vdso_vsym.
13715         * Makerules (COMPILE.c, compile-stdin.c): New variables.
13716         * Makeconfig (object-suffixes-noshared): New variable.
13717
13718         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13719         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13720         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13721         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13722
13723         [BZ #14132]
13724         * include/sys/time.h (__gettimeofday): Remove macro.
13725         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13726         * time/gettimeofday.c (__gettimeofday): Remove #undef.
13727         Remove INTDEF.
13728         (__gettimeofday): Add libc_hidden_def.
13729         (gettimeofday): Add libc_hidden_weak.
13730         * sysdeps/mach/gettimeofday.c: Likewise.
13731         * sysdeps/posix/gettimeofday.c: Likewise.
13732         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13733         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13734         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13735         (__gettimeofday_internal): Remove strong_alias.
13736         (__gettimeofday): Add libc_hidden_def.
13737         (gettimeofday): Add libc_hidden_weak.
13738         * sysdeps/unix/syscalls.list (gettimeofday):
13739         Remove __gettimeofday_internal alias.
13740
13741 2012-05-24  Daniel Jacobowitz  <drow@false.org>
13742             H.J. Lu  <hongjiu.lu@intel.com>
13743
13744         [BZ #12495]
13745         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13746         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13747         (largebin_index_32_big): New.
13748         (largebin_index): Use it for 16-byte alignment.
13749         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
13750         correction with front_misalign.
13751
13752 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13753
13754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13756         Likewise.
13757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13758         Likewise.
13759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13760         Likewise.
13761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13762         Likewise.
13763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13764         Likewise.
13765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13766         Likewise.
13767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13768         Likewise.
13769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13770         Likewise.
13771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13772         Likewise.
13773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13774         Likewise.
13775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13776         Likewise.
13777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13778         Likewise.
13779
13780         * scripts/data/c++-types-x32-linux-gnu.data: New file.
13781         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13782
13783 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
13784
13785         [BZ #10846]
13786         [BZ #14036]
13787         * math/libm-test.inc (exp_test): Add test from bug 14036.
13788         (pow_test): Add test from bug 10846.
13789
13790         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13791         and other flags.
13792         (special_function): Do not include flags in test name.
13793         (parse_args): Likewise.
13794         * sysdeps/i386/fpu/libm-test-ulps: Update.
13795         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13796         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13797         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13799
13800         * math/gen-libm-test.pl (%beautify): Add entries for underflow
13801         exceptions.
13802         * math/libm-test.inc ("Philosophy"): Update comment about
13803         exception testing.
13804         (UNDERFLOW_EXCEPTION): New macro.
13805         (UNDERFLOW_EXCEPTION_OK): Likewise.
13806         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13807         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13808         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13809         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13810         (INVALID_EXCEPTION_OK): Update value.
13811         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13812         (OVERFLOW_EXCEPTION_OK): Likewise.
13813         (IGNORE_ZERO_INF_SIGN): Likewise.
13814         (test_exceptions): Handle underflow exceptions.
13815         (acos_test): Update for underflow exception expectations.
13816         (cexp_test): Likewise.
13817         (clog_test): Likewise.
13818         (clog10_test): Likewise.
13819         (csqrt_test): Likewise.
13820         (ctan_test): Likewise.
13821         (ctanh_test): Likewise.
13822         (exp_test): Likewise.
13823         (exp10_test): Likewise.
13824         (exp2_test): Likewise.
13825         (expm1_test): Likewise.
13826         (fma_test): Likewise.
13827         (j0_test): Likewise.
13828         (jn_test): Likewise.
13829         (nexttoward_test): Likewise.
13830         (pow_test): Likewise.
13831         (scalbn_test): Likewise.
13832         (scalbln_test): Likewise.
13833         (tan_test): Likewise.
13834         (y1_test): Likewise.
13835         * sysdeps/i386/fpu/libm-test-ulps: Update.
13836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13837
13838 2012-05-23  David S. Miller  <davem@davemloft.net>
13839
13840         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13841         (__libc_sigaction): Remove unused local variables.
13842
13843 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13844
13845         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13846
13847 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13848
13849         mktime: avoid signed integer overflow
13850         * time/mktime.c (__mktime_internal): Do not mishandle the case
13851         where diff == INT_MIN.
13852
13853         mktime: simplify computation of average
13854         * time/mktime.c (ranged_convert): Use new time_t_avg function
13855         instead of rolling our own (probably-slower) code.
13856
13857         mktime: do not assume signed right shift propagates sign bit
13858         * time/mktime.c (isdst_differ): New static function.
13859         (__mktime_internal): No need to normalize tm_isdst now.
13860         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13861         tm_isdst values.
13862
13863         mktime: merge another wrapv change from gnulib
13864         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13865         from some compilers.
13866
13867         mktime: remove incorrect attempt at unusual arithmetics
13868         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13869         The code didn't really work on such machines anyway.
13870         (TYPE_MINIMUM): Assume two's complement.
13871         (twos_complement_arithmetic): Verify that long_int and time_t
13872         are two's complement (or unsigned, in the latter case).
13873
13874         mktime: check signed shifts on long_int and time_t, too
13875         * time/mktime.c (SHR): Check that shifts work as desired
13876         on the types long_int and time_t too, as SHR is used on
13877         such types.
13878
13879         mktime: do not assume 'long' is wide enough
13880         * time/mktime.c (verify): Move decl up.
13881         (long_int): New type.
13882         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13883         to remove assumption in the code that 'long' is wide enough to
13884         store year values.  This assumption is not true on x32 and on
13885         some non-glibc platforms.
13886
13887         mktime: merge wrapv change from gnulib
13888         * time/mktime.c (WRAPV): New macro.
13889         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13890         (guess_time_tm, __mktime_internal): Do not assume that signed
13891         integer overflow wraps around; modern compilers generate code
13892         where this assumption is no longer valid.
13893
13894 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13895
13896         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13897         Replace "jmp L(pseudo_end)" with "ret".
13898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13899         Likewise.
13900
13901 2012-05-23  Andreas Jaeger  <aj@suse.de>
13902
13903         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13904         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13905
13906 2012-05-23  Andreas Jaeger  <aj@suse.de>
13907             Maximilian Attems  <max@stro.at>
13908
13909         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13910         New macros.
13911
13912 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13913
13914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13915         code so that pseudo_end is just ret and the stack pointer is
13916         correct also for static library in error case.
13917
13918 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13919
13920         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13921         move to syscalls.list.
13922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13926
13927         * manual/install.texi (Running make install): Do not mention Linux
13928         kernel version for which pt_chown is not needed.
13929         (Linux): Do not mention problems with nscd with 2.0 kernels.
13930         * INSTALL: Regenerated.
13931
13932 2012-05-23  Andreas Jaeger  <aj@suse.de>
13933
13934         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13935         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13936         macro.
13937         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13938         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13939         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13940         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13941         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13942         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13943         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13944         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13945         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13946         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13947         * sysdeps/unix/sysv/linux/bits/in.h
13948         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13949
13950 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13951
13952         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13953         (PREPARE_VERSION): Just use assert instead, it will be elided
13954         under [NDEBUG] anyway.
13955
13956 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13957
13958         * sysdeps/unix/sysv/linux/Makefile: Include
13959         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13960         (sysdep_routines): Remove sysctl.
13961         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13962         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13963         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13964         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13965         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13966
13967 2012-05-22  Andreas Jaeger  <aj@suse.de>
13968
13969         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13970         that pseudo_end is just ret and the stack pointer is correct also
13971         for static library in error case.
13972
13973 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13974
13975         [BZ #14122]
13976         * nss/nsswitch.c (defconfig_entries): New variable.
13977         (__nss_database_lookup): Don't leak defconfig entries.
13978         (nss_parse_service_list): Don't leak on error paths.
13979         (free_database_entries): New function.
13980         (free_defconfig): New function.
13981         (free_mem): Move common code to free_database_entries.
13982
13983 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13984
13985         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13986         Add arch_prctl.
13987         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13988
13989         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13990         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13992         New macro.
13993         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13994         (INTERNAL_SYSCALL_TYPES): Likewise.
13995         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13996         (LOAD_REGS_TYPES_[1-6]): Likewise.
13997         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13998         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13999
14000 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14001
14002         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14003         copysignl for GLIBC_2_0.
14004         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14005         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14006         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14007         logbl for GLIBC_2_0.
14008         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14009         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14010
14011 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14012
14013         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14014         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
14015
14016         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14017         Use "neg %eax".
14018
14019         * time/mktime.c: Update copyright years.
14020
14021 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14022
14023         mktime: merge comment-quoting-style change from gnulib
14024         * time/mktime.c: Quote 'like this' in comments.
14025         The GNU coding standards suggest that we no longer quote `like this',
14026         as "`" and "'" are typically rendered asymmetrically nowadays.
14027         The typical gnulib style is to quote 'like this' when quoting
14028         code, and "like this" when quoting English.
14029
14030         * time/mktime.c (compile-command): Add "-I.".
14031
14032         mktime: merge mktime-internal.h change from gnulib
14033         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14034
14035         mktime: merge time_r change from gnulib
14036         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14037
14038         mktime: merge DEBUG change from gnulib
14039         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14040         case system <time.h> has a #define.
14041
14042         mktime: merge <sys/types.h> change from gnulib
14043         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14044         since <time.t> is now guaranteed to define time_t.
14045
14046         mktime: merge HAVE_CONFIG_H change from gnulib
14047         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14048
14049 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14050
14051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14052         Use "neg %eax".
14053
14054         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14055         __rlim_t cast.
14056         (struct rusage): Use anonymous union to pad each field to
14057         __syscall_slong_t.
14058
14059 2012-05-21  David S. Miller  <davem@davemloft.net>
14060
14061         * Makefules (o-iterator): Remove .s cases.
14062         (compile-command.s): Delete.
14063         (COMPILE.s): Delete.
14064         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14065
14066 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
14067
14068         * configure.in (libc_cv_predef_stack_protector): Only consider
14069         "foobar" and "__stack_chk_fail" lines in libc_undefs.
14070         * configure: Regenerated.
14071
14072 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14073
14074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14075         New macro.  Use R*LP on int and pointer.
14076         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14077         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14078         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14079         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14080
14081         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14082         [__WORDSIZE_TIME64_COMPAT32] instead of
14083         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14084         (struct utmp): Likewise.
14085         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14086         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14087         Renamed to ...
14088         (__WORDSIZE_TIME64_COMPAT32): This.
14089         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14090         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14091         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14092         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14093         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14094         (__WORDSIZE_TIME64_COMPAT32): New macro.
14095
14096 2012-05-21  Andreas Jaeger  <aj@suse.de>
14097
14098         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14099         only if [SHARED]. Add prototype for __wcschr_ia32.
14100
14101 2012-05-21  Roland McGrath  <roland@hack.frob.com>
14102
14103         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14104         of %rbp unmolested in the jmp_buf while mangling the low bits.
14105         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14106         unmolested high bits of %rbp while demangling the low bits.
14107         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14108
14109 2012-05-21  Andreas Jaeger  <aj@suse.de>
14110
14111         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14112         * sunrpc/svc_simple.c: Use it for registerrpc.
14113         * sunrpc/xcrypt.c: Use it for passwd2des.
14114
14115         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14116
14117 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14118
14119         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14120         Don't define if [__SYSCALL_WORDSIZE != 32].
14121         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14122         New macro.
14123
14124 2012-05-21  Bruno Haible  <bruno@clisp.org>
14125             Andreas Jaeger  <aj@suse.de>
14126
14127         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14128         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14129         inptr and inend for must_buffer_ch.
14130         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14131         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14132         * stdio-common/Makefile (tests): Remove bug15.
14133         (bug15-ENV): Remove macro.
14134         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14135         anymore.
14136
14137 2012-05-19  Andreas Jaeger  <aj@suse.de>
14138             Roland McGrath  <roland@hack.frob.com>
14139
14140         * manual/contrib.texi: Completely rewritten. It contains now an
14141         alphabetical list of contributors and their contributions.
14142
14143 2012-05-21  Richard Henderson  <rth@twiddle.net>
14144
14145         * misc/getauxval.c (__getauxval): Use unsigned long int.
14146         * misc/sys/auxv.h: Include <sys/cdefs.h>.
14147         (getauxval): Use unsigned long int.
14148
14149 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14150
14151         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14152
14153 2012-05-21  Roland McGrath  <roland@hack.frob.com>
14154
14155         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14156         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14157         __alignof__ (long double).
14158
14159 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14160
14161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14162
14163 2012-05-20  Richard Henderson  <rth@twiddle.net>
14164
14165         * misc/getauxval.c: New file.
14166         * misc/sys/auxv.h: New file.
14167         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14168         (routines): Add getauxval.
14169         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14170         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14171         * elf/dl-sysdep.c (_dl_auxv): Remove.
14172         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14173         * elf/dl-support.c (_dl_auxv): New variable.
14174         (_dl_aux_init): Initialize it.
14175         * manual/startup.texi (Auxiliary Vector): New node.
14176         * sysdeps/generic/bits/hwcap.h: New file.
14177         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14178         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
14179         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14180         * sysdeps/sparc/sysdep.h: ... here.  Include it.
14181         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14184         Update.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14188         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14193
14194 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14195
14196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14197
14198 2012-05-19  David S. Miller  <davem@davemloft.net>
14199
14200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14201
14202 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
14203
14204         [BZ #14123]
14205         * math/s_ccosh.c: Include <float.h>
14206         (__ccosh): Avoid internal overflow calculating sinh and cosh
14207         values before multiplying by sin and cos values.
14208         * math/s_ccoshf.c: Likewise.
14209         * math/s_ccoshl.c: Likewise.
14210         * math/s_csin.c: Likewise.
14211         * math/s_csinf.c: Likewise.
14212         * math/s_csinl.c: Likewise.
14213         * math/s_csinh.c: Likewise.
14214         * math/s_csinhf.c: Likewise.
14215         * math/s_csinhl.c: Likewise.
14216         * math/libm-test.inc (ccos_test): Add more tests.
14217         (ccosh_test): Likewise.
14218         (csin_test): Likewise.
14219         (csinh_test): Likewise.
14220         * sysdeps/i386/fpu/libm-test-ulps: Update.
14221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14222
14223 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14224
14225         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14226         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14227
14228         * sysdeps/x86_64/x32/_itoa.h: Add comment.
14229
14230 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
14231
14232         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14233         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14234         * sysdeps/powerpc/soft-fp/Versions: Likewise.
14235         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14236         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14237         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14238         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14239         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14240         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14241         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14242         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14243         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14244         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14245         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14246         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14247         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14248         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14249         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14250         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14251         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14252         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14253         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14254         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14255         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14256         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14257         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14258         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14259         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14260         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14261         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14262         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14263
14264 2012-05-18  Andreas Jaeger  <aj@suse.de>
14265
14266         * csu/.gitignore: Delete.
14267
14268 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14269
14270         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14271         (timex): Use __syscall_slong_t.
14272
14273 2012-05-18  Andreas Jaeger  <aj@suse.de>
14274             Carlos O'Donell  <carlos_odonell@mentor.com>
14275
14276         * manual/install.texi (Configuring and compiling): Update
14277         description about files modified in the source directory.
14278         * INSTALL: Regenerated.
14279
14280 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14281
14282         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14283         value.  Use "or" to set return value to -1.
14284         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14285         negate return value.
14286
14287 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14288
14289         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14290         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14291         failure if the compiler has Graphite support disabled.
14292         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14293         Likewise.
14294         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14295         CFLAGS-memmove.c): Likewise.
14296         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14297         Likewise.
14298
14299 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14300
14301         * sysdeps/x86_64/x32/_itoa.h: New file.
14302
14303         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14304         getdents system call only if kernel and user dirents have the
14305         same d_ino and d_off.
14306
14307         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14308         LLONG_MAX != LONG_MAX.
14309         (_itoa_word): Use _ITOA_WORD_TYPE on value.
14310         (_fitoa_word): Likewise.
14311
14312         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14313         years.
14314         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14315         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14316         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14317
14318         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14319         include <bits/wordsize.h>.  Check __x86_64__ instead of
14320         __WORDSIZE.
14321         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14322         if __x86_64__ is defined.  Use anonymous union on fpstate.
14323
14324         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14325         anonymous union.
14326
14327 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
14328
14329         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14330         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14331         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14332         Refer to _rtld_local_ro instead of _rtld_global_ro.
14333         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14334         Likewise.
14335         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14336         Likewise.
14337         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14338         Likewise.
14339         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14340         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14341         of _rtld_global, and rtld_progname instead of _dl_argv[0].
14342
14343         * sysdeps/powerpc/powerpc32/dl-machine.c
14344         (__elf_machine_runtime_setup) [PROF]: Don't reference
14345         _dl_prof_resolve.
14346
14347 2012-05-18  Andreas Jaeger  <aj@suse.de>
14348
14349         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14350         function only available for GCCs before 3.4 since GCC 3.4
14351         introduced a builtin.
14352         (lrint): Likewise.
14353         (llrintf): Likewise.
14354         (llrint): Likewise.
14355         (fmaxf): Likewise.
14356         (fmax): Likewise.
14357         (fminf): Likewise.
14358         (fmin): Likewise.
14359         (rint): Likewise.
14360         (rintf): Likewise.
14361         (nearbyint): Likewise.
14362         (nearbyintf): Likewise.
14363         (ceil): Likewise.
14364         (ceilf): Likewise.
14365         (floor): Likewise.
14366         (floorf): Likewise.
14367
14368 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14369
14370         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14371         on both fields and cast pointer to __syscall_ulong_t.
14372
14373         * bits/types.h (__fsword_t): New type.
14374         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14375         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14376         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14377         (__FSWORD_T_TYPE): Likewise.
14378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14379         (__FSWORD_T_TYPE): Likewise.
14380         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14381         (__FSWORD_T_TYPE): Likewise.
14382         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14383         (__FSWORD_T_TYPE): Likewise.
14384         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14385         __SWORD_TYPE with __fsword_t.
14386         (statfs64): Likewise.
14387
14388 2012-05-17  David S. Miller  <davem@davemloft.net>
14389
14390         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14391
14392 2012-05-17  Andreas Jaeger  <aj@suse.de>
14393
14394         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14395         warning.
14396
14397 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14398
14399         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14400
14401 2012-05-17  Andreas Jaeger  <aj@suse.de>
14402
14403         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14404         when it is used.
14405
14406 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
14407
14408         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14409
14410 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14411
14412         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14413         * sysdeps/x86_64/tst-mallocalign1.c: New file.
14414
14415 2012-05-17  Andreas Jaeger  <aj@suse.de>
14416             Carlos O'Donell  <carlos_odonell@mentor.com>
14417
14418         [BZ #14059]
14419         * sysdeps/x86_64/multiarch/init-arch.h
14420         (bit_YMM_Usable): Rename to...
14421         (bit_AVX_Usable): ... this.
14422         (bit_FMA4_Usable): New macro.
14423         (bit_XMM_state): New macro.
14424         (bit_YMM_state): New macro.
14425         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14426         [__ASSEMBLER__] (index_AVX_Usable): ... this.
14427         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14428         (CPUID_OSXSAVE): New macro.
14429         (CPUID_AVX): New macro.
14430         (CPUID_FMA4): New macro.
14431         (index_YMM_Usable): Rename to...
14432         (index_AVX_Usable): ... this.
14433         (HAS_AVX): Use HAS_ARCH_FEATURE.
14434         (HAS_FMA4): Likewise.
14435         (HAS_YMM_USABLE): Remove.
14436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14437         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14438         are present.
14439         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14440         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14441         * sysdeps/x86_64/multiarch/Makefile: Likewise.
14442         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14443         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14444
14445 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
14446
14447         * math/libm-test.c: Support platforms without multiple rounding modes.
14448         * math/bug-nextafter.c: Support platforms without FP exceptions.
14449         * math/bug-nexttoward.c: Likewise.
14450         * math/test-fenv.c: Likewise.
14451         * math/test-misc.c: Likewise.
14452         * stdlib/bug-getcontext.c: Likewise.
14453
14454 2012-05-17  Andreas Jaeger  <aj@suse.de>
14455
14456         * manual/examples/search.c (critter_cmp): Change signature to
14457         avoid warnings.
14458         * manual/string.texi (Collation Functions): Likewise.
14459
14460 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14461
14462         * bits/types.h: Fold copyright years.
14463         * bits/typesizes.h: Likewise.
14464         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14468         * time/time.h: Likewise.
14469
14470 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
14471
14472         [BZ #208]
14473         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14474         in instead of returning them.  Return void.
14475         (__libc_mallinfo): Accumulate over all arenas.
14476         (__malloc_stats): Adjust for change in int_mallinfo interface.
14477
14478 2012-05-16  Roland McGrath  <roland@hack.frob.com>
14479
14480         [BZ #10375]
14481         * configure.in (NM): Add AC_CHECK_TOOL for it.
14482         (libc_extra_cflags): New substituted variable.
14483         Check for -fstack-protector being used implicitly.
14484         * configure: Regenerated.
14485         * config.make.in (config-extra-cflags): New variable,
14486         gets @libc_extra_cflags@.
14487         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14488
14489         [BZ #10375]
14490         * configure.in: Check for _FORTIFY_SOURCE being predefined.
14491         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14492         * configure: Regenerated.
14493         * config.make.in (CPPUNDEFS): New substituted variable.
14494         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14495         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14496         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14497
14498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14499
14500         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14501         (mq_attr): Use __syscall_slong_t.
14502
14503 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14504
14505         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14506         Check __x86_64__ instead of __WORDSIZE.
14507         (_STAT_VER_LINUX): Likewise.
14508         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
14509         __syscall_ulong_t and __syscall_slong_t.
14510         (stat64): Likewise.
14511
14512 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14513
14514         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14515
14516 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14517
14518         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14519
14520 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14521
14522         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14523         __syscall_ulong_t.
14524
14525         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14526         include <bits/wordsize.h>.  Check __x86_64__ instead of
14527         __WORDSIZE.
14528         (greg_t): Use "__extension__ long long int" if __x86_64__ is
14529         defined.
14530         (mcontext_t): Replace "unsigned long" with "unsigned long long".
14531
14532         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14533         include <bits/wordsize.h>.  Check __x86_64__ instead of
14534         __WORDSIZE.
14535         (user_regs_struct): Use "__extension__ unsigned long long"
14536         instead of "unsigned long" if __x86_64__ is defined.
14537         (user): Likewise.  Pad after pointer field if __ILP32__ is
14538         defined.
14539
14540 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
14541
14542         * configure.in (makeinfo): Require version 4.5 or later.  Allow
14543         versions 5 to 9.
14544         * configure: Regenerated.
14545         * manual/install.texi (texinfo): Increase version requirement to
14546         4.5 or later.
14547         * INSTALL: Regenerated.
14548
14549         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14550
14551 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14552
14553         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14554
14555         * sysdeps/x86_64/x32/ffs.c: New file.
14556
14557         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14558         __syscall_ulong_t.
14559         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14560         defined.  Use __syscall_ulong_t.
14561         (shminfo): Use __syscall_ulong_t.
14562         (shm_info): Likewise.
14563
14564         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14565         __syscall_ulong_t.
14566
14567         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14568         <bits/wordsize.h>.
14569         (msgqnum_t): Use __syscall_ulong_t.
14570         (msglen_t): Likewise.
14571         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
14572         __syscall_ulong_t.
14573
14574         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14575         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
14576
14577         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14578
14579         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14580         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14581
14582         * sysvipc/sys/msg.h (msgbuf): Replace long int with
14583         __syscall_slong_t.
14584
14585         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14586         include <bits/wordsize.h>.  Check __x86_64__ instead of
14587         __WORDSIZE.
14588
14589         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14590         "unsigned long long int" if __x86_64__ is defined.
14591         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14592
14593         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14594         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
14595         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14596
14597         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14598         <stdint.h>.
14599         (GET_PC): Cast to uintptr_t first.
14600         (GET_FRAME): Likewise.
14601         (GET_STACK): Likewise.
14602
14603         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14604         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14605         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14606         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14607         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14608         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14609         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14610         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14611         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14612         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14613         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14614         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14615         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14616         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14617         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14618         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14619         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14620         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14621         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14622         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14623         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14624         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14625         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14626         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14627         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14628         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14629         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14630         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14631         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14632
14633 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
14634
14635         * Makerules (+depfiles): Also collect depfiles from .oS in
14636         $(extra-objs).
14637         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14638         .oS, $(libnldbl-routines)).
14639
14640         * Makerules (native-compile-mkdep-flags): Define.
14641         * sunrpc/Makefile (extra-objs): Add $(addprefix
14642         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14643         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14644         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
14645         calling $(make-target-directory).
14646
14647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14648
14649         * bits/types.h (__snseconds_t): Removed.
14650         * time/time.h (struct timespec): Replace __snseconds_t with
14651         __syscall_slong_t.
14652         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14653         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14654         Likewise.
14655         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14656         (__SNSECONDS_T_TYPE): Likewise.
14657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14658         (__SNSECONDS_T_TYPE): Likewise.
14659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14660         (__SNSECONDS_T_TYPE): Likewise.
14661
14662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14663
14664         * sysdeps/mach/hurd/bits/typesizes.h
14665         (__SYSCALL_SLONG_TYPE): New macro.
14666         (__SYSCALL_ULONG_TYPE): Likewise.
14667
14668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14669
14670         * bits/types.h (__syscall_slong_t): New type.
14671         (__syscall_ulong_t): Likewise.
14672
14673         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14674         (__SYSCALL_ULONG_TYPE): Likewise.
14675         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14676         (__SYSCALL_SLONG_TYPE): Likewise.
14677         (__SYSCALL_ULONG_TYPE): Likewise.
14678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14679         (__SYSCALL_SLONG_TYPE): Likewise.
14680         (__SYSCALL_ULONG_TYPE): Likewise.
14681         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14682         (__SYSCALL_SLONG_TYPE): Likewise.
14683         (__SYSCALL_ULONG_TYPE): Likewise.
14684
14685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14686
14687         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14688         Add sigaltstack-offsets.sym.
14689         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14690         <sigaltstack-offsets.h>.
14691         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
14692         longjmp_msg pointer.
14693         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
14694         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14695         signal stack.
14696         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14697
14698 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14699
14700         * elf/stackguard-macros.h: Remove file.
14701         * sysdeps/generic/stackguard-macros.h: New file.
14702         * sysdeps/i386/stackguard-macros.h: Likewise.
14703         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14704         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14705         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14706         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14707         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14708         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14709         * sysdeps/x86_64/stackguard-macros.h: Likewise.
14710         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14711         <elf/stackguard-macros.h>.
14712
14713         [BZ #14109]
14714         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14715         __aligned__ in attribute.
14716         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14717         (gregset_t): Likewise.
14718
14719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14720
14721         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14722         * sysdeps/x86_64/64/Implies-after: Here.  New file.
14723         * sysdeps/x86_64/x32/Implies-after: New file.
14724
14725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14726
14727         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14728         and access return value for _dl_profile_fixup.  Use R10_LP to
14729         load frame size.
14730
14731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14732
14733         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14734
14735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14736
14737         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14738         * sysdeps/x86_64/x32/sysdep.h: New file.
14739
14740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14741
14742         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14743         * sysdeps/x86_64/setjmp.S: Likewise.
14744
14745 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14746
14747         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14748         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14749         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14750         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14751         remove unused global constant.
14752
14753 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
14754
14755         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14756         include of <not-cancel.h>.
14757
14758 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14759
14760         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14761
14762 2012-05-15  Jeff Law  <law@redhat.com>
14763             Andreas Jaeger  <aj@suse.de>
14764
14765         [BZ #13594]
14766         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14767         out from...
14768         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14769         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14770         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14771         code changing __hst_map_handle.map.
14772
14773 2012-05-15  Roland McGrath  <roland@hack.frob.com>
14774
14775         * configure.in (sysnames): Look for Implies-before and Implies-after
14776         files.
14777         * configure: Regenerated.
14778
14779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14780
14781         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14782         8-byte data alignment with LP_SIZE alignment.
14783
14784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14785
14786         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14787         into R10_LP.
14788
14789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14790
14791         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14792
14793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14794
14795         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14796         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14797         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14798         Likewise.
14799         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14800
14801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14802
14803         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14804         (stackinfo_sub_sp): Likewise.
14805
14806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14807
14808         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14809         RAX_LP.
14810
14811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14812
14813         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14814         into R*_LP.
14815
14816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14817
14818         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14819         sizes into R*_LP.
14820
14821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14822
14823         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14824
14825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14826
14827         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14828         into R11_LP and load __x86_64_shared_cache_size_half into
14829         R8_LP.
14830
14831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14832
14833         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14834         R8_LP.
14835
14836 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14837
14838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14839         logb for POWER7.
14840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14841         logbf for POWER7.
14842         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14843         logbl for POWER7.
14844         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14845         powerpc32/power7/fpu/s_logb.c via #include.
14846         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14847         powerpc32/power7/fpu/s_logbf.c via #include.
14848         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14849         powerpc32/power7/fpu/s_logbl.c via #include.
14850
14851 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14852
14853         * README.libm: Remove file.
14854
14855 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14856
14857         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14858         count for x32.  Use R*_LP and omit operand-size suffix.
14859
14860 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14861
14862         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14863         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14864         * sysdeps/x86_64/x32/shlib-versions: New file.
14865
14866 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14867
14868         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14869         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14870         Use _dl_fatal_printf instead.
14871
14872 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14873
14874         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14875         set if not set by the user.  Do not allow for being unset.
14876         * sysdeps/unix/sysv/linux/configure: Regenerated.
14877
14878 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14879
14880         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14881         the `q' suffix from lea and replace .quad with ASM_ADDR.
14882
14883 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14884
14885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14886         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14887         instead of $17.
14888         (PTR_DEMANGLE): Likewise.
14889
14890 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14891
14892         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14893         (LP_OP): Likewise.
14894         (ASM_ADDR): Likewise.
14895         (RAX_LP): Likewise.
14896         (RBP_LP): Likewise.
14897         (RBX_LP): Likewise.
14898         (RCX_LP): Likewise.
14899         (RDI_LP): Likewise.
14900         (RSI_LP): Likewise.
14901         (RSP_LP): Likewise.
14902         (R8_LP): Likewise.
14903         (R9_LP): Likewise.
14904         (R10_LP): Likewise.
14905         (R10_LP): Likewise.
14906         (R11_LP): Likewise.
14907         (R12_LP): Likewise.
14908         (R13_LP): Likewise.
14909         (R14_LP): Likewise.
14910         (R15_LP): Likewise.
14911
14912 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14913
14914         * sysdeps/x86_64/x32/dl-machine.h: New file.
14915
14916 2012-05-14  Andreas Jaeger  <aj@suse.de>
14917
14918         * manual/Makefile (subdir): Remove export of subdir.
14919         (all): Remove target.
14920         (.PHONY): Remove all from list.
14921         (mkinstalldirs): Remove.
14922         (.PHONY): Remove installdirs from list.
14923         ($(inst_infodir)/libc.info): Use make-target-directory.
14924         (installdirs): Remove.
14925         (subdir_%): Remove.
14926         (glibc-targets): Remove.
14927         (lib): Remove.
14928         (stubs): Remove.
14929         ($(objpfx)stubs ../po/manual.pot): Remove.
14930         ($(objpfx)stamp%): Remove.
14931         (make-target-directory): Remove.
14932         (subdir_install): Remove.
14933         (routines): Remove.
14934         (aux): Remove.
14935         (sources): Remove.
14936         (objects): Remove.
14937         (headers): Remove.
14938
14939         [BZ #13750]
14940         * manual/.gitignore: Remove, it's not needed anymore.
14941         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14942         all files in it.
14943         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14944         directory.
14945         (texis): Renamed to $(objpfx)texis.
14946         (texis-path): New, contains path to generated files.
14947         (chapters.%): Use texis-path for complete path, add extra argument
14948         libc-texinfo.sh.
14949         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14950         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14951         (summary,texi, stamp-summary): Use complete path of
14952         files. Generate files in build dir.
14953         (dir-add.texi): Build in build dir.
14954         (libm-err.texi,stamp-libm-err): Likewise.
14955         (version.texi, stamp-version): Likewise.
14956         (.%c.texi): Likewise.
14957         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14958         (mostlyclean): Remove target.
14959         (realclean): Remove target.
14960         (generated): Add new variable with contents from mostlyclean and
14961         realclean, remove entries duplicated in common-mostlyclean, add
14962         stamp-libm-err and stamp-version.
14963         (generated-dirs): Add libc directory.
14964         ($(inst_infodir)/libc.info): Install files from build dir.
14965
14966         * manual/install.texi (Configuring and compiling): Adjust since
14967         the info files are not part of the tar ball anymore.
14968
14969 2012-05-14  Andreas Jaeger  <aj@suse.de>
14970
14971         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14972         variable.
14973
14974 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14975
14976         [BZ #13717]
14977         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14978         to 2.2.0 where earlier.
14979         * sysdeps/unix/sysv/linux/configure: Regenerated.
14980         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14981         Remove conditional code.
14982         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14983         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14984         Remove conditional code.
14985         [!__NR_lchown]: Likewise.
14986         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14987         [__NR_lchown]: Likewise.
14988         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14989         comment referencing __ASSUME_LCHOWN_SYSCALL.
14990         * sysdeps/unix/sysv/linux/i386/sigaction.c
14991         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14992         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14993         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14994         Remove conditional code.
14995         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14996         (__protocol_available): Remove #if 0 code.
14997         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14998         conditional code.
14999         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15000         * sysdeps/unix/sysv/linux/kernel-features.h
15001         (__ASSUME_GETCWD_SYSCALL): Don't define.
15002         (__ASSUME_REALTIME_SIGNALS): Likewise.
15003         (__ASSUME_PREAD_SYSCALL): Likewise.
15004         (__ASSUME_PWRITE_SYSCALL): Likewise.
15005         (__ASSUME_POLL_SYSCALL): Likewise.
15006         (__ASSUME_LCHOWN_SYSCALL): Likewise.
15007         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15008         non-SPARC.
15009         (__ASSUME_SIOCGIFNAME): Don't define.
15010         (__ASSUME_MSG_NOSIGNAL): Likewise.
15011         (__ASSUME_SENDFILE): Define unconditionally.
15012         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15013         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15014         conditional code.
15015         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15016         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15017         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15018         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15019         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15020         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15021         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15023         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15026         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15027         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15029         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15032         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15033         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15035         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15038         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15039         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15041         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15042         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15044         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15045         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15046         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15047         Remove conditional code.
15048         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15049         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15050         Remove conditional code.
15051         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15052         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15053         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15054         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15055         Remove conditional code.
15056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15057         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15058         Remove conditional code.
15059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15060         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15061         Remove conditional code.
15062         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15063         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15064         Remove conditional code.
15065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15066         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15067         Remove conditional code.
15068         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15069         * sysdeps/unix/sysv/linux/sh/pwrite64.c
15070         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15071         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15072         * sysdeps/unix/sysv/linux/sigaction.c
15073         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15074         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15075         * sysdeps/unix/sysv/linux/sigpending.c
15076         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15077         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15078         * sysdeps/unix/sysv/linux/sigprocmask.c
15079         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15080         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15081         * sysdeps/unix/sysv/linux/sigsuspend.c
15082         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15083         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15084         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15085         (__libc_missing_rt_sigs): Remove.
15086         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15087         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15088         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15089         Remove conditional code.
15090         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15091         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15092         return 1.
15093         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15094         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15095         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15096         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15097
15098 2012-05-14  Andreas Jaeger  <aj@suse.de>
15099
15100         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15101         it's not used in glibc.
15102         (__coshm1): Likewise.
15103         (__acosh1p): Likewise.
15104         (__sgn): Likewise.
15105
15106         * manual/string.texi (Copying and Concatenation): Add missing
15107         variable in concat example.
15108         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15109
15110 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15111
15112         [BZ #14103]
15113         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15114         __builtin_clzl with __builtin_clzll.
15115
15116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15117
15118         [BZ #14104]
15119         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15120         libc_freeres_ptr.
15121
15122 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15123
15124         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15125         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15126         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15127         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15128
15129 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
15130
15131         * NEWS: Update ia64 info.
15132
15133 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
15134
15135         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15136         used as bcopy.
15137
15138 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
15139
15140         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15141         * sysdeps/unix/syscalls.list (dup3): Likewise.
15142         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15143         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15144
15145 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15146
15147         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15148         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15149
15150 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15151
15152         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15153         thread pointer.
15154         (TLS_IE): Use mov/add instead of movq/addq to load thread
15155         pointer.
15156         (TLS_GD_PREFIX): New.
15157         (TLS_GD): Use it.
15158
15159 2012-05-11  David S. Miller  <davem@davemloft.net>
15160
15161         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15162         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15163         (_FPU_SETCW): Likewise.
15164
15165 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15166
15167         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15168         is 32-byte aligned.
15169
15170 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
15171
15172         [BZ #11837]
15173         * iconvdata/gb18030.c: Update tables.
15174         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
15175         characters specially.
15176         (BODY for TO_LOOP): Add encoding of missing ranges.
15177
15178 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
15179
15180         [BZ #13673]
15181         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15182         * sysdeps/mach/hurd/dup3.c: Likewise.
15183         * sysdeps/mach/hurd/readlinkat.c: Likewise.
15184         * sysdeps/powerpc/memmove.c:: Likewise.
15185
15186 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15187
15188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15189         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15190
15191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15192
15193         * elf/elf.h (R_X86_64_RELATIVE64): New.
15194         (R_X86_64_NUM): Updated.
15195         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15196         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
15197         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15198         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15199         tst-quad1pie tst-quad2pie
15200         (modules-names): Add tst-quadmod1 tst-quadmod2.
15201         ($(objpfx)tst-quad1): New dependency.
15202         ($(objpfx)tst-quad2): Likewise.
15203         ($(objpfx)tst-quad1pie): Likewise.
15204         ($(objpfx)tst-quad2pie): Likewise.
15205         * sysdeps/x86_64/tst-quad1.c: New file.
15206         * sysdeps/x86_64/tst-quad1pie.c: New file.
15207         * sysdeps/x86_64/tst-quad2.c: Likewise.
15208         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15209         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15210         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15211         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15212         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15213
15214 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15215
15216         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15217         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15218         * streams/stropts.h (t_scalar_t): Define type.
15219
15220         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15221         (_PATH_PRESERVE): Set to "/var/lib".
15222         (_PATH_RWHODIR): Set to "/var/spool/rwho".
15223
15224         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15225         instead of int.
15226
15227         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15228         if __dir_mkfile succeeded.
15229
15230         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15231         checking for _hurd_dtablesize.  Unlock it right after having
15232         finished _hurd_dtable allocation.
15233
15234 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15235
15236         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15237         * sysdeps/mach/hurd/configure: Regenerated.
15238         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15239         special-casing to...
15240         * sysdeps/gnu/configure.in: ... this new file.
15241         * sysdeps/unix/sysv/linux/configure: Regenerated.
15242         * sysdeps/gnu/configure: New generated file.
15243
15244         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15245         for Linux: use nsec instead of usec, as well as:
15246         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15247         members of type struct timespec.
15248         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15249         New macros.
15250         (struct stat64): Likewise.
15251         (_STATBUF_ST_NSEC): New macro.
15252         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15253
15254         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15255         __strtoul_internal rather than strtoul.
15256
15257 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15258
15259         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15260         and reject them.
15261
15262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15263
15264         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15265         which preserves existing values.
15266         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15267
15268 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15269
15270         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15271         TIMEOUT values.  Return EINVAL for NFDS values either negative or
15272         greater than FD_SETSIZE.
15273
15274 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15275
15276         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15277         allocated, call __vm_protect to finish enabling the existing space, and
15278         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15279         allocate the remainder.
15280
15281 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15282
15283         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15284         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
15285
15286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15287
15288         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15289         sysdeps/mach/hurd/readlink.c.
15290
15291         * posix/tst-sysconf.c (posix_options): Only use
15292         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15293         _POSIX_SYNCHRONIZED_IO when they are defined
15294         * sysdeps/mach/hurd/bits/posix_opt.h:
15295         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15296         (_XOPEN_REALTIME): Undefine macro.
15297         (_XOPEN_REALTIME_THREADS): Undefine macro.
15298         (_XOPEN_SHM): Undefine macro.
15299         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15300         macro to -1.
15301         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15302         macro to -1.
15303         (_POSIX_ASYNC_IO): Undefine macro.
15304         (_POSIX_PRIORITIZED_IO): Undefine macro.
15305         (_POSIX_SPIN_LOCKS): Define macro to -1.
15306
15307         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15308         SA_NODEFER, SA_RESETHAND.
15309         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15310         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15311         F_DUPFD_CLOEXEC.
15312
15313 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15314
15315         * elf/Makefile (pldd-modules): Define unconditionally.
15316
15317 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15318
15319         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15320
15321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15322
15323         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15324         Return ENOENT when name is empty.
15325         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15326
15327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15328
15329         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15330
15331         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15332
15333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15334
15335         Fix mlock in all cases except non-readable pages.
15336         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15337         instead of VM_PROT_ALL as parameter to __vm_wire function.
15338
15339         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15340         (__mkdir): When path is `/', just fail with EEXIST.
15341         * sysdeps/mach/hurd/mkdirat.c: Likewise.
15342
15343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15344
15345         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15346         <sys/uio.h> (for writev).
15347         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15348         and <sys/param.h> (for MIN).
15349
15350 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15351
15352         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15353         REQUESTED_TIME.  Properly set the remaining time and return EINTR
15354         if interrupted.
15355
15356 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15357
15358         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15359         Depend on against $(link-rpcuserlibs).
15360
15361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15362
15363         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15364         (__libc_stack_end): Do not use attribute_relro.
15365         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15366         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15367         to libthread-provided value.
15368         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15369         attribute_relro.
15370
15371 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15372
15373         [BZ #3748]
15374         * bits/libc-lock.h (__libc_once_get): New macro.
15375         * sysdeps/mach/bits/libc-lock.h: Likewise.
15376         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15377         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15378         instead of using implementation details.
15379
15380         * libio/fileops.c: Unconditionally include <kernel-features.h>.
15381         * libio/freopen.c: Likewise.
15382         * libio/freopen64.c: Likewise.
15383         * misc/syslog.c: Likewise.
15384         * nscd/connections.c: Likewise.
15385         * nscd/netgroupcache.c: Likewise.
15386         * sysdeps/posix/getcwd.c: Likewise.
15387
15388 2012-05-10  Roland McGrath  <roland@hack.frob.com>
15389
15390         * math/w_ilogbf.c: Add #include <limits.h>.
15391
15392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15393
15394         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15395         path instead of returning without unlocking.
15396
15397         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15398         immediate-write ioctls.
15399         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15400
15401 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15402
15403         * sysdeps/mach/hurd/i386/init-first.c (init): Use
15404         __builtin_frame_address instead of making assumptions about the
15405         location of the return address relative to DATA.  Force early load of
15406         the return address.
15407         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15408         __builtin_frame_address.
15409
15410         dup3 for GNU Hurd.
15411         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15412         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
15413         implement dup3 and do some further code clean-ups.
15414         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15415         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15416
15417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15418
15419         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15420
15421         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15422         HURD_CRITICAL_END around holding _hurd_dtable_lock.
15423         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15424         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15425         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15426         d->port.lock.
15427
15428         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15429         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
15430         when handler == SIG_ERR, not when handler != SIG_ERR.
15431
15432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15433
15434         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15435         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15436         definitions.
15437
15438         accept4 for GNU Hurd.
15439         * include/sys/socket.h (__libc_accept4): New prototype.
15440         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
15441         to implement __libc_accept4.
15442         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15443         __libc_accept4.
15444         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15445
15446         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15447         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15448         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15449         signal-defines.sym.
15450
15451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15452
15453         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15454
15455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15456
15457         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15458         assertion on O_CLOEXEC flag.
15459         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15460         * hurd/intern-fd.c: Likewise.
15461         * hurd/port2fd.c: Likewise.
15462
15463 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15464
15465         [BZ #3906]
15466         * bits/in.h (IPV6_PKTINFO): Define new macro.
15467         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15468
15469 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15470
15471         [BZ #13954]
15472         [BZ #13955]
15473         [BZ #13956]
15474         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15475         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15476         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15477         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15478         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15479         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15480         * math/libm-test.inc (logb_test) : Additional logb tests.
15481
15482 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
15483             Andreas Jaeger  <aj@suse.de>
15484
15485         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15486         * configure: Regenerated.
15487         * config.h.in (LINK_OBSOLETE_RPC): New macro.
15488         * config.make.in (link-obsolete-rpc): New substituted variable.
15489         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15490         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15491         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15492         (shared-only-routines): Don't set it under [link-obsolete-rpc],
15493         so that libc.a contains the symbols.
15494         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15495         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15496         * sunrpc/auth_none.c: Likewise.
15497         * sunrpc/auth_unix.c: Likewise.
15498         * sunrpc/authdes_prot.c: Likewise.
15499         * sunrpc/authuxprot.c: Likewise.
15500         * sunrpc/clnt_gen.c: Likewise.
15501         * sunrpc/clnt_perr.c: Likewise.
15502         * sunrpc/clnt_raw.c: Likewise.
15503         * sunrpc/clnt_simp.c: Likewise.
15504         * sunrpc/clnt_tcp.c: Likewise.
15505         * sunrpc/clnt_udp.c: Likewise.
15506         * sunrpc/clnt_unix.c: Likewise.
15507         * sunrpc/des_crypt.c: Likewise.
15508         * sunrpc/des_soft.c: Likewise.
15509         * sunrpc/get_myaddr.c: Likewise.
15510         * sunrpc/key_call.c: Likewise.
15511         * sunrpc/key_prot.c: Likewise.
15512         * sunrpc/netname.c: Likewise.
15513         * sunrpc/pm_getmaps.c: Likewise.
15514         * sunrpc/pm_getport.c: Likewise.
15515         * sunrpc/pmap_clnt.c: Likewise.
15516         * sunrpc/pmap_prot.c: Likewise.
15517         * sunrpc/pmap_prot2.c: Likewise.
15518         * sunrpc/pmap_rmt.c: Likewise.
15519         * sunrpc/publickey.c: Likewise.
15520         * sunrpc/rpc_cmsg.c: Likewise.
15521         * sunrpc/rpc_common.c: Likewise.
15522         * sunrpc/rpc_dtable.c: Likewise.
15523         * sunrpc/rpc_prot.c: Likewise.
15524         * sunrpc/rpc_thread.c: Likewise.
15525         * sunrpc/rtime.c: Likewise.
15526         * sunrpc/svc.c: Likewise.
15527         * sunrpc/svc_auth.c: Likewise.
15528         * sunrpc/svc_raw.c: Likewise.
15529         * sunrpc/svc_run.c: Likewise.
15530         * sunrpc/svc_tcp.c: Likewise.
15531         * sunrpc/svc_udp.c: Likewise.
15532         * sunrpc/svc_unix.c: Likewise.
15533         * sunrpc/svcauth_des.c: Likewise.
15534         * sunrpc/xcrypt.c: Likewise.
15535         * sunrpc/xdr.c: Likewise.
15536         * sunrpc/xdr_array.c: Likewise.
15537         * sunrpc/xdr_float.c: Likewise.
15538         * sunrpc/xdr_intXX_t.c: Likewise.
15539         * sunrpc/xdr_mem.c: Likewise.
15540         * sunrpc/xdr_rec.c: Likewise.
15541         * sunrpc/xdr_ref.c: Likewise.
15542         * sunrpc/xdr_sizeof.c: Likewise.
15543         * sunrpc/xdr_stdio.c: Likewise.
15544
15545 2012-05-10  Roland McGrath  <roland@hack.frob.com>
15546
15547         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15548         change.  Update copyright years.
15549
15550 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
15551
15552         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15553
15554 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
15555             Joseph Myers  <joseph@codesourcery.com>
15556             Paul Pluzhnikov  <ppluzhnikov@google.com>
15557
15558         [BZ #14012]
15559         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15560         requiring rpcgen.
15561         [cross-compiling] (extra-libs): Likewise.
15562         [cross-compiling] (extra-libs-others): Likewise.
15563         [cross-compiling] (librpcsvc-routines): Likewise.
15564         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15565         [cross-compiling] (omit-deps): Likewise.
15566         (sunrpc-CPPFLAGS): New variable.
15567         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15568         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15569         (cross-rpcgen-objs): New variable.
15570         (extra-objs): Append $(cross-rpcgen-objs).
15571         ($(cross-rpcgen-objs)): New rule.
15572         ($(objpfx)cross-rpcgen): Likewise.
15573         (rpcgen-cmd): Define to use $(built-program-file).  Expand
15574         comment.
15575         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15576         ($(objpfx)x%.stmp): Likewise.
15577         * sunrpc/proto.h [IS_IN_build] (_): Define.
15578         [IS_IN_build] (_libc_intl_domainname): Likewise.
15579
15580 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
15581
15582         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15583         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15584         and R_X86_64_TPOFF64.
15585
15586 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
15587
15588         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15589         sysdeps/unix/sysv/syscalls.list.
15590         (stime): Likewise.
15591         (utime): Likewise.
15592         * sysdeps/unix/sysv/syscalls.list: Remove file.
15593
15594 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
15595
15596         [BZ #3440]
15597         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15598         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15599         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15600         (__LC_IDENTIFICATION): Make these macros useful in #if
15601         expressions, as required by C99.
15602
15603 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
15604
15605         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15606         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
15607         after this.
15608
15609 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
15610
15611         * stdlib/longlong.h: Updated from GCC.
15612
15613 2012-05-09  Andreas Jaeger  <aj@suse.de>
15614
15615         * nscd/nscd.c (run_modes): Make named enum, reorder so that
15616         default is first entry.
15617         (run_mode): Set type.
15618         (main): Remove informal message about syslog.
15619         (options): Fix typo.
15620
15621         [BZ #14053]
15622         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15623         to asm.
15624         (lrint): Likewise.
15625         (llrintf): Likewise.
15626         (llrint): Likewise.
15627         (rint): Likewise.
15628         (rintf): Likewise.
15629         (nearbyint): Likewise.
15630         (nearbyintf): Likewise.
15631
15632 2012-05-09  Andreas Jaeger  <aj@suse.de>
15633             Pedro Alves  <palves@redhat.com>
15634
15635         * nscd/nscd.c (run_mode): Use enum.
15636         (main): Cleanup coding style issue.
15637
15638 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
15639             Andreas Jaeger  <aj@suse.de>
15640
15641         * nscd/nscd.c (go_background): Replaced with...
15642         (run_mode): ... this.
15643         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15644         (options): Add -F --foreground.
15645         (main): Implement it.
15646         (parse_opt): Parse it.
15647
15648 2012-05-09  Andreas Jaeger  <aj@suse.de>
15649
15650         [BZ #14083]
15651         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15652         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15653         -Wconversion warning.
15654         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15655         Likewise.
15656
15657 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
15658
15659         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
15660         == 0.
15661         (LC_ALL): Use macro-int-constant.
15662         (LC_COLLATE): Likewise.
15663         (LC_CTYPE): Likewise.
15664         (LC_MESSAGES): Likewise.
15665         (LC_MONETARY): Likewise.
15666         (LC_NUMERIC): Likewise.
15667         (LC_TIME): Likewise.
15668         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15669         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15670         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15671         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15672         Specify type.
15673         [C99-based standards] (float_t): Expect type.
15674         [C99-based standards] (double_t): Expect type.
15675         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
15676         type.
15677         [C99-based standards] (HUGE_VALL): Likewise.
15678         [C99-based standards] (INFINITY): Likewise.
15679         [C99-based standards] (NAN): Likewise.
15680         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15681         [C99-based standards] (FP_NAN): Likewise.
15682         [C99-based standards] (FP_NORMAL): Likewise.
15683         [C99-based standards] (FP_SUBNORMAL): Likewise.
15684         [C99-based standards] (FP_ZERO): Likewise.
15685         [C99-based standards] (FP_FAST_FMA): Use
15686         optional-macro-int-constant.  Specify type.  Require == 1.
15687         [C99-based standards] (FP_FAST_FMAF): Likewise.
15688         [C99-based standards] (FP_FAST_FMAL): Likewise.
15689         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15690         [C99-based standards] (FP_ILOGBNAN): Likewise.
15691         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15692         Specify type.
15693         [C99-based standards] (MATH_ERREXCEPT): Likewise.
15694         [C99-based standards] (math_errhandling): Specify type.
15695         [ISO99 || ISO11] (signgam): Do not allow.
15696         [non-C99-based standards] (copysignf): Do not allow.
15697         [non-C99-based standards] (exp2f): Likewise.
15698         [non-C99-based standards] (log2f): Likewise.
15699         [non-C99-based standards] (modff): Allow.
15700         [non-C99-based standards] (erff): Do not allow.
15701         [non-C99-based standards] (erfcf): Likewise.
15702         [non-C99-based standards] (gammaf): Likewise.
15703         [non-C99-based standards] (hypotf): Likewise.
15704         [non-C99-based standards] (j0f): Likewise.
15705         [non-C99-based standards] (j1f): Likewise.
15706         [non-C99-based standards] (jnf): Likewise.
15707         [non-C99-based standards] (lgammaf): Likewise.
15708         [non-C99-based standards] (tgammaf): Likewise.
15709         [non-C99-based standards] (y0f): Likewise.
15710         [non-C99-based standards] (y1f): Likewise.
15711         [non-C99-based standards] (ynf): Likewise.
15712         [non-C99-based standards] (isnanf): Likewise.
15713         [non-C99-based standards] (acoshf): Likewise.
15714         [non-C99-based standards] (asinhf): Likewise.
15715         [non-C99-based standards] (atanhf): Likewise.
15716         [non-C99-based standards] (cbrtf): Likewise.
15717         [non-C99-based standards] (expm1f): Likewise.
15718         [non-C99-based standards] (ilogbf): Likewise.
15719         [non-C99-based standards] (log1pf): Likewise.
15720         [non-C99-based standards] (logbf): Likewise.
15721         [non-C99-based standards] (nextafterf): Likewise.
15722         [non-C99-based standards] (remainderf): Likewise.
15723         [non-C99-based standards] (rintf): Likewise.
15724         [non-C99-based standards] (scalbf): Likewise.
15725         [non-C99-based standards] (copysignl): Likewise.
15726         [non-C99-based standards] (exp2l): Likewise.
15727         [non-C99-based standards] (log2l): Likewise.
15728         [non-C99-based standards] (modfl): Allow.
15729         [non-C99-based standards] (erfl): Do not allow.
15730         [non-C99-based standards] (erfcl): Likewise.
15731         [non-C99-based standards] (gammal): Likewise.
15732         [non-C99-based standards] (hypotl): Likewise.
15733         [non-C99-based standards] (j0l): Likewise.
15734         [non-C99-based standards] (j1l): Likewise.
15735         [non-C99-based standards] (jnl): Likewise.
15736         [non-C99-based standards] (lgammal): Likewise.
15737         [non-C99-based standards] (tgammal): Likewise.
15738         [non-C99-based standards] (y0l): Likewise.
15739         [non-C99-based standards] (y1l): Likewise.
15740         [non-C99-based standards] (ynl): Likewise.
15741         [non-C99-based standards] (isnanl): Likewise.
15742         [non-C99-based standards] (acoshl): Likewise.
15743         [non-C99-based standards] (asinhl): Likewise.
15744         [non-C99-based standards] (atanhl): Likewise.
15745         [non-C99-based standards] (cbrtl): Likewise.
15746         [non-C99-based standards] (expm1l): Likewise.
15747         [non-C99-based standards] (ilogbl): Likewise.
15748         [non-C99-based standards] (log1pl): Likewise.
15749         [non-C99-based standards] (logbl): Likewise.
15750         [non-C99-based standards] (nextafterl): Likewise.
15751         [non-C99-based standards] (remainderl): Likewise.
15752         [non-C99-based standards] (rintl): Likewise.
15753         [non-C99-based standards] (scalbl): Likewise.
15754         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15755         [non-C99-based standards] (FP_*): Do not allow.
15756         [C99-based standards] (FP_*): Change to
15757         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15758         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15759         allow.
15760         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15761         (SIG_ERR): Likewise.
15762         [X/Open-based standards] (SIG_HOLD): Likewise.
15763         (SIG_IGN): Likewise.
15764         (SIGABRT): Use macro-int-constant.  Specify type.  Require
15765         positive value.
15766         (SIGFPE): Likewise.
15767         (SIGILL): Likewise.
15768         (SIGINT): Likewise.
15769         (SIGSEGV): Likewise.
15770         (SIGTER): Likewise.
15771         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15772         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15773         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15774         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15775         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15776         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15777         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15778         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15779         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15780         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15781         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15782         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15783         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15784         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15785         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15786         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15787         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15788         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15789         [X/Open-based standards] (SIGTRAP): Likewise.
15790         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15791         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15792         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15793         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15794         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15795         allow.
15796
15797 2012-05-08  Ian Wienand  <ianw@vmware.com>
15798
15799         [BZ #14080]
15800         * time/tzset.c (__tzset_parse_tz): Update default rules for
15801         daylight time changes in the Energy Policy Act of 2005.
15802
15803 2012-05-09  Andreas Jaeger  <aj@suse.de>
15804
15805         [BZ #13983]
15806         * elf/ldconfig.c (parse_conf): Change string to make clear that
15807         ldconfig only issued a warning if ld.so.conf does not exist.
15808
15809 2012-05-08  David S. Miller  <davem@davemloft.net>
15810
15811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15812         movxtod instead of popping the value on the stack.
15813
15814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15815
15816 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
15817
15818         * config.h.in: Add HAVE_ARM_PCS_VFP.
15819
15820 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
15821
15822         [BZ #13979]
15823         * include/features.h: Warn if user requests __FORTIFY_SOURCE
15824         checking but the checks are disabled for any reason.
15825
15826 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15827
15828         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15829         and ELF64_R_TYPE with ELFW(R_TYPE).
15830
15831 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
15832
15833         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15834         (ulimit): Likewise.
15835
15836         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15837         (settimeofday): Likewise.
15838
15839 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15840
15841         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15842         a struct th_u2 inside the union, and move tu_block/tu_code into
15843         a new th_u3 union of tu_block/tu_code inside of that.  Move
15844         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15845         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15846         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15847         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15848         (th_stuff): Change to th_u1.tu_stuff.
15849         (th_data): Define.
15850         (th_msg): Change to th_u1.th_u2.tu_data.
15851
15852 2012-05-07  David S. Miller  <davem@davemloft.net>
15853
15854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15855
15856         [BZ #14074]
15857         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15858         (SETUP_PIC_REG): Use it.
15859         (SETUP_PIC_REG_LEAF): Use it.
15860
15861 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15862
15863         [BZ #13885]
15864         [BZ #13923]
15865         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15866         USE_AS_EXPM1L.
15867         (EXPL_FINITE): Likewise.
15868         (FLDLOG): Likewise.
15869         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15870         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15871         e_expl.S.
15872         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15873         USE_AS_EXPM1L.
15874         (EXPL_FINITE): Likewise.
15875         (FLDLOG): Likewise.
15876         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15877         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15878         e_expl.S.
15879         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15880         test of -max_value argument for long double.
15881         * sysdeps/i386/fpu/libm-test-ulps: Update.
15882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15883
15884 2012-05-06  David S. Miller  <davem@davemloft.net>
15885
15886         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15887         quad soft-float symbols whose references which are compiler
15888         generated.
15889         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15890
15891 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15892
15893         [BZ #13884]
15894         [BZ #13914]
15895         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15896         USE_AS_EXP10L.
15897         (EXPL_FINITE): Likewise.
15898         (FLDLOG): Likewise.
15899         (c0): Likewise.
15900         (c1): Likewise.
15901         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15902         Adjust comments for base varying.
15903         (__expl_finite): Change alias to EXPL_FINITE.
15904         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15905         e_expl.S.
15906         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15907         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15908         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15909         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15910         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15911         USE_AS_EXP10L.
15912         (EXPL_FINITE): Likewise.
15913         (FLDLOG): Likewise.
15914         (c0): Likewise.
15915         (c1): Likewise.
15916         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15917         Adjust comments for base varying.
15918         (__expl_finite): Change alias to EXPL_FINITE.
15919         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15920         tests for bugs.
15921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15922
15923         [BZ #14064]
15924         * math/libm-test.inc (check_float_internal): Correct ulp
15925         calculation for subnormal expected results.
15926
15927 2012-05-06  Andreas Jaeger  <aj@suse.de>
15928
15929         * Makeconfig (+math-flags): New, set to -frounding-math.
15930         (+cflags): Add +math-flags so that all of glibc gets compiled with
15931         it.
15932
15933         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15934
15935 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15936
15937         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15938         Disable one test.
15939
15940         [BZ #13787]
15941         [BZ #13922]
15942         [BZ #14036]
15943         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15944         (__ieee754_expl): Allow for and saturate large arguments.
15945         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15946         (u_threshold): Likewise.
15947         (__exp): Call __ieee754_exp before checking for overflow and
15948         underflow.
15949         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15950         (u_threshold): Likewise.
15951         (__expf): Call __ieee754_expf before checking for overflow and
15952         underflow.
15953         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15954         (u_threshold): Likewise.
15955         (__expl): Call __ieee754_expl before checking for overflow and
15956         underflow.
15957         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15958         (__ieee754_expl): Allow for and saturate large arguments.
15959         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15960         missing overflow exception on overflow.
15961         (expm1_test): Do not allow missing overflow exception on overflow.
15962
15963         * sysdeps/i386/fpu/e_expl.c: Move to ...
15964         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15965         rather than using inline asm.
15966         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15967         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15968         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15969
15970         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15971         (nice): Likewise.
15972         (poll): Likewise.
15973         (signal): Likewise.
15974         (time): Likewise.
15975         (times): Likewise.
15976
15977 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15978
15979         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15980         sysdeps/unix/common/syscalls.list.
15981         (fchmod): Likewise.
15982         (fchown): Likewise.
15983         (ftruncate): Likewise.
15984         (getrusage): Likewise.
15985         (gettimeofday): Likewise.
15986         (setpgid): Likewise.
15987         (setregid): Likewise.
15988         (setreuid): Likewise.
15989         (sigaction): Likewise.
15990         (truncate): Likewise.
15991         (vhangup): Likewise.
15992         * sysdeps/unix/common/syscalls.list: Remove file.
15993         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15994         * sysdeps/unix/sysv/linux/Implies: Likewise.
15995
15996 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15997
15998         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16000         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16001         Moved to ...
16002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16003         Here.
16004         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16005         to ...
16006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16007         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16008         to ...
16009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16010         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16011         to ...
16012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16013         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16014         to ...
16015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16016         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16017         to ...
16018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16019         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16020         to ...
16021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16022         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16023         to ...
16024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16025         Here.
16026         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16027         to ...
16028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16029         Here.
16030         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16031         to ...
16032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16033         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16034         Moved to ...
16035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16036         Here.
16037         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16038         to ...
16039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16040
16041 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
16042
16043         * sysdeps/unix/common/bits/dirent.h: Remove file.
16044         * sysdeps/unix/common/bits/fcntl.h: Likewise.
16045
16046         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16047         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16048         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16049         * sysdeps/unix/bsd/isatty.c: Likewise.
16050         * sysdeps/unix/bsd/tcdrain.c: Likewise.
16051         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16052         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16053
16054 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16055
16056         [BZ #13563]
16057         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16058         long double comparison inaccuracies.
16059         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16061
16062 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
16063
16064         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16065         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16066
16067 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
16068
16069         [BZ #14049]
16070         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16071         nonzero digits before rounding a hex value.
16072         * stdlib/tst-strtod.c (tests): Add another test.
16073
16074 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16075
16076         * sysdeps/s390/fpu/libm-test-ulps: Update.
16077
16078 2012-05-03  Andreas Jaeger  <aj@suse.de>
16079
16080         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16081         does not get optimized out.
16082         (malloc_opt_barrier): New.
16083
16084 2012-05-03  Andreas Jaeger  <aj@suse.de>
16085             Roland McGrath  <roland@hack.frob.com>
16086
16087         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16088         intermediate file deletion.
16089         (generated): Add .symlist files.
16090
16091 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
16092
16093         [BZ #13775]
16094         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16095         Redirect under this condition.
16096         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16097         [__USE_GNU] (__dprintf_chk): Not under this condition.
16098         [__USE_GNU] (__vdprintf_chk): Likewise.
16099         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16100         under this condition.
16101         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16102         [__USE_XOPEN2K8] (dprintf): Define under this condition.
16103         [__USE_XOPEN2K8] (vdprintf): Likewise.
16104         [__USE_GNU] (__dprintf_chk): Not under this condition.
16105         [__USE_GNU] (__vdprintf_chk): Likewise.
16106         [__USE_GNU] (dprintf): Likewise.
16107         [__USE_GNU] (vdprintf): Likewise.
16108
16109 2012-05-03  Roland McGrath  <roland@hack.frob.com>
16110
16111         * elf/Makefile (common-generated): Set this instead of generated for
16112         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
16113         $(all-built-dso)-derived lists.
16114
16115 2012-05-03  Andreas Jaeger  <aj@suse.de>
16116
16117         * sysdeps/i386/fpu/libm-test-ulps: Update.
16118
16119         * FAQ: Removed.
16120         * FAQ.in: Likewise.
16121         * scripts/gen-FAQ.pl: Likewise.
16122         * manual/install.texi (Installation): Point to online location of
16123         FAQ.
16124         * Makefile (files-for-dist): Remove FAQ.
16125         (FAQ): Remove.
16126
16127 2012-05-02  Allan McRae  <allan@archlinux.org>
16128
16129         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16130         (LDFLAGS-reldepmod5.so): Likewise.
16131         (LDFLAGS-reldep6mod1.so): Likewise.
16132         (LDFLAGS-reldep6mod4.so): Likewise.
16133         (LDFLAGS-reldep8mod3.so): Likewise.
16134         (LDFLAGS-unload4mod1.so): Likewise.
16135         (LDFLAGS-unload4mod2.so): Likewise.
16136         (LDFLAGS-tst-initorder): Likewise.
16137         (LDFLAGS-tst-initordera2.so): Likewise.
16138         (LDFLAGS-tst-initordera3.so): Likewise.
16139         (LDFLAGS-tst-initordera4.so): Likewise.
16140         (LDFLAGS-tst-initorderb2.so): Likewise.
16141         (LDFLAGS-noload): Likewise.
16142         (LDFLAGS-next): Likewise.
16143         (LDFLAGS-order2mod1.so): Likewise.
16144         (LDFLAGS-order2mod2.so): Likewise.
16145         (LDFLAGS-tst-initorder2): Likewise.
16146         (LDFLAGS-tst-initorder2a.so): Likewise.
16147         (LDFLAGS-tst-initorder2b.so): Likewise.
16148         (LDFLAGS-tst-initorder2c.so): Likewise.
16149         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16150
16151 2012-05-02  David S. Miller  <davem@davemloft.net>
16152
16153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16154
16155 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16156
16157         [BZ #14055]
16158         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16159
16160 2012-05-02  Andreas Jaeger  <aj@suse.de>
16161
16162         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16163         since we manipulate rounding mode.
16164         (CPPFLAGS-test-idouble.c): Likewise.
16165         (CPPFLAGS-test-ifloat.c): Likewise.
16166         (CFLAGS-test-ldouble.c): Likewise.
16167         (CFLAGS-test-double.c): Likewise.
16168         (CFLAGS-test-float.c): Likewise.
16169         (CFLAGS-test-misc.c): Likewise.
16170         (CFLAGS-test-test-fenv.c): Likewise.
16171
16172 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16173
16174         [BZ #2550]
16175         [BZ #2570]
16176         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16177         comparisons to determine direction to adjust input.
16178
16179 2012-05-01  Roland McGrath  <roland@hack.frob.com>
16180
16181         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16182         output to the target.
16183
16184         * scripts/localplt.awk: New file.
16185         * elf/Makefile ($(objpfx)check-localplt): Target removed.
16186         (check-localplt-CFLAGS): Variable removed.
16187         ($(all-built-dso:=.jmprel)): New static pattern rule.
16188         (generated): Add those targets.
16189         (localplt-built-dso): New variable.
16190         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16191
16192         * elf/check-localplt.c: File removed.
16193
16194         * scripts/check-execstack.awk: New file.
16195         * elf/Makefile ($(objpfx)check-execstack): Target removed.
16196         (check-execstack-CFLAGS): Variable removed.
16197         ($(objpfx)check-execstack.h): Target removed.
16198         ($(objpfx)execstack-default): New target.
16199         (generated): Add that instead of check-execstack.h.
16200         ($(all-built-dso:=.phdr)): New static pattern rule.
16201         (generated): Add those targets.
16202         * elf/check-execstack.c: File removed.
16203
16204         * scripts/check-textrel.awk: New file.
16205         * elf/Makefile ($(objpfx)check-textrel): Target removed.
16206         (check-textrel-CFLAGS): Variable removed.
16207         (all-built-dso): Use := to define.o
16208         ($(all-built-dso:=.dyn)): New static pattern rule.
16209         (generated): Add those targets.
16210         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16211         * config.make.in (READELF): New substituted variable.
16212         * elf/check-textrel.c: File removed.
16213
16214 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
16215
16216         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16217         allow.
16218         * conform/data/ctype.h-data [C99-based standards] (isblank):
16219         Expect function.
16220         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16221         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16222         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16223         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16224         Specify type.  Require positive value.
16225         (EILSEQ): Likewise.
16226         (ERANGE): Likewise.
16227         [ISO || POSIX] (EILSEQ): Do not expect.
16228         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16229         Specify type.  Require positive value.
16230         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16231         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16232         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16233         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16234         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16235         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16236         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16237         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16238         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16239         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16240         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16241         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16242         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16243         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16244         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16245         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16246         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16247         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16248         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16249         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16250         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16251         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16252         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16253         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16254         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16255         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16256         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16257         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16258         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16259         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16260         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16261         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16262         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16263         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16264         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16265         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16266         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16267         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16268         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16269         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16270         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16271         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16272         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16273         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16274         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16275         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16276         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16277         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16278         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16279         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16280         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16281         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16282         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16283         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16284         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16285         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16286         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16287         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16288         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16289         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16290         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16291         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16292         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16293         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16294         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16295         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16296         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16297         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16298         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16299         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16300         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16301         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16302         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16303         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16304         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16305         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16306         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16307         Require >= 2.
16308         (FLT_ROUNDS): Expect as macro, not constant.
16309         (FLT_MANT_DIG): Use macro-int-constant.
16310         (DBL_MANT_DIG): Likewise.
16311         (LDBL_MANT_DIG): Likewise.
16312         (FLT_DIG): Likewise.
16313         (DBL_DIG): Likewise.
16314         (LDBL_DIG): Likewise.
16315         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
16316         (DBL_MIN_EXP): Likewise.
16317         (LDBL_MIN_EXP): Likewise.
16318         (FLT_MAX_EXP): Use macro-int-constant.
16319         (DBL_MAX_EXP): Likewise.
16320         (LDBL_MAX_EXP): Likewise.
16321         (FLT_MAX_10_EXP): Likewise.
16322         (DBL_MAX_10_EXP): Likewise.
16323         (LDBL_MAX_10_EXP): Likewise.
16324         (FLT_MAX): Use macro-constant.
16325         (DBL_MAX): Likewise.
16326         (LDBL_MAX): Likewise.
16327         (FLT_EPSILON): Use macro-constant.  Give upper bound.
16328         (DBL_EPSILON): Likewise.
16329         (LDBL_EPSILON): Likewise.
16330         (FLT_MIN): Likewise.
16331         (DBL_MIN): Likewise.
16332         (LDBL_MIN): Likewise.
16333         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16334         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16335         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16336         [ISO11] (FLT_HAS_SUBNORM): Likewise.
16337         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16338         [ISO11] (DBL_DECIMAL_DIG): Likewise.
16339         [ISO11] (FLT_DECIMAL_DIG): Likewise.
16340         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16341         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16342         [ISO11] (FLT_TRUE_MIN): Likewise.
16343         [ISO11] (LDBL_TRUE_MIN): Likewise.
16344         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16345         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16346         (SCHAR_MIN): Use macro-int-constant.  Specify type.
16347         (SCHAR_MAX): Likewise.
16348         (UCHAR_MAX): Likewise.
16349         (CHAR_MIN): Likewise.
16350         (CHAR_MAX): Likewise.
16351         (MB_LEN_MAX): Use macro-int-constant.
16352         (SHRT_MIN): Use macro-int-constant.  Specify type.
16353         (SHRT_MAX): Likewise.
16354         (USHRT_MAX): Likewise.
16355         (INT_MAX): Likewise.
16356         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
16357         bound negative.
16358         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
16359         bound with "U".
16360         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
16361         bound with "L".
16362         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
16363         bound negative.  Suffix upper bound with "L".
16364         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
16365         bound with "UL".
16366         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16367         Specify type.
16368         [C99-based standards] (LLONG_MAX): Likewise.
16369         [C99-based standards] (ULLONG_MAX): Likewise.
16370         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
16371         == 0.
16372         [ISO11] (max_align_t): Require type.
16373         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16374
16375         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16376         from $CFLAGS, without defining away __attribute__ calls.
16377         (checknamespace): Use $CFLAGS_namespace.
16378
16379         * conform/conformtest.pl (@keywords): Only include C99 keywords
16380         for standards based on C99 or C11.
16381
16382         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16383         Disable tests.
16384         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16385         UNIX98]: Likewise.
16386
16387         * conform/conformtest.pl: Handle "macro-int-constant" and test for
16388         usability of symbols in #if.
16389
16390         * conform/conformtest.pl: If macro or constant types start
16391         "promoted:", expect the symbol to be of the following type
16392         promoted by the integer promotions.
16393
16394         * conform/conformtest.pl: Parse all "constant" and "macro" lines
16395         in one place.  Also handle "macro-constant".
16396
16397         * conform/conformtest.pl: Only accept expected macro values with
16398         "==".  Parse all "macro" lines in one place.
16399         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16400
16401         * conform/conformtest.pl: Handle braced types on "constant" lines
16402         instead of handling "typed-constant".
16403         * conform/data/signal.h-data: Use "constant" instead of
16404         "typed-constant".
16405
16406         * conform/conformtest.pl: Handle "optional-" at start of lines in
16407         one place rather than duplicating several cases.  Handle each
16408         format of "macro" line with initial "optional-".
16409
16410         * conform/conformtest.pl: Only accept expected constant or
16411         optional-constant values with "==".  Parse all "constant" lines in
16412         one place.  Parse all "optional-constant" lines in one place.
16413         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16414         * conform/data/fmtmsg.h-data: Likewise.
16415         * conform/data/netinet/in.h-data: Likewise.
16416         * conform/data/tar.h-data: Likewise.
16417         * conform/data/limits.h-data: Use "==" form on "constant" and
16418         "optional-constant" lines.
16419
16420         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16421         Use -std=c99 for XOPEN2K.
16422         (@knownproblems): Remove.
16423         (newtoken): Don't check %isknown.
16424
16425         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16426         Do not expect macro.
16427         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16428         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16429         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16430         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16431         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16432         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16433         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16434         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16435         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16436         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16437         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16438         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16439         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16440         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16441         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16442         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16443         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16444         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16445         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16446         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16447         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16448         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16449         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16450         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16451         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16452         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16453         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16454         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16455         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16456         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16457         [XPG3] (acosh): Likewise.
16458         [XPG3] (asinh): Likewise.
16459         [XPG3] (atanh): Likewise.
16460         [XPG3] (cbrt): Likewise.
16461         [XPG3] (expm1): Likewise.
16462         [XPG3] (ilogb): Likewise.
16463         [XPG3] (log1p): Likewise.
16464         [XPG3] (logb): Likewise.
16465         [XPG3] (nextafter): Likewise.
16466         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16467         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16468         [XPG3] (remainder): Likewise.
16469         [XPG3] (rint): Likewise.
16470         [XPG3 || XPG4 || UNIX98] (round): Likewise.
16471         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16472         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16473         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16474         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16475         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16476         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16477         [UNIX98 || XOPEN2K] (scalb): Expect.
16478         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16479         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16480         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16481         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16482         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16483         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16484         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16485         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16486         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16487         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16488         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16489         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16490         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16491         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16492         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16493         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16494         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16495         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16496         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16497         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16498         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16499         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16500         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16501         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16502         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16503         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16504         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16505         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16506         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16507         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16508         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16509         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16510         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16511         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16512         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16513         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16514         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16515         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16516         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16517         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16518         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16519         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16520         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16521         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16522         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16523         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16524         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16525         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16526         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16527         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16528         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16529         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16530         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16531         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16532         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16533         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16534         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16535         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16536         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16537         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16538         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16539         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16540         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16541         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16542         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16543         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16544         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16545         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16546         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16547         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16548         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16549         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16550         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16551         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16552         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16553         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16554         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16555         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16556         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16557         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16558         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16559         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16560         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16561         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16562         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16563         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16564         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16565         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16566         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16567         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16568         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16569         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16570         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16571         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16572         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16573         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16574         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16575         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16576         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16577         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16578         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16579         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16580         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16581         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16582         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16583         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16584         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16585         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16586         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16587         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16588         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16589         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16590         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16591         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16592         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16593         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16594         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16595         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16596         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16597         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16598         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16599         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16600         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16601         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16602         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16603         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16604         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16605         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16606         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16607         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16608         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16609         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16610         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16611         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16612         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16613         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16614         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16615
16616         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16617         _XOPEN_SOURCE_EXTENDED for XPG4.
16618
16619         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16620
16621         * Makeconfig (localtime): Remove variable.
16622         (inst_localtime-file): Likewise.
16623
16624 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16625
16626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16627         Update.
16628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16629         Update.
16630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16631         Update.
16632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16633         Update.
16634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16635         Update.
16636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16637         Update.
16638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16639         Update.
16640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16641         Update.
16642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16643         Update.
16644
16645 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
16646
16647         [BZ #2550]
16648         [BZ #2570]
16649         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16650         comparisons to determine direction to adjust input.
16651         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16652         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16653         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16654         Likewise.
16655         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16656         Likewise.
16657         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16658         Likewise.
16659         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16660         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16661         Likewise.
16662         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16663         Likewise.
16664         * math/libm-test.inc (nexttoward_test): Add more tests.
16665
16666 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16667
16668         [BZ #14040]
16669         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16670         in version GLIBC_2.1, not GLIBC_2.0.
16671         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16672         Likewise.
16673
16674 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
16675
16676         [BZ #13942]
16677         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16678         (1 - x) * (1 + x).
16679         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16680         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16681         * math/libm-test.inc (acos_test): Add more tests.
16682         (asin_test): Likewise.
16683         * sysdeps/i386/fpu/libm-test-ulps: Update.
16684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16685
16686         [BZ #14034]
16687         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16688         of square root.
16689         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16690         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16691         * math/libm-test.inc (acos_test_tonearest): New function.
16692         (acos_test_towardzero): Likewise.
16693         (acos_test_downward): Likewise.
16694         (acos_test_upward): Likewise.
16695         (asin_test_tonearest): Likewise.
16696         (asin_test_towardzero): Likewise.
16697         (asin_test_downward): Likewise.
16698         (asin_test_upward): Likewise.
16699         (main): Call the new functions.
16700         * sysdeps/i386/fpu/libm-test-ulps: Update.
16701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16702
16703         [BZ #13884]
16704         [BZ #13924]
16705         * math/e_exp10.c: Include <float.h>.
16706         (__ieee754_exp10): Handle underflow here rather than multiplying
16707         large negative argument by M_LN10.
16708         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16709         of __ieee754_expf.
16710         * math/e_exp10l.c: Include <float.h>.
16711         (__ieee754_exp10l): Handle underflow here rather than multiplying
16712         large negative argument by M_LN10l.
16713         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
16714         spurious overflow exception on underflow.
16715
16716 2012-04-29  Marek Polacek  <polacek@redhat.com>
16717
16718         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16719         (__fortify_function): New macro.
16720         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16721         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16722         __extern_always_inline.
16723         * libio/bits/stdio2.h: Likewise.
16724         * libio/bits/stdio.h: Likewise.
16725         * string/string.h: Likewise.
16726         * string/bits/string3.h: Likewise.
16727         * include/stdio.h: Likewise.
16728         * stdlib/bits/stdlib.h: Likewise.
16729         * stdlib/stdlib.h: Likewise.
16730         * rt/bits/mqueue2.h: Likewise.
16731         * rt/mqueue.h: Likewise.
16732         * posix/bits/unistd.h: Likewise.
16733         * posix/unistd.h: Likewise.
16734         * io/bits/poll2.h: Likewise.
16735         * io/bits/fcntl2.h: Likewise.
16736         * io/fcntl.h: Likewise.
16737         * io/sys/poll.h: Likewise.
16738         * misc/bits/syslog.h: Likewise.
16739         * misc/bits/syslog-ldbl.h: Likewise.
16740         * misc/sys/syslog.h: Likewise.
16741         * socket/bits/socket2.h: Likewise.
16742         * socket/sys/socket.h: Likewise.
16743         * debug/tst-chk1.c: Likewise.
16744         * wcsmbs/bits/wchar2.h: Likewise.
16745         * wcsmbs/bits/wchar-ldbl.h: Likewise.
16746         * wcsmbs/wchar.h: Likewise.
16747
16748 2012-04-29  Andreas Jaeger  <aj@suse.de>
16749
16750         * Makerules (tests): Remove enable-check-abi protection.
16751         (check-abi-warn): Remove.
16752         (check-abi-%): Remove check-abi-warn usage.
16753
16754         * configure.in: Remove check-abi configure option.
16755         * configure: Regenerated.
16756         * config.make.in (enable-check-abi): Remove.
16757
16758 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
16759
16760         [BZ #14033]
16761         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16762         double functions to double *_finite functions.
16763
16764         [BZ #13941]
16765         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16766         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16767         LDBL_MIN_EXP.
16768         * stdio-common/Makefile (tests): Add tst-sprintf3.
16769         * stdio-common/tst-sprintf3.c: New file.
16770
16771         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16772         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16773
16774 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16775
16776         * conform/conformtest.pl: Remove duplicate typed-constant
16777         handling.
16778
16779 2012-04-28  David S. Miller  <davem@davemloft.net>
16780
16781         * Makerules (%.abilist): Add vpath on sysdep_dirs.
16782         (check-abi-%): Remove AWK script prerequisite and explicit
16783         abilist directory.
16784         (check-abi): Rewrite to just diff the symlist with the abilist.
16785         (config-tls, config-abi-config): Delete, no longer used.
16786         (update-abi-%): Remove AWK script and explicit abilist directory.
16787         (update-abi): Rewrite to simply compare and conditionally copy the
16788         symlist and the sysdep abilist file.  Remove update-abi-config
16789         checks.
16790         * abilist/ld.abilist: Remove.
16791         * abilist/libBrokenLocale.abilist: Remove.
16792         * abilist/libanl.abilist: Remove.
16793         * abilist/libcrypt.abilist: Remove.
16794         * abilist/libdl.abilist: Remove.
16795         * abilist/librt.abilist: Remove.
16796         * abilist/libthread_db.abilist: Remove.
16797         * abilist/libutil.abilist: Remove.
16798         * scripts/extract-abilist.awk: Remove.
16799         * scripts/merge-abilist.awk: Remove.
16800         * sysdeps/generic/libcidn.abilist: New file.
16801         * sysdeps/generic/libnss_compat.abilist: New file.
16802         * sysdeps/generic/libnss_db.abilist: New file.
16803         * sysdeps/generic/libnss_dns.abilist: New file.
16804         * sysdeps/generic/libnss_files.abilist: New file.
16805         * sysdeps/generic/libnss_hesiod.abilist: New file.
16806         * sysdeps/generic/libnss_nis.abilist: New file.
16807         * sysdeps/generic/libnss_nisplus.abilist: New file.
16808         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16809         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16810         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16811         file.
16812         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16813         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16814         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16815         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16816         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16817         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16818         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16819         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16820         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16821         file.
16822         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16823         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16824         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16825         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16826         file.
16827         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16828         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16829         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16830         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16831         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16832         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16833         file.
16834         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16835         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16836         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16837         file.
16838         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16840         New file.
16841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16842         New file.
16843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16844         New file.
16845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16846         New file.
16847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16848         New file.
16849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16850         New file.
16851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16852         New file.
16853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16854         New file.
16855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16856         New file.
16857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16858         New file.
16859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16860         New file.
16861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16862         New file.
16863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16864         New file.
16865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16866         file.
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16868         New file.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16870         New file.
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16872         file.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16874         New file.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16876         New file.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16878         file.
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16880         New file.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16882         New file.
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16884         New file.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16886         New file.
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16888         New file.
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16890         New file.
16891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16893         file.
16894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16895         New file.
16896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16897         file.
16898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16899         file.
16900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16901         file.
16902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16903         file.
16904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16905         file.
16906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16907         New file.
16908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16909         file.
16910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16911         file.
16912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16913         New file.
16914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16915         file.
16916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16918         file.
16919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16920         New file.
16921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16922         file.
16923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16924         file.
16925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16926         file.
16927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16928         file.
16929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16930         file.
16931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16932         New file.
16933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16934         file.
16935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16936         file.
16937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16938         New file.
16939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16940         file.
16941         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16942         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16943         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16944         file.
16945         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16946         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16947         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16948         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16949         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16950         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16951         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16952         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16953         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16954         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16957         file.
16958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16959         New file.
16960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16961         file.
16962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16963         file.
16964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16965         file.
16966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16967         file.
16968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16969         file.
16970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16971         New file.
16972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16973         New file.
16974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16975         file.
16976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16977         New file.
16978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16979         file.
16980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16982         file.
16983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16984         New file.
16985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16986         file.
16987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16988         file.
16989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16990         file.
16991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16992         file.
16993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16994         file.
16995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16996         New file.
16997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16998         New file.
16999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17000         file.
17001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17002         New file.
17003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17004         file.
17005
17006 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
17007
17008         * conform/conformtest.pl: Fix typo in handling typed-constant from
17009         allow-header.
17010
17011 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
17012
17013         * README: Cut down references to pre-2.6 Linux kernels and
17014         Linuxthreads.  Update lists of configurations in libc and ports
17015         and sort alphabetically.  Say "or newer" with Linux kernel version
17016         requirements.
17017
17018         * config.h.in [IS_IN_build]: Allow compiling without optimization.
17019
17020 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17021
17022         [BZ #887]
17023         * math/libm-test.inc (logb_test_downward): New test to expose
17024         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17025         rounding mode.
17026
17027 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
17028
17029         [BZ #14027]
17030         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17031         to be done.
17032         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17033         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17034
17035 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
17036
17037         * sysdeps/unix/i386/brk.S: Remove file.
17038         * sysdeps/unix/i386/dl-brk.S: Likewise.
17039         * sysdeps/unix/i386/pipe.S: Likewise.
17040         * sysdeps/unix/i386/sigreturn.S: Likewise.
17041         * sysdeps/unix/i386/syscall.S: Likewise.
17042         * sysdeps/unix/i386/vfork.S: Likewise.
17043         * sysdeps/unix/i386/wait.S: Likewise.
17044
17045         * sysdeps/unix/common/tcsendbrk.c: Move to ...
17046         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17047
17048         * configure.in (arm*-none*): Do not allow without
17049         --enable-hacker-mode.
17050         (netbsd*): Remove case setting base_os.
17051         (386bsd*): Likewise.
17052         (freebsd*): Likewise.
17053         (bsdi*): Likewise.
17054         (osf*): Likewise.
17055         (sunos*): Likewise.
17056         (ultrix*): Likewise.
17057         (newsos*): Likewise.
17058         (dynix*): Likewise.
17059         (*bsd*): Likewise.
17060         (sysv*): Likewise.
17061         (isc*): Likewise.
17062         (esix*): Likewise.
17063         (sco*): Likewise.
17064         (minix*): Likewise.
17065         (irix4*): Likewise.
17066         (irix6*): Likewise.
17067         (solaris[2-9]*): Likewise.
17068         (none): Likewise.
17069         * configure: Regenerated.
17070
17071 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17072
17073         [BZ #11521]
17074         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17075         overflow or cancellation in calculating denominator.
17076         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17077         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17078         down expression to avoid unexpected rounding in newer GCCs.
17079         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17080
17081 2012-04-26  David S. Miller  <davem@davemloft.net>
17082
17083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17084         long-double compat symbols.
17085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17098
17099 2012-04-25  David S. Miller  <davem@davemloft.net>
17100
17101         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17102         HWCAP_* values only after the memory barriers have been defined.
17103         (atomic_full_barrier): Define.
17104         (atomic_read_barrier): Define.
17105         (atomic_write_barrier): Define.
17106
17107 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17108
17109         * shlib-versions: Add libgcc_s version information.
17110         * sysdeps/generic/libgcc_s.h: Remove.
17111         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17112         libgcc_s.h.
17113         * sysdeps/gnu/unwind-resume.c: Likewise.
17114         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17115
17116 2012-04-25  David S. Miller  <davem@davemloft.net>
17117
17118         * sysdeps/unix/sparc/brk.S: Delete.
17119         * sysdeps/unix/sparc/dl-brk.S: Delete.
17120         * sysdeps/unix/sparc/pipe.S: Delete.
17121         * sysdeps/unix/sparc/sysdep.S: Delete.
17122         * sysdeps/unix/sparc/sysdep.h: Delete.
17123         * sysdeps/unix/sparc/vfork.S: Delete.
17124         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17125         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17126         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17127         ret_ERRVAL, r0, r1, MOVE): Define.
17128         (JUMPTARGET): Remove.
17129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17130         sysdeps/unix/sparc/sysdep.h
17131         (ENTRY, END): Remove.
17132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17133
17134 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
17135
17136         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17137         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17138         -DIS_IN_build.
17139
17140         * timezone/README: Update upstream location and email address for
17141         tzcode and tzdata.
17142         * timezone/zdump.c: Update from tzcode 2012b.
17143         * timezone/zic.c: Likewise.
17144
17145         * configure.in (libc_cv_as_needed): Remove test.
17146         * configure: Regenerated.
17147         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17148         conditional definition.
17149         [$(have-as-needed) != yes] (no-as-needed): Likewise.
17150         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17151         * config.make.in (have-as-needed): Remove variable.
17152
17153 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17154             Paul Pluzhnikov  <ppluzhnikov@google.com>
17155
17156         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17157         strings correctly.
17158
17159 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17160
17161         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17162         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17163         * sysdeps/sh/strlen.S: Likewise.
17164
17165 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
17166
17167         * sysdeps/unix/fork.S: Remove file.
17168         * sysdeps/unix/i386/fork.S: Likewise.
17169         * sysdeps/unix/sparc/fork.S: Likewise.
17170
17171         * sysdeps/unix/system.c: Remove file.
17172         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17173
17174         * sysdeps/unix/getegid.S: Remove file.
17175         * sysdeps/unix/geteuid.S: Likewise.
17176
17177 2012-04-24  Roland McGrath  <roland@hack.frob.com>
17178
17179         * scripts/check-localplt.awk: New file.
17180         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17181         of diff.
17182         * scripts/data/localplt-generic.data: Add a comment.
17183
17184         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17185         NODE when __dir_mkfile failed.
17186         * sysdeps/mach/hurd/symlinkat.c: Likewise.
17187         Reported by Ludovic Courtès <ludo@gnu.org>.
17188
17189 2012-04-24  Andreas Jaeger  <aj@suse.de>
17190
17191         * Makerules (common-clean): Also remove gen-as-const-headers
17192         files.
17193
17194 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
17195
17196         * Makerules (native-compile): Do not change working directory for
17197         build.  Use $(OUTPUT_OPTION) in command.
17198         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17199
17200 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17201
17202         [BZ #13886]
17203         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17204         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17205         * math/libm-test.inc (floor_test): Add more tests.
17206         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17207
17208 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
17209
17210         * sysdeps/unix/getdents.c: Remove file.
17211         * sysdeps/unix/sysv/getdents.c: Likewise.
17212         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17213
17214         * sysdeps/unix/syscalls.list (madvise): Add syscall from
17215         sysdeps/unix/mman/syscalls.list.
17216         (mmap): Likewise.
17217         (mprotect): Likewise.
17218         (msync): Likewise.
17219         (munmap): Likewise.
17220         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17221         * sysdeps/unix/mman/syscalls.list: Remove.
17222         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17223
17224         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17225         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17226         * configure: Regenerated.
17227         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17228         $(libgcc_s_suffix).
17229         * config.make.in (libgcc_s_suffix): Remove variable.
17230
17231 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
17232
17233         * sysdeps/unix/sysv/gethostname.c: Move to ...
17234         * sysdeps/posix/gethostname.c: ... here.
17235
17236         * sysdeps/unix/execve.S: Remove file.
17237
17238         * sysdeps/unix/_exit.S: Remove file.
17239
17240 2012-04-23  Andreas Jaeger  <aj@suse.de>
17241
17242         [BZ #13739]
17243         * manual/Makefile: Remove make dist support, there's no
17244         need for a stand-alone documentation tar ball.
17245         (TEXI2DVI): Define always, it's not in Makeconfig.
17246         (dist): Removed.
17247         (tar-it): Removed.
17248         (edition): Removed.
17249         (glibc-doc-$(edition).tar): Removed
17250         (%.Z): Removed.
17251         (%.gz): Removed.
17252         (%.uu): Removed.
17253         (ETAGS): Remove, it's in Makeconfig.
17254         (move-if-change): Remove, it's in Makeconfig.
17255
17256 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
17257
17258         [BZ #13970]
17259         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17260         (strtod, strtof, strtold, strtol, strtoul, strtoq)
17261         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17262         (strtod_l, strtof_l, strtold_l): Remove __wur.
17263         It is not necessarily an error to ignore strtol's return value.
17264         One can reliably look at the stored endptr to decide whether
17265         the number had valid syntax.
17266
17267 2012-04-21  Andreas Jaeger  <aj@suse.de>
17268
17269         [BZ #13739]
17270         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17271
17272 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
17273
17274         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17275         * sysdeps/unix/sysv/Versions: Remove file.
17276
17277 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
17278
17279         [BZ #13927]
17280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17281
17282 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
17283
17284         [BZ #7064]
17285         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17286         version from __vm86.
17287
17288 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
17289
17290         * sysdeps/unix/common/lxstat.c: Remove file.
17291         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17292
17293         * sysdeps/unix/sysv/Makefile: Remove file.
17294
17295         * sysdeps/unix/sysv/direct.h: Remove file.
17296
17297         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17298         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17299         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17300         * sysdeps/unix/sysv/bits/signum.h: Likewise.
17301         * sysdeps/unix/sysv/bits/stat.h: Likewise.
17302         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17303         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17304
17305         * sysdeps/unix/sysv/setrlimit.c: Remove file.
17306
17307         * sysdeps/unix/xmknod.c: Remove file.
17308         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17309
17310         * sysdeps/unix/sysv/settimeofday.c: Remove file.
17311
17312         * sysdeps/unix/sysv/i386/time.S: Remove file.
17313
17314         * sysdeps/unix/fxstat.c: Remove file.
17315         * sysdeps/unix/xstat.c: Likewise.
17316         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17317
17318         * sysdeps/unix/sysv/sigaction.c: Remove file.
17319
17320         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17321         (sysdep_headers): Remove variable.
17322         [termio.h not in sysdep_headers] (generated): Likewise.
17323         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17324         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17325         * sysdeps/unix/sysv/tcdrain.c: Likewise.
17326         * sysdeps/unix/sysv/tcflow.c: Likewise.
17327         * sysdeps/unix/sysv/tcflush.c: Likewise.
17328         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17329         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17330         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17331         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17332         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17333
17334         * sysdeps/unix/siglist.c: Remove file.
17335
17336         * sysdeps/unix/getppid.S: Remove file.
17337
17338         * sysdeps/unix/mkdir.c: Remove file.
17339         * sysdeps/unix/rmdir.c: Likewise.
17340
17341 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
17342
17343         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17344         ERR_MAX value.
17345         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17346         errlist-compat value.
17347
17348 2012-04-18  David S. Miller  <davem@davemloft.net>
17349
17350         * sysdeps/generic/memcopy.h (reg_char): Delete.
17351         * debug/strcat_chk.c: Use char, not reg_char.
17352         * debug/strcpy_chk.c: Likewise.
17353         * debug/strncat_chk.c: Likewise.
17354         * debug/strncpy_chk.c: Likewise.
17355         * string/memchr.c: Likewise.
17356         * string/memrchr.c: Likewise.
17357         * string/rawmemchr.c: Likewise.
17358         * string/strcat.c: Likewise.
17359         * string/strchr.c: Likewise.
17360         * string/strchrnul.c: Likewise.
17361         * string/strcmp.c: Likewise.
17362         * string/strcpy.c: Likewise.
17363         * string/strncat.c: Likewise.
17364         * string/strncmp.c: Likewise.
17365         * string/strncpy.c: Likewise.
17366
17367 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
17368
17369         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17370         __builtin_memcopy is called when src and dest ranges are known to not
17371         overlap.
17372
17373 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
17374
17375         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17376         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17377         fwd_align_merge macro call.
17378         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17379         bwd_align_merge macro call.
17380         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17381
17382 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
17383
17384         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17385         bwd_align_merge macros.
17386         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17387         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17388         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17389
17390 2012-04-18  David S. Miller  <davem@davemloft.net>
17391
17392         * sysdeps/sparc/sparc64/memcopy.h: Delete.
17393
17394 2012-04-18  Andreas Jaeger  <aj@suse.de>
17395
17396         [BZ# 6794]
17397         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17398         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17399         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17400
17401         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17402         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17403         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17404
17405         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17406         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17407         Adjust for changed ldbl-128 files.
17408
17409         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17410         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17411         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17412
17413 2012-04-17  David S. Miller  <davem@davemloft.net>
17414
17415         * sysdeps/sparc/sparc32/memcopy.h: Delete.
17416
17417 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
17418
17419         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17420         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17421         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17422         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17423         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17424         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17425
17426 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17427
17428         [BZ #6794]
17429         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17430         * math/libm-test.inc: Add ilogb errno and exception tests.
17431         * math/w_ilogb.c: New file: ilogb wrapper.
17432         * math/w_ilogbf.c: New file: ilogbf wrapper.
17433         * math/w_ilogbl.c: New file: ilogbl wrapper.
17434         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17435         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17436         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17437         exception being thrown with 0.0 as argument.
17438         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17439         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17440         exception being thrown with 0.0 as argument.
17441         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17442         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17443         exception being thrown with 0.0 as argument.
17444         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17445         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17446         exception being thrown with 0.0 as argument.
17447         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17448         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17449         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17450         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17451         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17452         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17453         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17454         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17455         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17456
17457 2012-04-17  Petr Baudis  <pasky@ucw.cz>
17458
17459         * include/sys/uio.h: Change __vector to __iovec to avoid clash
17460         with altivec.
17461
17462 2012-04-16  Marek Polacek  <polacek@redhat.com>
17463
17464         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17465
17466 2012-04-16  Marek Polacek  <polacek@redhat.com>
17467
17468         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17469         operands of fdivp instruction.
17470
17471 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
17472
17473         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17474         * elf/tst-auditmod3b.c: Likewise.
17475         * elf/tst-auditmod4b.c: Likewise.
17476         * elf/tst-auditmod5b.c: Likewise.
17477         * elf/tst-auditmod6b.c: Likewise.
17478         * elf/tst-auditmod6c.c: Likewise.
17479         * elf/tst-auditmod7b.c: Likewise.
17480         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17481         * sysdeps/x86_64/preconfigure.in: Likewise.
17482         * sysdeps/x86_64/preconfigure: Regenerated.
17483
17484 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
17485
17486         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17487         __ILP32__.
17488
17489 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
17490
17491         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17492         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17493
17494 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
17495
17496         [BZ #13973]
17497         * locale/iso-639.def: Fix gl language name. Spotted by
17498         Yaron Shahrabani.
17499
17500 2012-04-12  Roland McGrath  <roland@hack.frob.com>
17501
17502         [BZ #2074]
17503         * libio/libio.h (__io_write_fn): Update comment.
17504
17505 2012-04-12  Petr Baudis  <pasky@ucw.cz>
17506
17507         [BZ #2074]
17508         * stdio.texi (Hook Functions): The user provided writer function
17509         is not allowed to return -1.
17510
17511 2012-04-11  David S. Miller  <davem@davemloft.net>
17512
17513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17514
17515 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
17516
17517         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17518         Add a leading slash to rtkaio.
17519
17520 2012-04-11  Jim Meyering  <meyering@redhat.com>
17521
17522         [BZ #11959]
17523         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17524         It is not necessarily an error to ignore fwrite's return
17525         value.  One can reliably use ferror to test for errors after
17526         the fact.
17527
17528 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
17529
17530         * bits/types.h (__snseconds_t): New type.
17531         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17532
17533         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17534         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17535         (__SNSECONDS_T_TYPE): Likewise.
17536         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17537         (__SNSECONDS_T_TYPE): Likewise.
17538         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17539         (__SNSECONDS_T_TYPE): Likewise.
17540
17541 2012-04-10  Andreas Jaeger  <aj@suse.de>
17542
17543         [BZ #2636]
17544         * manual/time.texi (Processor Time): Return type of times is
17545         elapsed real time since an arbitrary point in the past.
17546         (CPU Time): Move CLK_TCK from here...
17547         (Processor Time): ...to here.  Correct description.
17548         * manual/conf.texi (Constants for Sysconf): Correct description of
17549         _SC_CLK_TCK.
17550
17551 2012-04-10  David S. Miller  <davem@davemloft.net>
17552
17553         [BZ #13967]
17554         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17555         where the is a gap between DT_REL(A) and DT_JMPREL.
17556
17557 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
17558
17559         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17560         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17561         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17562
17563 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17564
17565         * elf/dl-support.c (_dl_inhibit_cache): New variable.
17566         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17567         (dl_main): Handle --inhibit-cache.
17568         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17569         _dl_inhibit_cache.
17570         * elf/dl-load.c (_dl_map_object): Use it.
17571         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17572
17573 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
17574
17575         [BZ #13872]
17576         * sysdeps/i386/fpu/e_powl.S (p78): New object.
17577         (__ieee754_powl): Saturate large exponents rather than testing for
17578         overflow of y*log2(x).
17579         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17580         * math/libm-test.inc (pow_test): Do not permit spurious overflow
17581         exceptions.
17582
17583         [BZ #11521]
17584         * math/s_ctan.c: Include <float.h>.
17585         (__ctan): Avoid internal overflow or cancellation in calculating
17586         denominator.
17587         * math/s_ctanf.c: Likewise.
17588         * math/s_ctanl.c: Likewise.
17589         * math/s_ctanh.c: Likewise.
17590         * math/s_ctanhf.c: Likewise.
17591         * math/s_ctanhl.c: Likewise.
17592         * math/libm-test.inc (ctan_test): Add more tests.
17593         (ctanh_test): Likewise.
17594         * sysdeps/i386/fpu/libm-test-ulps: Update.
17595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17596
17597 2012-04-09  Andreas Jaeger  <aj@suse.de>
17598
17599         [BZ #6894]
17600         * manual/filesys.texi (Directory Entries): Mention that d_namlen
17601         is an optional BSD extension.
17602
17603         [BZ #10254]
17604         * manual/stdio.texi (Opening Streams): Document additional fopen
17605         parameters.
17606
17607 2012-04-09  Roland McGrath  <roland@hack.frob.com>
17608
17609         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17610         %eax without telling the compiler.
17611
17612 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
17613
17614         [BZ # 13963]
17615         * manual/install.texi: Use sourceware.org.
17616
17617 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
17618
17619         [BZ #13873]
17620         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17621         (__ieee754_pow): Generate overflow and underflow using huge*huge
17622         and tiny*tiny rather than just returning constant infinity or zero
17623         for large exponents.
17624         * math/libm-test.inc (pow_test): Require overflow exceptions for
17625         applicable cases of large exponents.
17626
17627         [BZ #706]
17628         * sysdeps/i386/fpu/e_pow.S (p10): New object.
17629         (__ieee754_pow): Use iterative multiplication algorithm only for
17630         integer exponents with absolute value below 1024.  Check for odd
17631         integer exponents when using algorithm for real exponents.
17632         * math/libm-test.inc (pow_test): Add more tests.
17633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17634
17635 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
17636
17637         [BZ #13705]
17638         * math/libm-test.inc (exp_test): Do not allow overflow exception
17639         on underflow test.
17640
17641 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
17642
17643         [BZ #13705]
17644         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17645         instead of __kernel_standard_f.
17646
17647 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
17648
17649         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17650         * sysdeps/x86_64/memset_chk.S: Likewise.
17651
17652 2012-04-08  Andreas Jaeger  <aj@suse.de>
17653
17654         [BZ #10153]
17655         * manual/startup.texi (Environment Access): Describe return value
17656         for putenv and setenv.
17657
17658         [BZ #6895]
17659         * manual/filesys.texi (Directory Entries): Add description for
17660         DT_LNK.
17661
17662         [BZ #6890]
17663         * manual/filesys.texi (Directory Entries): Clarify that it's file
17664         system not operating system in the description of DT_UNKNOWN.
17665
17666         [BZ #6578]
17667         * manual/syslog.texi (closelog): Fix reference, it's openlog.
17668
17669 2012-04-08  Stephen Compall  <s11@member.fsf.org>
17670
17671         [BZ #6649]
17672         * manual/llio.texi (Opening and Closing Files): Add cross
17673         reference to explain mode argument.
17674
17675 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
17676
17677         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17678         * sysdeps/x86_64/memset_chk.S: Likewise.
17679
17680 2012-04-07  David S. Miller  <davem@davemloft.net>
17681
17682         * elf/elf.h (R_SPARC_WDISP10): Define.
17683         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17684         R_SPARC_SIZE32.
17685         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17686         R_SPARC_SIZE64 and R_SPARC_H34.
17687
17688 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
17689
17690         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17691         conditions and remove no longer applicable assertion.
17692
17693 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17694
17695         * bits/byteswap.h: Include <features.h>.
17696         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17697         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17698
17699 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
17700
17701         * bits/byteswap.h (__bswap_16): Removed.
17702         Include <bits/byteswap-16.h> to get __bswap_16.
17703         * sysdeps/i386/bits/byteswap.h: Likewise.
17704         * sysdeps/s390/bits/byteswap.h: Likewise.
17705         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17706         * bits/byteswap-16.h: New file.
17707         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17708         * sysdeps/s390/bits/byteswap-16.h: Likewise.
17709         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17710         * string/Makefile (headers): Add bits/byteswap-16.h.
17711
17712 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17713
17714         [BZ #13895]
17715         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17716         extra indirection.
17717         * nss/Makefile (tests-static, tests): Add tst-nss-static.
17718         * nss/tst-nss-static.c: New.
17719
17720 2012-04-06  Robert Millan  <rmh@gnu.org>
17721
17722         [BZ #6486]
17723         * manual/llio.texi (File Position Primitive): lseek
17724         refers to WHENCE when it really means OFFSET.
17725
17726 2012-04-06  Andreas Jaeger  <aj@suse.de>
17727
17728         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17729         strncmp declarations.
17730
17731         * abilist/libc.abilist: Add __poll and __ppoll.
17732
17733 2012-04-05  David S. Miller  <davem@davemloft.net>
17734
17735         * scripts/check-local-headers.sh: Accept a host triplet in the
17736         path matched by the exclude regexp.
17737
17738         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17739         definition.
17740         * sysdeps/powerpc/powerpc32/dl-machine.h
17741         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17742         * sysdeps/s390/s390-32/dl-machine.h
17743         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17744         * sysdeps/sparc/sparc32/dl-machine.h
17745         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17746         * sysdeps/sparc/sparc64/dl-machine.h
17747         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17748
17749         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17750         lazy binding.
17751         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17752         undefined symbol errors.
17753
17754         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17755         DT_NEEDED entries.
17756
17757 2012-04-05  Michael Matz  <matz@suse.de>
17758
17759         [BZ #13592]
17760         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17761
17762 2012-04-05  Andreas Jaeger  <aj@suse.de>
17763
17764         [BZ #13908]
17765         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17766         comment.
17767
17768 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17769
17770         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17771         which ROUND is no valid rounding mode.
17772
17773 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17774
17775         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17776         read again.
17777         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17778
17779 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17780
17781         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17782         an exception using FPU order intentionally.
17783
17784 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17785
17786         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17787         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17788         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17789         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17790
17791 2012-04-05  Simon Josefsson  <simon@josefsson.org>
17792
17793         [BZ #12340]
17794         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17795         EINVAL when BUFLEN is too smal.
17796
17797 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17798
17799         [BZ #13553]
17800         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17801         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17802
17803 2012-04-03  Andreas Jaeger  <aj@suse.de>
17804
17805         [BZ #13938]
17806         * manual/setjmp.texi (System V contexts): Fix sentence.
17807
17808         [BZ #13926]
17809         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17810         New macro for this case.
17811         [!__GNUC__] (__bswap_64): New inline function for this case.
17812         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17813         * bits/byteswap.h: Likewise.
17814         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17815         ull, guard with __GLIBC_HAVE_LONG_LONG.
17816
17817         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17818         __GLIBC_HAVE_LONG_LONG.
17819
17820         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17821         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17822
17823 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17824
17825         [BZ #13691]
17826         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17827         inptr and inend, rather than using last_ch.
17828
17829 2012-04-02  David S. Miller  <davem@davemloft.net>
17830
17831         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17832         * stdio-common/printf-parse.h (read_int): Change return type to
17833         'int', return -1 on INT_MAX overflow.
17834         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17835         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17836         overflows INT_MAX.  Check for overflow of in-format-string precision
17837         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17838         SIZE_MAX not INT_MAX for integer overflow test.
17839         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17840         skip the construct in the format string but do not record anything.
17841         * stdio-common/bug22.c: Adjust to test both width/prevision
17842         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17843         explicitly for proper errno values.
17844
17845 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17846
17847         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17848         CHAR_MAX.
17849         * string/test-strcmp.c [! WIDE]: Likewise.
17850         * time/tst-mktime2.c: Likewise for INT_MAX.
17851         * string/test-string.h: #include <sys/param.h> for MIN.
17852
17853         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17854         * sysdeps/i386/init-first.c (init): Likewise.
17855         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17856         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17857         * sysdeps/sh/init-first.c (init): Likewise.
17858
17859 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17860
17861         * po/ru.po: Update from translation team.
17862         * po/vi.po: Likewise.
17863
17864 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17865
17866         * resolv/nss_dns/dns-host.c: Merge copyright years.
17867
17868 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17869
17870         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17871         Optimize memcpy with prefetch if
17872         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17873         src, dst pointers have unequal 16 byte alignments.
17874
17875 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17876
17877         [BZ #13928]
17878         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17879         from a CNAME entry and return the minimum ttl for the query.
17880         (gaih_getanswer_slice): Likewise.
17881
17882 2012-03-30  Jeff Law  <law@redhat.com>
17883
17884         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17885         due to long keys.
17886         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17887         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17888
17889         * resolv/nss_dns/dns-host.c: Update copyright year.
17890
17891 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17892
17893         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17894         requests to save a system call.  Fix check that all bytes are sent.
17895
17896         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17897         comments for sendmmsg.
17898
17899 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17900
17901         [BZ #13691]
17902         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17903         with only 1 character between 0x0041 and 0x01b0.
17904         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17905         * wcsmbs/tst-mbsnrtowcs.c: New file.
17906
17907 2012-03-29  David S. Miller  <davem@davemloft.net>
17908
17909         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17910         small copies by hand.
17911
17912 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17913
17914         [BZ #13761]
17915         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17916         _nss_compat_initgroups_dyn): Fall back to malloc/free
17917         for large group memberships.
17918
17919 2012-03-28  David S. Miller  <davem@davemloft.net>
17920
17921         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17922         that branches into memcpy.
17923         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17924         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17925         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17926         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17927         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17928         bits.
17929         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17930         implementation too.
17931         * sysdeps/sparc/mempcpy.S: New file.
17932
17933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17934         the IFUNC routine in the libc case.
17935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17936
17937         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17938         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17939         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17940         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17941         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17942         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17943         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17944         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17945
17946         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17947         loop to 256 bytes instead of 64 bytes and fix test signedness.
17948
17949         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17950         * sysdeps/sparc/sparc32/Makefile: rather than here...
17951         * sysdeps/sparc/sparc64/Makefile: and here.
17952
17953 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17954
17955         * malloc/mallocbug.c: Avoid warnings about unused variables.
17956
17957 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17958
17959         [BZ #13760]
17960         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17961         in the right place. Discard and retry query if response is
17962         larger than input buffer size.
17963
17964 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17965
17966         [BZ #369]
17967         [BZ #2678]
17968         [BZ #3866]
17969         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17970         x for large integer exponent.
17971         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17972         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17973         sign of result as needed afterwards.
17974         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17975         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17976         result for underflowing pow the same as for overflow.
17977         (__kernel_standard_l): Handle powl overflow and underflow here
17978         rather than calling __kernel_standard.
17979         * math/libm-test.inc (pow_test): Add more tests.
17980
17981         [BZ #3868]
17982         [BZ #13879]
17983         [BZ #13910]
17984         [BZ #13911]
17985         [BZ #13912]
17986         [BZ #13913]
17987         [BZ #13915]
17988         [BZ #13916]
17989         [BZ #13917]
17990         [BZ #13918]
17991         [BZ #13919]
17992         [BZ #13920]
17993         [BZ #13921]
17994         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17995         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17996         (__kernel_standard_l): New function.
17997         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17998         __kernel_standard.
17999         * math/w_acosl.c (__acosl): Likewise.
18000         * math/w_asinl.c (__asinl): Likewise.
18001         * math/w_atan2l.c (__atan2l): Likewise.
18002         * math/w_atanhl.c (__atanhl): Likewise.
18003         * math/w_coshl.c (__coshl): Likewise.
18004         * math/w_exp10l.c (__exp10l): Likewise.
18005         * math/w_exp2l.c (__exp2l): Likewise.
18006         * math/w_fmodl.c (__fmodl): Likewise.
18007         * math/w_hypotl.c (__hypotl): Likewise.
18008         * math/w_j0l.c (__j0l, __y0l): Likewise.
18009         * math/w_j1l.c (__j1l, __y1l): Likewise.
18010         * math/w_jnl.c (__jnl, __ynl): Likewise.
18011         * math/w_lgammal.c (__lgammal): Likewise.
18012         * math/w_log10l.c (__log10l): Likewise.
18013         * math/w_log2l.c (__log2l): Likewise.
18014         * math/w_logl.c (__logl): Likewise.
18015         * math/w_powl.c (__powl): Likewise.
18016         * math/w_remainderl.c (__remainderl): Likewise.
18017         * math/w_scalbl.c (sysv_scalbl): Likewise.
18018         * math/w_sinhl.c (__sinhl): Likewise.
18019         * math/w_sqrtl.c (__sqrtl): Likewise.
18020         * math/w_tgammal.c (__tgammal): Likewise.
18021         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18022         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18023         * math/libm-test.inc (acos_test): Add more tests.
18024         (acosh_test): Likewise.
18025         (asin_test): Likewise.
18026         (atanh_test): Likewise.
18027         (exp_test): Likewise.
18028         (exp10_test): Likewise.
18029         (exp2_test): Likewise.
18030         (expm1_test): Likewise.
18031         (lgamma_test): Likewise.
18032         (log_test): Likewise.
18033         (log10_test): Likewise.
18034         (log1p_test): Likewise.
18035         (log2_test): Likewise.
18036         (pow_test): Do not allow some spurious overflow exceptions.
18037         (sqrt_test): Add more tests.
18038         (tgamma_test): Likewise.
18039         (y0_test): Likewise.
18040         (y1_test): Likewise.
18041         (yn_test): Likewise.
18042
18043 2012-03-27  Anton Blanchard  <anton@samba.org>
18044
18045         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18046         MAP_HUGETLB.
18047         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18048         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18049         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18050
18051 2012-03-27  David S. Miller  <davem@davemloft.net>
18052
18053         * conform/Makefile: Run run-conformtest.sh using $(BASH).
18054
18055         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18056         have-as-vis3 check.
18057
18058 2012-03-27  Andreas Jaeger  <aj@suse.de>
18059
18060         * sysdeps/x86_64/elf/configure.in: Moved to ...
18061         * sysdeps/x86_64/configure.in: ... here.
18062         * sysdeps/x86_64/elf/start.S: Moved to ...
18063         * sysdeps/x86_64/start.S: ... here.
18064         * sysdeps/x86_64/elf/configure: Delete.
18065
18066         * sysdeps/x86_64/configure.in: Merge contents from
18067         sysdeps/i386/configure.in (without i686 check).
18068
18069         * sysdeps/i386/elf/Versions: Merge into ...
18070         * sysdeps/i386/Versions: ... this.
18071         * sysdeps/i386/elf/Versions: Delete file.
18072         * sysdeps/i386/elf/start.S: Moved to ...
18073         * sysdeps/i386/start.S: ...here.
18074         * sysdeps/i386/elf/configure.in: Merge into...
18075         * sysdeps/i386/configure.in: ...here.
18076         * sysdeps/i386/elf/configure.in: Delete file.
18077         * sysdeps/i386/elf/configure: Delete file.
18078
18079         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18080         * debug/backtracesyms.c: ... here.
18081         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18082         * debug/backtracesymsfd.c: ... here.
18083         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18084         * sysdeps/generic/ifunc-sel.h: ... here.
18085
18086         * sysdeps/unix/i386/start.c: Delete file.
18087         * sysdeps/unix/sparc/start.c: Delete file.
18088         * sysdeps/unix/start.c: Delete file.
18089
18090         * sysdeps/sh/elf/configure.in: Moved to ...
18091         * sysdeps/sh/configure.in: ... here.
18092         * sysdeps/sh/elf/start.S: Moved to ...
18093         * sysdeps/sh/start.S: ... here.
18094         * sysdeps/sh/elf/configure: Delete file.
18095
18096         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18097         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18098         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18099         * sysdeps/powerpc/powerpc64/entry.h: ... here.
18100         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18101         * sysdeps/powerpc/powerpc64/start.S: here.
18102         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18103         * sysdeps/powerpc/powerpc64/Makefile: ... this.
18104         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18105         * sysdeps/powerpc/powerpc64/configure.in: ... this.
18106         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18107
18108         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18109         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18110         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18111         * sysdeps/powerpc/powerpc32/start.S: ... here.
18112         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18113         * sysdeps/powerpc/powerpc32/configure.in: ... this.
18114         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18115
18116         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18117         * sysdeps/powerpc/ifunc-sel.h: ... here.
18118         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18119         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18120
18121         * sysdeps/sparc/elf/configure.in: Moved to ...
18122         * sysdeps/sparc/configure.in: ... here.
18123         * sysdeps/sparc/elf/configure: Delete file.
18124         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18125         * sysdeps/sparc/sparc32/start.S: ... here.
18126         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18127         * sysdeps/sparc/sparc64/start.S: ... here.
18128         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18129         * sysdeps/sparc/sparc32/Makefile: ... this.
18130         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18131         * sysdeps/sparc/sparc64/Makefile: ... this.
18132
18133         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18134         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18135         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18136         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18137         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18138         * sysdeps/s390/s390-32/setjmp.S: ... here.
18139         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18140         * sysdeps/s390/s390-32/configure.in: ... here.
18141         * sysdeps/s390/s390-32/elf/configure: Delete file.
18142         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18143         * sysdeps/s390/s390-32/start.S: ... here.
18144
18145         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18146         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18147         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18148         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18149         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18150         * sysdeps/s390/s390-64/setjmp.S: ... here.
18151         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18152         * sysdeps/s390/s390-64/configure.in: ... here
18153         * sysdeps/s390/s390-64/elf/configure: Delete file.
18154         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18155         * sysdeps/s390/s390-64/start.S: ... here.
18156         * sysdeps/s390/s390-64/elf/configure: Delete.
18157
18158         * configure.in: Remove support for elf directories in sysdeps.
18159
18160         * configure: Regenerated.
18161         * sysdeps/i386/configure: Regenerated.
18162         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18163         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18164         * sysdeps/s390/s390-32/configure: Regenerated.
18165         * sysdeps/s390/s390-64/configure: Regenerated.
18166         * sysdeps/sh/configure: Regenerated.
18167         * sysdeps/sparc/configure: Regenerated.
18168         * sysdeps/x86_64/configure: Regenerated.
18169
18170 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
18171
18172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18173
18174         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18175         denormal result into account.
18176
18177 2012-03-25  Roland McGrath  <roland@hack.frob.com>
18178
18179         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18180         Reported by Allan McRae <allan@archlinux.org>.
18181
18182 2012-03-23  Jeff Law  <law@redhat.com>
18183
18184         * nss/getnssent.c (__nss_getent): Fix typo.
18185
18186 2012-03-23  David S. Miller  <davem@davemloft.net>
18187
18188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18189
18190 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
18191
18192         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18193         to pad to uint64_t for each field.
18194         (dl_tls_index): Replace unsigned long with uint64_t.
18195
18196 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
18197         Paul Pluzhnikov  <ppluzhnikov@google.com>
18198
18199         [BZ #6528]
18200         * grp/Makefile (otherlibs): Don't set it.
18201         * inet/Makefile (otherlibs): Likewise.
18202         * login/Makefile (otherlibs): Likewise.
18203         * nscd/Makefile (otherlibs): Likewise.
18204         * posix/Makefile (otherlibs): Likewise.
18205         * pwd/Makefile (otherlibs): Likewise.
18206         * rt/Makefile (otherlibs): Likewise.
18207         * sunrpc/Makefile (otherlibs): Likewise.
18208         * nss/Makefile (otherlibs): Likewise.
18209         Add libnss_files to routines and static-only-routines.
18210         ($(objpfx)getent): Remove rule.
18211         * resolv/Makefile: Add libnss_dns and libresolv to routines and
18212         static-only-routines.
18213
18214 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
18215
18216         [BZ #13892]
18217         * math/s_cexp.c: Include <float.h>.
18218         (__cexp): Handle exp result overflowing not necessarily
18219         overflowing both real and imaginary parts of result.
18220         * math/s_cexpf.c: Likewise.
18221         * math/s_cexpl.c: Likewise.
18222         * math/libm-test.inc (cexp_test): Add more tests.
18223         * sysdeps/i386/fpu/libm-test-ulps: Update.
18224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18225
18226 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18227
18228         * include/link.h (ELFW): New macro.
18229         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18230         Replace ELF64_R_TYPE with ELFW(R_TYPE).
18231
18232 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18233
18234         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18235         with uint64_t.
18236
18237 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18238
18239         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18240         declaration.
18241         (struct La_x32_retval): Likewise.
18242
18243 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18244
18245         * sysdeps/x86_64/preconfigure.in: New file.
18246         * sysdeps/x86_64/preconfigure: New generated file.
18247
18248 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
18249
18250         [BZ #13824]
18251         * math/e_exp2l.c: Include <float.h>.
18252         (__ieee754_exp2l): Handle overflow and underflow cases
18253         separately.  Only pass fractional part of argument to
18254         __ieee754_expl.
18255         * math/libm-test.inc (exp2_test): Add more tests.
18256
18257         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18258         negating x to take absolute value.
18259         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18260         Likewise.
18261         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18262         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18263         Likewise.
18264         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18265         computing low part if x was negated.
18266         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18267
18268 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18269
18270         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18271         la_x32_gnu_pltexit.
18272         (pltexit): Cast int_retval to ptrdiff_t.
18273         * elf/tst-auditmod3b.c: Likewise.
18274         * elf/tst-auditmod4b.c: Likewise.
18275         * elf/tst-auditmod5b.c: Likewise.
18276         * elf/tst-auditmod6b.c: Likewise.
18277         * elf/tst-auditmod6c.c: Likewise.
18278         * elf/tst-auditmod7b.c: Likewise.
18279
18280         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18281         and x32_gnu_pltexit.
18282
18283         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18284         __ELF_NATIVE_CLASS.
18285         (La_x32_regs): New macro.
18286         (La_x32_retval): Likewise.
18287         (la_x32_gnu_pltenter): New function prototype.
18288         (la_x32_gnu_pltexit): Likewise.
18289
18290 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
18291
18292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18293         exponent.
18294
18295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18296
18297         * configure.in (libc_cv_cc_nofma): Check for option to disable
18298         generation of FMA instructions.
18299         * configure: Regenerate.
18300         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18301         * sysdeps/ieee754/dbl-64/Makefile: New file.
18302         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18303         Remove brandred-fma4.
18304         (CFLAGS-brandred-fma4.c): Remove.
18305         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18306         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18307         define.
18308         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18309         define.
18310
18311 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18312
18313         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18314         LLONG_MAX != LONG_MAX.
18315         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18316         (_fitoa_word): Likewise.
18317         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18318         LLONG_MAX != LONG_MAX.
18319         * stdio-common/_itowa.h: Include <_itoa.h>.
18320         (_itowa_word): Use _ITOA_WORD_TYPE on value.
18321         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
18322         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
18323         only if not defined.
18324         (_ITOA_WORD_TYPE): Likewise.
18325         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18326         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18327
18328 2012-03-21  David S. Miller  <davem@davemloft.net>
18329
18330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18331
18332 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18333
18334         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18335         of x86_64 when setting libc_cv_slibdir, libdir and
18336         libc_cv_localedir.
18337         * sysdeps/unix/sysv/linux/configure: Regenerated.
18338
18339 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
18340
18341         * manual/lang.texi (Old Varargs): Remove section.
18342         (How Variadic): Update menu.
18343         (va_start): Do not mention varargs.h.
18344
18345 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18346             Joseph Myers  <joseph@codesourcery.com>
18347
18348         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18349         link test.
18350         * configure: Regenerated.
18351
18352 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18353
18354         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18355         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18356         conformtest.pl
18357
18358 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
18359
18360         * NOTES: Remove.
18361         * Makefile (files-for-dist): Remove NOTES.
18362         (NOTES): Remove rule.
18363         * README: Don't refer to NOTES.
18364         * manual/creature.texi: Don't include macros.texi.
18365         * manual/intro.texi (creature.texi): Remove comment referring to
18366         NOTES.
18367
18368         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18369         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18370         * configure: Regenerated.
18371         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18372         LIBC_TRY_CC_OPTION.
18373         (libc_cv_as_i686): Likewise.
18374         (libc_cv_cc_avx): Likewise.
18375         (libc_cv_cc_sse2avx): Likewise.
18376         (libc_cv_cc_fma4): Likewise.
18377         (libc_cv_cc_novzeroupper): Likewise.
18378         * sysdeps/i386/configure: Regenerated.
18379
18380         [BZ #13883]
18381         * sysdeps/i386/fpu/s_cexp.S: Remove.
18382         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18383         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18384         * math/libm-test.inc (cexp_test): Add more tests.
18385         * sysdeps/i386/fpu/libm-test-ulps: Update.
18386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18387
18388 2012-03-21  Allan McRae  <allan@archlinux.org>
18389
18390         * timezone/Makefile: Do not install iso3166.tab and zone.tab
18391
18392 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
18393
18394         [BZ #13871]
18395         * math/w_exp2.c: Do not include <float.h>.
18396         (o_threshold, u_threshold): Remove.
18397         (__exp2): Calculate result before checking finiteness and calling
18398         __kernel_standard.
18399         * math/w_exp2f.c: Likewise.
18400         * math/w_exp2l.c: Likewise.
18401         * math/libm-test.inc (exp2_test): Require overflow exception for
18402         1e6 input.
18403
18404         [BZ #3866]
18405         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18406         range of signed 64-bit integers before using fistpll.  Remove
18407         checks for whether integers fit in mantissa bits.
18408         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18409         the range of signed 32-bit integers before using fistpl.  Remove
18410         checks for whether integers fit in mantissa bits.
18411         * sysdeps/i386/fpu/e_powl.S (p64): New object.
18412         (__ieee754_powl): Test for y outside the range of signed 64-bit
18413         integers before using fistpll.  Reduce 64-bit values to 63-bit
18414         ones as needed.
18415         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18416         divide-by-zero is raised for zero to large negative powers.
18417         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18418         (__ieee754_powl): Test for y outside the range of signed 64-bit
18419         integers before using fistpll.  Reduce 64-bit values to 63-bit
18420         ones as needed.
18421         * math/libm-test.inc (pow_test): Add more tests.
18422
18423 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18424
18425         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18426         <stdio-common/_itoa.h>.
18427         * debug/segfault.c: Likewise.
18428         * elf/dl-cache.c: Likewise.
18429         * elf/dl-minimal.c: Likewise.
18430         * elf/dl-misc.c: Likewise.
18431         * elf/dl-sysdep.c: Likewise.
18432         * elf/dl-version.c: Likewise.
18433         * elf/rtld.c: Likewise.
18434         * hurd/hurdsock.c: Likewise.
18435         * hurd/lookup-retry.c: Likewise.
18436         * malloc/malloc.c: Likewise.
18437         * malloc/mtrace.c: Likewise.
18438         * nscd/nscd_getgr_r.c: Likewise.
18439         * nscd/nscd_getpw_r.c: Likewise.
18440         * nscd/nscd_getserv_r.c: Likewise.
18441         * posix/getopt_init.c: Likewise.
18442         * posix/wordexp.c: Likewise.
18443         * stdio-common/_itoa.c: Likewise.
18444         * stdio-common/printf_fphex.c: Likewise.
18445         * stdio-common/vfprintf.c: Likewise.
18446         * string/_strerror.c: Likewise.
18447         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18448         * sysdeps/i386/i686/hp-timing.h: Likewise.
18449         * sysdeps/mach/_strerror.c: Likewise.
18450         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18451         * sysdeps/mach/hurd/sethostid.c: Likewise.
18452         * sysdeps/mach/hurd/xmknodat.c: Likewise.
18453         * sysdeps/mach/xpg-strerror.c: Likewise.
18454         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18455         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18456         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18457         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18458         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18459         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18460         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18461         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18462         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18463         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18464         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18465         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18466         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18467         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18468         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18469         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18470         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18471         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18472         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18473         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18474         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18475
18476         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18477
18478         * stdio-common/_itoa.h: Moved to ...
18479         * sysdeps/generic/_itoa.h: Here.
18480
18481         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18482
18483         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18484         instead of "_itoa.h" and "_itowa.h".
18485         * stdio-common/vfprintf.: Likewise.
18486
18487 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18488
18489         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18490         <bits/wordsize.h>.
18491         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18492         (__signbit): Likwise.
18493         (llrintf): Likwise.
18494         (llrint): Likwise.
18495
18496 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18497
18498         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18499         __WORDSIZE != 64.
18500
18501 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
18502
18503         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18504         OVERFLOW_EXCEPTION_OK.
18505         * math/libm-test.inc ("Philosophy"): Update comment about
18506         exception testing.
18507         (OVERFLOW_EXCEPTION): Define.
18508         (OVERFLOW_EXCEPTION_OK): Likewise.
18509         (INVALID_EXCEPTION_OK): Renumber.
18510         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18511         (IGNORE_ZERO_INF_SIGN): Likewise.
18512         (test_exceptions): Handle FE_OVERFLOW.
18513         (exp10_test): Expect overflow exceptions.
18514         (exp2_test): Likewise.
18515         (expm1_test): Likewise.
18516         (nextafter_test): Likewise.
18517         (pow_test): Likewise.
18518         (scalbn_test): Likewise.
18519         (scalbln_test): Likewise.
18520
18521 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18522
18523         * sysdeps/x86_64/bits/atomic.h
18524         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18525         64bit integer.
18526         (atomic_exchange_acq): Likewise.
18527         (__arch_exchange_and_add_body): Likewise.
18528         (__arch_add_body): Likewise.
18529         (atomic_add_negative): Likewise.
18530         (atomic_add_zero): Likewise.
18531
18532 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18533
18534         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18535         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18536
18537 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18538
18539         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18540         Check __x86_64__ instead of __WORDSIZE.
18541
18542 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18543
18544         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18545
18546 2012-03-19  David S. Miller  <davem@davemloft.net>
18547
18548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18549
18550         * sysdeps/sparc/fpu/fenv_private.h: New file.
18551         * sysdeps/sparc/fpu/math_private.h: Use it.
18552         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18553         Remove.
18554         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18555         (libc_feholdexcept_setroundl): Remove.
18556         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18557         Remove.
18558         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18559         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18560
18561 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18562
18563         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18564         int64_t instead of long int.
18565         (INSERT_WORDS64): Likwise.
18566
18567 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
18568
18569         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18570         _Unwind_GetCFA return to _Unwind_Ptr first.
18571
18572 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
18573
18574         [BZ #13629]
18575         * math/s_clog.c: Include <float.h>.
18576         (__clog): Scale large or subnormal inputs.
18577         * math/s_clogf.c: Likewise.
18578         * math/s_clogl.c: Likewise.
18579         * math/s_clog10.c: Include <float.h>.
18580         (M_LOG10_2): Define.
18581         (__clog10): Scale large or subnormal inputs.
18582         * math/s_clog10f.c: Likewise.
18583         * math/s_clog10l.c: Likewise.
18584         * math/libm-test.inc (clog_test): Add more tests.
18585         (clog10_test): Likewise.
18586         * sysdeps/i386/fpu/libm-test-ulps: Update.
18587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18588
18589         [BZ #11451]
18590         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18591         x and y.
18592         * math/libm-test.inc (atan2_test): Add another test.
18593
18594         * Makerules (common-objdir-compile): Remove.
18595         * sysdeps/unix/Makefile (config-generated): Do not add
18596         $(unix-generated) to variable.
18597         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18598         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18599         Remove rule.
18600         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18601         Likewise.
18602         [generic bits/local_lim.h] (before-compile): Do not append to
18603         variable.
18604         [generic bits/local_lim.h] (common-generated): Likewise.
18605         [generic sys/param.h] (before-compile): Do not append to variable.
18606         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18607         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18608         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18609         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18610         include.
18611         [generic sys/param.h] (sys/param.h-includes): Remove variable.
18612         [generic sys/param.h] (sys/param.h-includes): Remove rule.
18613         [generic sys/param.h] ($(addprefix
18614         $(common-objpfx),$(sys/param.h-includes))): Likewise.
18615         [generic sys/param.h] (common-generated): Do not append to
18616         variable.
18617         [generic sys/param.h] (sysdep_headers): Likewise.
18618         [generic bits/errno.h] (before-compile): Do not append to
18619         variable.
18620         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18621         rule.
18622         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18623         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18624         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18625         [generic bits/errno.h] (common-generated): Do not append to
18626         variable.
18627         [generic bits/ioctls.h] (before-compile): Do not append to
18628         variable.
18629         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18630         rule.
18631         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18632         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18633         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18634         rule.
18635         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18636         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18637         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18638         [generic bits/ioctls.h] (common-generated): Do not append to
18639         variable.
18640         [generic sys/syscall.h] (syscall.h): Remove variable.
18641         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18642         rule.
18643         [generic sys/syscall.h] (before-compile): Do not append to
18644         variable.
18645         [generic sys/syscall.h] (common-generated): Likewise.
18646         * sysdeps/unix/errnos-tmpl.c: Remove file.
18647         * sysdeps/unix/errnos.awk: Likewise.
18648         * sysdeps/unix/ioctls-tmpl.c: Likewise.
18649         * sysdeps/unix/ioctls.awk: Likewise.
18650         * sysdeps/unix/mk-local_lim.c: Likewise.
18651         * sysdeps/unix/snarf-ioctls: Likewise.
18652
18653 2012-03-19  Richard Henderson  <rth@twiddle.net>
18654
18655         * sysdeps/i386/fpu/fenv_private.h: New file.
18656         * sysdeps/i386/fpu/math_private.h: Use it.
18657         (math_opt_barrier, math_force_eval): Remove.
18658         (libc_feholdexcept_setround_53bit): Remove.
18659         (libc_feupdateenv_53bit): Remove.
18660         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18661         (math_opt_barrier, math_force_eval): Remove.
18662         (libc_feholdexcept): Remove.
18663         (libc_feholdexcept_setround): Remove.
18664         (libc_fetestexcept, libc_fesetenv): Remove.
18665         (libc_feupdateenv_test): Remove.
18666         (libc_feupdateenv, libc_feholdsetround): Remove.
18667         (libc_feresetround): Remove.
18668
18669         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18670         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18671
18672         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18673         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18674         (libc_feupdateenv_testl): New.
18675         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18676         (libc_feupdateenv_testf): New.
18677         (libc_feupdateenv): Use libc_feupdateenv_test.
18678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18679         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18680
18681         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18682         (libc_feholdsetroundf, libc_feholdsetroundl): New.
18683         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18684         (libc_feresetround_noex): New.
18685         (libc_feresetround_noexf): New.
18686         (libc_feresetround_noexl): New.
18687         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18688         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18689         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18690         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18691         SET_RESTORE_ROUND.
18692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18693         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18694         (__cos): Likewise.
18695         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18696         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18697         SET_RESTORE_ROUND_NOEX.
18698         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18699         SET_RESTORE_ROUND_NOEXF.
18700         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18701         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18702         (libc_feholdsetroundf): New.
18703         (libc_feresetround, libc_feresetroundf): New.
18704
18705         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18706         (libc_feholdexcept_setround_53bit): Convert from macro to function.
18707         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
18708
18709         * sysdeps/generic/math_private.h: Include <fenv.h>.
18710         (default_libc_feholdexcept): New.
18711         (default_libc_feholdexcept_setround): New.
18712         (default_libc_fesetenv, default_libc_feupdateenv): New.
18713         (libc_feholdexcept): Only define if undefined.
18714         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18715         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18716         (libc_feholdexcept_setroundl): Likewise.
18717         (libc_feholdexcept_setround_53bit): Likewise.
18718         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18719         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18720         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18721         (libc_feupdateenv_53bit): Likewise.
18722         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18723         (libc_feholdexcept): Convert from macro to inline function.
18724         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18725         (libc_fesetenv, libc_feupdateenv): Likewise.
18726
18727         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18728         not previously defined.
18729         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18730         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18731         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18732         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18733         * sysdeps/ieee754/flt-32/math_private.h: New file.
18734         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18735         math_private.h below SET_FLOAT_WORD.
18736         (__isnan, __isinf_ns, __finite): Remove.
18737         (__isnanf, __isinf_nsf, __finitef): Remove.
18738
18739 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
18740
18741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18742
18743 2012-03-17  David S. Miller  <davem@davemloft.net>
18744
18745         [BZ #6471]
18746         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18747         for 2.16.
18748
18749 2012-03-16  David S. Miller  <davem@davemloft.net>
18750
18751         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18752         warnings.
18753
18754         [BZ #6471]
18755         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18756         properly.
18757         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18758         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18759         sysdep_routines when subdir is sysvipc.
18760         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18761         __getshmlba helper.
18762
18763         * sysdeps/sparc/fpu/libm-test/ulps: Update.
18764
18765 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18766
18767         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18768         [__LP64__].
18769
18770 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18771
18772         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18773         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18774         (__lround): Renamed to ...
18775         (__llround): This.  Replace long int with long long int.
18776         Define lround functions as aliases of llround functions.
18777         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18778
18779 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18780
18781         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18782         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
18783         adresses to uintptr_t.  Replace "long int" and "unsigned long
18784         int" with "greg_t" on va_arg.
18785
18786 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18787
18788         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18789         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18790
18791         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18792         Move e_machine check before EI_CLASS check.  Handle x32
18793         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18794         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18795         SKIP_EM_IA_64 and include
18796         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18797
18798         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18799         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18800         (add_system_dir): New macro.
18801
18802         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18803         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18804
18805 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18806
18807         [BZ #2551]
18808         [BZ #2552]
18809         [BZ #2553]
18810         [BZ #2554]
18811         [BZ #2562]
18812         [BZ #2563]
18813         [BZ #2565]
18814         [BZ #2566]
18815         [BZ #2576]
18816         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18817         (y0): Likewise.
18818         * math/w_j0f.c (j0f): Likewise.
18819         (y0f): Likewise.
18820         * math/w_j0l.c (__j0l): Likewise.
18821         (__y0l): Likewise.
18822         * math/w_j1.c (j1): Likewise.
18823         (y1): Likewise.
18824         * math/w_j1f.c (j1f): Likewise.
18825         (y1f): Likewise.
18826         * math/w_j1l.c (__j1l): Likewise.
18827         (__y1l): Likewise.
18828         * math/w_jn.c (jn): Likewise.
18829         (yn): Likewise.
18830         * math/w_jnf.c (jnf): Likewise.
18831         (ynf): Likewise.
18832         * math/w_jnl.c (__jnl): Likewise.
18833         (__ynl): Likewise.
18834         * math/libm-test.inc (j0_test): Add more tests.
18835         (j1_test): Likewise.
18836         (jn_test): Likewise.  Add trailing semicolon to existing test.
18837         (y0_test): Likewise.
18838         (y1_test): Likewise.
18839         * sysdeps/i386/fpu/libm-test-ulps: Update.
18840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18841
18842         [BZ #13851]
18843         [BZ #13854]
18844         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18845         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18846         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18847         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18848         (__tanl): Set errno for infinite argument.
18849         * sysdeps/i386/fpu/mptan.c: Remove.
18850         * sysdeps/i386/fpu/s_tan.S: Likewise.
18851         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18852         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18853         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18854         * math/libm-test.inc (tan_test): Add more tests and enable more
18855         tests for double and long double.
18856         * sysdeps/i386/fpu/libm-test-ulps: Update.
18857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18858
18859 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18860
18861         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18862         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18863
18864 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18865
18866         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18867         * configure.in: Use it for both main tree and add-ons.
18868         * configure: Regenerated.
18869
18870 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18871
18872         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18873
18874 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18875
18876         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18877         in comment.
18878
18879         [BZ #13851]
18880         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18881         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18882         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18883         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18884         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18885         infinite argument.
18886         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18887         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18888         != 0 for prec == 2.
18889         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18890         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18891         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18892         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18893         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18894         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18895         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18896         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18897         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18898         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18899         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18900         * math/libm-test.inc (cos_test): Add more tests and enable more
18901         tests for long double.
18902         (sin_test): Likewise.
18903         (sincos_test): Likewise.
18904         * sysdeps/i386/fpu/libm-test-ulps: Update.
18905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18906
18907 2012-03-16  David S. Miller  <davem@davemloft.net>
18908
18909         * sysdeps/sparc/fpu/math_private.h: New file.
18910
18911 2012-03-15  David S. Miller  <davem@davemloft.net>
18912
18913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18914         file.
18915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18917         file.
18918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18923         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18924         sysdep routines.
18925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18926
18927         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18928         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18929
18930         * sysdeps/sparc/sparc-ifunc.h: New file.
18931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18932         sparc-ifunc.h
18933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18935         Likewise.
18936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18937         Likewise.
18938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18942         Likewise.
18943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18948         Likewise.
18949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18950         Likewise.
18951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18957         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18958         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18959         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18960         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18965         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18966         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18967         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18968         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18969         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18970         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18971         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18972         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18973         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18974         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18975
18976 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18977
18978         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18979         scaling.
18980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18981
18982 2012-03-15  Andreas Jaeger  <aj@suse.de>
18983
18984         [BZ #13852]
18985         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18986         ieee754/flt-32 implementation for sin, cos and sincos.
18987         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18988         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18989         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18990         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18991         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18992         ieee754/flt-32 implementation for tan.
18993
18994         * math/libm-test.inc (cos_test): Enable some large input tests for
18995         float as well
18996         (sin_test): Likewise.
18997         (sincos_test): Likewise.
18998         (tan_test): Add tests for large input.
18999
19000         * sysdeps/i386/fpu/libm-test-ulps: Update.
19001
19002 2012-03-15  Andreas Jaeger  <aj@suse.de>
19003
19004         [BZ #13658]
19005         * math/libm-test.inc (cos_test): Add more test cases.
19006         (sin_test): Likewise.
19007         (sincos_test): Likewise.
19008
19009 2012-03-15  Andreas Jaeger  <aj@suse.de>
19010
19011         [BZ #13837]
19012         * math/libm-test.inc (cos_test): Add a test case for large input
19013         value.
19014         (sin_test): Likewise.
19015         (sincos_test): Likewise.
19016
19017 2012-03-15  Andreas Jaeger  <aj@suse.de>,
19018         Joseph Myers  <joseph@codesourcery.com>
19019
19020         [BZ #13658]
19021         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19022         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19023         * sysdeps/i386/fpu/branred.c: Likewise.
19024         * sysdeps/i386/fpu/dosincos.c: Likewise.
19025         * sysdeps/i386/fpu/mpa.c: Likewise.
19026         * sysdeps/i386/fpu/s_cos.S: Likewise.
19027         * sysdeps/i386/fpu/s_sin.S: Likewise.
19028         * sysdeps/i386/fpu/s_sincos.S: Likewise.
19029         * sysdeps/i386/fpu/sincos32.c: Likewise.
19030
19031         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19032         Define.
19033         (libc_feupdateenv_53bit): Define.
19034         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19035         Define.
19036         (libc_feupdateenv_53bit): Define.
19037
19038         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19039         53 bit (without extend i386 double precision).
19040
19041         * math/libm-test.inc (sincos_test): Add tests for large input.
19042         (sin): Likewise.
19043         (cos): Likewise.
19044
19045         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19046
19047 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
19048
19049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19050
19051 2012-03-15  David S. Miller  <davem@davemloft.net>
19052
19053         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19054         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19055         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19056         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19069         file.
19070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19072         file.
19073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19075         file.
19076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19078         file.
19079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19080         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19081         fmin/fmax sysdep routines.
19082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19083
19084 2012-03-14  David S. Miller  <davem@davemloft.net>
19085
19086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19089         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19090         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19091         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19092         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19093         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19096         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19097         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19106         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19107         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19108         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19109         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19111         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19112         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19113         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19114         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19115         routines.
19116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19117         file.
19118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19120         file.
19121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19123         file.
19124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19126         file.
19127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19129         file.
19130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19132         file.
19133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19134         file.
19135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19136         file.
19137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19138         file.
19139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19140         New file.
19141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19142         file.
19143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19144         file.
19145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19147         file.
19148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19150         file.
19151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19153         file.
19154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19156         VIS3 routines.
19157
19158         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19159         New file.
19160
19161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19162
19163         * sysdeps/sparc/configure.in: New file.
19164         * sysdeps/sparc/configure: Generate.
19165         * configure.in (libc_cv_sparc_as_vis3): Substitute.
19166         * configure: Regenerate.
19167         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19168         * config.make.in (have-as-vis3): New.
19169         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19170         available use -Av9d instead of -Av9a.
19171         * sysdeps/sparc/sparc64/Makefile: Likewise.
19172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19174         New file.
19175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19176         file.
19177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19178         New file.
19179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19180         file.
19181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19182         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19183         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19184         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19185         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19186
19187         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19188         fzeros/fnegs to load 0x80000000 into a float register instead of
19189         using the stack.
19190         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19191
19192 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
19193
19194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19195         bits/syscall.h.
19196         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19197         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19198         ($(inst_includedir)/bits/syscall.h): Remove rule.
19199         ($(objpfx)bits/syscall.d): Include instead of
19200         $(objpfx)syscall-list.d.
19201         (generated): Change syscall-list.h and syscall-list.d to
19202         bits/syscall.h and bits/syscall.d.
19203
19204 2012-03-14  Roland McGrath  <roland@hack.frob.com>
19205
19206         [BZ #13846]
19207         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19208
19209 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
19210
19211         [BZ #13841]
19212         * math/s_csqrt.c: Include <float.h>.
19213         (__csqrt): Scale large or subnormal inputs.
19214         * math/s_csqrtf.c: Likewise.
19215         * math/s_csqrtl.c: Likewise.
19216         * math/libm-test.inc (csqrt_test): Add more tests.
19217         * sysdeps/i386/fpu/libm-test-ulps: Update.
19218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19219
19220         [BZ #13840]
19221         * math/libm-test.inc (hypot_test): Add more tests.
19222
19223 2012-03-13  David S. Miller  <davem@davemloft.net>
19224
19225         [BZ #13840]
19226         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19227         double-precision for the calculation instead of scaling.
19228
19229 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
19230
19231         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19232         manipulate bits before adding and subtracting TWO52[sx].
19233         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19234         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19235         Likewise.
19236         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19237
19238 2012-03-13  David S. Miller  <davem@davemloft.net>
19239
19240         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19241         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19242         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19243         rtld-global-offsets.h
19244         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19245
19246         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19247         large parameters.
19248
19249         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19250
19251         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19252         'err' in the ifdef scope in which it is actually used.
19253
19254         * nss/nss_db/db-init.c: Include string.h
19255
19256 2012-03-12  David S. Miller  <davem@davemloft.net>
19257
19258         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19259         masking out of the most significant byte of random value used.
19260         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19261         Fix coding style in previous change.
19262
19263         * sysdeps/unix/sysv/linux/kernel-features.h
19264         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19265         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19266         expression.
19267         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19268         later.
19269
19270 2012-03-11  David S. Miller  <davem@davemloft.net>
19271
19272         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19273         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19274         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19275         for 'resultvar' otherwise things get truncated on 64-bit.
19276
19277         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19278         Fix masking out of the most significant byte of random value used.
19279
19280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19281
19282 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
19283
19284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19285
19286 2012-03-09  David S. Miller  <davem@davemloft.net>
19287
19288         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19289         variables with appropriate CPP guards.
19290         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19291         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
19292         on resulting framesize and the management of the outregs buffer for pltexit.
19293         Preserve floating point return values across _dl_call_pltexit call.
19294         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19295         framesize and the management of the outregs buffer for pltexit.
19296         Preserve floating point return values across _dl_call_pltexit
19297         call.
19298         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19299         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19300         (print_exit): Fix format string for return register value.
19301
19302 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
19303
19304         * sunrpc/Makefile (others): Add rpcgen.
19305         ($(objpfx)rpcgen): Remove special build rule and dependency on
19306         libc.
19307         * sunrpc/rpcgen.c: New file.
19308
19309 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
19310
19311         [BZ #13673]
19312         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19313         * stdio-common/bug-vfprintf-nargs.c: Likewise.
19314         * sysdeps/i386/crti.S: Likewise.
19315         * sysdeps/i386/crtn.S: Likewise.
19316         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19317         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19318         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19319         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19320         * sysdeps/sh/crti.S: Likewise.
19321         * sysdeps/sh/crtn.S: Likewise.
19322         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19323
19324         [BZ #13673]
19325         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19326         with URL.
19327         * locale/programs/locfile-kw.gperf: Likewise.
19328         * locale/programs/charmap-kw.h: Regenerated.
19329         * locale/programs/locfile-kw.h: Likewise.
19330
19331         [BZ #13673]
19332         * intl/plural.y: Replace FSF snail mail address with URL.
19333         * intl/plural.c: Regenerated.
19334
19335 2012-03-09  Richard Henderson  <rth@twiddle.net>
19336
19337         * include/math_private.h: Remove file.
19338         * math/math_private.h: Move file ...
19339         * sysdeps/generic/math_private.h: ... here.
19340
19341         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19342         * sysdeps/powerpc/fpu/math_private.h: Likewise.
19343         * sysdeps/x86_64/fpu/math_private.h: Likewise.
19344
19345         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19346         and <math_private.h>.
19347         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19348         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19349         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19350         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19351         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19352         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19353         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19354         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19355         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19356         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19358         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19359         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19360         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19361         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19362         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19363         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19364         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19365         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19368         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19369         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19370         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19371         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19372         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19373         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19374         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19376         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19377         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19378         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19379         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19380         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19381         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19382         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19383         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19384         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19385         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19386         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19387         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19388         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19389         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19390         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19391         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19392         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19393         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19394         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19395         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19396         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19397         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19398         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19399         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19400         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19401         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19402         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19403         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19404         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19405         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19406         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19408         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19410         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19411         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19412         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19413         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19414         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19415         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19416         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19417         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19418         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19419         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19420         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19421         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19423         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19424         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19426         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19427         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19428         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19429         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19430         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19431         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19432         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19433         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19434         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19435         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19436         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19437         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19438         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19439         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19440         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19441         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19442         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19443         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19444         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19445         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19446         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19447         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19448         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19449         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19450         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19451         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19452         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19453         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19454         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19455         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19457         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19458         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19459         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19460         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19461         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19462         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19463         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19464         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19465         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19466         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19467         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19468         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19469         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19470         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19471         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19472         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19473         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19474         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19475         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19476         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19477         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19478         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19479         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19480         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19481         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19482         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19483         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19484         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19485         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19486         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19487         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19488         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19489         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19490         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19491         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19492         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19493         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19494         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19495         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19496         * sysdeps/ieee754/k_standard.c: Likewise.
19497         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19498         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19499         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19500         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19501         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19502         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19503         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19504         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19505         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19507         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19509         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19510         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19511         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19512         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19513         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19514         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19515         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19516         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19517         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19518         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19519         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19520         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19521         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19522         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19523         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19524         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19525         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19526         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19527         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19528         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19529         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19530         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19531         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19532         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19533         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19534         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19535         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19536         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19537         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19538         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19539         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19540         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19541         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19542         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19543         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19544         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19545         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19546         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19547         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19548         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19549         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19550         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19551         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19552         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19553         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19554         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19555         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19556         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19557         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19558         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19559         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19561         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19562         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19563         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19564         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19567         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19569         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19570         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19571         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19573         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19574         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19575         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19576         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19577         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19578         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19579         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19580         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19581         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19582         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19583         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19584         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19585         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19586         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19587         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19588         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19589         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19590         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19592         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19593         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19594         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19595         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19596         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19597         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19598         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19601         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19602         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19603         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19604         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19605         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19606         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19607         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19608         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19609         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19610         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19611         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19612         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19613         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19614         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19615         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19616         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19617         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19618         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19619         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19620         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19621         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19622         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19623         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19624         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19625         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19626         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19627         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19628         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19629         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19630         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19631         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19632         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19633         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19634         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19635         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19636         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19637         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19638         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19639         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19640         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19641         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19642         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19643         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19644         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19645         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19646         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19647         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19648         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19649         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19650         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19651         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19652         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19653         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19654         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19655         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19656         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19657         * sysdeps/ieee754/s_lib_version.c: Likewise.
19658         * sysdeps/ieee754/s_matherr.c: Likewise.
19659         * sysdeps/ieee754/s_signgam.c: Likewise.
19660         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19661         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19662         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19663         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19664         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19665         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19666         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19667         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19668         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19669         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19670         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19671         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19672         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19673         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19674         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19675         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19676         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19677         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19678         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19679         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19680         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19681
19682 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19683
19684         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19685         * sunrpc/rpc_main.c: Likewise.
19686         * sunrpc/rpc_svcout.c: Likewise.
19687
19688 2012-03-09  David S. Miller  <davem@davemloft.net>
19689
19690         * include/math_private.h: New file.
19691
19692 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
19693
19694         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19695         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19696         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19697         from <bits/socket_type.h>.
19698         (enum __socket_type): Don't define here.
19699         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19701         bits/socket_type.h.
19702
19703         [BZ #13566]
19704         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19705         checking __USE_GNU.
19706
19707         * Makerules ($(inst_includedir)/%.h): New rule.
19708         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19709         (install-others): Remove variable setting.
19710         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19711
19712 2012-03-08  Richard Henderson  <rth@twiddle.net>
19713
19714         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19715         from macro to inline function; merge with the
19716         !__LIBC_INTERNAL_MATH_INLINES version.
19717         (__ieee754_sqrtf): Likewise.
19718
19719         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19720         to inline function.
19721         (__rintf, __floor, __floorf): Likewise.
19722
19723         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19724         macro to inline function.
19725         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19726
19727         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19728         not <math/math_private.h>.
19729
19730 2012-03-08  David S. Miller  <davem@davemloft.net>
19731
19732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19733         copyright year.
19734         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19735
19736 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
19737
19738         * resolv/gai_misc.c (handle_requests): Fix struct timespec
19739         normalization.
19740         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19741         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19742
19743 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
19744
19745         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
19746         be defined individually, they must be defined as a block.  Define
19747         S for printing a string instead of hidint the different by using a
19748         macro for adding the 'l'.
19749         * stdio-common/tst-fphex-wide.c: Adjust.
19750
19751 2012-03-07  Marek Polacek  <polacek@redhat.com>
19752
19753         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19754
19755 2012-03-08  Marek Polacek  <polacek@redhat.com>
19756
19757         [BZ #13806]
19758         * stdio-common/Makefile (tests): Add tst-fphex-wide.
19759         * stdio-common/tst-fphex.c: Define a few macros to make the
19760         test reusable.  Use them.
19761         * stdio-common/tst-fphex-wide.c: New file.
19762
19763 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
19764
19765         [BZ #6911]
19766         * manual/macros.texi (gnusystems): New macro.
19767         (nongnusystems): Likewise.
19768         (gnulinuxhurdsystems): Likewise.
19769         (gnuhurdsystems): Likewise..
19770         (gnulinuxsystems): Likewise.
19771         * manual/charset.texi: Use new macros or @theglibc{} to refer to
19772         variants of the GNU system, not "GNU system".
19773         * manual/conf.texi: Likewise.
19774         * manual/errno.texi: Likewise.  Update example of errno macro
19775         expansion.
19776         * manual/filesys.texi: Likewise.
19777         (getumask): Document as specific to GNU/Hurd.
19778         * manual/install.texi: Likewise.  Reword some references to
19779         GNU/Linux.
19780         * manual/intro.texi: Likewise.
19781         * manual/io.texi: Likewise.
19782         (File Name Portability): Detail which constraints are inapplicable
19783         to all GNU systems and which are only inapplicable to GNU/Hurd.
19784         * manual/job.texi: Likewise.
19785         * manual/llio.texi: Likewise.
19786         (O_NOCTTY): Document as present on GNU/Linux.
19787         * manual/maint.texi: Likewise.
19788         * manual/memory.texi: Likewise.
19789         * manual/pattern.texi: Likewise.
19790         * manual/pipe.texi: Likewise.
19791         * manual/process.texi: Likewise.
19792         * manual/resource.texi: Likewise.
19793         (RUSAGE_CHILDREN): Remove statement about specifying a particular
19794         child on GNU/Hurd.
19795         * manual/setjmp.texi: Likewise.
19796         * manual/signal.texi: Likewise.
19797         * manual/startup.texi: Likewise.
19798         * manual/stdio.texi: Likewise.
19799         * manual/terminal.texi: Likewise.
19800         (ONLCR): Document as POSIX.
19801         (OXTABS): Document availability on GNU/Linux as XTABS.
19802         (ONOEOT): Document availability separately from other bits.
19803         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19804         * manual/time.texi: Likewise.
19805         * manual/users.texi: Likewise.
19806         * INSTALL: Regenerated.
19807         * sysdeps/gnu/errlist.c: Regenerated.
19808
19809         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19810         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19811         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
19812         puts.
19813         * configure: Regenerated.
19814
19815 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
19816
19817         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19818         default includes instead of AC_HEADER_CHECK.
19819         * sysdeps/i386/configure: Regenerated.
19820
19821         [BZ #10716]
19822         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19823         * math/s_cacoshf.c (__cacoshf): Likewise.
19824         * math/s_cacoshl.c (__cacoshl): Likewise.
19825         * math/s_casinh.c (__casinh): Set signs of result from argument.
19826         * math/s_casinhf.c (__casinhf): Likewise.
19827         * math/s_casinhl.c (__casinhl): Likewise.
19828         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19829         (casinh_test): Add more tests.
19830         * sysdeps/i386/fpu/libm-test-ulps: Update.
19831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832
19833 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19834
19835         * po/zh_TW.po: Update from translation team.
19836
19837         * login/Makefile (distribute): Remove variable.
19838         * catgets/Makefile: Likewise.
19839         * mach/Makefile: Likewise.
19840         * malloc/Makefile: Likewise.
19841         * misc/Makefile: Likewise.
19842         * iconv/Makefile: Likewise.
19843         * nscd/Makefile: Likewise.
19844         * hurd/Makefile: Likewise.
19845         * manual/Makefile: Likewise.
19846         * locale/Makefile: Likewise.
19847         * intl/Makefile: Likewise.
19848         * conform/Makefile: Likewise.
19849         * nss/Makefile: Likewise.
19850         * time/Makefile: Likewise.
19851         * soft-fp/Makefile: Likewise.
19852         * dirent/Makefile: Likewise.
19853         * gmon/Makefile: Likewise.
19854         * po/Makefile: Likewise.
19855         * rt/Makefile: Likewise.
19856         * socket/Makefile: Likewise.
19857         * math/Makefile: Likewise.
19858         * signal/Makefile: Likewise.
19859         * debug/Makefile: Likewise.
19860         * elf/Makefile: Likewise.
19861         * timezone/Makefile: Likewise.
19862         * stdlib/Makefile: Likewise.
19863         * iconvdata/Makefile: Likewise.
19864         * sunrpc/Makefile: Likewise.
19865         * io/Makefile: Likewise.
19866         * argp/Makefile: Likewise.
19867         * inet/Makefile: Likewise.
19868         * hesiod/Makefile: Likewise.
19869         * grp/Makefile: Likewise.
19870         * csu/Makefile: Likewise.
19871         * wctype/Makefile: Likewise.
19872         * crypt/Makefile: Likewise.
19873         * libio/Makefile: Likewise.
19874         * string/Makefile: Likewise.
19875         * nis/Makefile: Likewise.
19876         * resolv/Makefile: Likewise.
19877         * stdio-common/Makefile: Likewise.
19878         * wcsmbs/Makefile: Likewise.
19879         * dlfcn/Makefile: Likewise.
19880         * posix/Makefile: Likewise.
19881
19882         [BZ #6959]
19883         * timezone/Makefile: Don't install timezone files, just the programs
19884         and scripts.
19885
19886 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19887
19888         * nss/databases.def: Add missing gshadow entry.
19889
19890         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19891
19892 2012-03-06  Marek Polacek  <polacek@redhat.com>
19893
19894         [BZ #13726]
19895         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19896         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19897         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19898         * stdio-common/tst-long-dbl-fphex.c: New file.
19899
19900 2012-03-06  David S. Miller  <davem@davemloft.net>
19901
19902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19903         (set_obp_int): New function.
19904         (get_obp_int): New function.
19905         (__get_clockfreq_via_dev_openprom): Likewise.
19906         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19907         Avoid unused variable warnings on 'val' and use builtin_expect.
19908         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19909         __builtin_expect.
19910         (INLINE_CLONE_SYSCALL): Likewise.
19911
19912 2012-03-05  David S. Miller  <davem@davemloft.net>
19913
19914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19915
19916 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19917
19918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19919
19920         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19921         only for |x| >= 40.
19922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19923
19924 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19925
19926         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19927         Replace gettimeofday with __vdso_gettimeofday.
19928
19929         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19930         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19931         __vdso_clock_gettime and __vdso_getcpu.
19932
19933         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19934         time with __vdso_time.
19935
19936 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19937
19938         * manual/lang.texi (size_t): Note types to which size_t may be
19939         equivalent with the GNU C Library, but do not describe when
19940         differences between them are significant.
19941
19942 2012-03-05  Andreas Jaeger  <aj@suse.de>
19943
19944         * sysdeps/i386/fpu/libm-test-ulps: Update.
19945
19946 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19947
19948         [BZ #3976]
19949         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19950         (__ieee754_pow): Save and restore rounding mode and use
19951         round-to-nearest for main computations.
19952         * math/libm-test.inc (pow_test_tonearest): New function.
19953         (pow_test_towardzero): Likewise.
19954         (pow_test_downward): Likewise.
19955         (pow_test_upward): Likewise.
19956         (main): Call the new functions.
19957         * sysdeps/i386/fpu/libm-test-ulps: Update.
19958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19959
19960         [BZ #3976]
19961         * math/libm-test.inc (cosh_test_tonearest): New function.
19962         (cosh_test_towardzero): Likewise.
19963         (cosh_test_downward): Likewise.
19964         (cosh_test_upward): Likewise.
19965         (sinh_test_tonearest): Likewise.
19966         (sinh_test_towardzero): Likewise.
19967         (sinh_test_downward): Likewise.
19968         (sinh_test_upward): Likewise.
19969         (main): Call the new functions.
19970         * sysdeps/i386/fpu/libm-test-ulps: Update.
19971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19972
19973 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19974
19975         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19976         default stack guard is set in last bytes.
19977         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19978
19979 2012-03-05  Kees Cook  <keescook@chromium.org>
19980
19981         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19982
19983         [BZ #13656]
19984         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19985         possibly allocate from heap instead of stack.
19986         * stdio-common/bug-vfprintf-nargs.c: New file.
19987         * stdio-common/Makefile (tests): Add nargs overflow test.
19988
19989 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19990
19991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19992
19993 2012-03-03  Marek Polacek  <polacek@redhat.com>
19994
19995         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19996         * math/math_private.h: Likewise.
19997         * stdlib/tst-strtod.c: Likewise.
19998         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19999         * sysdeps/x86_64/bits/atomic.h: Likewise.
20000
20001 2012-03-02  David S. Miller  <davem@davemloft.net>
20002
20003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20007         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20008         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20009         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20010         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20011
20012 2012-03-02  Roland McGrath  <roland@hack.frob.com>
20013
20014         [BZ #13792]
20015         * manual/examples/README: New file, says the example source files
20016         can be used under GPL>=2.
20017         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20018         line containing just "*/".
20019         * manual/examples/add.c: Add copyright header (GPL>=2).
20020         * manual/examples/argp-ex1.c: Likewise.
20021         * manual/examples/argp-ex2.c: Likewise.
20022         * manual/examples/argp-ex3.c: Likewise.
20023         * manual/examples/argp-ex4.c: Likewise.
20024         * manual/examples/atexit.c: Likewise.
20025         * manual/examples/db.c: Likewise.
20026         * manual/examples/dir.c: Likewise.
20027         * manual/examples/dir2.c: Likewise.
20028         * manual/examples/execinfo.c: Likewise.
20029         * manual/examples/filecli.c: Likewise.
20030         * manual/examples/filesrv.c: Likewise.
20031         * manual/examples/fmtmsgexpl.c: Likewise.
20032         * manual/examples/genpass.c: Likewise.
20033         * manual/examples/inetcli.c: Likewise.
20034         * manual/examples/inetsrv.c: Likewise.
20035         * manual/examples/isockad.c: Likewise.
20036         * manual/examples/longopt.c: Likewise.
20037         * manual/examples/memopen.c: Likewise.
20038         * manual/examples/memstrm.c: Likewise.
20039         * manual/examples/mkfsock.c: Likewise.
20040         * manual/examples/mkisock.c: Likewise.
20041         * manual/examples/mygetpass.c: Likewise.
20042         * manual/examples/pipe.c: Likewise.
20043         * manual/examples/popen.c: Likewise.
20044         * manual/examples/rprintf.c: Likewise.
20045         * manual/examples/search.c: Likewise.
20046         * manual/examples/select.c: Likewise.
20047         * manual/examples/setjmp.c: Likewise.
20048         * manual/examples/sigh1.c: Likewise.
20049         * manual/examples/sigusr.c: Likewise.
20050         * manual/examples/stpcpy.c: Likewise.
20051         * manual/examples/strdupa.c: Likewise.
20052         * manual/examples/strftim.c: Likewise.
20053         * manual/examples/strncat.c: Likewise.
20054         * manual/examples/subopt.c: Likewise.
20055         * manual/examples/swapcontext.c: Likewise.
20056         * manual/examples/termios.c: Likewise.
20057         * manual/examples/testopt.c: Likewise.
20058         * manual/examples/testpass.c: Likewise.
20059         * manual/examples/timeval_subtract.c: Likewise.
20060
20061         [BZ #13792]
20062         * manual/time.texi (Elapsed Time): Move timeval_subtract example
20063         function to ...
20064         * manual/timeval_subtract.c.texi: ... here, new file.
20065
20066 2012-03-02  David S. Miller  <davem@davemloft.net>
20067
20068         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20069
20070 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
20071
20072         [BZ #3976]
20073         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20074         (__sin): Save and restore rounding mode and use round-to-nearest
20075         for all computations.
20076         (__cos): Save and restore rounding mode and use round-to-nearest
20077         for all computations.
20078         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20079         <fenv.h>.
20080         (tan): Save and restore rounding mode and use round-to-nearest for
20081         all computations.
20082         * math/libm-test.inc (cos_test_tonearest): New function.
20083         (cos_test_towardzero): Likewise.
20084         (cos_test_downward): Likewise.
20085         (cos_test_upward): Likewise.
20086         (sin_test_tonearest): Likewise.
20087         (sin_test_towardzero): Likewise.
20088         (sin_test_downward): Likewise.
20089         (sin_test_upward): Likewise.
20090         (tan_test_tonearest): Likewise.
20091         (tan_test_towardzero): Likewise.
20092         (tan_test_downward): Likewise.
20093         (tan_test_upward): Likewise.
20094         (main): Call the new functions.
20095         * sysdeps/i386/fpu/libm-test-ulps: Update.
20096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20097
20098         [BZ #10135]
20099         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20100         small n, then large n, before computing and testing k+n.
20101         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20102         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20103         Likewise.
20104         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20105         Likewise.
20106         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20107         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20108         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20109         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20110         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20111         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20113         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20114         * math/libm-test.inc (scalbn_test): Add more tests.
20115         (scalbln_test): Likewise.
20116
20117         * manual/filesys.texi (mode_t): Describe constraints on size and
20118         signedness, not exact equivalence to a particular type.
20119         (ino_t): Likewise.
20120         (ino64_t): Likewise.
20121         (dev_t): Likewise.
20122         (nlink_t): Likewise.
20123         (blkcnt_t): Likewise.
20124         (blkcnt64_t): Likewise.
20125         * manual/llio.texi (off_t): Likewise.
20126
20127         [BZ #3976]
20128         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20129         (__ieee754_exp): Save and restore rounding mode and use
20130         round-to-nearest for all computations.
20131         * math/libm-test.inc (exp_test_tonearest): New function.
20132         (exp_test_towardzero): Likewise.
20133         (exp_test_downward): Likewise.
20134         (exp_test_upward): Likewise.
20135         (main): Call the new functions.
20136         * sysdeps/i386/fpu/libm-test-ulps: Update.
20137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20138
20139 2012-03-01  Chris Demetriou  <cgd@google.com>
20140
20141         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20142         have predictable order.
20143
20144 2012-03-01  David S. Miller  <davem@davemloft.net>
20145
20146         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20147
20148         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20149         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20150         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20151         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20152
20153         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20154         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20155         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20157         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20158         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20159         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20160         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20161         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20162
20163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20164
20165         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20166         * sysdeps/sparc/fpu/libm-test-ulps: to here.
20167         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20168
20169         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20170         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20171         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20172         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20173         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20174         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20175         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20176         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20177         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20178         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20179         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20180         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20181         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20182         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20183         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20185         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20186         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20187         * sysdeps/sparc/elf/configure: Regenerated.
20188
20189 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
20190
20191         * configure.in (AS, LD): Require binutils 2.20 or later.
20192         * configure: Regenerated.
20193         * manual/install.texi (Tools for Compilation): Give binutils 2.20
20194         as required minimum version.
20195         * INSTALL: Regenerated.
20196
20197         [BZ #2541]
20198         [BZ #4108]
20199         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20200         before squaring exponent.
20201         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20202         bottom long double and 27 bits of top long double before squaring
20203         exponent.
20204         * math/libm-test.inc (erfc_test): Add more tests.
20205         * sysdeps/i386/fpu/libm-test-ulps: Update.
20206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20208
20209 2012-03-01  Kai Tietz  <ktietz@redhat.com>
20210
20211         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20212         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20213         containing bit-fields.
20214         * soft-fp/extended.h (_FP_UNION_E): Likewise.
20215         * soft-fp/single.h (_FP_UNION_S): Likewise.
20216         * soft-fp/double.h (_FP_UNION_D): Likewise.
20217
20218 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
20219
20220         [BZ #13786]
20221         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20222         not include ../strcmp.S.
20223         [USE_AS_STRNCASECMP_L]: Likewise.
20224         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20225         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20226         * sysdeps/i386/i686/multiarch/strncase_l-c.c
20227         (__strncasecmp_l_ia32): Define as alias to
20228         __strncasecmp_l_nonascii.
20229
20230         [BZ #5794]
20231         * math/libm-test.inc (expm1_test): Add test for bug 5794.
20232         * sysdeps/i386/fpu/libm-test-ulps: Update.
20233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20234
20235         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20237
20238 2012-02-29  Jeff Law  <law@redhat.com>
20239
20240         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20241         out of bounds read.
20242
20243 2012-02-29  Marek Polacek  <polacek@redhat.com>
20244
20245         [BZ #13706]
20246         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20247         * elf/Makefile: Add rules to run tst-unused-dep.out.
20248
20249 2012-02-28  David S. Miller  <davem@davemloft.net>
20250
20251         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20252         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20253         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20254         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20255         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20256         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20257
20258 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
20259
20260         * math/libm-test.inc (llround_test): Move one test from
20261         lround_test.  Use TEST_f_L in moved test.
20262         (lround_test): Move misplaced test to llround_test.  Add testcase
20263         from bug 2561.
20264
20265 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
20266
20267         * sysdeps/x86_64/fpu/e_expf.S: New file.
20268         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20269
20270 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
20271
20272         [BZ #13637]
20273         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20274         of remain_len that may cause incomplete multi-byte character and
20275         false match.
20276         * posix/bug-regex33.c: New file.
20277         * posix/Makefile (tests): Add bug-regex33.
20278
20279 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
20280
20281         * manual/macros.texi: New file.
20282         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20283         * manual/libc.texinfo: Include macros.texi.
20284         * manual/creatute.texi: Likewise.
20285         * manual/install.texi: Likewise.
20286         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20287         @glibcadj{} in references to the GNU C Library.
20288         * manual/charset.texi: Likewise.
20289         * manual/conf.texi: Likewise.
20290         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
20291         when not using those macros.
20292         * manual/creature.texi: Likewise.
20293         * manual/crypt.texi: Likewise.
20294         * manual/errno.texi: Likewise.
20295         * manual/filesys.texi: Likewise.
20296         * manual/header.texi: Likewise.
20297         * manual/install.texi: Likewise.
20298         * manual/intro.texi: Likewise.
20299         * manual/io.texi: Likewise.
20300         * manual/job.texi: Likewise.
20301         * manual/lang.texi: Likewise.
20302         * manual/libc.texiinfo: Likewise.
20303         * manual/llio.texi: Likewise.
20304         * manual/locale.texi: Likewise.
20305         * manual/maint.texi: Likewise.
20306         * manual/math.texi: Likewise.
20307         * manual/memory.texi: Likewise.
20308         * manual/message.texi: Likewise.
20309         * manual/nss.texi: Likewise.
20310         * manual/pattern.texi: Likewise.
20311         * manual/process.texi: Likewise.
20312         * manual/resource.texi: Likewise.
20313         * manual/search.texi: Likewise.
20314         * manual/setjmp.texi: Likewise.
20315         * manual/signal.texi: Likewise.
20316         * manual/socket.texi: Likewise.
20317         * manual/startup.texi: Likewise.
20318         * manual/stdio.texi: Likewise.
20319         * manual/string.texi: Likewise.
20320         * manual/sysinfo.texi: Likewise.
20321         * manual/syslog.texi: Likewise.
20322         * manual/terminal.texi: Likewise.
20323         * manual/time.texi: Likewise.
20324         * manual/users.texi: Likewise.
20325         * INSTALL: Regenerated.
20326         * NOTES: Regenerated.
20327         * sysdeps/gnu/errlist.c: Regenerated.
20328
20329 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
20330
20331         * include/dirent.h: Include <dirstream.h> before
20332         <dirent/dirent.h>.
20333
20334 2012-02-28  David S. Miller  <davem@davemloft.net>
20335
20336         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20337         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20338         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20339         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20340
20341 2012-02-27  David S. Miller  <davem@davemloft.net>
20342
20343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20345         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20346         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20347
20348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20349         frame pointer instead of stack pointer relative arg slot.
20350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20351         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20352         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20353
20354 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
20355
20356         [BZ #3992]
20357         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20358
20359 2012-02-27  David S. Miller  <davem@davemloft.net>
20360
20361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20365         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20366         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20367         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20368         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20369
20370 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
20371
20372         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20373         later.  Allow versions 5-9.
20374         * configure: Regenerated.
20375         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20376         required minimum version and 4.6 as recommended version.  Do not
20377         mention bugs in GCC 2.7 and 2.8.
20378         * INSTALL: Regenerated.
20379
20380 2012-02-27  David S. Miller  <davem@davemloft.net>
20381
20382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20386         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20387         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20388         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20389         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20390
20391         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20392         manipulate bits before adding and subtracting TWO112[sx].
20393         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20394
20395 2012-02-27  Roland McGrath  <roland@hack.frob.com>
20396
20397         [BZ #13775]
20398         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20399         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20400         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20401         being in POSIX, because they are in 1003.1-2008.
20402
20403         * rt/tst-aio.c: Include <fcntl.h>.
20404         * rt/tst-aio7.c: Likewise.
20405         * rt/tst-aio64.c: Likewise.
20406
20407         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20408
20409 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
20410
20411         * manual/install.texi (--with-headers): Describe headers as
20412         interface headers, not private headers.
20413         (Specific advice for GNU/Linux systems): Describe use of headers
20414         from "make headers_install", not private headers from older
20415         kernels.
20416         * INSTALL: Regenerated.
20417         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20418         Change to 2.6.19.
20419         * sysdeps/unix/sysv/linux/configure: Regenerated.
20420
20421         * manual/llio.texi (fclean): Remove documentation.
20422
20423         * manual/Makefile (libc-texi-generated): New variable.  Include
20424         version.texi.
20425         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20426         $(libc-texi-generated), not duplicated list of files.
20427         (version.texi, stamp-version): New rules.
20428         (realclean): Remove $(libc-texi-generated), not individual files
20429         from that list.  Do not remove dir-add.texinfo.
20430         * manual/libc.texinfo: Comment out uses of edition numbers and
20431         references to printed manual.  Remove last-updated dates.
20432         (EDITION): Comment out.
20433         (ISBN): Likewise.
20434         (VERSION, UPDATED): Remove.
20435         (version.texi): Include.
20436
20437 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
20438
20439         * sysdeps/posix/spawni.c: Include <signal.h>.
20440         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20441         * sysdeps/pthread/aio_fsync.c: Likewise.
20442
20443 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
20444
20445         * conform/Makefile (tests): Run only when not cross-compiling and
20446         when fast-check is not defined.
20447
20448         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20449         * conform/data/limits.h-data: Fixes for POSIX2008.
20450         * conform/run-conformtest.sh: Run all tests.
20451         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20452         headers.
20453         * include/bits/dlfcn.h: Likewise.
20454         * include/langinfo.h: Likewise.
20455         * include/monetary.h: Likewise.
20456         * include/sys/poll.h: Likewise.
20457
20458         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20459         for __USE_GNU.
20460         * posix/spawn.h: Define __need_sigset_t.
20461         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20462         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20463         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
20464         to get sigevent_t only.
20465         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20466         only for __USE_GNU.
20467         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20468         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20469         process_vm_writev only for __USE_GNU.
20470         * termios/termios.h: Declare tcgetsid also for POSIX2008.
20471
20472         * conform/Makefile: For now ignore errors from run-conformtest.
20473         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
20474         POSIX to avoid namespace pollution.  Don't prepend headers.
20475         * conform/data/aio.h-data: Fixes for POSIX testing.
20476         * conform/data/fcntl.h-data: Likewise.
20477         * conform/data/glob.h-data: Likewise.
20478         * conform/data/grp.h-data: Likewise.
20479         * conform/data/pthread.h-data: Likewise.
20480         * conform/data/pwd.h-data: Likewise.
20481         * conform/data/signal.h-data: Likewise.
20482         * conform/data/spawn.h-data: Likewise.
20483         * conform/data/stdio.h-data: Likewise.
20484         * conform/data/stdlib.h-data: Likewise.
20485         * conform/data/stropts.h-data: Likewise.
20486         * conform/data/sys/mman.h-data: Likewise.
20487         * conform/data/sys/stat.h-data: Likewise.
20488         * conform/data/sys/types.h-data: Likewise.
20489         * conform/data/sys/wait.h-data: Likewise.
20490         * conform/data/time.h-data: Likewise.
20491         * conform/data/unistd.h-data: Likewise.
20492         * conform/data/utime.h-data: Likewise.
20493
20494         * io/sys/stat.h: fchmod was always in POSIX.
20495         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20496         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20497         * rt/aio.h: Define __need_timespec before including <time.h>.
20498         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20499         struct.  Add forward declaration of pthread_attr_t and use it in
20500         sigevent.
20501         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20502         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20503         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20504         always remove CLK_TCK definition.
20505
20506 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
20507
20508         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20509
20510 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
20511
20512         * conform/run-conformtest.sh: New file.
20513         * conform/Makefile: Run run-conformtest for tests.
20514         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
20515         support.
20516
20517         * conform/data/uchar.h-data: New file.
20518         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20519         * conform/data/arpa/inet.h-data: Likewise.
20520         * conform/data/assert.h-data: Likewise.
20521         * conform/data/complex.h-data: Likewise.
20522         * conform/data/cpio.h-data: Likewise.
20523         * conform/data/ctype.h-data: Likewise.
20524         * conform/data/dirent.h-data: Likewise.
20525         * conform/data/dlfcn.h-data: Likewise.
20526         * conform/data/errno.h-data: Likewise.
20527         * conform/data/fcntl.h-data: Likewise.
20528         * conform/data/float.h-data: Likewise.
20529         * conform/data/fmtmsg.h-data: Likewise.
20530         * conform/data/fnmatch.h-data: Likewise.
20531         * conform/data/ftw.h-data: Likewise.
20532         * conform/data/glob.h-data: Likewise.
20533         * conform/data/grp.h-data: Likewise.
20534         * conform/data/iconv.h-data: Likewise.
20535         * conform/data/inttypes.h-data: Likewise.
20536         * conform/data/langinfo.h-data: Likewise.
20537         * conform/data/libgen.h-data: Likewise.
20538         * conform/data/limits.h-data: Likewise.
20539         * conform/data/locale.h-data: Likewise.
20540         * conform/data/math.h-data: Likewise.
20541         * conform/data/monetary.h-data: Likewise.
20542         * conform/data/mqueue.h-data: Likewise.
20543         * conform/data/ndbm.h-data: Likewise.
20544         * conform/data/net/if.h-data: Likewise.
20545         * conform/data/netdb.h-data: Likewise.
20546         * conform/data/netinet/in.h-data: Likewise.
20547         * conform/data/nl_types.h-data: Likewise.
20548         * conform/data/poll.h-data: Likewise.
20549         * conform/data/pthread.h-data: Likewise.
20550         * conform/data/pwd.h-data: Likewise.
20551         * conform/data/regex.h-data: Likewise.
20552         * conform/data/sched.h-data: Likewise.
20553         * conform/data/search.h-data: Likewise.
20554         * conform/data/semaphore.h-data: Likewise.
20555         * conform/data/setjmp.h-data: Likewise.
20556         * conform/data/signal.h-data: Likewise.
20557         * conform/data/spawn.h-data: Likewise.
20558         * conform/data/stdarg.h-data: Likewise.
20559         * conform/data/stdio.h-data: Likewise.
20560         * conform/data/stdlib.h-data: Likewise.
20561         * conform/data/string.h-data: Likewise.
20562         * conform/data/strings.h-data: Likewise.
20563         * conform/data/stropts.h-data: Likewise.
20564         * conform/data/sys/ipc.h-data: Likewise.
20565         * conform/data/sys/mman.h-data: Likewise.
20566         * conform/data/sys/msg.h-data: Likewise.
20567         * conform/data/sys/resource.h-data: Likewise.
20568         * conform/data/sys/select.h-data: Likewise.
20569         * conform/data/sys/sem.h-data: Likewise.
20570         * conform/data/sys/shm.h-data: Likewise.
20571         * conform/data/sys/socket.h-data: Likewise.
20572         * conform/data/sys/stat.h-data: Likewise.
20573         * conform/data/sys/statvfs.h-data: Likewise.
20574         * conform/data/sys/time.h-data: Likewise.
20575         * conform/data/sys/timeb.h-data: Likewise.
20576         * conform/data/sys/times.h-data: Likewise.
20577         * conform/data/sys/types.h-data: Likewise.
20578         * conform/data/sys/uio.h-data: Likewise.
20579         * conform/data/sys/un.h-data: Likewise.
20580         * conform/data/sys/utsname.h-data: Likewise.
20581         * conform/data/sys/wait.h-data: Likewise.
20582         * conform/data/syslog.h-data: Likewise.
20583         * conform/data/tar.h-data: Likewise.
20584         * conform/data/termios.h-data: Likewise.
20585         * conform/data/utime.h-data: Likewise.
20586         * conform/data/utmpx.h-data: Likewise.
20587         * conform/data/varargs.h-data: Likewise.
20588         * conform/data/wchar.h-data: Likewise.
20589         * conform/data/wctype.h-data: Likewise.
20590         * conform/data/wordexp.h-data: Likewise.
20591
20592         * include/stropts.h: New file.
20593         * include/uchar.h: New file.
20594         * include/aio.h: Changes to allow conformtest.pl to use the headers.
20595         * include/assert.h: Likewise.
20596         * include/ctype.h: Likewise.
20597         * include/dirent.h: Likewise.
20598         * include/dlfcn.h: Likewise.
20599         * include/fcntl.h: Likewise.
20600         * include/fnmatch.h: Likewise.
20601         * include/glob.h: Likewise.
20602         * include/grp.h: Likewise.
20603         * include/libio.h: Likewise.
20604         * include/locale.h: Likewise.
20605         * include/math.h: Likewise.
20606         * include/net/if.h: Likewise.
20607         * include/netdb.h: Likewise.
20608         * include/netinet/in.h: Likewise.
20609         * include/pthread.h: Likewise.
20610         * include/pwd.h: Likewise.
20611         * include/regex.h: Likewise.
20612         * include/sched.h: Likewise.
20613         * include/search.h: Likewise.
20614         * include/setjmp.h: Likewise.
20615         * include/signal.h: Likewise.
20616         * include/stdio.h: Likewise.
20617         * include/stdlib.h: Likewise.
20618         * include/string.h: Likewise.
20619         * include/sys/cdefs.h: Likewise.
20620         * include/sys/mman.h: Likewise.
20621         * include/sys/msg.h: Likewise.
20622         * include/sys/resource.h: Likewise.
20623         * include/sys/select.h: Likewise.
20624         * include/sys/socket.h: Likewise.
20625         * include/sys/stat.h: Likewise.
20626         * include/sys/statvfs.h: Likewise.
20627         * include/sys/time.h: Likewise.
20628         * include/sys/times.h: Likewise.
20629         * include/sys/uio.h: Likewise.
20630         * include/sys/utsname.h: Likewise.
20631         * include/sys/wait.h: Likewise.
20632         * include/termios.h: Likewise.
20633         * include/time.h: Likewise.
20634         * include/ulimit.h: Likewise.
20635         * include/unistd.h: Likewise.
20636         * include/utime.h: Likewise.
20637         * include/wchar.h: Likewise.
20638         * include/wctype.h: Likewise.
20639         * include/wordexp.h: Likewise.
20640
20641         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20642
20643         * time/time.h: TIME_UTC must be a macro.
20644         Make timespec_get available for ISO C11 only as well.
20645
20646 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
20647
20648         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20649         Reported by Peng Haitao <penght@cn.fujitsu.com>.
20650
20651 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20652
20653         * configure.in: Use -o not -a in test for unsupported multi-arch.
20654
20655 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20656
20657         * manual/texinfo.tex: Update to version 2012-01-19.16.
20658
20659 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
20660
20661         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20662
20663 2012-02-24  Roland McGrath  <roland@hack.frob.com>
20664
20665         [BZ #13738]
20666         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20667         * manual/fdl-1.3.texi: New file.
20668         * manual/fdl-1.1.texi: File removed.
20669
20670         [BZ #13738]
20671         * manual/libc.texinfo (FDL_VERSION): New @set.
20672         Use it for mention of FDL in cover text.
20673         (Documentation License): Use it in @include file name.
20674
20675 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20676             Roland McGrath  <roland@hack.frob.com>
20677
20678         [BZ #5461]
20679         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20680         not LONG_LONG_MAX and LONG_LONG_MIN.
20681         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20682         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
20683         name.
20684         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20685
20686 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20687
20688         [BZ #2547]
20689         [BZ #11365]
20690         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20691         manipulate bits before adding and subtracting TWO23[sx].
20692         * math/libm-test.inc (nearbyint_test): Add more tests.
20693
20694 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20695
20696         [BZ #2548]
20697         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20698         bits before adding and subtracting TWO23[sx].
20699         * math/libm-test.inc (rint_test): Add more tests.
20700         (rint_test_tonearest): Likewise.
20701         (rint_test_towardzero): Likewise.
20702         (rint_test_downward): Likewise.
20703         (rint_test_upward: Likewise.
20704
20705 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20706
20707         [BZ #10110]
20708         * include/stdc-predef.h: New file.  Extracted from features.h.
20709         * include/features.h: Include stdc-predef.h.
20710         * Makefile (headers): Add stdc-predef.h.
20711         * CONFORMANCE (Compiler limitations): Update.
20712
20713 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
20714
20715         * manual/libc.texinfo (VERSION, UPDATED): Revert.
20716
20717 2012-02-21  David S. Miller  <davem@davemloft.net>
20718
20719         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20720         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20721
20722 2012-02-20  David S. Miller  <davem@davemloft.net>
20723
20724         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20725         using a normal save/restore sequence, rather than allocating a
20726         dummy stack frame just to store a frame pointer and restore.
20727         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20728
20729 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20730
20731         * manual/install.texi: Fix stray word in line-wrapped comment.
20732
20733 2012-02-20  David S. Miller  <davem@davemloft.net>
20734
20735         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20736         both binutils and gcc support GOTDATA.
20737
20738         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20739         "rd %pc" in the PIC register setup sequences.
20740
20741         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20742         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20743         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20744         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20745         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20746         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20747         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20748         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20749         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20750         (SYSCALL_ERROR_HANDLER): Likewise.
20751         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20752         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20753         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20754         (SYSCALL_ERROR_HANDLER): Likewise.
20755
20756         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20757         (HAVE_GCC_GOTDATA): New.
20758         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20759         relocation support in both binutils and gcc.
20760         * sysdeps/sparc/elf/configure: Regenerate.
20761
20762         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20763         * sysdeps/sparc/sparc32/elf/configure: Delete.
20764         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20765         * sysdeps/sparc/sparc64/elf/configure: Delete.
20766         * sysdeps/sparc/elf/configure.in: New file.
20767         * sysdeps/sparc/elf/configure: Generate.
20768
20769         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20770         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20771         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20772         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20773         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20774
20775 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20776
20777         * manual/install.texi: Do not mention specific glibc version
20778         numbers.
20779         * manual/libc.texinfo (VERSION, UPDATED): Update.
20780         (@copying): Use @copyright{} and range of years.
20781
20782 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20783
20784         [BZ #13695]
20785         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20786         [crti.S not in sysdirs] (generated): Do not append.
20787         [crti.S not in sysdirs] (omit-deps): Likewise.
20788         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20789         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20790         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20791         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20792         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20793         Likewise.
20794         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20795         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20796         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20797         * csu/defs.awk: Remove file.
20798         * sysdeps/generic/initfini.c: Likewise.
20799         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20800         variable.
20801         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20802         Likewise.
20803
20804 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20805
20806         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20807         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20808         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20809         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20810         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20811         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20812         <bits/epoll.h>.
20813         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20814         (__EPOLL_PACKED): Define to empty if not defined by
20815         <bits/epoll.h>.
20816         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20818         bits/epoll.h.
20819
20820 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20821
20822         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20823         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20824         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20825         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20826         <bits/timerfd.h>.
20827         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20829         bits/timerfd.h.
20830
20831 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20832
20833         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20834         in C locale.
20835         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20836         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20837         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20839
20840 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20841
20842         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20843         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20844
20845 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20846
20847         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20848         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20849         defined.
20850         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20851         Likewise.
20852         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20853         entry for 2.16.
20854
20855 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20856
20857         * math/w_acos.c: Use non-signaling floating-point comparisons.
20858         * math/w_acosf.c: Likewise.
20859         * math/w_acosh.c: Likewise.
20860         * math/w_acoshf.c: Likewise.
20861         * math/w_acoshl.c: Likewise.
20862         * math/w_acosl.c: Likewise.
20863         * math/w_asin.c: Likewise.
20864         * math/w_asinf.c: Likewise.
20865         * math/w_asinl.c: Likewise.
20866         * math/w_atanh.c: Likewise.
20867         * math/w_atanhf.c: Likewise.
20868         * math/w_atanhl.c: Likewise.
20869         * math/w_exp2.c: Likewise.
20870         * math/w_exp2f.c: Likewise.
20871         * math/w_exp2l.c: Likewise.
20872         * math/w_j0.c: Likewise.
20873         * math/w_j0f.c: Likewise.
20874         * math/w_j0l.c: Likewise.
20875         * math/w_j1.c: Likewise.
20876         * math/w_j1f.c: Likewise.
20877         * math/w_j1l.c: Likewise.
20878         * math/w_jn.c: Likewise.
20879         * math/w_jnf.c: Likewise.
20880         * math/w_log.c: Likewise.
20881         * math/w_log10.c: Likewise.
20882         * math/w_log10f.c: Likewise.
20883         * math/w_log10l.c: Likewise.
20884         * math/w_log2.c: Likewise.
20885         * math/w_log2f.c: Likewise.
20886         * math/w_log2l.c: Likewise.
20887         * math/w_logf.c: Likewise.
20888         * math/w_logl.c: Likewise.
20889         * math/w_sqrt.c: Likewise.
20890         * math/w_sqrtf.c: Likewise.
20891         * math/w_sqrtl.c: Likewise.
20892         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20893         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20894         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20895         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20896         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20897
20898 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20899
20900         [BZ #9739]
20901         * manual/string.texi (strnlen): Use correct parameter name in
20902         equivalent expression.
20903
20904 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20905
20906         [BZ #11174]
20907         * manual/users.texi (seteuid): Consistently use neweuid for
20908         argument name.
20909
20910 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20911
20912         [BZ #13704]
20913         * manual/nss.texi (Services in the NSS configuration): Correct
20914         list of services in example configuration file.
20915
20916 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20917
20918         [BZ #11322]
20919         * manual/arith.texi: Remove statements about negative zero
20920         behaving identically to zero.
20921
20922 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20923
20924         [BZ #5993]
20925         * manual/install.texi: Do not document upgrading from libc5.
20926
20927 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20928
20929         [BZ #4596]
20930         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20931
20932 2012-02-18  David S. Miller  <davem@davemloft.net>
20933
20934         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20935         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20936         %o7 across the call.
20937         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20938         instead.
20939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20940         SETUP_PIC_REG_LEAF.
20941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20942         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20943         * sysdeps/sparc/crtn.S: Likewise.
20944
20945 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20946
20947         * aout/Makefile: Remove.
20948
20949 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20950
20951         [BZ #13058]
20952         * manual/examples/argp-ex1.c (main): Format definition in GNU
20953         style.
20954         * manual/examples/argp-ex2.c (main): Likewise.
20955         * manual/examples/argp-ex3.c (main): Likewise.
20956         * manual/examples/argp-ex4.c (main): Likewise.
20957         * manual/examples/longopt.c (main): Use new-style prototype
20958         definition.
20959         * manual/examples/strncat.c (main): Specify return type and use
20960         (void) for arguments.
20961         * manual/examples/subopt.c (main): Use char **argv argument.
20962
20963 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20964
20965         [BZ #5077]
20966         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20967         rounding modes.
20968
20969 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20970
20971         [BZ #6907]
20972         * manual/string.texi (strchr): Change when strchrnul is
20973         recommended.
20974
20975 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20976
20977         [BZ #174]
20978         * manual/locale.texi (setlocale): Document LOCPATH.
20979
20980 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20981
20982         [BZ #10210]
20983         * manual/process.texi (execle): Move @dots{} before last argument.
20984
20985 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20986
20987         [BZ #12047]
20988         * manual/charset.texi (Generic Charset Conversion): Fix typo
20989         (LC_TYPE -> LC_CTYPE).
20990
20991 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20992
20993         [BZ #5805]
20994         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20995         (scalbnf): Likewise.
20996         (scalbnl): Likewise.
20997         (scalbln): Likewise.
20998         (scalblnf): Likewise.
20999         (scalblnl): Likewise.
21000         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21001         (vwarnx): Likewise.
21002         (verr): Likewise.
21003         (verrx): Likewise.
21004         * manual/filesys.texi (telldir): Use braces around return type.
21005         * manual/llio.texi (mmap): Add space after comma.
21006         (mmap64): Likewise.
21007         * manual/math.texi (jn): Use @var{} on parameter names.
21008         (jnf): Likewise.
21009         (jnl): Likewise.
21010         (yn): Likewise.
21011         (ynf): Likewise.
21012         (ynl): Likewise.
21013         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21014         line.
21015         * manual/resource.texi (ulimit): Use @dots{} instead of literal
21016         "...".
21017         (sched_get_priority_min): Remove semicolon on @deftypefun line.
21018         (sched_get_priority_max): Likewise.
21019         * manual/signal.texi (sigvec): Add space after comma.
21020         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21021         names.
21022         (if_indextoname): Likewise.
21023         (if_freenameindex): Likewise.
21024         (sendto): Use ',' instead of '.' in prototype.
21025         * manual/startup.texi (syscall): Use @dots{} instead of literal
21026         "...".
21027         * manual/stdio.texi (__fpending): Separate initial words of
21028         paragraph from @deftypefun line.
21029         * manual/syslog.texi (syslog): Use @dots{} instead of literal
21030         "...".
21031         (vsyslog): Use @var{} on parameter names.
21032         * manual/terminal.texi (stty): Use @var{} on parameter names.
21033         * manual/users.texi (getutmp): Use @var{} on parameter names.
21034         (getutmpx): Likewise.
21035
21036 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21037
21038         [BZ #6884]
21039         * manual/stdio.texi (fopen): Fix typos in description of
21040         ",ccs=STRING".
21041
21042 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
21043
21044         [BZ #4026]
21045         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21046         get clock_id definition.
21047
21048 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
21049
21050         [BZ #4822]
21051         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21052         (madvise): Cast every argument to void on its own.
21053
21054 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21055
21056         [BZ #9902]
21057         * manual/startup.texi (Exit Status): Fix typo.
21058
21059 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21060
21061         [BZ #10140]
21062         * manual/examples/argp-ex1.c: Include <stdlib.h>.
21063         * manual/examples/argp-ex2.c: Likewise.
21064         * manual/examples/argp-ex3.c: Likewise.
21065
21066 2012-02-16  Richard Henderson  <rth@redhat.com>
21067
21068         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21069         * sysdeps/s390/s390-32/initfini.c: Remove.
21070         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21071         * sysdeps/s390/s390-64/initfini.c: Remove.
21072
21073 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21074
21075         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21076         compiler output for sysdeps/generic/initfini.c.
21077         * sysdeps/sh/elf/initfini.c: Remove file.
21078
21079 2012-02-16  David S. Miller  <davem@davemloft.net>
21080
21081         [BZ #11494]
21082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21083
21084         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21085         * sysdeps/sparc/crti.S: New file.
21086         * sysdeps/sparc/crtn.S: New file.
21087         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21088         * sysdeps/sparc/sparc64/Makefile: Likewise.
21089
21090 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
21091
21092         [BZ #3335]
21093         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21094
21095 2012-02-15  Roland McGrath  <roland@hack.frob.com>
21096
21097         [BZ #4822]
21098         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21099
21100         * mach/devstream.c (cookie_io_functions_t): Macro removed.
21101         (write, read, close): Likewise.
21102         Patch by Aurelien Jarno <aurelien@aurel32.net>.
21103
21104 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
21105
21106         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21107         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21108         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21109         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21110         <bits/signalfd.h>.
21111         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21113         bits/signalfd.h.
21114
21115 2012-02-14  Marek Polacek  <polacek@redhat.com>
21116
21117         * sysdeps/x86_64/crti.S: New file.
21118         * sysdeps/x86_64/crtn.S: New file.
21119         * sysdeps/x86_64/elf/initfini.c: Remove file.
21120
21121 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
21122
21123         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21124         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21125         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21126         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21127         <bits/inotify.h>.
21128         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21129         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21130         bits/inotify.h.
21131
21132 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
21133
21134         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21135         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21136         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21137         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21138         <bits/eventfd.h>.
21139         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21141         bits/eventfd.h.
21142
21143 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
21144
21145         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21146         __feraiseexcept instead of feraiseexcept.
21147
21148         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21149         nanosleep invocations.
21150         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21151         strings, and add error checking for a nanosleep invocations.
21152
21153 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
21154
21155         Replace FSF snail mail address with URLs, as per GNU coding standards.
21156         Most of the snail mail addresses were wrong anyway, and omitting
21157         them makes the source code easier to maintain.  Almost all of the
21158         changes are to license notices and to locale LC_IDENTIFICATION
21159         addresses, except for this one:
21160         * manual/libc.texinfo: In "Published by", give the FSF's URL,
21161         not its snail mail address.
21162
21163 2012-02-09  Richard Henderson  <rth@twiddle.net>
21164
21165         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21166         of kernel-features.h.
21167
21168         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21169
21170 2012-02-08  Marek Polacek  <polacek@redhat.com>
21171
21172         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21173         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21174         * sysdeps/gnu/_G_config.h: Likewise.
21175         * sysdeps/generic/_G_config.h: Likewise.
21176
21177 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
21178
21179         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21180         tests.
21181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21182
21183         * sysdeps/powerpc/powerpc32/crti.S: New file.
21184         * sysdeps/powerpc/powerpc32/crtn.S: New file.
21185         * sysdeps/powerpc/powerpc64/crti.S: New file.
21186         * sysdeps/powerpc/powerpc64/crtn.S: New file.
21187
21188         * Makeconfig (have-initfini): Don't set.
21189         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21190         * configure.in (nopic_initfini): Don't substitute.
21191         * config.h.in (HAVE_INITFINI): Don't #undef.
21192         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21193         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21194
21195 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
21196
21197         Support crti.S and crtn.S provided directly by architectures.
21198         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21199         [crti.S in sysdirs] (omit-deps): Likewise.
21200         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21201         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21202         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21203         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21204         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21205         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21206         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21207         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21208         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21209         compiler output for sysdeps/generic/initfini.c.
21210         * sysdeps/i386/elf/Makefile: Remove file.
21211         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21212
21213 2012-02-07  Marek Polacek  <polacek@redhat.com>
21214
21215         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21216         * sysdeps/gnu/_G_config.h: Likewise.
21217         * sysdeps/mach/hurd/_G_config.h: Likewise.
21218
21219 2012-02-07  Marek Polacek  <polacek@redhat.com>
21220
21221         * math/Makefile (tests): Add tst-CMPLX2.
21222         * math/tst-CMPLX2.c: New file.
21223
21224 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
21225
21226         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21227
21228         * math/libm-test.inc (jn_test): Add missing L suffix.
21229
21230 2012-02-06  Marek Polacek  <polacek@redhat.com>
21231
21232         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21233         * sysdeps/i386/fpu/e_powf.S: Likewise.
21234         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21235         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21236         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21237         * sysdeps/i386/fpu/e_pow.S: Likewise.
21238         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21239         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21240         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21241         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21242         * sysdeps/i386/fpu/e_log2.S: Likewise.
21243         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21244         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21245         * sysdeps/i386/fpu/e_powl.S: Likewise.
21246         * sysdeps/i386/fpu/s_log1p.S: Likewise.
21247         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21248         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21249         * sysdeps/i386/fpu/e_logl.S: Likewise.
21250         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21251         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21252         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21253         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21254         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21255         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21256         * sysdeps/i386/fpu/e_log.S: Likewise.
21257         * sysdeps/i386/fpu/s_cexp.S: Likewise.
21258         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21259         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21260         * sysdeps/i386/fpu/e_logf.S: Likewise.
21261         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21262         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21263         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21264         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21265         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21266         * sysdeps/i386/fpu/e_log10.S: Likewise.
21267         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21268         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21269         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21270         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21271         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21272         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21273         * sysdeps/i386/asm-syntax.h: Likewise.
21274         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21275         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21276         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21277         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21278         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21279         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21280         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21281         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21282         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21283         * sysdeps/powerpc/sysdep.h: Likewise.
21284         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21285         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21286
21287 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
21288
21289         [BZ #411]
21290         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21291
21292 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
21293
21294         * sysdeps/i386/sysdep.h: Include <features.h>.
21295         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21296         version.
21297
21298 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
21299
21300         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21301         Define.
21302         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21303         LOAD_PIC_REG_STR.
21304
21305 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
21306
21307         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21308         (SETUP_PIC_REG): Use GET_PC_THUNK.
21309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21310         macro.
21311
21312 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
21313
21314         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21315         for non-PIC compilation.
21316         (SETUP_PIC_REG): Add .p2align directive.
21317         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21318         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21319         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21320         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21321         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21322         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21323         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21324         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21325         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21326         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21327         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21328         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21329         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21330         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21331         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21332         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21333         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21334         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21335         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21336         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21337         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21338         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21339         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21340         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21341         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21342         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21343         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21344         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21345         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21346         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21347         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21348         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21349         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21350         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21351         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21352         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21353         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21354         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21355         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21356         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21357         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21358
21359 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
21360
21361         * math/tst-CMPLX.c: Include <stdio.h>.
21362
21363 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
21364
21365         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21366         float.
21367         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21368         * sysdeps/sparc/bits/mathdef.h: Likewise.
21369
21370 2012-01-31  Marek Polacek  <polacek@redhat.com>
21371
21372         * libio/libio.h: Don't define _PARAMS.
21373         * locale/programs/config.h: Don't define PARAMS.
21374         * stdlib/strtol_l.c: Likewise.
21375         (__strtol_l): Remove PARAMS from the prototype.
21376
21377 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
21378
21379         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
21380         names.  Just use the correct names.  Remove unnecessary wrapper
21381         functions.
21382         * malloc/arena.c: Likewise.
21383         * malloc/hooks.c: Likewise.
21384
21385         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21386         ARENA_TEST says not to.  Simplify test for creation of a new arena.
21387         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21388
21389 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
21390
21391         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21392         into tail calls.
21393         (update_get_addr): New function.
21394         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21395         GET_ADDR_MODULE parameter.
21396
21397 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
21398
21399         * crypt/cert.c: Remove __STDC__ conditionals.
21400         * crypt/crypt-entry.c: Likewise.
21401         * crypt/crypt_util.c: Likewise.
21402         * libio/filedoalloc.c: Likewise.
21403         * libio/fileops.c: Likewise.
21404         * libio/genops.c: Likewise.
21405         * libio/iofclose.c: Likewise.
21406         * libio/iofdopen.c: Likewise.
21407         * libio/iofopen.c: Likewise.
21408         * libio/iofopen64.c: Likewise.
21409         * libio/iogetdelim.c: Likewise.
21410         * libio/iopopen.c: Likewise.
21411         * libio/obprintf.c: Likewise.
21412         * libio/oldfileops.c: Likewise.
21413         * libio/oldiofclose.c: Likewise.
21414         * libio/oldiofdopen.c: Likewise.
21415         * libio/oldiofopen.c: Likewise.
21416         * libio/oldiopopen.c: Likewise.
21417         * libio/wfiledoalloc.c: Likewise.
21418         * libio/wgenops.c: Likewise.
21419         * locale/programs/xmalloc.c: Likewise.
21420         * misc/syslog.c: Likewise.
21421         * stdio-common/xbug.c: Likewise.
21422         * string/memchr.c: Likewise.
21423         * string/memcmp.c: Likewise.
21424         * string/memrchr.c: Likewise.
21425         * string/rawmemchr.c: Likewise.
21426         * sysdeps/posix/getcwd.c: Likewise.
21427         * time/strftime_l.c: Likewise.
21428
21429 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
21430
21431         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21432         * config.make.in (config-cflags-sse2avx): Define.
21433         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21434         Fix typo.
21435
21436 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
21437
21438         * scripts/config.guess: Update from upstream config git repository.
21439         * scripts/config.sub: Likewise.
21440
21441 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
21442
21443         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21444         (EM_NUM): Update.
21445         (R_TILEPRO_*, R_TILEGX_*): New macros.
21446
21447         * scripts/firstversions.awk: Fix bug in version range handling.
21448
21449         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21450
21451         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21452
21453         * include/sys/epoll.h: New file.
21454         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21455         libc_hidden_def.
21456
21457 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
21458
21459         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21460         Avoid unnecessary __WORDSIZE == 64 test.
21461         (fmaxf): Use VEX format if possible.
21462         (fmax): Likewise.
21463         (fminf): Likewise.
21464         (fmin): Likewise.
21465
21466         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21467         * math/math_private.h: Remove libc_fegetround* and
21468         libc_fesetround*.
21469         * sysdeps/i386/configure.in: Check for -msse2avx.
21470         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21471         also if SSE2AVX is defined.
21472         Remove libc_fegetround* and libc_fesetround*.
21473         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21474         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
21475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21476         of HAS_YMM_USABLE.
21477         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21478         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21479         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21480         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21481         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21482
21483         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21484
21485 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21486
21487         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21488         size is not set.
21489         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21490
21491 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
21492
21493         [BZ #13618]
21494         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21495         relocation.
21496         * Makeconfig (libm): Define.
21497         * elf/Makefile: Add rules to build and run tst-relsort1.
21498         * elf/tst-relsort1.c: New file.
21499         * elf/tst-relsort1mod1.c: New file.
21500         * elf/tst-relsort1mod2.c: New file.
21501
21502 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
21503
21504         * math/s_ldexp.c: Remove __STDC__ conditionals.
21505         * math/s_ldexpf.c: Likewise.
21506         * math/s_ldexpl.c: Likewise.
21507         * math/s_nextafter.c: Likewise.
21508         * math/s_nexttowardf.c: Likewise.
21509         * math/s_significand.c: Likewise.
21510         * math/s_significandf.c: Likewise.
21511         * math/s_significandl.c: Likewise.
21512         * math/w_jnl.c: Likewise.
21513         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21514         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21515         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21516         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21517         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21518         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21519         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21520         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21521         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21522         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21523         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21524         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21525         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21526         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21527         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21528         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21529         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21530         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21531         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21532         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21533         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21534         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21535         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21536         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21537         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21538         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21539         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21540         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21541         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21542         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21543         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21544         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21545         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21546         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21547         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21548         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21549         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21550         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21551         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21552         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21553         * sysdeps/ieee754/k_standard.c: Likewise.
21554         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21555         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21556         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21557         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21558         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21559         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21561         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21562         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21563         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21564         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21565         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21566         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21567         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21568         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21569         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21570         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21571         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21572         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21573         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21574         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21575         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21576         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21577         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21578         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21579         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21583         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21584         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21585         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21586         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21587         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21588         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21589         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21590         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21592         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21593         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21594         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21596         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21597         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21598         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21599         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21600         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21601         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21602         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21603         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21604         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21605         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21606         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21607         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21608         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21609         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21610         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21611         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21612         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21613         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21614         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21615         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21616         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21617         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21618         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21619         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21620         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21621         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21622         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21623         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21624         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21625         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21626         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21627         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21628         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21629         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21630         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21631         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21632         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21633         * sysdeps/ieee754/s_matherr.c: Likewise.
21634         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21635         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21636         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21637         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21638
21639 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
21640
21641         * crypt/md5.h: Remove __STDC__ conditionals.
21642         * libio/libioP.h: Likewise.
21643         * locale/programs/config.h: Likewise.
21644         * sysdeps/generic/sysdep.h: Likewise.
21645         * sysdeps/i386/asm-syntax.h: Likewise.
21646         * sysdeps/s390/asm-syntax.h: Likewise.
21647         * sysdeps/unix/sysdep.h: Likewise.
21648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21650
21651 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
21652
21653         * libio/libio.h: Remove __STDC__ conditionals.
21654         * malloc/obstack.h: Likewise.
21655         * math/complex.h: Likewise.
21656         * math/math.h: Likewise.
21657         * sysdeps/generic/_G_config.h: Likewise.
21658         * sysdeps/gnu/_G_config.h: Likewise.
21659         * sysdeps/mach/hurd/_G_config.h: Likewise.
21660         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21661         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21662         * sysdeps/sparc/bits/mathdef.h: Likewise.
21663
21664 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
21665
21666         [BZ #13583]
21667         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21668         Clean up HAS_* macros.
21669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21670         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21671         possible.
21672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21673         HAS_AVX.
21674         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21675         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21676         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21677         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21678         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21679
21680 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
21681
21682         * elf/tst-unique3.cc (gets): Remove declaration.
21683         * elf/tst-unique3lib.cc (gets): Likewise.
21684         * elf/tst-unique3lib2.cc (gets): Likewise.
21685         * elf/tst-unique4.cc (gets): Likewise.
21686
21687 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
21688
21689         * include/stdio.h: Add C++ protection.  Add gets declarations and
21690         definitions.
21691         * debug/tst-chk1.c: Don't declare gets here.
21692         * stdio-common/tst-gets.c: Likewise.
21693
21694 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21695
21696         * posix/glob: Remove directory.
21697
21698 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
21699
21700         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21701
21702 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
21703
21704         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21705         of the non-standard EPFNOSUPPORT.
21706
21707 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21708
21709         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21710         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21711         ANYWHERE set to 1 only on KERN_NO_SPACE error.
21712
21713 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
21714
21715         * wcsmbs/uchar.h: Test __STDC_VERSION__.
21716
21717 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
21718
21719         * nscd/aicache.c (addhstaiX): Do not cache negative results of
21720         transient errors.
21721         * nscd/grpcache.c (cache_addgr): Likewise.
21722         * nscd/hstcache.c (cache_addhst): Likewise.
21723         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21724         * nscd/pwdcache.c (cache_addpw): Likewise.
21725         * nscd/servicescache.c (cache_addserv): Likewise.
21726
21727 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
21728
21729         * malloc/malloc.c: Various cleanups.
21730         * malloc/hooks.c: Likewise.
21731
21732         * stdlib/Makefile (tests): Add bug-fmtmsg1.
21733         * stdlib/bug-fmtmsg1.c: New file.
21734
21735         * stdlib/fmtmsg.c (init): Add missing unlock.
21736         Patch by Peng Haitao <penght@cn.fujitsu.com>.
21737
21738 2012-01-12  Marek Polacek  <polacek@redhat.com>
21739
21740         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21741         and _GNU_SOURCE.
21742
21743 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
21744
21745         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21746         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21747         macro to ensure uniqueness of label name.
21748         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21749         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21750
21751 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
21752
21753         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21754
21755         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21756         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21757         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21758         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21759
21760 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
21761
21762         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21763
21764         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21765         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21766         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21767
21768         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21769
21770         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21771         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21772         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21773         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21774
21775         * math/bits/math-finite.h: Add ldexp support.
21776
21777 2012-01-10  Marek Polacek  <polacek@redhat.com>
21778
21779         * locale/programs/localedef.h (show_archive_content): Add noreturn
21780         attribute.
21781
21782 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
21783
21784         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21785
21786 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21787
21788         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21789
21790         * io/Makefile (headers): Add bits/poll2.h.
21791
21792 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
21793
21794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21795         typo #include statement.
21796
21797 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21798
21799         * include/sys/cdefs.h: Define __attribute_alloc_size.
21800         * catgets/gencat.c: Add alloc_size attribute and apply consistently
21801         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21802         * elf/pldd.c: Likewise.
21803         * iconv/iconv_charmap.c: Likewise.
21804         * iconv/iconvconfig.c: Likewise.
21805         * iconv/strtab.c: Likewise.
21806         * locale/programs/locale.c: Likewise.
21807         * locale/programs/localedef.h: Likewise.
21808         * locale/programs/simple-hash.c: Likewise.
21809         * nscd/nscd.h: Likewise.
21810         * nss/makedb.c: Likewise.
21811         * sysdeps/generic/ldconfig.h: Likewise.
21812         * locale/programs/localedef.c: Remove xmalloc prototype.
21813         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21814
21815 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21816
21817         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21818         appropriate.
21819
21820 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21821
21822         * math/Makefile (tests): Add tst-CMPLX.
21823         * math/tst-CMPLX.c: New file.
21824
21825         * math/complex.h (CMPLXL): Fix typo.
21826
21827         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21828         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21829         GLIBC_2.16.
21830         * debug/tst-chk1.c: Add poll and ppoll tests.
21831         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21832         * include/sys/poll.h: Add hidden proto for ppoll.
21833         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21834         * sysdeps/mach/hurd/ppoll.c: Likewise.
21835         * io/ppoll.c: Likewise.
21836         * debug/poll_chk.c: New file.
21837         * debug/ppoll_chk.c: New file.
21838         * include/bits/poll2.h: New file.
21839         * io/bits/poll2.h: New file.
21840
21841         [BZ #1350]
21842         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21843
21844         * configure.in: static is always set to yes.  Remove.
21845         * config.make.in: Don't set build-static.
21846         * Makeconfig: Remove use of build-static.
21847         * dlfcn/Makefile: Likewise.
21848         * elf/Makefile: Likewise.
21849         * math/Makefile: Likewise.
21850         * misc/Makefile: Likewise.
21851         * nptl/Makefile: Likewise.
21852         * sysdeps/mach/hurd/Makefile: Likewise.
21853
21854         * configure.in: PWD_P is not used anymore.
21855         * config.make.in: Remove PWD_P entry.
21856
21857         * configure.in: Remove last remnants of RANLIB.
21858         No need to check for signed size_t anymore.
21859         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21860         and IA-64.
21861         Remove __builtin_expect test because we require at least gcc 3.4.
21862         * aclocal.m4: Likewise.
21863
21864         * wcsmbs/mbrtoc16.c: Implement using towc function.
21865         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21866         * wcsmbs/wcsmbsload.c: Likewise.
21867         * iconv/gconv_simple.c: Likewise.
21868         * iconv/gconv_int.h: Likewise.
21869         * iconv/gconv_builtin.h: Likewise.
21870         * iconv/iconv_prog.c: Remove CHAR16 handling.
21871
21872         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21873
21874         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21875
21876         * configure.in: Remove --with-elf and --enable-bounded options.
21877         Dont set base_machine for ia64.  More non-ELF conditions removed.
21878         Remove testing and setting of leading underscore information.
21879         * config.make.in (build-bounded): Set to no.
21880         * config.h.in: Remove NO_UNDERSCORES entry.
21881         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21882         them.
21883         * csu/start.c: Remove !NO_UNDERSCORE code.
21884         * locale/localeinfo.h: Likewise.
21885         * sysdeps/generic/machine-gmon.h: Likewise.
21886         * sysdeps/generic/sysdep.h: Likewise.
21887         * sysdeps/i386/sysdep.h: Likewise.
21888         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21889         * sysdeps/mach/sysdep.h: Likewise.
21890         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21891         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21892         * sysdeps/sh/sysdep.h: Likewise.
21893         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21894         * sysdeps/unix/i386/sysdep.S: Likewise.
21895         * sysdeps/unix/sparc/start.c: Likewise.
21896         * sysdeps/unix/sparc/sysdep.S: Likewise.
21897         * sysdeps/unix/sparc/sysdep.h: Likewise.
21898         * sysdeps/unix/start.c: Likewise.
21899         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21900         * sysdeps/x86_64/sysdep.h: Likewise.
21901
21902 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21903
21904         [BZ #13553]
21905         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21906         for non-gcc.
21907         * argp/argp-fmtstream.h: Use const instead __const.
21908         * argp/argp.h: Likewise.
21909         * assert/assert.h: Likewise.
21910         * bits/fenv.h: Likewise.
21911         * bits/sched.h: Likewise.
21912         * bits/sigset.h: Likewise.
21913         * bits/sigthread.h: Likewise.
21914         * catgets/nl_types.h: Likewise.
21915         * conform/data/pthread.h-data: Likewise.
21916         * crypt/crypt-private.h: Likewise.
21917         * crypt/crypt.h: Likewise.
21918         * crypt/crypt_util.c: Likewise.
21919         * ctype/ctype.h: Likewise.
21920         * debug/execinfo.h: Likewise.
21921         * debug/mbsnrtowcs_chk.c: Likewise.
21922         * debug/mbsrtowcs_chk.c: Likewise.
21923         * debug/wcsnrtombs_chk.c: Likewise.
21924         * debug/wcsrtombs_chk.c: Likewise.
21925         * debug/wcstombs_chk.c: Likewise.
21926         * dirent/dirent.h: Likewise.
21927         * dlfcn/dlfcn.h: Likewise.
21928         * elf/neededtest4.c: Likewise.
21929         * grp/grp.h: Likewise.
21930         * gshadow/gshadow.h: Likewise.
21931         * iconv/gconv.h: Likewise.
21932         * iconv/gconv_int.h: Likewise.
21933         * iconv/gconv_simple.c: Likewise.
21934         * iconv/iconv.h: Likewise.
21935         * iconv/loop.c: Likewise.
21936         * iconv/skeleton.c: Likewise.
21937         * include/aio.h: Likewise.
21938         * include/aliases.h: Likewise.
21939         * include/argz.h: Likewise.
21940         * include/arpa/inet.h: Likewise.
21941         * include/assert.h: Likewise.
21942         * include/dirent.h: Likewise.
21943         * include/dlfcn.h: Likewise.
21944         * include/execinfo.h: Likewise.
21945         * include/fcntl.h: Likewise.
21946         * include/fenv.h: Likewise.
21947         * include/glob.h: Likewise.
21948         * include/grp.h: Likewise.
21949         * include/libintl.h: Likewise.
21950         * include/mntent.h: Likewise.
21951         * include/netdb.h: Likewise.
21952         * include/pwd.h: Likewise.
21953         * include/rpc/netdb.h: Likewise.
21954         * include/sched.h: Likewise.
21955         * include/search.h: Likewise.
21956         * include/shadow.h: Likewise.
21957         * include/signal.h: Likewise.
21958         * include/stdio.h: Likewise.
21959         * include/stdlib.h: Likewise.
21960         * include/string.h: Likewise.
21961         * include/sys/socket.h: Likewise.
21962         * include/sys/stat.h: Likewise.
21963         * include/sys/statfs.h: Likewise.
21964         * include/sys/statvfs.h: Likewise.
21965         * include/sys/syslog.h: Likewise.
21966         * include/sys/time.h: Likewise.
21967         * include/sys/uio.h: Likewise.
21968         * include/time.h: Likewise.
21969         * include/unistd.h: Likewise.
21970         * include/utmp.h: Likewise.
21971         * include/wchar.h: Likewise.
21972         * include/wctype.h: Likewise.
21973         * inet/aliases.h: Likewise.
21974         * inet/arpa/inet.h: Likewise.
21975         * inet/netinet/ether.h: Likewise.
21976         * inet/netinet/in.h: Likewise.
21977         * intl/libintl.h: Likewise.
21978         * io/bits/fcntl2.h: Likewise.
21979         * io/fcntl.h: Likewise.
21980         * io/ftw.h: Likewise.
21981         * io/sys/poll.h: Likewise.
21982         * io/sys/stat.h: Likewise.
21983         * io/sys/statfs.h: Likewise.
21984         * io/sys/statvfs.h: Likewise.
21985         * io/utime.h: Likewise.
21986         * libio/bits/stdio.h: Likewise.
21987         * libio/bits/stdio2.h: Likewise.
21988         * libio/libio.h: Likewise.
21989         * libio/libioP.h: Likewise.
21990         * libio/stdio.h: Likewise.
21991         * locale/lc-ctype.c: Likewise.
21992         * locale/locale.h: Likewise.
21993         * login/utmp.h: Likewise.
21994         * malloc/arena.c: Likewise.
21995         * malloc/malloc.c: Likewise.
21996         * malloc/malloc.h: Likewise.
21997         * malloc/mcheck.c: Likewise.
21998         * malloc/mtrace.c: Likewise.
21999         * math/bits/mathcalls.h: Likewise.
22000         * math/fenv.h: Likewise.
22001         * math/math_private.h: Likewise.
22002         * misc/bits/error.h: Likewise.
22003         * misc/bits/syslog.h: Likewise.
22004         * misc/err.h: Likewise.
22005         * misc/error.h: Likewise.
22006         * misc/fstab.h: Likewise.
22007         * misc/mntent.h: Likewise.
22008         * misc/regexp.h: Likewise.
22009         * misc/search.h: Likewise.
22010         * misc/sgtty.h: Likewise.
22011         * misc/sys/mman.h: Likewise.
22012         * misc/sys/syslog.h: Likewise.
22013         * misc/sys/uio.h: Likewise.
22014         * misc/sys/xattr.h: Likewise.
22015         * misc/ttyent.h: Likewise.
22016         * nis/rpcsvc/ypclnt.h: Likewise.
22017         * nss/nss.h: Likewise.
22018         * posix/bits/unistd.h: Likewise.
22019         * posix/fnmatch.h: Likewise.
22020         * posix/glob.h: Likewise.
22021         * posix/sched.h: Likewise.
22022         * posix/spawn.h: Likewise.
22023         * posix/sys/wait.h: Likewise.
22024         * posix/unistd.h: Likewise.
22025         * posix/wordexp.h: Likewise.
22026         * pwd/pwd.h: Likewise.
22027         * resolv/netdb.h: Likewise.
22028         * resource/sys/resource.h: Likewise.
22029         * rt/aio.h: Likewise.
22030         * rt/bits/mqueue2.h: Likewise.
22031         * rt/mqueue.h: Likewise.
22032         * shadow/shadow.h: Likewise.
22033         * signal/signal.h: Likewise.
22034         * socket/send.c: Likewise.
22035         * socket/sendto.c: Likewise.
22036         * socket/sys/socket.h: Likewise.
22037         * stdio-common/printf.h: Likewise.
22038         * stdlib/bits/stdlib.h: Likewise.
22039         * stdlib/fmtmsg.h: Likewise.
22040         * stdlib/monetary.h: Likewise.
22041         * stdlib/stdlib.h: Likewise.
22042         * stdlib/ucontext.h: Likewise.
22043         * streams/stropts.h: Likewise.
22044         * string/argz.h: Likewise.
22045         * string/bits/string2.h: Likewise.
22046         * string/string.h: Likewise.
22047         * string/strings.h: Likewise.
22048         * sunrpc/rpc/auth.h: Likewise.
22049         * sunrpc/rpc/auth_des.h: Likewise.
22050         * sunrpc/rpc/clnt.h: Likewise.
22051         * sunrpc/rpc/netdb.h: Likewise.
22052         * sunrpc/rpc/pmap_clnt.h: Likewise.
22053         * sunrpc/rpc/xdr.h: Likewise.
22054         * sysdeps/generic/inttypes.h: Likewise.
22055         * sysdeps/generic/net/if.h: Likewise.
22056         * sysdeps/generic/sys/swap.h: Likewise.
22057         * sysdeps/gnu/net/if.h: Likewise.
22058         * sysdeps/gnu/utmpx.h: Likewise.
22059         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22060         * sysdeps/i386/i486/bits/string.h: Likewise.
22061         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22062         * sysdeps/s390/bits/string.h: Likewise.
22063         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22064         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22065         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22066         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22067         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22068         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22069         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22070         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22071         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22072         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22073         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22074         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22075         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22076         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22077         * sysdeps/unix/sysv/linux/readv.c: Likewise.
22078         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22079         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22080         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22081         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22082         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22083         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22084         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22085         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22086         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22087         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22088         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22089         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22090         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22091         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22092         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22093         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22094         * sysvipc/sys/ipc.h: Likewise.
22095         * sysvipc/sys/msg.h: Likewise.
22096         * sysvipc/sys/sem.h: Likewise.
22097         * sysvipc/sys/shm.h: Likewise.
22098         * termios/termios.h: Likewise.
22099         * time/sys/time.h: Likewise.
22100         * time/time.h: Likewise.
22101         * wcsmbs/bits/wchar2.h: Likewise.
22102         * wcsmbs/uchar.h: Likewise.
22103         * wcsmbs/wchar.h: Likewise.
22104         * wctype/wctype.h: Likewise.
22105
22106         [BZ #13551]
22107         * Makeconfig: Remove all but ELF support including AIX support.
22108         * Makerules: Likewise.
22109         * config.h.in: Likewise.
22110         * config.make.in: Likewise.
22111         * configure: Likewise.
22112         * configure.in: Likewise.
22113         * csu/Makefile: Likewise.
22114         * csu/version.c: Likewise.
22115         * debug/Makefile: Likewise.
22116         * dlfcn/Makefile: Likewise.
22117         * elf/Makefile: Likewise.
22118         * extra-lib.mk: Likewise.
22119         * iconv/Makefile: Likewise.
22120         * include/libc-symbols.h: Likewise.
22121         * include/shlib-compat.h: Likewise.
22122         * resolv/Makefile: Likewise.
22123         * resolv/res_libc.c: Likewise.
22124         * rt/Makefile: Likewise.
22125         * sysdeps/i386/asm-syntax.h: Likewise.
22126         * sysdeps/i386/sysdep.h: Likewise.
22127         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22128         * sysdeps/mach/sysdep.h: Likewise.
22129         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22130         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22131         * sysdeps/s390/asm-syntax.h: Likewise.
22132         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22133         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22134         * sysdeps/sh/sysdep.h: Likewise.
22135         * sysdeps/unix/sparc/sysdep.h: Likewise.
22136         * sysdeps/wordsize-32/divdi3.c: Likewise.
22137         * sysdeps/x86_64/sysdep.h: Likewise.
22138
22139         * argp/Versions: Remove _argp_unlock_xxx.
22140
22141         [BZ #13559]
22142         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
22143         * abilist/libBrokenLocale.abilist: Likewise.
22144         * abilist/libanl.abilist: Likewise.
22145         * abilist/libc.abilist: Likewise.
22146         * abilist/libcrypt.abilist: Likewise.
22147         * abilist/libdl.abilist: Likewise.
22148         * abilist/libm.abilist: Likewise.
22149         * abilist/libnsl.abilist: Likewise.
22150         * abilist/libpthread.abilist: Likewise.
22151         * abilist/libresolv.abilist: Likewise.
22152         * abilist/librt.abilist: Likewise.
22153         * abilist/libthread_db.abilist: Likewise.
22154         * abilist/libutil.abilist: Likewise.
22155         * abilist/libnss_db.abilist: New file.
22156
22157         * scripts/abilist.awk: Add support for indirect functions.
22158
22159         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22160
22161         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22162
22163         * shlib-versions: Remove entries for ports architectures.
22164
22165         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
22166         files in ports.
22167         * elf/stackguard-macros.h: Remove support for IA-64.
22168         * elf/tst-auditmod1.c: Likewise.
22169         * sysdeps/generic/ldsodefs.h: Likewise.
22170
22171         * sysdeps/unix/sysv/linux/configure.in: Ports should define
22172         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22173         configure files.
22174
22175         [BZ #13552]
22176         * configure.in: Remove --enable-omitfp support.
22177         * FAQ.in: Adjust.
22178         * config.make.in: Likewise.
22179         * Makeconfig: Likewise.
22180         * manual/install.texi: Likewise.
22181
22182         In case anyone cares, the IA-64 architecture could move to ports.
22183         * sysdeps/ia64/*: Removed.
22184         * sysdeps/unix/sysv/linux/ia64/*: Removed.
22185         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22186
22187         [BZ #13555]
22188         * configure.in: Remove entries for unsupported architectures.
22189
22190         [BZ #13533]
22191         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22192         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
22193         routines.
22194         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22195         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22196         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
22197         fall back to using wcrtomb.
22198         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22199         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
22200         renaming.
22201         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22202         * wcsmbs/tst-c16c32-1.c: New file.
22203
22204         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22205         local variable.
22206
22207         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22208
22209         * elf/tst-unique3.cc: Add explicit declaration of gets.
22210         * elf/tst-unique3lib.cc: Likewise.
22211         * elf/tst-unique3lib2.cc: Likewise.
22212         * elf/tst-unique4.cc: Likewise.
22213
22214         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22215
22216 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
22217
22218         [BZ #13566]
22219         * assert/assert.h (static_assert): Don't define for C++.
22220         * libio/stdio.h (gets): Do declare for C++ <= C++11.
22221         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22222
22223 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
22224
22225         * iconv/loop.c (single loop): Fix assertion in storing of
22226         remaining bytes.
22227
22228         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22229
22230 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
22231
22232         * posix/getconf.c: Update copyright year.
22233         * nss/getent.c: Likewise.
22234         * nss/makedb.c: Likewise.
22235         * iconv/iconvconfig.c: Likewise.
22236         * iconv/iconv_prog.c: Likewise.
22237         * elf/ldconfig.c: Likewise.
22238         * elf/pldd.c: Likewise.
22239         * elf/sotruss.ksh: Likewise.
22240         * catgets/gencat.c: Likewise.
22241         * csu/version.c: Likewise.
22242         * elf/ldd.bash.in: Likewise.
22243         * elf/sprof.c (print_version): Likewise.
22244         * locale/programs/locale.c: Likewise.
22245         * locale/programs/localedef.c: Likewise.
22246         * login/programs/pt_chown.c: Likewise.
22247         * nscd/nscd.c (print_version): Likewise.
22248         * debug/xtrace.sh: Likewise.
22249         * malloc/memusage.sh: Likewise.
22250         * malloc/mtrace.pl: Likewise.
22251         * debug/catchsegv.sh: Likewise.
22252
22253 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
22254
22255         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22256         pure attribute.
22257
22258 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
22259
22260         [BZ #13533]
22261         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22262         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22263         transformations.
22264         * iconv/gconv_int.h: Likewise.
22265         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22266         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22267         from libc for GLIBC_2.16.
22268         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22269         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22270         * wcsmbs/uchar.h: Really define mbstate_t.
22271         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22272         * wcsmbs/c16rtomb.c: New file.
22273         * wcsmbs/mbrtoc16.c: New file.
22274         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22275         for C/POSIX locale.
22276         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22277         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22278
22279         * wcsmbs/wchar.h: Add missing __restrict.
22280
22281 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
22282
22283         [BZ #13532]
22284         * time/Makefile (routines): Add timespec_get.
22285         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22286         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
22287         timespec for ISO C11.
22288         * time/timespec_get.c: New file.
22289         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22290         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22291
22292         [BZ #13531]
22293         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22294         * stdlib/stdlib.h: Declare aligned_alloc.
22295         * Versions.def: Add GLIBC_2.16 for libc.
22296         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22297
22298         [BZ 13527]
22299         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22300         ISO C11.
22301
22302         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22303         code.
22304
22305         [BZ #13528]
22306         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22307
22308         [BZ #13529]
22309         * assert/assert.h (static_assert): Define.
22310
22311         * version.h: Update for 2.16 development version.
22312
22313         [BZ #13526]
22314         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22315         _ISOC11_SOURCE.
22316
22317         * version.h (RELEASE): Bump for 2.15 release.
22318         * include/features.h (__GLIBC_MINOR__): Bump to 15.
22319
22320         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22321         Patch by Marek Polacek <mpolacek@redhat.com>.
22322
22323         * bits/byteswap.h: Protect long long constants with __extension__.
22324         * sysdeps/i386/bits/byteswap.h: Likewise.
22325         * sysdeps/ia64/bits/byteswap.h: Likewise.
22326         * sysdeps/s390/bits/byteswap.h: Likewise.
22327         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22328
22329 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22330
22331         [BZ #13540]
22332         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22333         destination buffer.
22334         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22335
22336 2011-12-23  Marek Polacek  <polacek@redhat.com>
22337
22338         * elf/dl-addr.c (determine_info): Add inline keyword.
22339         * elf/tst-auditmod4b.c (check_avx): Likewise.
22340         * elf/tst-auditmod6b.c (check_avx): Likewise.
22341         * elf/tst-auditmod6c.c (check_avx): Likewise.
22342         * elf/tst-auditmod7b.c (check_avx): Likewise.
22343
22344 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
22345
22346         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22347         !__SSE_MATH__.
22348
22349 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22350
22351         [BZ #13540]
22352         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22353         processing for last bytes.
22354
22355 2011-08-06  Bruno Haible  <bruno@clisp.org>
22356
22357         [BZ #13061]
22358         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22359         U+0385, not to U+1FEE.
22360
22361         [BZ #13062]
22362         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22363         entry for U+00A5 U+0301.
22364
22365 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
22366
22367         [BZ #13166]
22368         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22369         buffer for the output is too small.
22370
22371         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22372         optimization.
22373
22374         [BZ #13185]
22375         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22376         SSE flags if possible.
22377
22378 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22379
22380         [BZ #13540]
22381         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22382         processing for last bytes.
22383
22384 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
22385
22386         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22387         (syscall-list-default-options, syscall-list-default-condition)
22388         (syscall-list-includes): Define.
22389         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22390         list of ABIs and options and #if conditions for each ABI.  Do not
22391         handle common syscalls between ABIs specially.
22392         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22393         Remove.
22394         (syscall-list-variants, syscall-list-32bit-options)
22395         (syscall-list-32bit-condition, syscall-list-64bit-options)
22396         (syscall-list-64bit-condition): Define.
22397         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22398         (syscall-list-variants, syscall-list-32bit-options)
22399         (syscall-list-32bit-condition, syscall-list-64bit-options)
22400         (syscall-list-64bit-condition): Define.
22401         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22402         Remove.
22403         (syscall-list-variants, syscall-list-32bit-options)
22404         (syscall-list-32bit-condition, syscall-list-64bit-options)
22405         (syscall-list-64bit-condition): Define.
22406         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22407         Remove.
22408         (syscall-list-variants, syscall-list-32bit-options)
22409         (syscall-list-32bit-condition, syscall-list-64bit-options)
22410         (syscall-list-64bit-condition): Define.
22411
22412 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
22413
22414         * locale/iso-639.def: Add brx entry.
22415
22416         [BZ #13328]
22417         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22418         Proposed by Mariusz_Cukr <marcukr@op.pl>.
22419
22420         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22421         __feraiseexcept_renamed.
22422
22423 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
22424
22425         [BZ #13538]
22426         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22427         EPOLLET with unsigned values.
22428         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22429         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22430
22431         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22432         to large cancellation.
22433         * math/s_cacoshf.c: Likewise.
22434         * math/s_cacoshl.c: Likewise.
22435
22436 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
22437
22438         [BZ #13305]
22439         [BZ #12786]
22440         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22441         * math/s_cacoshf.c: Likewise.
22442         * math/s_cacoshl.c: Likewise.
22443
22444 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
22445
22446         [BZ #13439]
22447         * iconv/gconv.h: Define __GCONV_SWAP.
22448         * iconvdata/unicode.c: The swap bit must be stored in __flags.
22449         * iconvdata/utf-16.c: Likewise.
22450         * iconvdata/utf-32.c: Likewise.
22451
22452 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22453
22454         [BZ #13524]
22455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22456         numerator after shifting it by one limb.
22457
22458 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
22459
22460         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22461         under [__USE_EXTERN_INLINES].
22462
22463 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
22464
22465         [BZ #13446]
22466         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22467
22468 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22469
22470         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22471         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22472         optimized code.
22473         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22474         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22475         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22476         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22477         for strncasecmp/strncasecmp_l compilation.
22478         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22479         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22480
22481 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
22482
22483         [BZ #13484]
22484         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22485         of __asm__.
22486
22487 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
22488
22489         [BZ #13506]
22490         * time/tzfile.c (__tzfile_read): Check values from file header.
22491
22492 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
22493
22494         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22495         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22496         * powerpc/powerpc32/dl-start.S: Likewise.
22497         * powerpc/powerpc32/elf/start.S: Likewise.
22498         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22499         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22500         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22501         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22502         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22503         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22504         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22505         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22506         * powerpc/powerpc32/fpu/s_round.S: Likewise.
22507         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22508         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22509         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22510         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22511         * powerpc/powerpc32/memset.S: Likewise.
22512         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22513         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22514         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22515         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22516         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22517         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22518         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22519         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22520         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22521         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22522         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22523         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22524         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22525
22526 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22527
22528         * math/libm-test.inc: Added more nearbyint tests.
22529         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22530         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22531         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22532         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22533
22534 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
22535
22536         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22537         FD_CLOEXEC.
22538
22539 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22540
22541         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22542         Add wcscpy-ssse3 wcscpy-c.
22543         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22544         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22545         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22546         * sysdeps/x86_64/wcschr.S: New file.
22547         * sysdeps/x86_64/wcsrchr.S: New file.
22548         * string/test-strcmp.c: Remove checking of wcscmp function for
22549         wrong alignments.
22550         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22551         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22552         wcsrchr-sse2 wcsrchr-c.
22553         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22554         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22555         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22556         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22557         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22558         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22559         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22560         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22562         * wcsmbc/wcschr.c (WCSCHR): New macro.
22563
22564 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22565
22566         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22567         * wcsmbs/test-wcsrchr.c: New file.
22568         * string/test-strrchr.c: Add wcsrchr support.
22569         (WIDE): New macro.
22570         * wcsmbs/test-wcscpy.c: New file.
22571         * string/test-strcpy.c: Add wcscpy support.
22572         (WIDE): New macro.
22573
22574 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
22575
22576         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22577         the inner loop.
22578
22579 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
22580
22581         [BZ #13472]
22582         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22583
22584 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
22585
22586         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22587         Minor optimizations.
22588
22589         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22590         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22591         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22592
22593 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
22594
22595         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22596         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22597         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22598         for gcc to avoid warnings.
22599         * inet/Makefile (tests): Add tst-checks.
22600         * inet/tst-checks.c: New file.
22601
22602         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22603         warning.
22604
22605         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22606         __wmemcmp_sse2.
22607
22608         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22609         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22610
22611         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22612
22613 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
22614
22615         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22616         problem.
22617
22618         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22619
22620 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
22621
22622         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22623         conditional on GCC version.
22624         (__arch_compare_and_exchange_val_8_acq)
22625         (__arch_compare_and_exchange_val_16_acq)
22626         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22627         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22628         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22629
22630 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
22631
22632         * sysdeps/sh/backtrace.c: New file.
22633
22634 2011-12-02  Andreas Schwab  <schwab@redhat.com>
22635
22636         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
22637         parenthesis.
22638
22639 2011-12-01  Andreas Schwab  <schwab@redhat.com>
22640
22641         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22642         falling back to utime.
22643
22644 2011-11-30  Andreas Schwab  <schwab@redhat.com>
22645
22646         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22647         expectations for float.
22648
22649 2011-11-29  Andreas Schwab  <schwab@redhat.com>
22650
22651         * locale/weight.h (findidx): Add parameter len.
22652         * locale/weightwc.h (findidx): Likewise.
22653         * posix/fnmatch_loop.c (FCT): Adjust caller.
22654         * posix/regcomp.c (build_equiv_class): Likewise.
22655         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22656         * posix/regexec.c (check_node_accept_bytes): Likewise.
22657         * string/strcoll_l.c (STRCOLL): Likewise.
22658         * string/strxfrm_l.c (STRXFRM): Likewise.
22659
22660 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
22661
22662         * Makefile.in: Remove CVSOPT handling.
22663         * configure.in: Remove use of AC_REVISION.
22664         * iconvdata/Makefile (distribute): No need to filter out CVS.
22665         * scripts/list-sources.sh: Remove CVS, subversion and monotone
22666         handling.
22667
22668 2011-11-16  Andreas Schwab  <schwab@redhat.com>
22669
22670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22671         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22672         [USE_AS_STRNCASECMP_L]: Likewise.
22673         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22674         NO_TLS_DIRECT_SEG_REFS.
22675         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22676         Fix argument offsets for non-PIC.
22677         [USE_AS_STRNCASECMP_L]: Likewise.
22678         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22679         NO_TLS_DIRECT_SEG_REFS.
22680
22681 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22682
22683         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22684         O_CLOEXEC.
22685         * locale/loadlocale.c (_nl_load_locale): Likewise.
22686
22687 2011-11-15  Andreas Schwab  <schwab@redhat.com>
22688
22689         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22690         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22691         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22692         (SYSCALL_GETTIME): Set errno on error.
22693
22694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22695         count references to noai6ai_cached.
22696
22697 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
22698
22699         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22700
22701         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22702         FD_CLOEXEC for /proc/self/maps.
22703
22704         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22705         FD_CLOEXEC for /proc/meminfo.
22706
22707         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22708         gai.conf.
22709
22710         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
22711         FD_CLOEXEC for given file.
22712
22713         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22714
22715         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22716         FD_CLOEXEC for /etc/hosts.
22717         (_gethtent): Likewise.
22718
22719         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22720
22721         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22722         cancellation and set FD_CLOEXEC for /etc/netgroup.
22723
22724         * nss/nss_files/files-key.c (search): Don't allow cancellation when
22725         reading /etc/publickey.
22726
22727         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22728         allow cancellation when reading /etc/group.
22729
22730         * nss/nss_files/files-alias.c (internal_setent): Don't allow
22731         cancellation.
22732         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
22733
22734         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22735         when using data file.
22736
22737         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22738
22739         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22740         (write_nis_obj): Use "c" and "e" in fopen.
22741
22742         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22743
22744         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22745
22746         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22747
22748         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22749
22750         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22751         locale.alias.
22752
22753         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22754
22755         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22756
22757         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22758
22759         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22760         file parsing and set FD_CLOEXEC.
22761
22762 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22763
22764         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22765
22766 2011-11-14  Andreas Schwab  <schwab@redhat.com>
22767
22768         * malloc/arena.c (arena_get2): Don't call reused_arena when
22769         _int_new_arena failed.
22770
22771 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
22772
22773         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22774         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22775         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22776         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22777         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22778         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22779         to compile strcasecmp and strncasecmp.
22780         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22781         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22782
22783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22784
22785 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
22786
22787         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22788         locale-defines.sym to gen-as-const-headers.
22789         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22790         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22791         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22792         to compile strcasecmp and strncasecmp.
22793         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22794         strcasecmp_l and strncasecmp_l.
22795         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22796         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22797         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22798         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22799         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22800         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22801         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22802         * sysdeps/i386/i686/multiarch/strncase.S: New file.
22803         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22804         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22805         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22806
22807 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
22808
22809         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22810         result of SYSDEP_GETTIME_CPU to retval.
22811         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22812         parameter list to macro.  Remove trailing semicolon.  Adjust users.
22813
22814         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22815         variable.
22816
22817         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22818         mantissa words.
22819         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22820
22821         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22822         from unused variable.
22823
22824         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22825         DWARF definitions.
22826         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22827         for assembling.
22828
22829         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22830         over namespaces.
22831
22832         * sunrpc/rpc_prot.c (rejected): Fix case value.
22833
22834         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22835         unsigned long long int to avoid warnings in shift.
22836
22837         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22838         of use of trans.
22839         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22840         variable tmp.
22841
22842         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22843         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22844         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22845
22846         * nis/nis_table.c (nis_list): Use variable of correct type for
22847         result of __follow_path call.
22848
22849 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22850
22851         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22852         of math functions ceil, trunc, floor, round, and sqrt, when
22853         avaliable on the platform.
22854         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22855         name clash.
22856         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22857         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22858         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22859
22860 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22861
22862         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22863         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22864
22865 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22866
22867         * include/unistd.h: Fix __readlink return type.
22868         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22869
22870 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22871
22872         * stdlib/ucontext.h: Undo last change for makecontext.
22873
22874 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22875
22876         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22877
22878         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22879         * setjmp/setjmp.h: Mark functions as non-leaf.
22880         * setjmp/bits/setjmp2.h: Likewise.
22881         * stdlib/ucontext.h: Likewise.
22882
22883 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22884
22885         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22886         (reused_arena): Don't check arena limit.
22887         (arena_get2): Atomically check arena limit.
22888
22889 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22890
22891         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22892         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22893
22894         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22895         instructions.
22896
22897 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22898
22899         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22900         handler when locking.
22901
22902         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22903         Fix size of allocated buffer.
22904
22905 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22906
22907         [BZ #10103]
22908         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22909         declarations for long double functions.
22910         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22911
22912         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22913
22914 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22915
22916         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22917         installed.
22918
22919         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22920         is disabled.
22921
22922 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22923
22924         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22925
22926 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22927
22928         * include/alloca.h (stackinfo_alloca_round): Define.
22929         (extend_alloca): Use it.
22930         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22931         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22932         here.
22933
22934         * scripts/check-local-headers.sh: Ignore libaudit.h.
22935
22936         * nscd/Makefile (extra-objs): Make recursively expanded.
22937
22938 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22939
22940         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22941         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22942
22943         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22944         * posix/tst-rfc3484-2.c: Likewise.
22945         * posix/tst-rfc3484-3.c: Likewise.
22946
22947         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22948         process_vm_writev.
22949         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22950         process_vm_writev.
22951         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22952         process_vm_writev from libc using GLIBC_2.15 version.
22953
22954         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22955
22956 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22957
22958         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22959         stack usage.
22960
22961 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22962
22963         [BZ #13367]
22964         * nss/getent.c (initgroups_keys): Show error message in case no group
22965         names are given.
22966
22967         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22968         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22969         __bump_nl_timestamp.
22970         * nscd/connections (nscd_init): When host database is served open
22971         netlink socket and request notification about configuration changes.
22972         (main_loop_poll): Track netlink file descriptor and bump timestamp
22973         in case data becomes available.
22974         (main_loop_epoll): Likewise.
22975         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22976         (database_pers_head): Add extra_data fileds.
22977         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22978         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22979         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22980         Adjust caller.
22981         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22982         in6ai data, call __free_in6ai.
22983         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22984         Add -DHAVE_NETLINK.
22985         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22986         interface information.  Reuse previous data if netlink timestamp
22987         is not changed.
22988         (__bump_nl_timestamp): New function.
22989         (__free_in6ai): New function.
22990
22991 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22992
22993         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22994         close_not_cancel_no_status here.
22995         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22996
22997 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22998
22999         [BZ #13276]
23000         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23001         return value.
23002
23003         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23004         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23005         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23006
23007 2011-07-03  Andreas Jaeger  <aj@suse.de>
23008
23009         [BZ #10709]
23010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23011         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23012         * math/libm-test.inc (sin_test): Add test case.
23013
23014 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
23015
23016         [BZ #13337]
23017         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23018         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23019
23020         * elf/chroot_canon.c (chroot_canon): Cleanups.
23021
23022         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23023
23024         [BZ #13335]
23025         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23026         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23027
23028         * string/test-strchr.c: Make usable for strchrnul testing.
23029         * string/test-strchrnul.c: New file.
23030         * string/Makefile (strop-tests): Add strchrnul.
23031
23032         * po/it.po: Update from translation team.
23033         * po/es.po: Likewise.
23034
23035 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
23036
23037         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23038         the three constants needed as parameters.  Drop the others.
23039         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23040         __m128i_strloadu_tolower.
23041         Create and initialize variable zero and use it in all the places
23042         where _mm_setzero_si128 was used.
23043
23044         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23045         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23046         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23047         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23048         anymore.
23049         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23050         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23051         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23052         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23053         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23054         __mpranred, __mptan.
23055         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23056         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23057         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23058         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23059         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23060         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23061         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23062         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23063         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23064
23065 2011-10-28  Andreas Schwab  <schwab@redhat.com>
23066
23067         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23068         redefine if SHARED.
23069         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23070
23071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23072         wide char related routines to wcsmbs subdir.
23073
23074 2011-10-27  Andreas Schwab  <schwab@redhat.com>
23075
23076         [BZ #13344]
23077         * misc/sys/cdefs.h (__THROWNL): Define.
23078         * posix/unistd.h: Use __THREADNL instead of __THREAD
23079         for memory synchronization functions.
23080
23081 2011-10-26  Roland McGrath  <roland@hack.frob.com>
23082
23083         [BZ #13349]
23084         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23085         doesn't exist.
23086         * manual/stdio.texi (Obstack Streams): Node removed.
23087
23088 2011-10-26  Andreas Schwab  <schwab@redhat.com>
23089
23090         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23091         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23092         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23093
23094         * math/math_private.h (math_force_eval): Allow non-addressable
23095         arguments.
23096         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23097
23098 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23099
23100         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23101         file is not needed.
23102
23103         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23105         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23106         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23107         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23108         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23109         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23110         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23111         Add AVX variants.
23112         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23113         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23114         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23115         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23116         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23117         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23118         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23119         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23120         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23121         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23122         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23123         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23124         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23125         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23126         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23127         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23128         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23129         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23130         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23131
23132         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23133         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
23134
23135         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23136         place.  Use VEX encoding when compiling for AVX.
23137
23138 2011-10-25  Andreas Schwab  <schwab@redhat.com>
23139
23140         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23141         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23142
23143         * string/test-strchr.c (do_test): Don't generate NUL bytes.
23144
23145 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23146
23147         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23148         useless if() expression.
23149         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23150         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23151         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23152         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23153         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23154         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23155         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23156         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23157         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23158         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23159         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23160         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23161         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23162         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23163         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23164         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23165         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23166         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23167         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23168
23169         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23170
23171 2011-10-25  Andreas Schwab  <schwab@redhat.com>
23172
23173         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23174         condition.
23175         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23176
23177 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23178
23179         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23180         .text section.  Avoid duplicate constants.
23181         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23182         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23183         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23185         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23187         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23189         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23190         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23191         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23192         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23193         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23194         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23195         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23196         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23197         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23198         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23199         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23200         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23201         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23202         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23203         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23204         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23205         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23206         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23207         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23208         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23209         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23210         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23211         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23212         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23213         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23214         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23215         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23216         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23217         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23218         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23219         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23220         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23221         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23222         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23223         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23224         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23225         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23226
23227 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
23228
23229         * sysdeps/x86_64/dla.h: Move to ...
23230         * sysdeps/x86_64/fpu/dla.h: ...here.
23231         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23232         situations.  Use __builtin_fma only for gcc 4.6 and up.
23233
23234         * config.make.in: Add have-mfma4 entry.
23235         * configure.in: Substitute libc_cv_cc_fma4.
23236         * math/Makefile (dbl-only-routines): Add sincostab.
23237         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23238         Use __sincostab not sincos.
23239         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23240         name is a macro.
23241         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23242         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
23245         using __copysign.
23246         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
23247         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
23248         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23249         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23250         and __inv.
23251         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23252         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23253         __copysign.
23254         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
23255         define aliases when function name is a macro.
23256         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23257         sysdeps/ieee754/dbl-64/sincos.tbl.
23258         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23259         fma4-enabled routines.
23260         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23261         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23262         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23263         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23264         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23265         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23266         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23267         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23268         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23269         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23270         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23271         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23272         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23273         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23274         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23275         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23276         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23277         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23278         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23279         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23280         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23281         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23282         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23283         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23284         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23285         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23286         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23287         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23288         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23289         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23290
23291         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23292         rename.
23293         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23295         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23297         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23298         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23299         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23300         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23301
23302 2011-10-24  Andreas Schwab  <schwab@redhat.com>
23303
23304         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23305
23306 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
23307
23308         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23309
23310         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23311         prediction.
23312         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23313
23314         * string/strnlen.c: Don't define STRNLEN, reverse logic.
23315         Remove unused variable magic_bits.
23316         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23317
23318         * string/strnlen.c: Define and use STRNLEN macro.
23319         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23320         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23321         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23322         * wcsmbs/wcslen.c: Define and use WCSLEN.
23323         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23324         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23325         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23326         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23327         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23328         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23329         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23330
23331 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23332
23333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23334         strnlen-sse2-no-bsf.
23335         Rename strlen-no-bsf to strlen-sse2-no-bsf.
23336         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23337         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23338         Add strnlen support.
23339         (USE_AS_STRNLEN): New macro.
23340         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23341         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23342         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23343         * sysdeps/x86_64/wcslen.S: New file.
23344
23345 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
23346
23347         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23348         XMM-moves are used for copying on small sizes.
23349
23350 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23351
23352         * wcsmbs/Makefile (strop-tests): Add wcschr.
23353         * wcsmbs/test-wcschr.c: New file.
23354         * string/test-strchr.c: Update.
23355         Add wcschr support.
23356         (WIDE): New macro.
23357
23358 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23359
23360         * wcsmbs/Makefile (strop-tests): Add wcslen.
23361         * wcsmbs/test-wcslen.c: New file.
23362         * string/test-strlen.c: Update.
23363         Add wcslen support.
23364         (WIDE): New macro.
23365
23366 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
23367
23368         * po/it.po: Update from translation team.
23369
23370 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23371
23372         * sysdeps/x86_64/wcscmp.S: Update.
23373         Fix wrong comparison semantics.
23374         wcscmp shall use signed comparison not unsigned.
23375         Don't use substraction to avoid overflow bug.
23376         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23377         * wcsmbc/wcscmp.c: Likewise.
23378         * string/test-strcmp.c: Likewise.
23379         Add new tests to check cases with negative values.
23380
23381 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
23382
23383         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23384         * sysdeps/x86_64/dla.h: ...here.  New file.
23385         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23387         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23388         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23390         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23391         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23392         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23393         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23394
23395 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
23396
23397         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23398         __ynl_finite aliases.
23399
23400 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
23401
23402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23403
23404         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23405         define DLA_FMA.
23406         [DLA_FMA] (EMULV): Use DLA_FMA.
23407         [DLA_FMA] (MUL12): Use EMULV.
23408         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23409         that are not needed.
23410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23411         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23415         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23416         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23417
23418 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
23419
23420         * math/s_nan.c: Undef __nan.
23421         * math/s_nanf.c: Undef __nanf.
23422         * math/s_nanl.c: Undef __nanl.
23423         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23424         "math_private.h".
23425
23426 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
23427
23428         * math/s_catan.c: Add branch predictions.
23429         * math/s_catanf.c: Likewise.
23430         * math/s_catanh.c: Likewise.
23431         * math/s_catanhf.c: Likewise.
23432         * math/s_catanhl.c: Likewise.
23433         * math/s_catanl.c: Likewise.
23434         * math/s_cexp.c: Likewise.
23435         * math/s_cexpf.c: Likewise.
23436         * math/s_cexpl.c: Likewise.
23437         * math/s_clog.c: Likewise.
23438         * math/s_clog10.c: Likewise.
23439         * math/s_clog10f.c: Likewise.
23440         * math/s_clog10l.c: Likewise.
23441         * math/s_clogf.c: Likewise.
23442         * math/s_clogl.c: Likewise.
23443         * math/s_csqrt.c: Likewise.
23444         * math/s_csqrtf.c: Likewise.
23445         * math/s_csqrtl.c: Likewise.
23446         * math/s_ctanf.c: Likewise.
23447         * math/s_ctanh.c: Likewise.
23448         * math/s_ctanhf.c: Likewise.
23449         * math/s_ctanhl.c: Likewise.
23450         * math/s_ctanl.c: Likewise.
23451
23452         * math/math_private.h: Define __nan, __nanf, __nanl.
23453         * math/s_cacosh.c: Include <math_private.h>.
23454         * math/s_cacoshl.c: Likewise.
23455         * math/s_casinh.c: Likewise.
23456         * math/s_casinhf.c: Likewise.
23457         * math/s_casinhl.c: Likewise.
23458         * math/s_ccos.c: Rely entire on ccosh.
23459         * math/s_ccosf.c: Rely entire on ccoshf.
23460         * math/s_ccosl.c: Rely entirely on ccoshl.
23461         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
23462         Remove tests for FE_INVALID.
23463         * math/s_ccoshf.c: Likewise.
23464         * math/s_ccoshl.c: Likewise.
23465         * math/s_csin.c: Likewise.
23466         * math/s_csinf.c: Likewise.
23467         * math/s_csinh.c Likewise.
23468         * math/s_csinhf.c: Likewise.
23469         * math/s_csinhl.c: Likewise.
23470         * math/s_csinl.c: Likewise.
23471         * math/s_ctan.c: Likewise.
23472         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23473         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23474         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23475
23476 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
23477
23478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23479         compilation problems.
23480
23481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23482         __builtin_expect.
23483
23484 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
23485
23486         * sysdeps/i386/configure.in: Test for -mfma4 option.
23487         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23488         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23489         COMMON_CPUID_INDEX_80000001.
23490         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23491         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23492         use it if FMA3 is not supported.
23493         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23494
23495         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23496         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23497
23498 2011-10-20  Andreas Schwab  <schwab@redhat.com>
23499
23500         [BZ #12892]
23501         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23502         it would create a cycle with a link time dependency.
23503
23504 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
23505
23506         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23507         instruction.
23508         * string/Makefile (strop-tests): Add rawmemchr.
23509         * string/test-rawmemchr.c: New file.
23510
23511         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23512         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
23513         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
23514         when compiling str{,n}casecmp and when AVX is available.  Hook up
23515         new optimized code in initializers.
23516
23517 2011-10-19  Andreas Schwab  <schwab@redhat.com>
23518
23519         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23520         __feraiseexcept instead of feraiseexcept.
23521
23522 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
23523
23524         * math/math_private.h: Define defaults for libc_fetestexcept and
23525         libc_feupdateenv.
23526         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23527         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23528         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23529         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23530         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23531         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23532         libc_fetestexcept and libc_feupdateenv.
23533
23534         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23535         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23536         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23537         * sysdeps/x86_64/fpu/math_private.h: Define special version of
23538         libc_feholdexcept_setround.
23539
23540         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23541         Add s_nearbyint-c and s_nearbyintf-c.
23542         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23543         nearbyintf inlines.
23544         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23545         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23546         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23547         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23548
23549         * math/math_private.h: Define defaults for libc_fegetround,
23550         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23551         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23552         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23553         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23554         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23555         standard functions.
23556         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23557         Remove comments and hacks for old compiler versions.
23558         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23559         libc_fegetround, libc_fesetround, libc_feholdexcept, and
23560         libc_feholdexceptl.
23561
23562 2011-10-18  Andreas Schwab  <schwab@redhat.com>
23563
23564         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23565         (__feraiseexcept_renamed): Add __NTH.
23566         (feraiseexcept): Add __NTH.  Rename local variables to fix
23567         namespace violations.
23568
23569 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
23570
23571         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23572
23573         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23574
23575         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23576         recently added interfaces.
23577         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23578
23579         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23580         about macro parameter expansion.
23581
23582         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23583         __NO_MATH_INLINES is defined.  Cleanups.
23584
23585         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23586         and __floorf is target has SSE4.1.
23587         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23588         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23589         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23590         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23591
23592         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23593         name.
23594         (floorf): Likewise.
23595
23596         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23597
23598 2011-10-17  Andreas Schwab  <schwab@redhat.com>
23599
23600         * misc/sys/cdefs.h: Fix last change.
23601
23602         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23603         database lookup.
23604
23605 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
23606
23607         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23608
23609         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23610         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23611         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23612         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23613         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23614         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23615         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23616         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23617         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23618         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23619         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23620         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23621         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23622         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23623         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23624         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23625         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23626         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23627         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23628         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23629         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23630         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23631
23632         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23633         ceil, ceilf, floor, floorf.
23634
23635         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23636         Perform IRELATIVE relocations last.
23637
23638         * elf/do-rel.h: Add another parameter nrelative, replacing the
23639         local variable with the same name.  Change name of the function
23640         to end in Rel or Rela (uppercase).
23641         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23642         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
23643         elf_dynamic_do_##reloc function.
23644
23645 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23646
23647         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23648         is sufficient, at least on modern CPUs.
23649
23650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23651
23652         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23653         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23654
23655         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23656         __expl_finite.
23657         * math/bits/math-finite.h: Add entries for exp.
23658         * math/e_expl.c: Add __*_finite alias.
23659         * sysdeps/i386/fpu/e_exp.S: Likewise.
23660         * sysdeps/i386/fpu/e_expf.S: Likewise.
23661         * sysdeps/i386/fpu/e_expl.c: Likewise.
23662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23663         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23664         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23666         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23667         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23668         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23669
23670         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23671         is sufficient, at least on modern CPUs.
23672
23673         * ctype/ctype-info.c (__ctype_init): Define.
23674         * include/ctype.h (__ctype_init): Declare.
23675         (__ctype_b_loc): The variable is always initialized.
23676         (__ctype_toupper_loc): Likewise.
23677         (__ctype_tolower_loc): Likewise.
23678         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23679         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23680
23681 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
23682
23683         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23684
23685         * configure.in: Also look in $cxxmachine/include for C++ system
23686         headers.
23687
23688 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23689
23690         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23691         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23692         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23693         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
23694         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23695         (USE_AS_WMEMCMP): New macro.
23696         Fixing indents.
23697         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23698         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23699         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23700         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23701         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23702         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23703         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23704         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23705         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23706         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23707         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23708         (USE_AS_WMEMCMP): New macro.
23709         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23710         * sysdeps/string/test-memcmp.c: Update.
23711         Fix simple_wmemcmp.
23712         Add new tests.
23713         * wcsmbs/wmemcmp.c: Update.
23714         (WMEMCMP): New macro.
23715         Fix overflow bug.
23716
23717 2011-10-12  Andreas Jaeger  <aj@suse.de>
23718
23719         [BZ #13268]
23720         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23721
23722 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
23723
23724         * libio/iofwide.c (do_length): Avoid warning.
23725
23726         * ctype/ctype.h (__isctype_f): Add missing __THROW.
23727
23728 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
23729
23730         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23731
23732         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23733         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23734         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23735         * sysdeps/i386/i686/fpu/e_log.S: New file.
23736         * sysdeps/i386/i686/fpu/e_logf.S: New file.
23737         * sysdeps/i386/i686/fpu/e_logl.S: New file.
23738
23739         * ctype/ctype.h: Add support for inlined isXXX functions when
23740         compiling C++ code.
23741
23742 2011-10-14  Andreas Schwab  <schwab@redhat.com>
23743
23744         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23745
23746         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23747
23748 2011-10-13  Roland McGrath  <roland@hack.frob.com>
23749
23750         [BZ #13291]
23751         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23752
23753 2011-10-13  Andreas Schwab  <schwab@redhat.com>
23754
23755         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23756         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23757         feraiseexcept.
23758
23759         * sysdeps/x86_64/memrchr.S: Check for zero size.
23760
23761         * string/stratcliff.c: Add memrchr tests.
23762
23763 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23764
23765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23766         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23767         rawmemchr-sse2 rawmemchr-sse2-bsf.
23768         * sysdeps/i386/i686/multiarch/memchr.S: New file.
23769         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23770         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23771         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23772         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23773         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23774         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23775         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23776         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23777         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23778         * string/memrchr.c (MEMRCHR): New macro.
23779
23780 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
23781
23782         Add integration with gcc's -ffinite-math-only and optimize wrapper
23783         functions in libm.
23784         * Versions.def: Define GLIBC_2.15 version for libm.
23785         * math/Makefile (headers): Add bits/math-finite.h.
23786         * math/bits/math-finite.h: New file.
23787         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23788         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23789         * math/e_acoshl.c: Add __*_finite alias.
23790         * math/e_acosl.c: Likewise.
23791         * math/e_asinl.c: Likewise.
23792         * math/e_atan2l.c: Likewise.
23793         * math/e_atanhl.c: Likewise.
23794         * math/e_coshl.c: Likewise.
23795         * math/e_exp10.c: Likewise.
23796         * math/e_exp10f.c: Likewise.
23797         * math/e_exp10l.c: Likewise.
23798         * math/e_exp2l.c: Likewise.
23799         * math/e_fmodl.c: Likewise.
23800         * math/e_gammal_r.c: Likewise.
23801         * math/e_hypotl.c: Likewise.
23802         * math/e_j0l.c: Likewise.
23803         * math/e_j1l.c: Likewise.
23804         * math/e_jnl.c: Likewise.
23805         * math/e_lgammal_r.c: Likewise.
23806         * math/e_log10l.c: Likewise.
23807         * math/e_log2l.c: Likewise.
23808         * math/e_logl.c: Likewise.
23809         * math/e_powl.c: Likewise.
23810         * math/e_sinhl.c: Likewise.
23811         * math/e_sqrtl.c: Likewise.
23812         * math/e_scalb.c: Completely rewritten and optimized.
23813         * math/e_scalbf.c: Likewise.
23814         * math/e_scalbl.c: Likewise.
23815         * math/w_acos.c: Likewise.
23816         * math/w_acosf.c: Likewise.
23817         * math/w_acosl.c: Likewise.
23818         * math/w_acosh.c: Likewise.
23819         * math/w_acoshf.c: Likewise.
23820         * math/w_acoshl.c: Likewise.
23821         * math/w_asin.c: Likewise.
23822         * math/w_asinf.c: Likewise.
23823         * math/w_asinl.c: Likewise.
23824         * math/w_atan2.c: Likewise.
23825         * math/w_atan2f.c: Likewise.
23826         * math/w_atan2l.c: Likewise.
23827         * math/w_atanh.c: Likewise.
23828         * math/w_atanhf.c: Likewise.
23829         * math/w_atanhl.c: Likewise.
23830         * math/w_exp10.c: Likewise.
23831         * math/w_exp10f.c: Likewise.
23832         * math/w_exp10l.c: Likewise.
23833         * math/w_fmod.c: Likewise.
23834         * math/w_fmodf.c: Likewise.
23835         * math/w_fmodl.c: Likewise.
23836         * math/w_j0.c: Likewise.
23837         * math/w_j0f.c: Likewise.
23838         * math/w_j0l.c: Likewise.
23839         * math/w_j1.c: Likewise.
23840         * math/w_j1f.c: Likewise.
23841         * math/w_j1l.c: Likewise.
23842         * math/w_jn.c: Likewise.
23843         * math/w_jnf.c: Likewise.
23844         * math/w_log.c: Likewise.
23845         * math/w_logf.c: Likewise.
23846         * math/w_logl.c: Likewise.
23847         * math/w_log10.c: Likewise.
23848         * math/w_log10f.c: Likewise.
23849         * math/w_log10l.c: Likewise.
23850         * math/w_log2.c: Likewise.
23851         * math/w_log2f.c: Likewise.
23852         * math/w_log2l.c: Likewise.
23853         * math/w_pow.c: Likewise.
23854         * math/w_powf.c: Likewise.
23855         * math/w_powl.c: Likewise.
23856         * math/w_remainder.c: Likewise.
23857         * math/w_remainderf.c: Likewise.
23858         * math/w_remainderl.c: Likewise.
23859         * math/w_scalb.c: Likewise.
23860         * math/w_scalbf.c: Likewise.
23861         * math/w_scalbl.c: Likewise.
23862         * math/w_sqrt.c: Likewise.
23863         * math/w_sqrtf.c: Likewise.
23864         * math/w_sqrtl.c: Likewise.
23865         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23866         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23867         used.
23868         * math/math_private.h: Declare __kernel_standard_f.
23869         * math/w_cosh.c: Remove cruft and optimize a bit.
23870         * math/w_coshf.c: Likewise.
23871         * math/w_coshl.c: Likewise.
23872         * math/w_exp2.c: Likewise.
23873         * math/w_exp2f.c: Likewise.
23874         * math/w_exp2l.c: Likewise.
23875         * math/w_hypot.c: Likewise.
23876         * math/w_hypotf.c: Likewise.
23877         * math/w_hypotl.c: Likewise.
23878         * math/w_lgamma.c: Likewise.
23879         * math/w_lgamma_r.c: Likewise.
23880         * math/w_lgammaf.c: Likewise.
23881         * math/w_lgammaf_r.c: Likewise.
23882         * math/w_lgammal.c: Likewise.
23883         * math/w_lgammal_r.c: Likewise.
23884         * math/w_sinh.c: Likewise.
23885         * math/w_sinhf.c: Likewise.
23886         * math/w_sinhl.c: Likewise.
23887         * math/w_tgamma.c: Likewise.
23888         * math/w_tgammaf.c: Likewise.
23889         * math/w_tgammal.c: Likewise.
23890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23891         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23892         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23893         Minor optimizations.  Pretty printing.  Remove cruft.
23894         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23895         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23896         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23897         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23898         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23899         * sysdeps/i386/fpu/e_asin.S: Likewise.
23900         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23901         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23902         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23903         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23904         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23905         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23906         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23907         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23908         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23909         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23910         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23911         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23912         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23913         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23914         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23915         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23916         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23917         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23918         * sysdeps/i386/fpu/e_log.S: Likewise.
23919         * sysdeps/i386/fpu/e_log10.S: Likewise.
23920         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23921         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23922         * sysdeps/i386/fpu/e_log2.S: Likewise.
23923         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23924         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23925         * sysdeps/i386/fpu/e_logf.S: Likewise.
23926         * sysdeps/i386/fpu/e_logl.S: Likewise.
23927         * sysdeps/i386/fpu/e_pow.S: Likewise.
23928         * sysdeps/i386/fpu/e_powf.S: Likewise.
23929         * sysdeps/i386/fpu/e_powl.S: Likewise.
23930         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23931         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23932         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23933         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23934         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23935         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23936         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23937         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23938         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23939         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23940         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23942         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23943         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23944         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23945         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23946         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23947         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23948         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23949         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23950         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23951         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23952         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23953         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23954         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23955         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23956         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23957         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23958         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23959         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23960         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23961         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23962         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23963         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23964         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23965         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23966         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23967         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23968         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23969         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23970         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23971         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23972         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23973         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23974         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23975         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23976         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23977         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23978         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23979         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23980         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23981         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23982         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23983         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23984         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23985         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23986         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23987         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23988         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23989         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23990         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23991         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23992         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23993         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23994         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23995         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23996         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23997         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23998         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23999         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24000         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24001         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24003         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24004         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24006         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24007         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24008         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24009         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24010         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24011         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24012         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24013         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24014         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24015         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24016         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24017         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24018         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24019         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24020         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24021         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24022         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24023         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24024         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24025         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24026         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24027         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24028         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24029         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24030         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24031         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24032         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24033         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24034         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24035         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24036         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24037         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24038         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24039         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24040         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24041         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24042         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24043         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24044         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24045         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24046         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24047         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24048         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24049         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
24050         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24051         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24052         (__isnanf): Likewise.
24053         (__isinf_ns): Likewise.
24054         (__isinf_nsf): Likewise.
24055         (__finite): Likewise.
24056         (__finitef): Likewise.
24057         (__ieee754_sqrt): Define as macro.
24058         (__ieee754_sqrtf): Define as macro.
24059         (__ieee754_sqrtl): Define as macro.
24060         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24061         inlined copy.
24062         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24063         __FINITE_MATH_ONLY__ consistent.
24064         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24065
24066 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
24067
24068         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24069         of rawmemchr.
24070
24071         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24072
24073 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
24074
24075         * po/ja.po: Update from translation team.
24076
24077 2011-10-08  Roland McGrath  <roland@hack.frob.com>
24078
24079         * locale/programs/locarchive.c (prepare_address_space): New function.
24080         (create_archive, enlarge_archive, open_archive): Use it.
24081
24082         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24083         inside [SHARED], where it is used.
24084
24085         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24086
24087         * nss/getent.c (netgroup_keys): Remove unused variable.
24088         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24089
24090 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
24091
24092         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24093         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24094         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24095         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24096         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24097         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24098         * math/Makefile (libm-calls): Add s_isinf_ns.
24099         * math/divtc3.c: Use __isinf_nsl instead of isinf.
24100         * math/multc3.c: Likewise.
24101         * math/s_casin.c: Likewise.
24102         * math/s_casinf.c: Likewise.
24103         * math/s_casinl.c: Likewise.
24104         * math/s_ccos.c: Likewise.
24105         * math/s_ccosf.c: Likewise.
24106         * math/s_ccosl.c: Likewise.
24107         * math/s_ctan.c: Likewise.
24108         * math/s_ctanf.c: Likewise.
24109         * math/s_ctanh.c: Likewise.
24110         * math/s_ctanhf.c: Likewise.
24111         * math/s_ctanhl.c: Likewise.
24112         * math/s_ctanl.c: Likewise.
24113         * math/w_fmod.c: Likewise.
24114         * math/w_fmodf.c: Likewise.
24115         * math/w_fmodl.c: Likewise.
24116         * math/w_remainder.c: Likewise.
24117         * math/w_remainderf.c: Likewise.
24118         * math/w_remainderl.c: Likewise.
24119         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24120         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24121         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24123         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24124         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24125         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24126         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24127
24128         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24129         of the number.
24130         * stdio-common/printf_fphex.c: Likewise.
24131         * stdio-common/printf_size.c: Likewise.
24132
24133         * math/e_exp10.c: Include math_private.h using <...> not "...".
24134         * math/e_exp10f.c: Likewise.
24135         * math/e_exp10l.c: Likewise.
24136         * math/e_exp2l.c: Likewise.
24137         * math/e_j0l.c: Likewise.
24138         * math/e_j1l.c: Likewise.
24139         * math/e_jnl.c: Likewise.
24140         * math/e_lgammal_r.c: Likewise.
24141         * math/e_rem_pio2l.c: Likewise.
24142         * math/e_scalb.c: Likewise.
24143         * math/e_scalbf.c: Likewise.
24144         * math/e_scalbl.c: Likewise.
24145         * math/k_cosl.c: Likewise.
24146         * math/k_sinl.c: Likewise.
24147         * math/k_tanl.c: Likewise.
24148         * math/s_cacoshf.c: Likewise.
24149         * math/s_catan.c: Likewise.
24150         * math/s_catanf.c: Likewise.
24151         * math/s_catanh.c: Likewise.
24152         * math/s_catanhf.c: Likewise.
24153         * math/s_catanhl.c: Likewise.
24154         * math/s_catanl.c: Likewise.
24155         * math/s_ccosh.c: Likewise.
24156         * math/s_ccoshf.c: Likewise.
24157         * math/s_ccoshl.c: Likewise.
24158         * math/s_cexp.c: Likewise.
24159         * math/s_cexpf.c: Likewise.
24160         * math/s_cexpl.c: Likewise.
24161         * math/s_clog.c: Likewise.
24162         * math/s_clog10.c: Likewise.
24163         * math/s_clog10f.c: Likewise.
24164         * math/s_clog10l.c: Likewise.
24165         * math/s_clogf.c: Likewise.
24166         * math/s_clogl.c: Likewise.
24167         * math/s_csin.c: Likewise.
24168         * math/s_csinf.c: Likewise.
24169         * math/s_csinh.c: Likewise.
24170         * math/s_csinhf.c: Likewise.
24171         * math/s_csinhl.c: Likewise.
24172         * math/s_csinl.c: Likewise.
24173         * math/s_csqrt.c: Likewise.
24174         * math/s_csqrtf.c: Likewise.
24175         * math/s_csqrtl.c: Likewise.
24176         * math/s_ctan.c: Likewise.
24177         * math/s_ctanf.c: Likewise.
24178         * math/s_ctanh.c: Likewise.
24179         * math/s_ctanhf.c: Likewise.
24180         * math/s_ctanhl.c: Likewise.
24181         * math/s_ctanl.c: Likewise.
24182         * math/s_ldexp.c: Likewise.
24183         * math/s_ldexpf.c: Likewise.
24184         * math/s_ldexpl.c: Likewise.
24185         * math/s_significand.c: Likewise.
24186         * math/s_significandf.c: Likewise.
24187         * math/s_significandl.c: Likewise.
24188         * math/w_acos.c: Likewise.
24189         * math/w_acosf.c: Likewise.
24190         * math/w_acosh.c: Likewise.
24191         * math/w_acoshf.c: Likewise.
24192         * math/w_acoshl.c: Likewise.
24193         * math/w_acosl.c: Likewise.
24194         * math/w_asin.c: Likewise.
24195         * math/w_asinf.c: Likewise.
24196         * math/w_asinl.c: Likewise.
24197         * math/w_atan2.c: Likewise.
24198         * math/w_atan2f.c: Likewise.
24199         * math/w_atan2l.c: Likewise.
24200         * math/w_atanh.c: Likewise.
24201         * math/w_atanhf.c: Likewise.
24202         * math/w_atanhl.c: Likewise.
24203         * math/w_cosh.c: Likewise.
24204         * math/w_coshf.c: Likewise.
24205         * math/w_coshl.c: Likewise.
24206         * math/w_dremf.c: Likewise.
24207         * math/w_exp10.c: Likewise.
24208         * math/w_exp10f.c: Likewise.
24209         * math/w_exp10l.c: Likewise.
24210         * math/w_exp2.c: Likewise.
24211         * math/w_exp2f.c: Likewise.
24212         * math/w_fmod.c: Likewise.
24213         * math/w_fmodf.c: Likewise.
24214         * math/w_fmodl.c: Likewise.
24215         * math/w_hypot.c: Likewise.
24216         * math/w_hypotf.c: Likewise.
24217         * math/w_hypotl.c: Likewise.
24218         * math/w_j0.c: Likewise.
24219         * math/w_j0f.c: Likewise.
24220         * math/w_j0l.c: Likewise.
24221         * math/w_j1.c: Likewise.
24222         * math/w_j1f.c: Likewise.
24223         * math/w_j1l.c: Likewise.
24224         * math/w_jn.c: Likewise.
24225         * math/w_jnf.c: Likewise.
24226         * math/w_jnl.c: Likewise.
24227         * math/w_lgamma.c: Likewise.
24228         * math/w_lgamma_r.c: Likewise.
24229         * math/w_lgammaf.c: Likewise.
24230         * math/w_lgammaf_r.c: Likewise.
24231         * math/w_lgammal.c: Likewise.
24232         * math/w_lgammal_r.c: Likewise.
24233         * math/w_log.c: Likewise.
24234         * math/w_log10.c: Likewise.
24235         * math/w_log10f.c: Likewise.
24236         * math/w_log10l.c: Likewise.
24237         * math/w_log2.c: Likewise.
24238         * math/w_log2f.c: Likewise.
24239         * math/w_log2l.c: Likewise.
24240         * math/w_logf.c: Likewise.
24241         * math/w_logl.c: Likewise.
24242         * math/w_pow.c: Likewise.
24243         * math/w_powf.c: Likewise.
24244         * math/w_powl.c: Likewise.
24245         * math/w_remainder.c: Likewise.
24246         * math/w_remainderf.c: Likewise.
24247         * math/w_remainderl.c: Likewise.
24248         * math/w_scalb.c: Likewise.
24249         * math/w_scalbf.c: Likewise.
24250         * math/w_scalbl.c: Likewise.
24251         * math/w_sinh.c: Likewise.
24252         * math/w_sinhf.c: Likewise.
24253         * math/w_sinhl.c: Likewise.
24254         * math/w_sqrt.c: Likewise.
24255         * math/w_sqrtf.c: Likewise.
24256         * math/w_sqrtl.c: Likewise.
24257         * math/w_tgamma.c: Likewise.
24258         * math/w_tgammaf.c: Likewise.
24259         * math/w_tgammal.c: Likewise.
24260
24261         * po/ja.po: Update from translation team.
24262
24263 2011-09-29  Andreas Jaeger  <aj@suse.de>
24264
24265         [BZ #13179]
24266         * sunrpc/netname.c (netname2host): Fix logic.
24267
24268         [BZ #6779]
24269         [BZ #6783]
24270         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24271         correctly.
24272         * math/w_remainder.c (__remainder): Likewise.
24273         * math/w_remainderf.c (__remainderf): Likewise.
24274         * math/libm-test.inc (remainder_test): Add test cases.
24275
24276 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24277
24278         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
24279         sdiv_qrnnd.
24280
24281 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
24282
24283         * string/test-memcmp.c: Avoid unncessary #defines.
24284         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24285
24286 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24287
24288         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24289         Use new sse2 version for core i3 - i7 as it's faster
24290         than sse42 version.
24291         (bit_Prefer_PMINUB_for_stringop): New.
24292         * sysdeps/x86_64/rawmemchr.S: Update.
24293         Replace with faster SSE2 version.
24294         * sysdeps/x86_64/memrchr.S: New file.
24295         * sysdeps/x86_64/memchr.S: Update.
24296         Replace with faster SSE2 version.
24297
24298 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
24299
24300         * elf/dl-load.c (lose): Add cast to avoid warning.
24301
24302 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
24303
24304         * po/ca.po: Update from translation team.
24305
24306         * inet/getnetgrent_r.c: Hook up nscd.
24307         * nscd/Makefile (routines): Add nscd_netgroup.
24308         (nscd-modules): Add netgroupcache.
24309         (CFLAGS-netgroupcache.c): Define.
24310         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24311         (cache_search): Add const to second parameter.
24312         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24313         INNETGR.
24314         (dbs): Add netgrdb entry.
24315         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24316         (verify_persistent_db): Handle netgrdb.
24317         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24318         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24319         GETFDNETGR.
24320         (netgroup_response_header): Define.
24321         (innetgroup_response_header): Define.
24322         (datahead): Add netgroup_response_header and innetgroup_response_header
24323         elements.
24324         * nscd/nscd.conf: Add entries for netgroup cache.
24325         * nscd/nscd.h (dbtype): Add netgrdb.
24326         (_PATH_NSCD_NETGROUP_DB): Define.
24327         (netgroup_iov_disabled): Declare.
24328         (xmalloc, xcalloc, xrealloc): Move declarations here.
24329         (cache_search): Adjust prototype.
24330         Add netgroup-related prototypes.
24331         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24332         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24333         (__nscd_innetgr): Declare.
24334         * nscd/selinux.c (perms): Use access_vector_t as element type and
24335         add netgroup-related initializers.
24336         * nscd/netgroupcache.c: New file.
24337         * nscd/nscd_netgroup.c: New file.
24338         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24339         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24340         For four parameters use innetgr.
24341         * nss/nss_files/files-init.c: Add definition and callback for netgr.
24342         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24343         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24344         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24345
24346         * nscd/connections.c (register_traced_file): Don't register file
24347         for disabled databases.
24348
24349 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
24350
24351         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24352
24353         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24354         from tree and freeing node.
24355
24356 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
24357
24358         * nss/nsswitch.c (__nss_database_lookup): Handle
24359         nss_parse_service_list out of memory case.
24360
24361 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
24362
24363         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24364         out of memory case.
24365
24366 2011-10-04  Andreas Schwab  <schwab@redhat.com>
24367
24368         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24369         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24370         pass it down.
24371         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24372         elf_machine_rela, elf_machine_lazy_rel.
24373         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24374         (ELF_DYNAMIC_DO_REL): Likewise.
24375         (ELF_DYNAMIC_DO_RELA): Likewise.
24376         (ELF_DYNAMIC_RELOCATE): Likewise.
24377         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24378         to ELF_DYNAMIC_DO_REL.
24379         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24380         (dl_main): In trace mode always set __RTLD_NOIFUNC.
24381         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24382         elf_machine_rela.
24383         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24384         skip_ifunc, don't call ifunc function if non-zero.
24385         (elf_machine_rela): Likewise.
24386         (elf_machine_lazy_rel): Likewise.
24387         (elf_machine_lazy_rela): Likewise.
24388         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24389         (elf_machine_lazy_rel): Likewise.
24390         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24391         Likewise.
24392         (elf_machine_lazy_rel): Likewise.
24393         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24394         Likewise.
24395         (elf_machine_lazy_rel): Likewise.
24396         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24397         (elf_machine_lazy_rel): Likewise.
24398         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24399         (elf_machine_lazy_rel): Likewise.
24400         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24401         (elf_machine_lazy_rel): Likewise.
24402         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24403         (elf_machine_lazy_rel): Likewise.
24404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24405         (elf_machine_lazy_rel): Likewise.
24406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24407         (elf_machine_lazy_rel): Likewise.
24408
24409 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
24410
24411         * nss/nss_files/files-init.c (_nss_files_init): Use static
24412         initialization for all the *_traced_file variables.
24413
24414 2011-09-28  Andreas Schwab  <schwab@redhat.com>
24415
24416         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24417
24418 2011-09-27  Roland McGrath  <roland@hack.frob.com>
24419
24420         [BZ #13226]
24421         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24422
24423 2011-09-27  Andreas Schwab  <schwab@redhat.com>
24424
24425         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24426         Reread the line before reparsing it.
24427
24428 2011-09-26  Andreas Schwab  <schwab@redhat.com>
24429
24430         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24431
24432 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
24433             Maxim Kuvyrkov  <maxim@codesourcery.com>
24434             Joseph Myers  <joseph@codesourcery.com>
24435
24436         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24437         if needed for __stack_chk_guard.
24438
24439 2011-09-19  Roland McGrath  <roland@hack.frob.com>
24440
24441         * sysdeps/posix/spawni.c (script_execute): Always define it.
24442         It will be optimized away if unused.
24443         (maybe_script_execute): New function.
24444         (__spawni): Call it.
24445
24446         * Makerules: Don't include tls.make.
24447         (config-tls): Always set to thread.
24448         * tls.make.c: File removed.
24449
24450 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
24451
24452         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24453         * config.make.in (CPPFLAGS-config): New substituted variable.
24454
24455 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
24456
24457         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24458
24459         [BZ #13192]
24460         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24461         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24462
24463 2011-09-15  Roland McGrath  <roland@hack.frob.com>
24464
24465         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24466         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24468         (CALL_FAIL): Likewise.
24469         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24470         (CALL_FAIL): Macro removed.
24471         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24472
24473 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
24474
24475         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24476         for __FINITE_MATH_ONLY__ == 1.
24477
24478 2011-09-15  Andreas Schwab  <schwab@redhat.com>
24479
24480         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24481         __ieee754_sqrt instead of sqrt.
24482         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24483         __ieee754_sqrtf instead of sqrtf.
24484         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24485         __floorf instead of floorf.
24486         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24487         __floorf, __truncf instead of floorf, truncf.
24488
24489 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
24490
24491         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24492
24493         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24494         __extern_always_inline.
24495         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24496         32-bit.
24497
24498 2011-09-14  Andreas Schwab  <schwab@redhat.com>
24499
24500         * elf/rtld.c (dl_main): Also relocate in dependency order when
24501         doing symbol dependency testing.
24502
24503 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
24504
24505         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24506         Always define `refsym'.
24507
24508 2011-09-13  Andreas Schwab  <schwab@redhat.com>
24509
24510         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24511         (__FD_ELT): Renamed from __FDELT.
24512         * misc/bits/select2.h (__FD_ELT): Likewise.
24513         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24514         __FD_MASK instead of __FDELT, __FDMASK.
24515         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24516         Likewise.
24517         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24518         Likewise.
24519
24520         * elf/Makefile (gen-ldd): Fix pattern.
24521
24522         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24523         (init_tls): Likewise.
24524
24525 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
24526
24527         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24528
24529 2011-09-12  Andreas Schwab  <schwab@redhat.com>
24530
24531         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24532         `struct cmsghdr *' instead of `void *'.
24533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24534         Likewise.
24535
24536 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
24537
24538         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24539         if non-absolute.
24540         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24541         ldd_rewrite_script.
24542
24543 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
24544
24545         * configure.in: Remove --with-tls option.
24546         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24547         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24548         out in case it is missing.
24549         * sysdeps/ia64/elf/configure.in: Likewise.
24550         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24551         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24552         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24553         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24554         * sysdeps/sh/elf/configure.in: Likewise.
24555         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24556         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24557         * sysdeps/x86_64/elf/configure.in: Likewise.
24558         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24559         * sysdeps/mach/hurd/tls.h: Likewise.
24560
24561         [BZ #13067]
24562         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24563
24564         [BZ #13090]
24565         * configure.in: Fix use of AC_INIT.
24566
24567         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24568
24569 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
24570
24571         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24572         __set_errno.
24573         * malloc/hooks.c: Likewise.
24574
24575         [BZ #11929]
24576         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
24577         variables statically.
24578         (narenas): Initialize.
24579         (list_lock): Initialize.
24580         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
24581         initializtion of main_arena and list_lock.  Small cleanups.
24582         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24583         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
24584         Add initializers to main_arena and mp_.
24585         (malloc_state): Remove pagesize member.  Change all users to use
24586         GLRO(dl_pagesize).
24587
24588         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24589         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
24590         is always initialized.
24591
24592         * malloc/malloc.c: Removed unused configurations and dead code.
24593         * malloc/arena.c: Likewise.
24594         * malloc/hooks.c: Likewise.
24595         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24596
24597         * include/tls.h: Removed.  USE___THREAD must always be defined.
24598         * bits/libc-tsd.h: Don't handle !USE___THREAD.
24599         * elf/dl-libc.c: Likewise.
24600         * elf/dl-tsd.c: Likewise.
24601         * include/errno.h: Likewise.
24602         * include/netdb.h: Likewise.
24603         * include/resolv.h: Likewise.
24604         * inet/herrno-loc.c: Likewise.
24605         * inet/herrno.c: Likewise.
24606         * malloc/arena.c: Likewise.
24607         * malloc/hooks.c: Likewise.
24608         * malloc/malloc.c: Likewise.
24609         * resolv/res-state.c: Likewise.
24610         * resolv/res_libc.c: Likewise.
24611         * sysdeps/i386/dl-machine.h: Likewise.
24612         * sysdeps/ia64/dl-machine.h: Likewise.
24613         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24614         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24615         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24616         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24617         * sysdeps/sh/dl-machine.h: Likewise.
24618         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24619         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24620         * sysdeps/unix/i386/sysdep.S: Likewise.
24621         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24622         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24623         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24624         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24627         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24629         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24631         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24632         * sysdeps/x86_64/dl-machine.h: Likewise.
24633         * tls.make.c: Likewise.
24634
24635         * configure.in: Remove --with-__thread option.  Make tests for
24636         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24637         tls_model attribute fail if no support is available.  Remove
24638         USE_IN_LIBIO.
24639         * Makeconfig: Adjust for dropped configure option.  All features are
24640         now mandatory.
24641         * Makerules: Likewise.
24642         * Versions.def: Likewise.
24643         * argp/argp-fmtstream.c: Likewise.
24644         * argp/argp-fmtstream.h: Likewise.
24645         * argp/argp-help.c: Likewise.
24646         * assert/assert.c: Likewise.
24647         * config.h.in: Likewise.
24648         * config.make.in: Likewise.
24649         * configure: Likewise.
24650         * configure.in: Likewise.
24651         * csu/Versions: Likewise.
24652         * csu/init.c: Likewise.
24653         * elf/tst-audit2.c: Likewise.
24654         * elf/tst-tls10.c: Likewise.
24655         * elf/tst-tls10.h: Likewise.
24656         * elf/tst-tls11.c: Likewise.
24657         * elf/tst-tls12.c: Likewise.
24658         * elf/tst-tls14.c: Likewise.
24659         * elf/tst-tlsmod11.c: Likewise.
24660         * elf/tst-tlsmod12.c: Likewise.
24661         * elf/tst-tlsmod13.c: Likewise.
24662         * elf/tst-tlsmod13a.c: Likewise.
24663         * elf/tst-tlsmod14a.c: Likewise.
24664         * elf/tst-tlsmod15b.c: Likewise.
24665         * elf/tst-tlsmod16a.c: Likewise.
24666         * elf/tst-tlsmod16b.c: Likewise.
24667         * elf/tst-tlsmod7.c: Likewise.
24668         * elf/tst-tlsmod8.c: Likewise.
24669         * elf/tst-tlsmod9.c: Likewise.
24670         * gmon/gmon.c: Likewise.
24671         * grp/fgetgrent_r.c: Likewise.
24672         * grp/putgrent.c: Likewise.
24673         * hurd/fopenport.c: Likewise.
24674         * include/libc-symbols.h: Likewise.
24675         * include/tls.h: Likewise.
24676         * intl/gettextP.h: Likewise.
24677         * intl/loadinfo.h: Likewise.
24678         * locale/global-locale.c: Likewise.
24679         * locale/localeinfo.h: Likewise.
24680         * mach/devstream.c: Likewise.
24681         * malloc/arena.c: Likewise.
24682         * malloc/set-freeres.c: Likewise.
24683         * misc/err.c: Likewise.
24684         * misc/getttyent.c: Likewise.
24685         * misc/mntent_r.c: Likewise.
24686         * posix/getopt.c: Likewise.
24687         * posix/wordexp.c: Likewise.
24688         * pwd/fgetpwent_r.c: Likewise.
24689         * resolv/Versions: Likewise.
24690         * resolv/res_hconf.c: Likewise.
24691         * shadow/fgetspent_r.c: Likewise.
24692         * shadow/putspent.c: Likewise.
24693         * stdio-common/printf_fphex.c: Likewise.
24694         * stdio-common/tmpfile.c: Likewise.
24695         * stdlib/abort.c: Likewise.
24696         * stdlib/fmtmsg.c: Likewise.
24697         * sunrpc/auth_unix.c: Likewise.
24698         * sunrpc/clnt_perr.c: Likewise.
24699         * sunrpc/clnt_tcp.c: Likewise.
24700         * sunrpc/clnt_udp.c: Likewise.
24701         * sunrpc/clnt_unix.c: Likewise.
24702         * sunrpc/openchild.c: Likewise.
24703         * sunrpc/svc_simple.c: Likewise.
24704         * sunrpc/svc_tcp.c: Likewise.
24705         * sunrpc/svc_udp.c: Likewise.
24706         * sunrpc/svc_unix.c: Likewise.
24707         * sunrpc/xdr.c: Likewise.
24708         * sunrpc/xdr_array.c: Likewise.
24709         * sunrpc/xdr_rec.c: Likewise.
24710         * sunrpc/xdr_ref.c: Likewise.
24711         * sunrpc/xdr_stdio.c: Likewise.
24712
24713 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24714
24715         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24716
24717 2011-07-03  Andreas Jaeger  <aj@suse.de>
24718
24719         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24720         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24721         regenerate with gen-libm-tests.pl.
24722
24723 2010-05-12  Petr Baudis  <pasky@suse.cz>
24724
24725         [BZ #11589]
24726         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24727         around j0() zero points by switching to j1().
24728         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24729         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24731         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24732
24733 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24734
24735         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24736         instead of 0.
24737         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24738         instead of 0.
24739         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24740         Patch in part by Pavel Roskin <proski@gnu.org>.
24741
24742         [BZ #13138]
24743         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24744         realloc.
24745         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
24746         Free memory block if necessary.
24747
24748         [BZ #12847]
24749         * libio/genops.c (INTDEF): For string streams the _lock pointer can
24750         be NULL.  Don't lock in this case.
24751
24752 2011-09-09  Roland McGrath  <roland@hack.frob.com>
24753
24754         * elf/elf.h (ELFOSABI_GNU): New macro.
24755         (ELFOSABI_LINUX): Define to that.
24756
24757 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
24758
24759         * string/strncat.c (strncat): Undef the symbol in case it has been
24760         defined in bits/string.h.
24761
24762 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
24763
24764         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24765
24766         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24767         link map.
24768
24769 2011-08-17  Andreas Jaeger  <aj@suse.de>
24770
24771         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24772
24773 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24774             Ian Lance Taylor  <iant@google.com>
24775
24776         * math/libm-test.inc (lround_test): New testcase.
24777         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24778
24779 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
24780
24781         * Makefile: Remove support for automatic cvs check-ins.
24782         * Makerules: Likewise.
24783         * config.make.in: Likewise.
24784         * configure.in: Likewise.
24785         * intl/Makefile: Likewise.
24786         * locale/Makefile: Likewise.
24787         * po/Makefile: Likewise.
24788         * posix/Makefile: Likewise.
24789         * sysdeps/gnu/Makefile: Likewise.
24790         * sysdeps/mach/hurd/Makefile: Likewise.
24791         * sysdeps/sparc/sparc32/Makefile: Likewise.
24792
24793         [BZ #13118]
24794         * posix/Makefile (bug-regex32-ENV): Define.
24795         Patch by John Stanley <jpsinthemix@verizon.net>.
24796
24797         * misc/Makefile (headers): Add bits/select2.h.
24798         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24799         * misc/bits/select2.h: New file.
24800         * include/bits/select2.h: New file.
24801         * debug/Makefile (routines): Add fdelt_chk.
24802         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24803         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24804         FD_ISSET.
24805         * debug/fdelt_chk.c: New file.
24806
24807         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
24808         * wcsmbs/test-wmemcmp.c: Likewise.
24809         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24810         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24811
24812 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24813
24814         * string/Makefile (strop-tests): Add memcmp.
24815         * string/test-wmemcmp.c: New file.
24816         * string/test-memcmp.c: Add wmemcmp support.
24817
24818 2011-09-08  Roland McGrath  <roland@hack.frob.com>
24819
24820         [BZ #13153]
24821         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24822         2011-07-19 change.
24823
24824         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24825         garbage value in a __mach_port_mod_refs call in the cases of the
24826         task-self and thread-self ports.
24827
24828 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24829
24830         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24831
24832 2011-09-08  Andreas Schwab  <schwab@redhat.com>
24833
24834         * elf/dl-load.c (lose): Check for non-null L.
24835
24836 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24837
24838         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24839
24840         * elf/dl-libc.c (dlerror_run): Pass back error code from
24841         dl_catch_error.
24842
24843         [BZ #13123]
24844         * elf/dl-load.c (lose): Free l_origin if it is valid.
24845
24846         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24847         names.
24848         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24849         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24850         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24851         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24852         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24853         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24854
24855 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24856
24857         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24858         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24859         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24860         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24861         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24862         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24863         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24864         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24865         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24866         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24867
24868 2011-08-15  Alan Modra  <amodra@gmail.com>
24869
24870         [BZ #13092]
24871         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24872         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24873         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24874         ppc_mcount to static-only-routines.
24875         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24876         __mcount_internal.
24877         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24878         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24879
24880 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24881
24882         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24883         for finite and infinity parameters.
24884
24885 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24886
24887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24888         and add nop instructions for throughput optimization.
24889         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24890
24891 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24892
24893         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24894         aligned copy for power7 with vector-scalar instructions.
24895         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24896
24897 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24898
24899         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24900         AVX check.
24901
24902 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24903
24904         [BZ #13144]
24905         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24906         last change.
24907
24908 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24909
24910         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24911         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24912         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24913         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24914         clock_gettime.
24915
24916 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24917
24918         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24919         Forgot to demangle the pointer.
24920
24921         * sysdeps/i386/sysdep.h: Define atom_text_section.
24922         * sysdeps/x86_64/sysdep.h: Likewise.
24923         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24924         section with atom_text_section.
24925         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24926         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24927         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24928         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24929         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24930
24931         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24932         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24933         already be defined.  Change to take two parameters and don't assign
24934         result to variable.  Adjust all users.
24935         Define INTERNAL_GETTIME if not already defined.
24936         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24937         call.
24938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24939         HAVE_CLOCK_GETTIME_VSYSCALL.
24940         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24941
24942         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24943         gettimeofday vsyscall, just use time.
24944
24945 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24946
24947         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24948         <errno.h>.
24949
24950 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24951
24952         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24953         syscall on x86-64.
24954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24955         syscall.
24956         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24957         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24958         syscall if possible.
24959
24960 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24961
24962         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24963         e_ident.  Don't pass to find_mapsXX.
24964         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24965
24966 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24967
24968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24969         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24970         * sysdeps/x86_64/multiarch/strchr.S: Update.
24971         Check bit_slow_BSF bit.
24972         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24973         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24974         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24975
24976 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24977
24978         [BZ #13134]
24979         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24980         before glibc 2.15.
24981         (tryshell): Define.
24982         (__spawni): Change last parameter to be flag.  Test
24983         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24984         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24985         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24986         * posix/spawni.c: Likewise.
24987         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24988         * posix/spawnp.c: Likewise.  Change normal version to use
24989         SPAWN_XFLAGS_USE_PATH.
24990         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24991         SPAWN_XFLAGS_TRY_SHELL.
24992
24993         [BZ #13150]
24994         * posix/glob.h: Remove gcc 1.x support.
24995
24996         [BZ #13068]
24997         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24998
24999 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25000
25001         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25002         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25003         strrchr-sse2-bsf
25004         * sysdeps/i386/i686/multiarch/strchr.S: New file.
25005         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25006         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25007         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25008         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25009         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25010
25011 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25012
25013         * sysdeps/x86_64/wcscmp.S: New file.
25014
25015         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25016         wcscmp-c wcscmp-sse2
25017         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25018         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25019         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25020         * wcsmbs/wcscmp.c: Allow renaming.
25021
25022 2011-09-05  David S. Miller  <davem@davemloft.net>
25023
25024         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25025         stack slot, rather than the struct return pointer slot.
25026         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25027         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25029         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25030
25031 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
25032
25033         * po/ja.po: Update from translation team.
25034
25035         [BZ #13144]
25036         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25037         kernel in 64-bit binaries.
25038
25039 2011-09-01  David S. Miller  <davem@davemloft.net>
25040
25041         * elf/elf.h (HWCAP_SPARC_*): Move to..
25042         * sysdeps/sparc/sysdep.h: this new file and add new values.
25043         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25044         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25045         _DL_HWCAP_COUNT to 24.
25046         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25047         entries.
25048         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25049         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25050         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25051         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25052         instead of magic constants.
25053         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25054
25055 2011-08-31  David S. Miller  <davem@davemloft.net>
25056
25057         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25058         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25059         Reimplement to do errno handling inline.
25060         (SYSCALL_ERROR_HANDLER): New macro.
25061         (__SYSCALL_STRING): Do not do errno handling in asm.
25062         (__CLONE_SYSCALL_STRING): Delete.
25063         (__INTERNAL_SYSCALL_STRING): Delete.
25064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25065         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25066         (PSEUDO): Reimplement to do errno handling inline.
25067         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25068         (SYSCALL_ERROR_HANDLER): New macro.
25069         (__SYSCALL_STRING): Do not do errno handling in asm.
25070         (__CLONE_SYSCALL_STRING): Delete.
25071         (__INTERNAL_SYSCALL_STRING): Delete.
25072         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25073         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25074         i386.
25075         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25076         (inline_syscall*): Add 'err' argument.
25077         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25078         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25079         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25080         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25081
25082         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25083         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25084
25085 2011-08-30  Andreas Schwab  <schwab@redhat.com>
25086
25087         * elf/rtld.c (dl_main): Relocate objects in dependency order.
25088
25089 2011-08-29  Jiri Olsa <jolsa@redhat.com>
25090
25091         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25092         directive.
25093
25094 2011-08-24  David S. Miller  <davem@davemloft.net>
25095
25096         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25097
25098 2011-08-24  Andreas Schwab  <schwab@redhat.com>
25099
25100         * elf/Makefile: Add rules to build and run unload8 test.
25101         * elf/unload8.c: New file.
25102         * elf/unload8mod1.c: New file.
25103         * elf/unload8mod1x.c: New file.
25104         * elf/unload8mod2.c: New file.
25105         * elf/unload8mod3.c: New file.
25106
25107         * elf/dl-close.c (_dl_close_worker): Reset private search list if
25108         it wasn't used.
25109
25110 2011-08-23  David S. Miller  <davem@davemloft.net>
25111
25112         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25113         subtract stack bias.
25114         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25115         %sp not %fp in calculations.
25116         (_JMPBUF_UNWINDS_ADJ): Likewise.
25117
25118         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25119         (aio_suspend): Call it to force an exception region around the
25120         AIO_MISC_WAIT() invocation.
25121
25122 2011-08-23  Andreas Schwab  <schwab@redhat.com>
25123
25124         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25125         backslash.
25126
25127 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
25128
25129         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25130         protection macro.
25131         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25132         and <dl-machine.h>.
25133         (Elf64_FuncDesc): Remove.
25134
25135 2011-08-22  David S. Miller  <davem@davemloft.net>
25136
25137         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25138         sigaltstack check, add missing cfi directives.
25139         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25140         missing cfi directives, and sigaltstack handling.
25141
25142 2011-08-16  Andreas Schwab  <schwab@redhat.com>
25143
25144         [BZ #11724]
25145         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25146         object is seen twice.
25147         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25148
25149         * elf/Makefile (distribute): Add tst-initorder2.c.
25150         (tests): Add tst-initorder2.
25151         (modules-names): Add tst-initorder2a tst-initorder2b
25152         tst-initorder2c tst-initorder2d.  Add rules to build them.
25153         ($(objpfx)tst-initorder2.out): New rule.
25154         * elf/tst-initorder2.c: New file.
25155         * elf/tst-initorder2.exp: New file.
25156
25157 2011-08-22  Andreas Schwab  <schwab@redhat.com>
25158
25159         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25160
25161         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25162         dependencies back to end of function.
25163
25164         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25165         $(elfobjdir)/ld.so.
25166
25167 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
25168
25169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25170         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25171         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25172         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25173         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25174         of __vdso_gettimeofday.
25175         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25176         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
25177         attribute_hidden.
25178         (_libc_vdso_platform_setup): Remove initialization of
25179         __vdso_gettimeofday and __vdso_time.
25180
25181 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
25182
25183         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25184         and fgetc_unlocked.
25185         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25186         getc_unlocked.
25187
25188         * elf/dl-open.c (add_to_global): Report additions to the global scope
25189         for LD_DEBUG=scopes.
25190         (dl_open_worker): Also print scope of newly loaded dependencies.
25191         (_dl_show_scope): Indicate if there is no scope.
25192
25193         [BZ #13114]
25194         * stdio-common/Makefile (tests): Add bug24.
25195         * stdio-common/bug24.c: New file.
25196
25197 2011-08-19  Andreas Jaeger  <aj@suse.de>
25198
25199         [BZ #13114]
25200         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25201         non-existant file when using close-on-exec mode.
25202
25203 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
25204
25205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25206         the very first instruction.
25207
25208         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25209         the CFI state in the end.
25210         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25211         inclusion of dl-trampoline.h.
25212         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25213
25214 2011-08-19  Andreas Schwab  <schwab@redhat.com>
25215
25216         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25217         expectations for long double.
25218
25219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25220         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25221
25222 2011-08-14  David S. Miller  <davem@davemloft.net>
25223
25224         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25225         artificual limit depends upon the system page size.
25226
25227 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
25228
25229         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25230         * resolv/Makefile: Define CFLAGS-libresolv.
25231
25232 2011-08-17  Andreas Schwab  <schwab@redhat.com>
25233
25234         * nss/makedb.c (compute_tables): Make variables used in nested
25235         function static.
25236
25237 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
25238
25239         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25240         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25241         if buffer was too small.
25242
25243         * elf/pldd.c (main): Attach to all threads in the process.
25244         Rewrite /proc handling to use *at functions.
25245
25246 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
25247
25248         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25249         specifies first scope to show.
25250         (dl_open_worker): Update callers.  Move printing scope of new
25251         object to before the relocation.
25252         * elf/rtld.c (dl_main): Update _dl_show_scope call.
25253         * sysdeps/generic/ldsodefs.h: Update declaration.
25254
25255         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25256         string for the scope number.
25257
25258 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
25259
25260         * nscd/servicescache.c (cache_addserv): Make sure written is always
25261         initialized.
25262
25263 2011-08-14  Roland McGrath  <roland@hack.frob.com>
25264
25265         * sysdeps/i386/i486/bits/atomic.h
25266         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25267         statement expression, so as to suppress "set but not used" warning.
25268         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25269
25270         * string/strncat.c (STRNCAT): Use prototype definition.
25271
25272         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25273         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25274         -Iprograms here.
25275         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25276         (localedef-modules): Add localedef.
25277         (locale-modules): Add locale.
25278
25279         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25280         * elf/rtld.c (dl_main): Invert order of assignment in last change,
25281         to avoid a warning.
25282
25283 2011-08-14  David S. Miller  <davem@davemloft.net>
25284
25285         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25286         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25287
25288 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
25289
25290         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25291         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25292         * elf/rtld.c (dl_main): Set l_name of vDSO.
25293         Call _dl_show_scope when DL_DEBUG_SCOPES.
25294         (process_dl_debug): Recognize scopes flag and also set it for all.
25295         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25296         Declare _dl_show_scope.
25297
25298         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25299         (do_dlopen): Pass caller_dlopen to dl_open.
25300         (__libc_dlopen_mode): Initialize caller_dlopen.
25301
25302         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25303         of libc.  Make tolower call locale-independent.  Optimize a bit by
25304         using isdigit instead of isalnum.
25305         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25306
25307 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
25308
25309         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25310         was a dependency or dynamically loaded.
25311
25312 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
25313
25314         * intl/l10nflist.c: Allow architecture-specific pop function.
25315         * sysdeps/x86_64/l10nflist.c: New file.
25316
25317         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25318         classification.
25319
25320 2011-08-10  Andreas Schwab  <schwab@redhat.com>
25321
25322         * include/dirent.h: Add libc_hidden_proto for scandirat and
25323         scandirat64.  Don't declare __scandirat64.
25324         * dirent/scandirat.c: Add libc_hidden_def.
25325         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25326         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25327
25328 2011-08-10  David S. Miller  <davem@davemloft.net>
25329
25330         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25331         enum.
25332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25333         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25335
25336 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
25337
25338         * Versions.def [libc]: Add GLIBC_2.15.
25339         * dirent/Makefile (routines): Add scandirat and scandirat64.
25340         * dirent/Versions [libc]: Export scandirat and scandirat64 for
25341         GLIBC_2.15.
25342         * dirent/dirent.h: Declare scandirat and scandirat64.
25343         * dirent/scandirat.c: New file.
25344         * dirent/scandirat64.c: New file.
25345         * sysdeps/wordsize-64/scandirat.c: New file.
25346         * sysdeps/wordsize-64/scandirat64.c: New file.
25347         * dirent/opendir.c: Define opendirat.
25348         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
25349         using scandirat.
25350         * dirent/scandir64.c: Adjust for scandir.c change.
25351         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
25352         __scandirat64, and __scandir_cancel_handler.
25353         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
25354         additional parameter and use openat instead of open (outside of ld.so).
25355         Add new __opendir as wrapper around __opendirat.
25356         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25357         here without requiring old scandirat implementation.
25358
25359 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
25360
25361         * dirent/scandir.c (cancel_handler): Renamed to
25362         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
25363         defined.  Adjust users.
25364         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25365         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25366
25367 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
25368
25369         * string/test-string.h (IMPL): Use __STRING to expand name and then
25370         stringify it.
25371
25372         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
25373         of cleanups.
25374
25375 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25376
25377         * string/Makefile: Update.
25378         (strop-tests): Append strncat.
25379         * string/test-wcscmp.c: New file.
25380         New comprehensive test for wcscmp.
25381         * string/test-strcmp.c: Update.
25382         (WIDE): New define.
25383
25384 2011-07-22  Andreas Schwab  <schwab@redhat.com>
25385
25386         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25387         line.
25388
25389 2011-07-26  Andreas Schwab  <schwab@redhat.com>
25390
25391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25392         encoding to ACE if AI_IDN.
25393
25394 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
25395
25396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25397         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25398
25399 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25400
25401         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25402         Fix overflow bug in strncat.
25403         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25404
25405         * string/test-strncat.c: Update.
25406         Add new tests for checking overflow bugs.
25407
25408 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25409
25410         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25411         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25412         * sysdeps/i386/i686/multiarch/strcat.S: New file.
25413         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25414         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25415         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25416         * sysdeps/i386/i686/multiarch/strncat.S: New file.
25417         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25418         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25419
25420         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25421         (USE_AS_STRCAT): Define.
25422         Add strcat and strncat support.
25423         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25424
25425 2011-07-25  Andreas Schwab  <schwab@redhat.com>
25426
25427         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25428         __n bigger than INT_MAX+1.
25429         (__strncmp_g): Likewise.
25430
25431 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
25432
25433         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25434         * libio/stido.h: Likewise.
25435
25436         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25437         (AF_NFC): Define.
25438         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25439         (AF_NFC): Define.
25440
25441         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25442         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25443         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25444         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25445         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25446
25447         [BZ #13021]
25448         * scripts/test-installation.pl: Don't expect libnss_test1 to be
25449         installed.
25450
25451         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25452         typo.
25453         (_dl_x86_64_save_sse): Likewise.
25454
25455 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
25456
25457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25458         OSXSAVE.
25459         (_dl_x86_64_save_sse): Likewise.
25460
25461         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25462
25463         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25464
25465 2011-07-21  Andreas Schwab  <schwab@redhat.com>
25466
25467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25468         change.
25469         (_dl_x86_64_save_sse): Use correct AVX check.
25470
25471 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25472
25473         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25474         bug in strncpy/strncat.
25475         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25476
25477 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
25478
25479         * string/tester.c (test_strcat): Add tests for different alignments
25480         of source and destination.
25481         (test_strncat): Likewise.
25482
25483 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
25484
25485         [BZ #12852]
25486         * posix/glob.c (glob): Check passed in values before using them in
25487         expressions to avoid some overflows.
25488         (glob_in_dir): Likewise.
25489
25490         [BZ #13007]
25491         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25492         check for AVX enablement so that we don't crash with old kernels and
25493         new hardware.
25494         * elf/tst-audit4.c: Add same checks here.
25495         * elf/tst-audit6.c: Likewise.
25496
25497         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25498
25499 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
25500
25501         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25502
25503 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
25504
25505         * po/cs.po: Update from translation team.
25506         * po/bg.po: Likewise.
25507
25508 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
25509
25510         * misc/sys/cdefs.h: Add support for const attribute.
25511         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25512         to gnu_dev_{major,minor,makedev} functions.
25513
25514 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
25515
25516         * intl/dcigettext.c (get_output_charset): Add missing bracket.
25517
25518 2011-07-20  Andreas Schwab  <schwab@redhat.com>
25519
25520         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25521         strlen results.
25522
25523 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25524
25525         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25526         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25527         register in order to avoid conflicts with the soft frame pointer
25528         being held in r11 when necessary.
25529         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25530         (INTERNAL_VSYSCALL_NCS): Likewise.
25531
25532 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
25533
25534         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25535         * elf/dl-fini.c (_dl_fini): Adjust caller.
25536         * elf/dl-close.c (_dl_close_worker): Likewise.
25537         * sysdeps/generic/ldsodefs.h: Adjust declaration.
25538
25539 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
25540
25541         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25542         "aux_cache->nlibs < 0".
25543
25544         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25545         in the reload-count case.
25546
25547 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25548
25549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25550         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25551         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25552         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25553         * sysdeps/x86_64/multiarch/strcat.S: New file.
25554         * sysdeps/x86_64/multiarch/strncat.S: New file.
25555         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25556         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25557         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25558         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25559         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25560         (USE_AS_STRCAT): Define.
25561         Add strcat and strncat support.
25562         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25563         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25564         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25565         * string/strncat.c: Update.
25566         (USE_AS_STRNCAT): Define.
25567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25568         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25569         and i7.
25570         * sysdeps/x86_64/multiarch/init-arch.h
25571         (bit_Prefer_PMINUB_for_stringop): New.
25572         (index_Prefer_PMINUB_for_stringop): Likewise.
25573         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25574         bit_Prefer_PMINUB_for_stringop.
25575
25576 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
25577
25578         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25579         buffer64.
25580         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25581         of casting of buffer.
25582         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25583         buffer32 and buffer64.
25584         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25585         writes instead of casting of buffer.
25586         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25587         buffer32.
25588         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25589         casting of buffer.
25590
25591 2011-07-19  Andreas Schwab  <schwab@redhat.com>
25592
25593         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25594
25595 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
25596
25597         * nscd/nscd.c (termination_handler): Don't do anything for a database
25598         if it has not yet been initialized.
25599
25600 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
25601
25602         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25603
25604 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
25605
25606         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25607
25608 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
25609
25610         * po/nl.po: Update from translation team.
25611         * po/sv.po: Likewise.
25612
25613 2011-07-16  Roland McGrath  <roland@hack.frob.com>
25614
25615         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25616         now disallowed by GCC.
25617
25618         * configure.in (use-default-link): Default to yes if a test -shared
25619         link meets our qualifications.
25620         * configure: Regenerated.
25621
25622         * config.make.in (output-format): New variable.
25623         * configure.in: Check for ld --print-output-format support.
25624         * configure: Regenerated.
25625         * Makerules ($(common-objpfx)format.lds)
25626         [$(output-format) != unknown]: Just use $(output-format),
25627         instead of the linker-script munging.
25628
25629 2011-07-14  Roland McGrath  <roland@hack.frob.com>
25630
25631         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25632         of $(common-objpfx)shlib.lds.
25633         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25634
25635         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25636         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25637
25638         * configure.in (-z relro check): Adjust test code to add a large
25639         writable data section after it.
25640         * configure: Regenerated.
25641
25642 2011-07-11  Roland McGrath  <roland@hack.frob.com>
25643
25644         * configure.in (-z relro check): Fix test code to make the variable
25645         truly const.
25646         * configure: Regenerated.
25647
25648 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
25649
25650         * nscd/nscd.h (struct traced_file): Define.
25651         (struct database_dyn): Remove inotify_descr, reset_res, and filename
25652         elements.  Add traced_files.
25653         (inotify_fd): Declare.
25654         (register_traced_file): Declare.
25655         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25656         (inotify_fd): Export.
25657         (resolv_conf_descr): Remove.
25658         (nscd_init): Move inotify descriptor creation to main.
25659         Don't register files for notification here.
25660         (register_traced_file): New function.
25661         (invalidate_cache): Don't use reset_res to determine whether to call
25662         res_init, go through the list of registered files.
25663         (main_loop_poll): The inotify descriptors are now stored in the
25664         structures for the traced files.
25665         (main_loop_epoll): Likewise
25666         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
25667         to __nss_disable_nscd.
25668         * nscd/cache.c (prune_cache): There is no single inotify descriptor
25669         for a database anymore.  Check the records for all the registered
25670         files instead.
25671         * nss/Makefile (libnss_files-routines): Add files-init.
25672         (libnss_db-routines): Add db-init.
25673         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25674         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25675         * nss/nss_db/db-init.c: New file.
25676         * nss/nss_files/files-init.c: New file.
25677         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
25678         __nss_lookup_function.
25679         (__nss_lookup_function): Call nss_load_library.
25680         (nss_load_all_libraries): New function.
25681         (__nss_disable_nscd): Take parameter with callback function for files
25682         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
25683         used for the cached services.
25684         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25685         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25686         options for features to all the files in nscd.
25687
25688         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25689
25690 2011-07-10  Roland McGrath  <roland@hack.frob.com>
25691
25692         * csu/elf-init.c (__libc_csu_init): Comment typo.
25693
25694 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
25695
25696         * po/pl.po: Update from translation team.
25697         * po/ja.po: Likewise.
25698         * po/ru.po: Likewise.
25699         * po/ko.po: Likewise.
25700         * po/fr.po: Likewise.
25701
25702 2011-07-09  Roland McGrath  <roland@hack.frob.com>
25703
25704         * configure.in (.ctors/.dtors header and trailer check):
25705         Use an empirical test on a built program.
25706         * configure: Regenerated.
25707
25708         * configure.in (-z relro check): Use an empirical test on a built DSO.
25709         Detect, but do not require, on ia64.
25710         * configure: Regenerated.
25711
25712         * configure.in (READELF): Find it with AC_CHECK_TOOL.
25713         Update tests that use readelf to use $READELF instead.
25714         * configure: Regenerated.
25715
25716 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
25717
25718         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25719         if the result is not used.
25720
25721 2011-07-05  Andreas Jaeger  <aj@suse.de>
25722
25723         [BZ#9696]
25724         * stdlib/tst-strtod.c: Add testcase.
25725
25726 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
25727
25728         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25729         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25730         The latter has a higher limit.  Take additional parameter to pass to
25731         the new function.
25732         (__pathconf): Pass file to __statfs_link_max.
25733         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25734         __statfs_link_max.
25735         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25736         __statfs_link_max.
25737
25738         [BZ #12868]
25739         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25740         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25741         Handle Lustre.
25742         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25743         (__statfs_filesize_max): Likewise.
25744         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25745
25746 2011-07-05  Andreas Jaeger  <aj@suse.de>
25747
25748         * resolv/res_comp.c (dn_skipname): Remove unused variable.
25749
25750 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
25751
25752         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25753         `status' variable.
25754         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25755         Likewise.
25756
25757 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
25758
25759         * Makefile (strop-tests): Add strncat.
25760         * string/test-strncat.c: New file.
25761
25762 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
25763
25764         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25765
25766 2011-06-21  Andreas Jaeger  <aj@suse.de>
25767
25768         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25769         Copy rule from iconvdata/Makefile.
25770
25771 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25772
25773         [BZ #12922]
25774         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25775         but no long options are defined, just return 'W'.
25776
25777 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
25778
25779         [BZ #9696]
25780         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25781
25782 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
25783
25784         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25785         netgroups to read.
25786         (innetgr): Likewise.
25787
25788 2011-07-05  Roland McGrath  <roland@hack.frob.com>
25789
25790         * config.make.in (install_root): Default to $(DESTDIR).
25791
25792 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
25793
25794         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25795
25796 2011-07-02  Roland McGrath  <roland@hack.frob.com>
25797
25798         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25799
25800         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25801         containing directory rather than embedding absolute directory names.
25802
25803         * scripts/check-local-headers.sh: Rewritten using awk.
25804         Match by word, not by line.  Print error messages for matches.
25805         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25806
25807         * Makerules [shlib-lds-flags empty]:
25808         ($(common-objpfx)libc_pic.opts): New target.
25809         ($(common-objpfx)libc_pic.os.clean): New target.
25810         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25811
25812         * config.make.in (OBJCOPY): New variable.
25813         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25814         * configure: Regenerated.
25815
25816         * config.make.in (use-default-link): New variable.
25817         * configure.in (use_default_link): Grok --with-default-link to set it.
25818         * configure: Regenerated.
25819         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25820         (shlib-lds, shlib-lds-flags): Define to empty.
25821
25822         * Makerules (shlib-lds): New variable.
25823         (shlib-lds-flags): New variable.
25824         (build-shlib, build-moduile, build-module-asneeded): Use it.
25825         ($(common-objpfx)libc.so): Use $(shlib-lds).
25826         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25827         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25828
25829         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25830         DT_FLAGS/DT_FLAGS_1 with zero flags.
25831
25832         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25833         linker script munging.
25834
25835 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25836
25837         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25838         as 128-bit value.
25839         * crypt/sha512.c (sha512_process_block): Perform total addition using
25840         128-bit if possible.
25841         (__sha512_finish_ctx): Likewise.
25842         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25843         as 64-bit value.
25844         * crypt/sha256.c (SWAP64): Define.
25845         (sha256_process_block): Perform total addition using 64-bit if
25846         possible.
25847         (__sha256_finish_ctx): Likewise.
25848
25849 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25850
25851         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25852         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25853         * nscd/hstcache.c (cache_addhst): Likewise.
25854         * nscd/grpcache.c (cache_addgr): Likewise.
25855         * nscd/aicache.c (addhstaiX): Likewise
25856         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25857
25858 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25859
25860         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25861         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25862         * nscd/hstcache.c (cache_addhst): Likewise.
25863         * nscd/grpcache.c (cache_addgr): Likewise.
25864         * nscd/aicache.c (addhstaiX): Likewise
25865
25866 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25867
25868         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25869         domain only when needed.
25870
25871 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25872
25873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25874         is always restored.
25875
25876 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25877
25878         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25879         are re-adding the entry.
25880         * nscd/servicescache.c (cache_addserv): Likewise.
25881
25882 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25883
25884         * sysdeps/generic/dl-irel.h: fix protection against multiple
25885         inclusions.
25886         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25887
25888 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25889
25890         [BZ #12935]
25891         * malloc/memusage.sh: Fix quoting in message.
25892         * debug/xtrace.sh: Likewise.
25893
25894         * configure.in: Remove support for --experimental-malloc option, make
25895         it the default.
25896         * config.make.in: Likewise.
25897         * malloc/Makefile: Likewise.
25898
25899 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25900
25901         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25902         two-byte characters.
25903
25904 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25905
25906         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25907         AC_CACHE_CHECK invocation.
25908         * configure: Regenerated.
25909
25910         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25911
25912 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25913
25914         [BZ #12350]
25915         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25916         bit from old_res_options.
25917
25918         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25919
25920         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25921         value type for setfct.
25922
25923 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25924
25925         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25926         __gettimeofday instead of gettimeofday.
25927
25928 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25929
25930         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25931
25932 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25933
25934         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25935
25936         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25937         info.
25938
25939 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25940
25941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25942         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25943         strcpy-sse2-unaligned strncpy-sse2-unaligned
25944         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25945         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25946         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25947         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25948         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25949         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25950         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25951         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25952         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25953         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25954         (STRCPY): Support SSE2 and SSSE3 versions.
25955
25956 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25957
25958         [BZ #12874]
25959         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25960         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25961         kernels which artificially limit size of requests.
25962
25963 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25964
25965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25966         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25967         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25968         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25969         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25970         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25971         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25972         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25973         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25974         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25975         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25976         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25977         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25978         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25979         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25981         Enable unaligned load optimization for Intel Core i3, i5 and i7
25982         processors.
25983         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25984         Define.
25985         (index_Fast_Unaligned_Load): Define.
25986         (HAS_FAST_UNALIGNED_LOAD): Define.
25987
25988 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25989
25990         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25991
25992 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25993
25994         [BZ #12907]
25995         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25996         until it is clear that the information is realy needed.
25997         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25998
25999 2011-06-22  Andreas Schwab  <schwab@redhat.com>
26000
26001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26002
26003 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
26004
26005         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26006         /sys/devices/system/cpu/online if it is usable.
26007
26008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26009         reading the information from the /proc filesystem to once a second.
26010
26011 2011-06-21  Andreas Jaeger  <aj@suse.de>
26012
26013         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26014         NULL after inclusion of kernel headers.
26015
26016 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
26017
26018         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26019         calls to internal_setent.
26020
26021         [BZ #12885]
26022         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26023         addresses using gethostbyname4_r ignore IPv4 addresses.
26024
26025         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26026         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
26027
26028         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26029
26030 2011-06-20  David S. Miller  <davem@davemloft.net>
26031
26032         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26033         inclusions.
26034         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26035
26036         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26037         (elf_irel): Use it.
26038         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26039         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26040         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26041         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26042         * sysdeps/x86_64/dl-irel.h: Likewise.
26043
26044         * elf/dl-runtime.c: Use elf_ifunc_invoke.
26045         * elf/dl-sym.c: Likewise.
26046
26047 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
26048
26049         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
26050         need to dereference resplen2.
26051
26052 2011-06-14  Andreas Schwab  <schwab@redhat.com>
26053
26054         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26055
26056 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
26057
26058         * Makeconfig: Define vardbdir and inst_vardbdir.
26059         * nss/Makefile: Add rules to install db-Makefile.
26060
26061         * nss/nss_db/db-XXX.c: Cleanup.
26062
26063         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26064         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26065         GLIBC_PRIVATE.
26066         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26067         * nss/makedb.c: Implement -g option to specify that value strings
26068         are generated and should not be added to table iterated over for
26069         get*ent calls.
26070         * nss/nss_db/db-initgroups.c: New file.
26071
26072         * nss/getent.c: Add support for initgroups lookups through getgrouplist
26073         interface.
26074
26075         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26076         (internal_getgrouplist): Adjust to name change.
26077         Update use_initgroups_entry if this is not the first call.
26078         * nss/databases.def: Add initgroups entry.
26079
26080         * nss/makedb.c (compute_tables): Check result of multiple hash table
26081         sizes to minimize maximum chain length.
26082
26083 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
26084
26085         * Versions.def: Add entry for libnss_db.
26086         * shlib-versions: Likewise.
26087         * nss/Makefile: Add rules to build libnss_db.
26088         * nss/Versions: Add libnss_db information.  Organize libnss_files
26089         entries better.
26090         * nss/db-Makefile: Add gshadow support.  Change rules for the new
26091         makedb progra.  Some minor improvements to generate smaller files.
26092         * nss/nss_db/nss_db.h: Move NSS database header data structures to
26093         here from...
26094         * nss/makedb.c: ...here.
26095         Improve database format to be smaller and require less memory at
26096         runtime.
26097         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
26098         db anymore.
26099         * nss/nss_db/db-netgrp.c: Likewise.
26100         * nss/nss_db/db-open.c: Likewise.
26101         * nss/nss_files/flies-XXX.x: Adjust comments.
26102         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26103         * nss/nss_files/files-grp.c: Likewise.
26104         * nss/nss_files/files-hosts.c: Likewise.
26105         * nss/nss_files/files-network.c: Likewise.
26106         * nss/nss_files/files-proto.c: Likewise.
26107         * nss/nss_files/files-pwd.c: Likewise.
26108         * nss/nss_files/files-rpc.c: Likewise.
26109         * nss/nss_files/files-service.c: Likewise.
26110         * nss/nss_files/files-sgrp.c: Likewise.
26111         * nss/nss_files/files-spwd.c: Likewise.
26112         * nss/nss_db/db-alias.c: Removed.
26113         * nss/nss_db/dummy-db.h: Removed.
26114
26115 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
26116
26117         * nss/makedb.c: Rewritten to not use database library.
26118         * nss/Makefile: Update to build new makedb program.
26119
26120 2011-06-14  Andreas Jaeger  <aj@suse.de>
26121
26122         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26123         memset declaration.
26124
26125 2011-06-10  Andreas Schwab  <schwab@redhat.com>
26126
26127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26128         tmpbuf.
26129
26130 2011-06-10  Roland McGrath  <roland@hack.frob.com>
26131
26132         * Makerules (shlib.lds): Fail if the linker script comes out empty.
26133         * elf/Makefile ($(objpfx)ld.so): Likewise.
26134
26135         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26136         Don't list ld.so twice in dependencies.
26137
26138         * posix/bug-regex31.c: Include <stdlib.h>.
26139
26140         * nscd/hstcache.c (cache_addhst): Remove unused variable.
26141
26142         * nis/nss_compat/compat-spwd.c
26143         (getspent_next_nss_netgr): Remove unused variable.
26144         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26145
26146         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26147         nonmembers" output to use the right array.
26148
26149         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26150
26151         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26152
26153         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26154         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26155         * catgets/gencat.c (read_input_file): Likewise.
26156         * locale/programs/locarchive.c (enlarge_archive): Likewise.
26157
26158         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26159         variable definition inside #if's controlling its use.
26160
26161         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26162
26163         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26164
26165         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26166
26167         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26168         unreachable code.
26169
26170         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26171
26172         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26173         * configure: Regenerated.
26174
26175         * Makerules: Revert last change.
26176         * elf/Makefile: Likewise.
26177
26178 2011-06-09  Roland McGrath  <roland@hack.frob.com>
26179
26180         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26181         * elf/Makefile ($(objpfx)librtld.os): Likewise.
26182         (reloc-link): Likewise.
26183
26184 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
26185
26186         * elf/Makefile: Add rules to build pldd.
26187         * elf/pldd.c: New file.
26188         * elf/pldd-xx.c: New file.
26189
26190 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
26191
26192         * version.h: Update for 2.15 development version.
26193
26194 2011-06-07  David S. Miller  <davem@davemloft.net>
26195
26196         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26197         ifuncs.
26198         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26199         elf_machine_lazy_rel): Likewise.
26200         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26201         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26202         elf_machine_lazy_rel): Likewise.
26203         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26204         dl_hwcap via passed in argument.
26205         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26206         Likewise.
26207
26208 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26209
26210         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
26211
26212 2011-06-06  Roland McGrath  <roland@hack.frob.com>
26213
26214         [BZ #12849]
26215         * manual/fdl-1.1.texi: New file, verbatim from:
26216         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26217         * manual/lgpl-2.1.texi: New file, verbatim from:
26218         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26219         * manual/Makefile (licenses): New variable, list those new file names.
26220         (texis): Use it.
26221         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26222
26223         * manual/fdl.texi: File removed.
26224         * manual/lesser.texi: File removed.
26225         * manual/libc.texinfo (Copying, Documentation License):
26226         Use new @include file names, put @appendix directive before @include.
26227
26228 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
26229
26230         [BZ #12841]
26231         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26232         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26233         (mq_open): Add __NTH.
26234
26235 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
26236
26237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26238         Assume Intel Core i3/i5/i7 processor if AVX is available.
26239
26240 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
26241
26242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26243         typo.
26244
26245 2011-05-31  Andreas Schwab  <schwab@redhat.com>
26246
26247         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26248         memory.  Use alloca_account.  Fix memory leak when retrying.
26249
26250 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
26251
26252         * version.h (RELEASE): Bump for 2.14 release.
26253         * include/features.h (__GLIBC_MINOR__): Bump to 14.
26254
26255         * config.make.in (RANLIB): Remove entry.
26256
26257 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
26258
26259         * po/Makefile (po-sed-cmd): Add ksh to extensions.
26260         (libc.pot): Work around missing support for .ksh extension in xgettext.
26261
26262         [BZ #12684]
26263         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26264         if both request failed.
26265         (send_dg): In case of server errors clear resplen or *resplen2.
26266
26267         [BZ #12454]
26268         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26269         when there are multiple maps.
26270         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26271         (_dl_fini): Remove test here.
26272
26273         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26274
26275 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
26276
26277         [BZ #12350]
26278         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26279         bit from old_res_options.
26280         (gaih_inet): Likewise.
26281
26282         [BZ #11099]
26283         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26284         as signed.
26285
26286         * resolv/res_init.c (res_setoptions): Make the code more compact.
26287
26288         [BZ #11558]
26289         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26290         set RES_USEVC.
26291
26292         [BZ #11634]
26293         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26294
26295         * malloc/malloc.h: Mark malloc hook variables as deprecated.
26296
26297         [BZ #11781]
26298         * malloc/malloc.h: Declare malloc hook variables as volatile.
26299
26300         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26301         in last patch.
26302
26303         [BZ #11799]
26304         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26305         raise in the comment.
26306         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26307         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26308         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26309
26310 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
26311
26312         [BZ #12811]
26313         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26314         grow the buffers more if it already has to be sufficient.
26315         (build_wcs_upper_buffer): Likewise.
26316         * posix/regexec.c (check_matching): Likewise.
26317         (clean_state_log_if_needed): Likewise.
26318         (extend_buffers): Don't enlarge buffers beyond size of the input
26319         buffer.
26320         Patches mostly by Emil Wojak <emil@wojak.eu>.
26321         * posix/bug-regex32.c: New file.
26322         * posix/Makefile (tests): Add bug-regex32.
26323
26324         * locale/findlocale.c (_nl_find_locale): Return right away if
26325         _nl_explode_name failed.
26326         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26327
26328         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26329
26330         * debug/xtrace.sh: Unify messages.
26331         * malloc/memusage.sh: Likewise.
26332
26333         [BZ #12813]
26334         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26335         time symbol from vDSO.  Substitute with vsyscall if not available.
26336         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26337         __vdso_time.
26338
26339         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26340         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26341         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26342         Add sendmmsg and internal_sendmmsg.
26343         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26344         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26345         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26346
26347         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26348         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26349         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26350
26351 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
26352
26353         [BZ #12813]
26354         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26355         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
26356         available.
26357         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26358         __vdso_getcpu.
26359
26360         [BZ #12814]
26361         * iconvdata/Makefile (tests): Add bug-iconv9.
26362         * iconvdata/bug-iconv9.c: New file.
26363
26364 2011-05-27  Andreas Schwab  <schwab@redhat.com>
26365
26366         [BZ #12814]
26367         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26368
26369 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
26370
26371         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26372         (struct user_regs_struct): Change intcs field back to cs.
26373
26374 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
26375
26376         * po/ja.po: Update from translation team.
26377
26378 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
26379
26380         [BZ #12795]
26381         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26382         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26383
26384 2011-05-20  Andreas Schwab  <schwab@redhat.com>
26385
26386         * stdlib/longlong.h: Update from GCC.
26387
26388 2011-05-23  Andreas Schwab  <schwab@redhat.com>
26389
26390         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26391         parameter name.
26392         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26393         Add parameter name.
26394         (__sysconf): Pass it down.
26395
26396 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
26397
26398         [BZ #12671]
26399         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26400         some situations.
26401         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26402         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26403         add in in __libc_use_alloca calls.  Adjust callers.
26404         (glob): Use malloc in some situations.
26405
26406         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26407         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26408         pltexit.
26409
26410 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
26411
26412         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26413         and CLOCK_BOOTTIME_ALARM.
26414
26415         [BZ #12782]
26416         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26417         is returned.
26418
26419         * string/_strerror.c (__strerror_r): Print negative errors as signed
26420         numbers.
26421
26422         [BZ #12777]
26423         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26424         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26425         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26426
26427         * configure.in: Fix typo in redirection and correct removal of test
26428         files in two cases.
26429
26430         [BZ #12788]
26431         * locale/setlocale.c (new_composite_name): Fix test to check for
26432         identical name of all categories.
26433
26434         [BZ #12792]
26435         * libio/filedoalloc.c (local_isatty): New function.
26436         (_IO_file_doallocate): Use local_isatty.
26437         * stdio-common/perror.c (perror): In case a new stream is used
26438         forward the stream error.
26439         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26440         error flag.
26441
26442 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
26443
26444         [BZ #11869]
26445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26446         alloca.
26447         * include/alloca.h (extend_alloca_account): Define.
26448
26449         [BZ #11857]
26450         * posix/regex.h: Fix comments with documentation of user-accessible
26451         fields after compilation and describe correct free'ing of pattern
26452         after re_compile_pattern.
26453         Patch by Reuben Thomas <rrt@sc3d.org>.
26454
26455 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
26456
26457         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26458         and -mno-altivec to prevent the compiler from using Altivec and/or
26459         VSX instructions when the corresponding registers are not available.
26460
26461 2011-05-19  Andreas Schwab  <schwab@redhat.com>
26462
26463         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26464
26465 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
26466
26467         * libio/freopen.c (freopen): Use __dup2, not dup2.
26468         * libio/freopen64.c (freopen64): Likewise.
26469
26470 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26471
26472         [BZ #12775]
26473         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26474         * math/Makefile (tests): Add test-powl.
26475         (CFLAGS-test-powl.c): Define.
26476         * math/test-powl.c: New file.
26477
26478 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26479
26480         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26481
26482 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
26483
26484         [BZ #11837]
26485         * iconvdata/gb18030.c: Update to GB18020-2005.
26486
26487 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
26488
26489         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26490         RE_SYNTAX_POSIX_AWK): Update to match recent development.
26491         Patch by Aharon Robbins <arnold@skeeve.com>.
26492
26493         [BZ #11892]
26494         * stdlib/putenv.c (putenv): Don't always create copy of the variable
26495         on the stack.
26496
26497         [BZ #11895]
26498         * misc/pselect.c (__pselect): Handle timeout value errors hidden
26499         through underflows.
26500
26501         [BZ #12766]
26502         * misc/error.c (error_at_line): Ensure file_name and old_file_name
26503         point to strings before performing equality test for error_one_per_line
26504         mode.
26505
26506         [BZ #11697]
26507         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26508
26509         [BZ #11820]
26510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26511         (struct user_fpregs_struct): Avoid __uint*_t types.
26512
26513         [BZ #6420]
26514         * malloc/mtrace.c (tr_where): Add additional parameter to point to
26515         symbol info.  Use it instead of calling _dl_addr locally.
26516         (lock_and_info): New function.
26517         (tr_freehook): Call lock_and_info and pass symbol info as additional
26518         parameter to tr_where.
26519         (tr_mallochook): Likewise.
26520         (tr_reallochook): Likewise.
26521         (tr_memalignhook): Likewise.
26522
26523         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
26524         used and couldn't be at all thread-safe.
26525
26526 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
26527
26528         * libio/freopen.c (freopen): Don't close old file descriptor
26529         before the new one is opened.  Instead dup the new file descriptor
26530         to the old one after the new stream is created.
26531         * libio/freopen64.c (freopen64): Likewise.
26532         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26533         * libio/fileops.c (_IO_new_file_close_it): Handle new
26534         _IO_FLAGS2_NOCLOSE flag.
26535         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26536         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26537         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26538         _IO_FLAGS2_NOCLOSE flag.
26539         * include/unistd.h: Add hidden_proto for dup3.
26540         Define __have_dup3.
26541         * io/dup3.c: Define hidden symbol.
26542         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26543
26544         [BZ #7101]
26545         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26546         when an incomplete long option is used.
26547         * posix/tst-getopt_long1.c: New file.
26548         * posix/Makefile (tests): Add tst-getopt_long1.
26549
26550         [BZ #10138]
26551         * scripts/config.guess: Update from autoconf-2.68.
26552         * scripts/config.sub: Likewise.
26553
26554         [BZ #10157]
26555         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26556         tests into ...
26557         (has_cpuclock): ...this.  New function.
26558         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26559         macro here based on has_cpuclock code.
26560
26561         [BZ #10149]
26562         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26563         First byte (not low byte) is now always NUL.
26564         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26565
26566         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26567         Use non-cancelable interfaces.
26568
26569         [BZ #9809]
26570         * locale/iso-639.def: Add entry for Sorani.
26571
26572         [BZ #11901]
26573         * include/stdlib.h: Move include protection to the right place.
26574         Define abort_msg_s.  Declare __abort_msg with it.
26575         * stdlib/abort.c (__abort_msg): Adjust type.
26576         * assert/assert.c (__assert_fail_base): New function.  Majority
26577         of code from __assert_fail.  Allocate memory for __abort_msg with
26578         mmap.
26579         (__assert_fail): Now call __assert_fail_base.
26580         * assert/assert-perr.c: Remove bulk of implementation.  Use
26581         __assert_fail_base.
26582         * include/assert.hL Declare __assert_fail_base.
26583         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26584         mmap.
26585         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26586
26587 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
26588
26589         [BZ #11952]
26590         [BZ #12453]
26591         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26592         until all modules are registered in the DTV.
26593         * elf/Makefile: Add rules to build and run tst-tls19.
26594         * elf/tst-tls19.c: New file.
26595         * elf/tst-tls19mod1.c: New file.
26596         * elf/tst-tls19mod2.c: New file.
26597         * elf/tst-tls19mod3.c: New file.
26598         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26599
26600         [BZ #12083]
26601         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26602         correctly.
26603
26604         [BZ #12601]
26605         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26606         two-byte sequence errors.
26607         * iconvdata/Makefile (tests): Add bug-iconv8.
26608         * iconvdata/bug-iconv8.c: New file.
26609
26610         [BZ #12626]
26611         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26612         buf2 definition.
26613
26614         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26615
26616         [BZ #12432]
26617         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26618         (dummy_getcfa): New function.
26619         (init): Get _Unwind_GetCFA address, use dummy if not found.
26620         (backtrace_helper): In recursion check, also check whether CFA changes.
26621         (__backtrace): Completely initialize arg.
26622
26623         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26624         storing incomplete byte sequence in state object.  Avoid testing for
26625         guaranteed too small input if we know there is enough data available.
26626
26627 2011-05-11  Andreas Schwab  <schwab@redhat.com>
26628
26629         * Makeconfig (+link-pie): Indent.
26630         * Rules (binaries-pie): Define if $(have-fpie) and
26631         $(build-shared).
26632         (binaries-shared): Also filter out $(binaries-pie).
26633         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26634         * nscd/Makefile (others-pie): Add nscd.
26635         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26636         ($(objpfx)nscd): Remove command override.
26637         * login/Makefile (others-pie): Add pt_chown.
26638         ($(objpfx)pt_chown): Remove command override.
26639         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26640         remove command overrides.
26641
26642 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
26643
26644         * libio/tst_putwc.c: Fix error messages.
26645
26646         [BZ #12724]
26647         * libio/fileops.c (_IO_new_file_close_it): Always flush when
26648         currently writing and seek to current position when not.
26649         * libio/Makefile (tests): Add bug-fclose1.
26650         * libio/bug-fclose1.c: New file.
26651
26652 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
26653
26654         [BZ #12511]
26655         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26656         don't set DF_1_NODELETE here.
26657         (do_lookup_x): When entering new entry test for copy relocation
26658         and if necessary set DF_1_NODELETE flag.
26659         * elf/tst-unique4.cc: New file.
26660         * elf/tst-unique4.h: New file.
26661         * elf/tst-unique4lib.cc: New file.
26662         * elf/Makefile: Add rules to build and run tst-unique4.
26663         Patch by Piotr Bury <pbury@goahead.com>.
26664
26665 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
26666
26667         [BZ #12052]
26668         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26669
26670         [BZ #12625]
26671         * misc/mntent_r.c (addmntent): Flush the stream after the output
26672
26673         [BZ #12393]
26674         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26675         (is_trusted_path_normalize): Skip initial colon.  Append slash
26676         to empty buffer.  Duplicate is_trusted_path code but allow
26677         constructed patch to be prefix.
26678         (is_dst): Allow $ORIGIN followed by /.
26679         (_dl_dst_substitute): Correct clearing of check_for_trusted.
26680         Correct testing of result of is_trusted_path_normalize
26681         (decompose_rpath): Fix warning.
26682
26683 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
26684
26685         [BZ #11257]
26686         * grp/initgroups.c (internal_getgrouplist): When we found the service
26687         list through the initgroups entry in nsswitch.conf do not always
26688         continue on a successful lookup.  Don't always use the
26689         __nss_group_database value if it is set.
26690         * nss/nsswitch.conf (initgroups): Change action for successful db
26691         lookup to continue for compatibility.
26692
26693 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
26694
26695         [BZ #11532]
26696         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26697         and CP774 modules.
26698         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26699         and CP774 modules.
26700         * iconvdata/tst-tables.sh: Likewise.
26701         * iconvdata/cp770.c: New file.
26702         * iconvdata/cp771.c: New file.
26703         * iconvdata/cp772.c: New file.
26704         * iconvdata/cp773.c: New file.
26705         * iconvdata/cp774.c: New file.
26706         * iconvdata/testdata/CP770: New file.
26707         * iconvdata/testdata/CP770..UTF8: New file.
26708         * iconvdata/testdata/CP771: New file.
26709         * iconvdata/testdata/CP771..UTF8: New file.
26710         * iconvdata/testdata/CP772: New file.
26711         * iconvdata/testdata/CP772..UTF8: New file.
26712         * iconvdata/testdata/CP773: New file.
26713         * iconvdata/testdata/CP773..UTF8: New file.
26714         * iconvdata/testdata/CP774: New file.
26715         * iconvdata/testdata/CP774..UTF8: New file.
26716
26717         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26718         END CHARMAP line.
26719         * iconvdata/gen-8bit-gap.sh: Likewise.
26720         * iconvdata/gen-8bit.sh: Likewise.
26721
26722         * locale/iso-639.def: Add ary entry.
26723
26724         [BZ #11258]
26725         * locale/C-translit.h.in: Add U20A1 transliteration.
26726
26727         [BZ #12178]
26728         * locale/iso-639.def: Add wae entry.
26729         Patch by Kevin Bortis <bortis@translate-wae.ch>.
26730
26731         [BZ #12545]
26732         * locale/programs/localedef.c (construct_output_path): Use ssize_t
26733         for n.
26734
26735         [BZ #12711]
26736         * locale/C-translit.h.in: Add entry for U20B9.
26737         Patch by pravin.d.s@gmail.com.
26738
26739 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
26740
26741         [BZ #12713]
26742         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26743         ENAMETOOLONG use generic getcwd.
26744         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
26745         in rtld.  Use *stat64.
26746         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26747         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26748         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26749         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26750         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26751         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26752         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26753         __fstatat64 macros.
26754         * include/dirent.h: Add libc_hidden_proto for rewinddir.
26755         * dirent/rewinddir.c: Add libc_hidden_def.
26756         * sysdeps/mach/hurd/rewinddir.c: Likewise.
26757         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
26758
26759         * include/dirent.h (__alloc_dir): Add flags parameter.
26760         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26761         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26762         __alloc_dir.
26763         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
26764         from fdopendir if O_CLOEXEC is already set.
26765
26766 2011-03-15  Alan Modra  <amodra@gmail.com>
26767
26768         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26769         l_tls_firstbyte_offset non-zero.  Save padding offset in
26770         l_tls_firstbyte_offset for later use.
26771         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26772         freeing static tls block.
26773
26774 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
26775
26776         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26777         where #ifdef was intended.  The intent is to prevent ARG_MAX from
26778         being defined by the kernel headers.
26779
26780 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
26781
26782         [BZ #12734]
26783         * resolv/resolv.h: Define RES_NOTLDQUERY.
26784         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26785         no-tld-query and set RES_NOTLDQUERY.
26786         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26787         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26788         modern BIND to search name as TLD unless forbidden.
26789
26790 2011-05-07  Petr Baudis  <pasky@suse.cz>
26791             Ulrich Drepper  <drepper@gmail.com>
26792
26793         [BZ #12393]
26794         * elf/dl-load.c (fillin_rpath): Move trusted path check...
26795         (is_trusted_path): ...to here.
26796         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26797         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26798         using is_trusted_path_normalize() in setuid scripts.
26799
26800 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26801
26802         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26803         __BEGIN/__END_DECLS.
26804
26805 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
26806
26807         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26808         NSS_STATUS_NOTFOUND if no record was found.
26809
26810 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26811
26812         * sunrpc/Makefile (headers): Add rpc/netdb.h.
26813         (headers-not-in-tirpc): Remove rpc/netdb.h
26814         * resolv/netdb.h: Revert last change.
26815
26816 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26817
26818         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26819         circular dependency between libgcc.a and libc.a.
26820
26821 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26822
26823         * resolv/netdb.h: Don't include <rpc/netdb.h>.
26824         * nis/Makefile: Don't install rpcsvc/*.
26825         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26826         instead of <rpc/types.h>.
26827         (MAXHOSTNAMELEN): Define.
26828
26829 2011-05-03  Andreas Schwab  <schwab@redhat.com>
26830
26831         * elf/ldconfig.c (add_dir): Don't crash on empty path.
26832
26833 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26834
26835         [BZ #12714]
26836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26837         gethostbyname4_r when IPv6 results are possible.
26838
26839 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26840
26841         [BZ #12723]
26842         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26843         _PC_PIPE_BUF handling.
26844
26845 2011-04-30  Bruno Haible  <bruno@clisp.org>
26846
26847         [BZ #12717]
26848         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26849         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26850         to 'int'.
26851         * inet/getnameinfo.c (getnameinfo): Likewise.
26852
26853 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26854
26855         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26856         to groups setting in database lookup.
26857         * nss/nsswitch.conf: Add initgroups entry.
26858
26859 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26860
26861         [BZ #12685]
26862         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26863         mode string.
26864         Patch by Eric Blake <eblake@redhat.com>.
26865
26866 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26867
26868         * sunrpc/Makefile (need-export-routines): Add svc_run.
26869         (routines): Remove svc_run.
26870         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26871         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26872         * sunrpc/svc_run.c (svc_run): Likewise.
26873         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26874
26875 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26876
26877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26878         problem in reallocation in last patch.
26879
26880 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26881
26882         * sunrpc/Makefile: Move inclusion of Rules.
26883
26884 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26885
26886         * nss/nss_files/files-initgroups.c: New file.
26887         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26888         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26889         _nss_files_initgroups_dyn.
26890
26891 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26892
26893         * elf/elf.h (R_ARM_IRELATIVE): Define.
26894
26895 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26896
26897         * po/ru.po: Update from translation team.
26898
26899 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26900
26901         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26902         dependencies.
26903
26904 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26905
26906         [BZ #12653]
26907         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26908         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26909         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26910         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26912
26913 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26914
26915         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26916         differing bytes.
26917         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26919         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26920
26921 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26922
26923         [BZ #12420]
26924         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26925         storing it.
26926         * stdlib/bug-getcontext.c: New file.
26927         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26928
26929 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26930
26931         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26932         instructions into .machine "z9-109".
26933         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26934         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26935
26936 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26937
26938         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26939         between environment variables and auxiliary vector.
26940
26941 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26942
26943         * Makefile: Add rules to build linkobj/libc.so.
26944         * include/libc-symbols.h: Define libc_hidden_nolink.
26945         * include/rpc/auth.h: Mark functions which are to be hidden.
26946         * include/rpc/auth_des.h: Likewise.
26947         * include/rpc/auth_unix.h: Likewise.
26948         * include/rpc/clnt.h: Likewise.
26949         * include/rpc/des_crypt.h: Likewise.
26950         * include/rpc/key_prot.h: Likewise.
26951         * include/rpc/pmap_clnt.h: Likewise.
26952         * include/rpc/pmap_prot.h: Likewise.
26953         * include/rpc/pmap_rmt.h: Likewise.
26954         * include/rpc/rpc_msg.h: Likewise.
26955         * include/rpc/svc.h: Likewise.
26956         * include/rpc/svc_auth.h: Likewise.
26957         * include/rpc/xdr.h: Likewise.
26958         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26959         * nss/Makefile: Likewise.
26960         * sunrpc/Makefile: Don't install headers.  Build library with normal
26961         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26962         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26963         for the compat linking library.  Remove use of INTDEF/INTUSE.
26964         * sunrpc/auth_none.c: Likewise.
26965         * sunrpc/auth_unix.c: Likewise.
26966         * sunrpc/authdes_prot.c: Likewise.
26967         * sunrpc/authuxprot.c: Likewise.
26968         * sunrpc/clnt_gen.c: Likewise.
26969         * sunrpc/clnt_perr.c: Likewise.
26970         * sunrpc/clnt_raw.c: Likewise.
26971         * sunrpc/clnt_simp.c: Likewise.
26972         * sunrpc/clnt_tcp.c: Likewise.
26973         * sunrpc/clnt_udp.c: Likewise.
26974         * sunrpc/clnt_unix.c: Likewise.
26975         * sunrpc/des_crypt.c: Likewise.
26976         * sunrpc/des_soft.c: Likewise.
26977         * sunrpc/get_myaddr.c: Likewise.
26978         * sunrpc/key_call.c: Likewise.
26979         * sunrpc/key_prot.c: Likewise.
26980         * sunrpc/netname.c: Likewise.
26981         * sunrpc/pm_getmaps.c: Likewise.
26982         * sunrpc/pm_getport.c: Likewise.
26983         * sunrpc/pmap_clnt.c: Likewise.
26984         * sunrpc/pmap_prot.c: Likewise.
26985         * sunrpc/pmap_prot2.c: Likewise.
26986         * sunrpc/pmap_rmt.c: Likewise.
26987         * sunrpc/publickey.c: Likewise.
26988         * sunrpc/rpc_cmsg.c: Likewise.
26989         * sunrpc/rpc_common.c: Likewise.
26990         * sunrpc/rpc_dtable.c: Likewise.
26991         * sunrpc/rpc_prot.c: Likewise.
26992         * sunrpc/rpc_thread.c: Likewise.
26993         * sunrpc/rtime.c: Likewise.
26994         * sunrpc/svc.c: Likewise.
26995         * sunrpc/svc_auth.c: Likewise.
26996         * sunrpc/svc_authux.c: Likewise.
26997         * sunrpc/svc_raw.c: Likewise.
26998         * sunrpc/svc_run.c: Likewise.
26999         * sunrpc/svc_simple.c: Likewise.
27000         * sunrpc/svc_tcp.c: Likewise.
27001         * sunrpc/svc_udp.c: Likewise.
27002         * sunrpc/svc_unix.c: Likewise.
27003         * sunrpc/svcauth_des.c: Likewise.
27004         * sunrpc/xcrypt.c: Likewise.
27005         * sunrpc/xdr.c: Likewise.
27006         * sunrpc/xdr_array.c: Likewise.
27007         * sunrpc/xdr_float.c: Likewise.
27008         * sunrpc/xdr_intXX_t.c: Likewise.
27009         * sunrpc/xdr_mem.c: Likewise.
27010         * sunrpc/xdr_rec.c: Likewise.
27011         * sunrpc/xdr_ref.c: Likewise.
27012         * sunrpc/xdr_sizeof.c: Likewise.
27013         * sunrpc/xdr_stdio.c: Likewise.
27014
27015 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
27016
27017         [BZ #12650]
27018         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27019         * sysdeps/ia64/dl-tls.h: Likewise.
27020         * sysdeps/powerpc/dl-tls.h: Likewise.
27021         * sysdeps/s390/dl-tls.h: Likewise.
27022         * sysdeps/sh/dl-tls.h: Likewise.
27023         * sysdeps/sparc/dl-tls.h: Likewise.
27024         * sysdeps/x86_64/dl-tls.h: Likewise.
27025         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27026
27027 2011-03-14  Andreas Schwab  <schwab@redhat.com>
27028
27029         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27030         rpath element also skip the following colon.
27031         (expand_dynamic_string_token): Add is_path parameter and pass
27032         down to DL_DST_REQUIRED and _dl_dst_substitute.
27033         (decompose_rpath): Call expand_dynamic_string_token with
27034         non-zero is_path.  Ignore empty rpaths.
27035         (_dl_map_object_from_fd): Call expand_dynamic_string_token
27036         with zero is_path.
27037
27038 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
27039
27040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27041         Make cancelable.
27042
27043 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
27044
27045         [BZ #12655]
27046         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27047         Patch by Filipe David Manana <fdmanana@apache.org>.
27048
27049 2011-04-07  Andreas Schwab  <schwab@redhat.com>
27050
27051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27052         Maintain aligned stack.
27053         (CHECK_RSP): Remove unused macro.
27054
27055 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
27056
27057         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27058         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27059
27060 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
27061
27062         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27063
27064         * include/features.h: Mention __USE_XOPEN2K8 in comment.
27065
27066 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
27067
27068         [BZ #12518]
27069         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27070         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27071         * sysdeps/x86_64/memmove.c: New file.
27072         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27073         (memcpy): Renamed to ...
27074         (__new_memcpy): This.
27075         (memcpy): Provide GLIBC_2_14 memcpy.
27076         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27077         (memcpy): Provide GLIBC_2_2_5 memcpy.
27078
27079 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27080
27081         [BZ #12631]
27082         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27083
27084 2011-03-30  Andreas Schwab  <schwab@redhat.com>
27085
27086         * misc/syncfs.c: New file.
27087         * misc/Makefile (routines): Add syncfs.
27088         * posix/unistd.h: Declare syncfs.
27089         * sysdeps/unix/syscalls.list: Add syncfs.
27090
27091 2011-04-01  Andreas Schwab  <schwab@redhat.com>
27092
27093         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27094         open_by_handle_at.
27095         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27096         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27098         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27099         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27100         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27102
27103 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27104
27105         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27106         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27107         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27108         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27109         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27112
27113         * io/Makefile: Compile fallocate.c, fallocate64.c, and
27114         sync_file_range.c with -fexceptions.
27115         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27116         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27117         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27118         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27119         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27120         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27121         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27122         sync_file_range as cancellation point
27123         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
27124         now a wrapper around __call_sync_file_range with cancellation handling.
27125         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27126         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
27127         function name to __call_sync_file_range.
27128         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27129         Add call_sync_file_range.
27130
27131 2011-04-01  Andreas Schwab  <schwab@redhat.com>
27132
27133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27134         bits/timex.h.
27135
27136 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27137
27138         * iconv/iconv.h: Fix typo in comment.
27139         * io/fcntl.h: Likewise.
27140         * libio/stdio.h: Likewise.
27141         * posix/spawn.h: Likewise.
27142         * posix/unistd.h: Likewise.
27143         * stdlib/stdlib.h: Likewise.
27144         * time/time.h: Likewise.
27145         * wcsmbs/wchar.h: Likewise.
27146
27147         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27148         open_by_handle): Add.
27149         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27150         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
27151         Augment a few comments.
27152         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27153         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27154         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27155         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27156         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27157         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27158         open_by_handle.
27159
27160         * io/fcntl.h (AT_EMPTY_PATH): Define.
27161
27162 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
27163
27164         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27165         * sysdeps/unix/sysv/linux/bits/time.h: New file.
27166         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27167         to...
27168         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
27169         * Versions.def: Add GLIBC_2.14.
27170         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27171         Export.
27172
27173 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
27174
27175         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27176         round counter.
27177         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27178
27179 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27180
27181         [BZ #12597]
27182         * string/test-strncmp.c (do_page_test): New function.
27183         (check2): Likewise.
27184         (test_main): Call check2.
27185         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27186
27187 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
27188
27189         [BZ #12587]
27190         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27191         Handle cache information in CPU leaf 4.
27192         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27193
27194 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
27195
27196         [BZ #12583]
27197         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27198         character representation.
27199         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27200
27201 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
27202
27203         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27204         END(__isnan) to END(__isnanf) to match function entry point/label
27205         EALIGN(__isnanf,...).
27206
27207 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
27208
27209         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27210
27211 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
27212
27213         [BZ #12510]
27214         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27215         copy from the symbol referenced in the relocation to initialize the
27216         used variable.
27217         Patch by Piotr Bury <pbury@goahead.com>.
27218         * elf/Makefile: Add rules to build and tst-unique3.
27219         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27220         * elf/tst-unique3.cc: New file.
27221         * elf/tst-unique3.h: New file.
27222         * elf/tst-unique3lib.cc: New file.
27223         * elf/tst-unique3lib2.cc: New file.
27224
27225         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27226
27227 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
27228
27229         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27230         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
27231         to _start.
27232
27233 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
27234
27235         * elf/dl-load.c (_dl_map_object): If we are looking for the first
27236         to-be-loaded object along a path to loader is ld.so.
27237
27238 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
27239             Ulrich Drepper  <drepper@gmail.com>
27240
27241         * sysdeps/x86_64/memset.S: After aligning destination, code
27242         branches to different locations depending on the value of
27243         misalignment, when multiarch is enabled. Fix this.
27244
27245 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
27246
27247         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27248         Set _x86_64_preferred_memory_instruction for AMD processsors.
27249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27250         Set bit_Prefer_SSE_for_memop for AMD processors.
27251
27252 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
27253
27254         * libio/fmemopen.c (fmemopen): Optimize a bit.
27255
27256 2011-03-03  Andreas Schwab  <schwab@redhat.com>
27257
27258         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27259
27260 2011-03-03  Roland McGrath  <roland@redhat.com>
27261
27262         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27263
27264 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
27265
27266         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27267         __bzero_ultra1 instead of __memset_ultra1.
27268
27269 2011-02-23  Andreas Schwab  <schwab@redhat.com>
27270             Ulrich Drepper  <drepper@gmail.com>
27271
27272         [BZ #12509]
27273         * include/link.h (struct link_map): Add l_orig_initfini.
27274         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27275         returning unsuccessfully.
27276         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27277         close of a file loaded at startup, restore the original l_initfini
27278         list.
27279         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27280         list, store the pointer.
27281         * elf/Makefile ($(objpfx)noload-mem): New rule.
27282         (noload-ENV): Define.
27283         (tests): Add $(objpfx)noload-mem.
27284         * elf/noload.c: Include <memcheck.h>.
27285         (main): Call mtrace.  Close all opened handles.
27286
27287 2011-02-17  Andreas Schwab  <schwab@redhat.com>
27288
27289         [BZ #12454]
27290         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27291         dependencies are missing.
27292
27293 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27294
27295         Fix __if_freereq crash: Unlike the generic version which uses free,
27296         Hurd needs munmap.
27297         * sysdeps/mach/hurd/ifreq.h: New file.
27298
27299 2011-01-27  Petr Baudis  <pasky@suse.cz>
27300             Ulrich Drepper  <drepper@gmail.com>
27301
27302         [BZ 12445]#
27303         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27304         to extend_alloca().
27305         * stdio-common/bug23.c: New file.
27306         * stdio-common/Makefile (tests): Add bug23.
27307
27308 2010-09-28  Andreas Schwab  <schwab@redhat.com>
27309             Ulrich Drepper  <drepper@gmail.com>
27310
27311         [BZ #12489]
27312         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27313         before performing relro protection.  At old place add assertion
27314         to make sure nothing changed.
27315
27316 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
27317             Glauber de Oliveira Costa  <glommer@gmail.com>
27318
27319         * elf/elf.h: Add new ARM TLS relocs.
27320
27321 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
27322
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27324         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27325         cast from r3.
27326         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
27327         'tests' variable.
27328         * sysdeps/wordsize-64/tst-writev.c: New file.
27329
27330 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
27331
27332         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27333         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27334         insns in _dl_start to prevent a TOC reference before relocs are
27335         resolved.
27336
27337 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
27338
27339         [BZ #12469]
27340         * Makeconfig: Remove RANLIB definition.
27341         * Makerules: Don't use RANLIB.
27342         * aclocal.m4: Remove ranlib test.
27343         * configure.in: No need to check for ranlib.
27344         * elf/rtld-Rules: Don't use RANLIB.
27345
27346 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27347
27348         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27349         protection macro.
27350         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27351         inclusion protection macro.
27352
27353         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27354         SIGRTMIN and SIGRTMAX and print information in that case only when
27355         SIGRTMIN is defined.
27356
27357 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
27358
27359         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27360         arginfo fn returning -1.
27361
27362         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27363         and thousands string is zero terminated.
27364
27365 2011-02-03  Andreas Schwab  <schwab@redhat.com>
27366
27367         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27368         sysdeps/unix/sysv/linux/bits/socket.h.
27369
27370 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27371
27372         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27373         (__CPU_COUNT): Remove old macros.
27374         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27375         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27376         (__CPU_ALLOC, __CPU_FREE): Add macros.
27377         (__sched_cpualloc, __sched_cpufree): Add declarations.
27378
27379 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
27380
27381         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27382         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27383         * nscd/aicache.c (addhstaiX): Return timeout of added value.
27384         (readdhstai): Return value of addhstaiX call.
27385         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27386         (addgrbyX): Return value returned by cache_addgr.
27387         (readdgrbyname): Return value returned by addgrbyX.
27388         (readdgrbygid): Likewise.
27389         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27390         (addpwbyX): Return value returned by cache_addpw.
27391         (readdpwbyname): Return value returned by addhstbyX.
27392         (readdpwbyuid): Likewise.
27393         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27394         (addservbyX): Return value returned by cache_addserv.
27395         (readdservbyname): Return value returned by addservbyX:
27396         (readdservbyport): Likewise.
27397         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27398         (addhstbyX): Return value returned by cache_addhst.
27399         (readdhstbyname): Return value returned by addhstbyX.
27400         (readdhstbyaddr): Likewise.
27401         (readdhstbynamev6): Likewise.
27402         (readdhstbyaddrv6): Likewise.
27403         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27404         (readdinitgroups): Return value returned by addinitgroupsX.
27405         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27406         (prune_cache): Keep track of timeout value of re-added entries.
27407         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27408         * nscd/nscd.h: Adjust prototypes of readd* functions.
27409
27410 2011-02-04  Roland McGrath  <roland@redhat.com>
27411
27412         * nis/nis_server.c (nis_servstate): Use the right name for 0.
27413         (nis_stats): Likewise.
27414         * nis/nis_modify.c (nis_modify): Likewise.
27415         * nis/nis_remove.c (nis_remove): Likewise.
27416         * nis/nis_add.c (nis_add): Likewise.
27417
27418         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27419
27420         * posix/fnmatch_loop.c: Add some consts.
27421
27422         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27423
27424 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
27425
27426         [BZ #12460]
27427         * config.make.in (config-cflags-novzeroupper): Define.
27428         * configure.in: Substitute libc_cv_cc_novzeroupper.
27429         * elf/Makefile (AVX-CFLAGS): Define.
27430         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27431         (CFLAGS-tst-auditmod4a.c): Likewise.
27432         (CFLAGS-tst-auditmod4b.c): Likewise.
27433         (CFLAGS-tst-auditmod6b.c): Likewise.
27434         (CFLAGS-tst-auditmod6c.c): Likewise.
27435         (CFLAGS-tst-auditmod7b.c): Likewise.
27436         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27437
27438 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
27439
27440         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27441         function to the callback.
27442         Patch partly by Jiri Olsa <jolsa@redhat.com>.
27443
27444 2011-02-02  Andreas Schwab  <schwab@redhat.com>
27445
27446         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27447         of errno.
27448
27449 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
27450
27451         [BZ #11724]
27452         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27453         of constructors.
27454         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27455         of destructors.
27456         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27457
27458         [BZ #11724]
27459         * elf/Makefile: Add rules to build and run new test.
27460         * elf/tst-initorder.c: New file.
27461         * elf/tst-initorder.exp: New file.
27462         * elf/tst-initordera1.c: New file.
27463         * elf/tst-initordera2.c: New file.
27464         * elf/tst-initordera3.c: New file.
27465         * elf/tst-initordera4.c: New file.
27466         * elf/tst-initorderb1.c: New file.
27467         * elf/tst-initorderb2.c: New file.
27468         * elf/tst-order-a1.c: New file.
27469         * elf/tst-order-a2.c: New file.
27470         * elf/tst-order-a3.c: New file.
27471         * elf/tst-order-a4.c: New file.
27472         * elf/tst-order-b1.c: New file.
27473         * elf/tst-order-b2.c: New file.
27474         * elf/tst-order-main.c: New file.
27475         New test case by George Gensure <werkt0@gmail.com>.
27476
27477 2010-10-01  Andreas Schwab  <schwab@redhat.com>
27478
27479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27480         decoding ACE if AI_CANONIDN.
27481
27482 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
27483
27484         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27485
27486 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
27487
27488         * version.h (RELEASE): Bump for 2.13 release.
27489         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27490
27491         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27492
27493         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27494         MADV_NOHUGEPAGE.
27495         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27496         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27498         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27500         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27501
27502         * posix/getconf.c: Update copyright year.
27503         * catgets/gencat.c: Likewise.
27504         * csu/version.c: Likewise.
27505         * debug/catchsegv.sh: Likewise.
27506         * debug/xtrace.sh: Likewise.
27507         * elf/ldconfig.c: Likewise.
27508         * elf/ldd.bash.in: Likewise.
27509         * elf/sprof.c (print_version): Likewise.
27510         * iconv/iconv_prog.c: Likewise.
27511         * iconv/iconvconfig.c: Likewise.
27512         * locale/programs/locale.c: Likewise.
27513         * locale/programs/localedef.c: Likewise.
27514         * malloc/memusage.sh: Likewise.
27515         * malloc/mtrace.pl: Likewise.
27516         * nscd/nscd.c (print_version): Likewise.
27517         * nss/getent.c: Likewise.
27518
27519         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27520         PF_CAIF, and PF_ALG.
27521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27522
27523 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
27524
27525         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27526         (modules-names): Use them.
27527         (ifunc-test-modules, ifunc-pie-tests): Define.
27528         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27529         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27530         (test-extras): Likewise.
27531         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27532         $(compile-command.c).
27533         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27534         (all-built-dso): Define.
27535         (check-textrel.out, check-execstack.out): Depend on it.
27536
27537         * configure.in: Don't override --enable-multi-arch.
27538
27539 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
27540
27541         [BZ #6812]
27542         * nscd/hstcache.c (tryagain): Define.
27543         (cache_addhst): Return tryagain not notfound for temporary errors.
27544         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27545         failed.
27546
27547 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
27548
27549         [BZ #10563]
27550         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27551         to make the syscall.
27552         * sysdeps/unix/sysv/linux/setgroups.c: New file.
27553
27554         [BZ #12378]
27555         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27556         and fall back to matching as normal character if the string ends before
27557         the matching ']' is found.  This is what POSIX requires.
27558         * posix/testfnm.c: Adjust test result.
27559         * posix/globtest.sh: Adjust test result.  Add new test.
27560         * posix/tst-fnmatch.input: Likewise.
27561         * posix/tst-fnmatch2.c: Add new test.
27562
27563 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
27564
27565         * elf/Makefile (check-execstack): Revert last change.  Depend on
27566         check-execstack.h.
27567         (check-execstack.h): New target.
27568         (generated): Add check-execstack.h.
27569         * elf/check-execstack.c: Include "check-execstack.h".
27570         (main): Revert last change.
27571         (handle_file): Return zero if GNU_STACK is absent and
27572         DEFAULT_STACK_PERMS doesn't include PF_X.
27573
27574 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
27575
27576         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27577         in child fails because the descriptor is already closed.
27578         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27579         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27580         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27581
27582         [BZ #12397]
27583         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27584         syscall.
27585
27586         [BZ #10484]
27587         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27588         temporary buffer used to handle multi lookups locally.
27589         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27590
27591 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
27592
27593         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27594         loader is ld.so.
27595
27596 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
27597
27598         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27599         alignment for SSE2.
27600
27601 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
27602
27603         [BZ #12394]
27604         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27605         characters.  When rounding increased number of integer digits recompute
27606         number of groups.
27607         * stdio-common/tst-grouping.c: New file.
27608         * stdio-common/Makefile: Add rules to build and run tst-grouping.
27609
27610 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
27611
27612         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27613         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
27614
27615         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27616         void.
27617         * bits/select.h: Likewise.
27618
27619 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
27620
27621         * po/ja.po: Update from translation team.
27622
27623 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
27624
27625         [BZ #11155]
27626         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27627         implementation just like for lxstat, fxstatat, et al.
27628
27629 2010-12-27  Jim Meyering  <meyering@redhat.com>
27630
27631         [BZ #12348]
27632         * posix/regexec.c (build_trtable): Return failure indication upon
27633         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
27634
27635 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
27636
27637         [BZ #12201]
27638         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27639         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27640         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27641         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27642
27643         [BZ #12207]
27644         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27645
27646         [BZ #12204]
27647         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27648         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27649
27650 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
27651
27652         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27653         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27654         script has SORT_BY_INIT_PRIORITY.
27655         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27656         NO_CTORS_DTORS_SECTIONS is defined.
27657         * elf/soinit.c: Likewise.
27658         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27659         NO_CTORS_DTORS_SECTIONS is defined.
27660         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27661         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27662         * sysdeps/sh/init-first.c: Likewise.
27663         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27664
27665 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
27666
27667         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27668         always use the slow path.
27669
27670 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
27671
27672         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27673         similar rule which adds the sysdep directories to the header search in
27674         order to pick up the correct platform stackinfo.h.
27675         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27676         perform test if it is, otherwise return successfully without testing.
27677         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27678         DEFAULT_STACK_PERMS define in stackinfo.h.
27679         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27680         defined in stackinfo.h.
27681         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27682         DEFAULT_STACK_PERMS defined in stackinfo.h.
27683         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27684         * sysdeps/ia64/stackinfo.h: Likewise.
27685         * sysdeps/s390/stackinfo.h: Likewise.
27686         * sysdeps/sh/stackinfo.h: Likewise.
27687         * sysdeps/sparc/stackinfo.h: Likewise.
27688         * sysdeps/x86_64/stackinfo.h: Likewise.
27689         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27690         PF_X for powerpc64.  Retain PF_X for powerpc32.
27691
27692 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
27693
27694         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27695         accurately.
27696         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27697         GETDENTS_64BIT_ALIGNED.
27698
27699 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
27700
27701         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27702
27703 2010-12-10  Andreas Schwab  <schwab@redhat.com>
27704
27705         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27706         _GNU_SOURCE.
27707
27708         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27709         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27710         Remove __restrict.
27711         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27712         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27713
27714 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
27715
27716         [BZ #11655]
27717         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27718         are initialized.
27719
27720 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
27721
27722         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27723
27724 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
27725
27726         * po/it.po: Update from translation team.
27727
27728 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
27729
27730         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27731         unused codes.
27732
27733 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
27734
27735         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27736
27737 2010-11-24  Andreas Schwab  <schwab@redhat.com>
27738
27739         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27740         specially.
27741         (gaih_getanswer_slice): Likewise.
27742
27743 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
27744
27745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27746
27747 2010-05-31  Petr Baudis  <pasky@suse.cz>
27748
27749         [BZ #11149]
27750         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27751         silently even in the chroot mode.
27752
27753 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
27754
27755         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27756         last patch a bit.  Pretty printing
27757
27758 2010-05-31  Petr Baudis <pasky@suse.cz>
27759
27760         [BZ #10085]
27761         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27762         initialization of skip_initgroups_dyn.
27763
27764 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
27765
27766         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27767         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27768
27769 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
27770
27771         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27772
27773 2010-11-11  Andreas Schwab  <schwab@redhat.com>
27774
27775         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27776         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27777         (tst-fnmatch-ENV): Set MALLOC_TRACE.
27778         ($(objpfx)tst-fnmatch-mem): New rule.
27779         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27780         * posix/tst-fnmatch.c (main): Call mtrace.
27781
27782 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
27783
27784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27785         Support Intel processor model 6 and model 0x2c.
27786
27787 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
27788
27789         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27790           signed comparison.
27791
27792 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
27793
27794         [BZ #12205]
27795         * string/test-strncasecmp.c (check_result): New function.
27796         (do_one_test): Use it.
27797         (check1): New function.
27798         (test_main): Use it.
27799         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27800         Support strcasecmp and strncasecmp.
27801
27802 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
27803
27804         [BZ #12194]
27805         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27806         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27807
27808 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27809
27810         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27811         IFUNC support.
27812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27813         memset-x86-64.
27814         * sysdeps/x86_64/multiarch/bzero.S: New file.
27815         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27816         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27817         * sysdeps/x86_64/multiarch/memset.S: New file.
27818         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27820         Set bit_Prefer_SSE_for_memop for Intel processors.
27821         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27822         Define.
27823         (index_Prefer_SSE_for_memop): Define.
27824         (HAS_PREFER_SSE_FOR_MEMOP): Define.
27825
27826 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
27827
27828         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27829         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27830
27831 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
27832
27833         [BZ #12191]
27834         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27835         (__x86_64_raw_data_cache_size_half): Likewise.
27836         (__x86_64_raw_shared_cache_size): Likewise.
27837         (__x86_64_raw_shared_cache_size_half): Likewise.
27838
27839         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27840         (__x86_64_raw_data_cache_size_half): Likewise.
27841         (__x86_64_raw_shared_cache_size): Likewise.
27842         (__x86_64_raw_shared_cache_size_half): Likewise.
27843         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27844         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27845         and __x86_64_raw_shared_cache_size_half.  Round
27846         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27847         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27848         to multiple of 256 bytes.
27849
27850 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27851
27852         [BZ #12167]
27853         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27854         of inacessible symlinks.  Verify result of symlink before returning it.
27855         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27856         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27857
27858 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27859
27860         * math/math.h (isinf): Fix typo in comment.
27861
27862 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27863
27864         * po/da.po: Update from translation team.
27865
27866 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27867
27868         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27869         is added to the list.
27870
27871 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27872             Ulrich Drepper  <drepper@gmail.com>
27873
27874         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27875         the global list here.  Move code to...
27876         (_dl_add_to_namespace_list): ...here.  New function.
27877         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27878         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27879         * elf/dl-load.c (lose): Don't remove the element from the list.
27880         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27881         (_dl_map_object): Likewise.
27882
27883 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27884
27885         [BZ #12159]
27886         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27887         into all bytes of SSE register.
27888         Patch by Richard Li <richardpku@gmail.com>.
27889
27890 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27891
27892         [BZ #12140]
27893         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27894         perturbing.
27895
27896 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27897
27898         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27899         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27900         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27901         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27903         submachine.
27904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27905
27906 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27907
27908         * include/dlfcn.h (__RTLD_SECURE): Define.
27909         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27910         mode & __RTLD_SECURE instead.
27911         (open_path): Rename preloaded parameter to secure.
27912         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27913         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27914         * elf/dl-deps.c (openaux): Likewise.
27915         * elf/rtld.c (struct map_args): Remove is_preloaded.
27916         (map_doit): Don't use it.
27917         (dl_main): Likewise.
27918         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27919         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27920
27921 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27922
27923         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27924         (sysd-rules-targets): Remove duplicates.
27925         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27926         rtld-%.$o dependency.
27927
27928 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27929
27930         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27931         _dl_map_object do it.
27932
27933 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27934
27935         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27936         fast fma builtins, define the macros in the C99 standard.
27937         (FP_FAST_FMAF): Likewise.
27938         (FP_FAST_FMAL): Likewise.
27939         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27940
27941         * bits/mathdef.h: Update copyright year.
27942         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27943
27944 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27945
27946         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27947         builtins, define the macros in the C99 standard.
27948         (FP_FAST_FMAF): Likewise.
27949         (FP_FAST_FMAL): Likewise.
27950         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27951         multiply/add.
27952         (FP_FAST_FMAF): Likewise.
27953
27954 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27955
27956         [BZ #3268]
27957         * math/libm-test.inc (fma_test): Some new testcases.
27958         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27959         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27960         y and infinite z.  Do multiplication by C already in long double.
27961         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27963         y and infinite z.  Do bitwise or of inexact bit into u.d.
27964         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27965         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27966         * sysdeps/i386/fpu/s_fma.S: Removed.
27967         * sysdeps/i386/fpu/s_fmal.S: Removed.
27968
27969 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27970
27971         [BZ #3268]
27972         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27974         computation is not scheduled after fetestexcept.  Fix value
27975         of minimum denormal long double.
27976
27977 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27978
27979         [BZ #3268]
27980         * math/libm-test.inc (fma_test): Add some more tests.
27981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27982         correctly.
27983
27984 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27985
27986         * scripts/data/localplt-s390-linux-gnu.data: New file.
27987         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27988
27989 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27990
27991         [BZ #3268]
27992         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27993         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27994         instead of dbl-64.
27995         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27996         inlines.
27997         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27999         if one of x and y is very large and the other is subnormal.
28000         * sysdeps/s390/fpu/s_fmaf.c: New file.
28001         * sysdeps/s390/fpu/s_fma.c: New file.
28002         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28003         * sysdeps/powerpc/fpu/s_fma.S: New file.
28004         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28005         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28006         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28007
28008 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
28009
28010         [BZ #3268]
28011         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28012         fma tests.
28013         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28014         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28015         * sysdeps/i386/i686/multiarch/s_fma.c: Include
28016         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28017         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28018         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28019         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28020
28021 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
28022
28023         [BZ #12078]
28024         * posix/regcomp.c (parse_branch): One more memory leak plugged.
28025         * posix/bug-regex31.input: Add test case.
28026
28027 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
28028
28029         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28030         * posix/bug-regex31.input: New file.
28031
28032         [BZ #12078]
28033         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28034         (parse_sub_exp): Fix last change, use postorder.
28035
28036         * posix/bug-regex31.c: New file.
28037         * posix/Makefile: Add rules to build and run bug-regex31.
28038
28039         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28040
28041         [BZ #12078]
28042         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28043
28044         [BZ #12108]
28045         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28046         to have entries in sys_siglist.
28047
28048         [BZ #12093]
28049         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28050         be NULL.
28051
28052 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
28053
28054         [BZ #3268]
28055         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28056         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28057         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28058         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28059         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28060         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28061         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28062         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28063         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28064         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28065         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28066         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28067         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28068         * math/ftestexcept.c (fetestexcept): Likewise.
28069         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28070         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28071         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28072         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28073         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28074         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28075         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28076
28077 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
28078
28079         [BZ #12107]
28080         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28081         newline.
28082
28083 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
28084
28085         * string/bug-strstr1.c: New file.
28086         * string/Makefile: Add rules to build and run bug-strstr1.
28087
28088 2010-10-05  Eric Blake  <eblake@redhat.com>
28089
28090         [BZ #12092]
28091         * string/str-two-way.h (two_way_long_needle): Always clear memory
28092         when skipping input due to the shift table.
28093
28094 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
28095
28096         [BZ #12005]
28097         * malloc/mcheck.c: Handle large requests.
28098
28099         [BZ #12077]
28100         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28101         for strncmp and strncasecmp.
28102         * string/stratcliff.c: Add tests for strcmp and strncmp.
28103         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28104
28105 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28106
28107         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28108         __set_fpscr.
28109
28110 2010-09-30  Andreas Jaeger  <aj@suse.de>
28111
28112         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28113         (CGROUP_SUPER_MAGIC): Define.
28114         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28115         Handle btrfs and cgroup file systems.
28116         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28117         Likewise.
28118
28119 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
28120
28121         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28122         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28123
28124 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28125
28126         [BZ #12067]
28127         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28128         trying to locate the ELF header.
28129
28130 2010-09-27  Andreas Schwab  <schwab@redhat.com>
28131
28132         [BZ #11611]
28133         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28134         Mask out sign-bit copies when constructing f_fsid.
28135
28136 2010-09-24  Petr Baudis <pasky@suse.cz>
28137
28138         * debug/stack_chk_fail_local.c: Add missing licence exception.
28139         * debug/warning-nop.c: Likewise.
28140
28141 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
28142
28143         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28144         implementing getdents64 using getdents syscall, set d_type if
28145         __ASSUME_GETDENTS32_D_TYPE.
28146
28147 2010-09-16  Andreas Schwab  <schwab@redhat.com>
28148
28149         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28150         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28151
28152 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
28153
28154         [BZ #12037]
28155         * posix/unistd.h: Undo change of feature selection for ftruncate from
28156         2010-01-11.
28157
28158 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
28159
28160         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28161         detection.
28162
28163 2010-09-20  Andreas Schwab  <schwab@redhat.com>
28164
28165         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28166         fanotify_mark.
28167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28168
28169 2010-09-14  Andreas Schwab  <schwab@redhat.com>
28170
28171         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28172         variables after CHECK_SP call.
28173         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28174
28175 2010-09-13  Andreas Schwab  <schwab@redhat.com>
28176             Ulrich Drepper  <drepper@redhat.com>
28177
28178         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28179         re-relocationg ld.so.
28180         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28181         _dl_init_paths call.
28182         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
28183         here anymore.
28184
28185 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
28186
28187         * resolv/res_init.c (__res_vinit): Count the default server we added.
28188
28189 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
28190             Ulrich Drepper  <drepper@redhat.com>
28191
28192         [BZ #11968]
28193         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28194         (____longjmp_chk): Use %ebx for saving value across system call.
28195         Add unwind info.
28196
28197 2010-09-06  Andreas Schwab  <schwab@redhat.com>
28198
28199         * manual/Makefile: Don't mix pattern rules with normal rules.
28200
28201 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28202
28203         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28204         operation.
28205         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28206         * libio/iofopncook.c (_IO_cookie_init): Likewise.
28207         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28208         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28210         Likewise.
28211
28212 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
28213
28214         [BZ #11979]
28215         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28216         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28217
28218 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
28219
28220         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28221         * sysdeps/x86_64/addmul_1.S: Likewise.
28222         * sysdeps/x86_64/lshift.S: Likewise.
28223         * sysdeps/x86_64/mul_1.S: Likewise.
28224         * sysdeps/x86_64/rshift.S: Likewise.
28225         * sysdeps/x86_64/sub_n.S: Likewise.
28226         * sysdeps/x86_64/submul_1.S: Likewise.
28227
28228 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28229
28230         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28231         Define __sched_param instead of SCHED_* and sched_param when
28232         <bits/sched.h> is included with __need_schedparam defined.
28233         * bits/sched.h [__need_schedparam]
28234         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28235         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28236         (__defined_schedparam): Define to 1.
28237         (__sched_param): New structure, identical to sched_param.
28238         (__need_schedparam): Undefine.
28239
28240 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
28241
28242         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28243         (epoll_create1): Declare.
28244
28245         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28246
28247 2010-08-31  Andreas Schwab  <schwab@redhat.com>
28248
28249         [BZ #7066]
28250         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28251         shifting retval into place.
28252
28253 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
28254
28255         * nis/rpcsvc/nis.h: Update copyright notice.
28256         * nis/rpcsvc/nis.x: Likewise.
28257         * nis/rpcsvc/nis_callback.h: Likewise.
28258         * nis/rpcsvc/nis_callback.x: Likewise.
28259         * nis/rpcsvc/nis_object.x: Likewise.
28260         * nis/rpcsvc/nis_tags.h: Likewise.
28261         * nis/rpcsvc/yp.h: Likewise.
28262         * nis/rpcsvc/yp.x: Likewise.
28263         * nis/rpcsvc/ypupd.h: Likewise.
28264         * nis/yp_xdr.c: Likewise.
28265         * nis/ypupdate_xdr.c: Likewise.
28266
28267         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
28268         mainly the body of pmap_getport.  Add parameters to specify timeouts.
28269         (pmap_getport): Use __libc_rpc_getport.
28270         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28271         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28272         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28273
28274 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
28275
28276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28277         fanotify_mark.
28278
28279 2010-08-27  Roland McGrath  <roland@redhat.com>
28280
28281         * sysdeps/i386/i686/multiarch/Makefile
28282         (CFLAGS-varshift.c): New variable.
28283
28284 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
28285
28286         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28287         * sysdeps/i386/i686/multiarch/varshift.c: New file.
28288
28289         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28290
28291         * sysdeps/x86_64/strlen.S: Minimal code improvement.
28292
28293 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28294
28295         * sysdeps/x86_64/strlen.S: Unroll the loop.
28296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28297         strlen-sse2 strlen-sse2-bsf.
28298         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28299         __strlen_no_bsf if bit_Slow_BSF is set.
28300         (__strlen_sse42): Removed.
28301         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28302         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28303
28304 2010-08-25  Roland McGrath  <roland@redhat.com>
28305
28306         * sysdeps/x86_64/multiarch/varshift.S: File removed.
28307         * sysdeps/x86_64/multiarch/varshift.c: New file.
28308         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28309         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28310         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28311         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28312
28313 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28314
28315         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28316         strlen-sse2 strlen-sse2-bsf.
28317         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28318         __strlen_sse2_bsf if bit_Slow_BSF is unset.
28319         (__strlen_sse2): Removed.
28320         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28321         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28323         bit_Slow_BSF for Atom.
28324         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28325         (index_Slow_BSF): Define.
28326         (HAS_SLOW_BSF): Define.
28327
28328 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
28329
28330         [BZ #10851]
28331         * resolv/res_init.c (__res_vinit): When no server address at all
28332         is given default to loopback.
28333
28334 2010-08-24  Roland McGrath  <roland@redhat.com>
28335
28336         * configure.in: Remove config-name.h generation.
28337         * configure: Regenerated.
28338         * config-name.in: File removed.
28339         * scripts/config-uname.sh: New file.
28340         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28341         ($(objdir)config-name.h): New target.
28342
28343         * sunrpc/rpc_parse.h: Avoid nested comment.
28344
28345 2010-08-24  Richard Henderson  <rth@redhat.com>
28346             Ulrich Drepper  <drepper@redhat.com>
28347             H.J. Lu  <hongjiu.lu@intel.com>
28348
28349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28351         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28352         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
28353         _mm_alignr_epi8 with _mm_loadu_si128.
28354         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28355         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28356         (__m128i_shift_right): Removed.
28357         * sysdeps/i386/i686/multiarch/varshift.h: New file.
28358         * sysdeps/i386/i686/multiarch/varshift.S: New file.
28359         * sysdeps/x86_64/multiarch/varshift.h: New file.
28360         * sysdeps/x86_64/multiarch/varshift.S: New file.
28361
28362 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
28363
28364         * configure.in: Move assembler checks to before sysdep dir checking.
28365
28366 2010-08-20  Petr Baudis  <pasky@suse.cz>
28367
28368         * LICENSES: Sync the sunrpc license.
28369
28370 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
28371
28372         * sunrpc/auth_des.c: Update copyright notice once again.
28373         * sunrpc/auth_none.c: Likewise.
28374         * sunrpc/auth_unix.c: Likewise.
28375         * sunrpc/authdes_prot.c: Likewise.
28376         * sunrpc/authuxprot.c: Likewise.
28377         * sunrpc/bindrsvprt.c: Likewise.
28378         * sunrpc/clnt_gen.c: Likewise.
28379         * sunrpc/clnt_perr.c: Likewise.
28380         * sunrpc/clnt_raw.c: Likewise.
28381         * sunrpc/clnt_simp.c: Likewise.
28382         * sunrpc/clnt_tcp.c: Likewise.
28383         * sunrpc/clnt_udp.c: Likewise.
28384         * sunrpc/clnt_unix.c: Likewise.
28385         * sunrpc/des_crypt.c: Likewise.
28386         * sunrpc/des_soft.c: Likewise.
28387         * sunrpc/get_myaddr.c: Likewise.
28388         * sunrpc/getrpcport.c: Likewise.
28389         * sunrpc/key_call.c: Likewise.
28390         * sunrpc/key_prot.c: Likewise.
28391         * sunrpc/openchild.c: Likewise.
28392         * sunrpc/pm_getmaps.c: Likewise.
28393         * sunrpc/pm_getport.c: Likewise.
28394         * sunrpc/pmap_clnt.c: Likewise.
28395         * sunrpc/pmap_prot.c: Likewise.
28396         * sunrpc/pmap_prot2.c: Likewise.
28397         * sunrpc/pmap_rmt.c: Likewise.
28398         * sunrpc/rpc/auth.h: Likewise.
28399         * sunrpc/rpc/auth_unix.h: Likewise.
28400         * sunrpc/rpc/clnt.h: Likewise.
28401         * sunrpc/rpc/des_crypt.h: Likewise.
28402         * sunrpc/rpc/key_prot.h: Likewise.
28403         * sunrpc/rpc/netdb.h: Likewise.
28404         * sunrpc/rpc/pmap_clnt.h: Likewise.
28405         * sunrpc/rpc/pmap_prot.h: Likewise.
28406         * sunrpc/rpc/pmap_rmt.h: Likewise.
28407         * sunrpc/rpc/rpc.h: Likewise.
28408         * sunrpc/rpc/rpc_des.h: Likewise.
28409         * sunrpc/rpc/rpc_msg.h: Likewise.
28410         * sunrpc/rpc/svc.h: Likewise.
28411         * sunrpc/rpc/svc_auth.h: Likewise.
28412         * sunrpc/rpc/types.h: Likewise.
28413         * sunrpc/rpc/xdr.h: Likewise.
28414         * sunrpc/rpc_clntout.c: Likewise.
28415         * sunrpc/rpc_cmsg.c: Likewise.
28416         * sunrpc/rpc_common.c: Likewise.
28417         * sunrpc/rpc_cout.c: Likewise.
28418         * sunrpc/rpc_dtable.c: Likewise.
28419         * sunrpc/rpc_hout.c: Likewise.
28420         * sunrpc/rpc_main.c: Likewise.
28421         * sunrpc/rpc_parse.c: Likewise.
28422         * sunrpc/rpc_parse.h: Likewise.
28423         * sunrpc/rpc_prot.c: Likewise.
28424         * sunrpc/rpc_sample.c: Likewise.
28425         * sunrpc/rpc_scan.c: Likewise.
28426         * sunrpc/rpc_scan.h: Likewise.
28427         * sunrpc/rpc_svcout.c: Likewise.
28428         * sunrpc/rpc_tblout.c: Likewise.
28429         * sunrpc/rpc_util.c: Likewise.
28430         * sunrpc/rpc_util.h: Likewise.
28431         * sunrpc/rpcinfo.c: Likewise.
28432         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28433         * sunrpc/rpcsvc/key_prot.x: Likewise.
28434         * sunrpc/rpcsvc/klm_prot.x: Likewise.
28435         * sunrpc/rpcsvc/mount.x: Likewise.
28436         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28437         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28438         * sunrpc/rpcsvc/rex.x: Likewise.
28439         * sunrpc/rpcsvc/rstat.x: Likewise.
28440         * sunrpc/rpcsvc/rusers.x: Likewise.
28441         * sunrpc/rpcsvc/sm_inter.x: Likewise.
28442         * sunrpc/rpcsvc/spray.x: Likewise.
28443         * sunrpc/rpcsvc/yppasswd.x: Likewise.
28444         * sunrpc/rtime.c: Likewise.
28445         * sunrpc/svc.c: Likewise.
28446         * sunrpc/svc_auth.c: Likewise.
28447         * sunrpc/svc_authux.c: Likewise.
28448         * sunrpc/svc_raw.c: Likewise.
28449         * sunrpc/svc_run.c: Likewise.
28450         * sunrpc/svc_simple.c: Likewise.
28451         * sunrpc/svc_tcp.c: Likewise.
28452         * sunrpc/svc_udp.c: Likewise.
28453         * sunrpc/svc_unix.c: Likewise.
28454         * sunrpc/svcauth_des.c: Likewise.
28455         * sunrpc/xcrypt.c: Likewise.
28456         * sunrpc/xdr.c: Likewise.
28457         * sunrpc/xdr_array.c: Likewise.
28458         * sunrpc/xdr_float.c: Likewise.
28459         * sunrpc/xdr_mem.c: Likewise.
28460         * sunrpc/xdr_rec.c: Likewise.
28461         * sunrpc/xdr_ref.c: Likewise.
28462         * sunrpc/xdr_sizeof.c: Likewise.
28463         * sunrpc/xdr_stdio.c: Likewise.
28464
28465         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28466         handling.
28467
28468 2010-08-19  Andreas Schwab  <schwab@redhat.com>
28469
28470         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28471
28472 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
28473
28474         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28475         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28476         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28477         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28478         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28479         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28480         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28481         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28482         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28483         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28484         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28485         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28486         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28487         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28488
28489 2010-07-26  Anton Blanchard  <anton@samba.org>
28490
28491         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28492         * malloc/arena.c (heap_trim): Likewise.
28493
28494 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
28495
28496         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28497         here.  Not...
28498         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28499         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28500
28501 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28502
28503         * sysdeps/i386/elf/Makefile: New file.
28504
28505 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
28506
28507         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28508         from fanotify_init.
28509         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28510         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28511
28512 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
28513
28514         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28515         of strncasecmp_l.
28516         * sysdeps/multiarch/strcmp.S: Likewise.
28517
28518 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
28519
28520         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28521         strncase_l-nonascii.
28522         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28523         Add strncase_l-ssse3.
28524         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28525         * sysdeps/x86_64/strcmp.S: Likewise.
28526         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28527         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28528         * sysdeps/x86_64/strncase.S: New file.
28529         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28530         * sysdeps/x86_64/strncase_l.S: New file.
28531         * string/Makefile (strop-tests): Add strncasecmp.
28532         * string/test-strncasecmp.c: New file.
28533
28534         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28535         warning.
28536
28537         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28538         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28539
28540 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
28541
28542         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28543
28544 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
28545
28546         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28547         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28548         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28549
28550 2010-05-01  Alan Modra  <amodra@gmail.com>
28551
28552         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28553         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28554         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28555         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28556         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28557         tidying.  Don't tail-call __sigjmp_save for static lib.
28558         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28559         save location.
28560         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28561         (CALL_MCOUNT): Add eh info, and nop after bl.
28562         (TAIL_CALL_SYSCALL_ERROR): New macro.
28563         (PSEUDO_RET): Use it.
28564         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28565         Correct save location of integer regs and cr.
28566         (_dl_profile_resolve): Correct cr save location.  Delete nops
28567         after bl when SHARED.  Reduce cfi size a little by better
28568         placement of cfi directives.
28569         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28570         make a stack frame.  Instead use parm save area as a temp.
28571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28572         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
28573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28574         Don't make a stack frame for parent, use parm save area.
28575         Increase child stack frame to 112 bytes.  Don't save unused reg,
28576         and adjust reg usage.  Set up cfi on error recovery and
28577         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28579         (__makecontext): Add dummy nop after jump to exit.
28580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28581         Use correct parm save area and cr save, reduce stack frame.
28582         Correct cfi for possible PSEUDO_RET frame setup.
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28584         Branch to local label emitted by PSEUDO_RET rather than
28585         __syscall_error.
28586
28587 2010-08-12  Andreas Schwab  <schwab@redhat.com>
28588
28589         [BZ #11904]
28590         * locale/programs/locale.c (print_assignment): New function.
28591         (show_locale_vars): Use it.
28592
28593 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
28594
28595         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28596         field.
28597         (struct statfs64): Likewise.
28598         (_STATFS_F_FLAGS): Define.
28599         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28600         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28601         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28602         (ST_VALID): Define locally.
28603         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28604         __statvfs_getflags, use the provided value.
28605         * sysdeps/unix/sysv/linux/kernel-features.h: Define
28606         __ASSUME_STATFS_F_FLAGS.
28607
28608         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28609
28610         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28611         Add sys/fanotify.h.
28612         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28613         fanotify_mask for GLIBC_2.13.
28614         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28615         fanotify_init and fanotify_mark.
28616         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28617         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28618
28619         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28620         Add prlimit.
28621         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28622         prlimit64 for GLIBC_2.13.
28623         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28624         prlimit64.
28625         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28626         syscall.
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28629         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28630         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28631         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
28632         add prlimit alias.
28633         * sysdeps/unix/sysv/linux/prlimit.c: New file.
28634
28635         [BZ #11903]
28636         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28637         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28638
28639         * nss/Makefile: Add rules to build and run tst-nss-test1.
28640         * shlib-versions: Add entry for libnss_test1.
28641         * nss/nss_test1.c: New file.
28642         * nss/tst-nss-test1.c: New file.
28643
28644         * nss/nsswitch.c (__nss_database_custom): Define new variable.
28645         (__nss_configure_lookup): Set appropriate entry in
28646         __nss_configure_lookup to true.
28647         * nss/nsswitch.h: Define enum with indeces of databases in
28648         databases and __nss_database_custom arrays.  Declare
28649         __nss_database_custom.
28650         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28651         to avoid using nscd when custom rules are installed.
28652         * nss/getXXbyYY_r.c: Likewise.
28653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28654
28655         * nss/nss_files/files-parse.c: Whitespace fixes.
28656
28657 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
28658
28659         [BZ #11883]
28660         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28661         * posix/fnmatch_loop.c: Likewise.
28662
28663 2010-07-17  Andi Kleen  <ak@linux.intel.com>
28664
28665         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28666         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28667         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28668         * Versions.def [GLIBC_2.13]: Add.
28669
28670 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
28671
28672         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28673         Also fail if tpwd after pwuid call is NULL.
28674
28675 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28676
28677         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28678         when converting to ms.
28679
28680 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28681
28682         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28683         EOPNOTSUPP errors with ENOTTY.
28684         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28685         EOPNOTSUPP errors with ENOTTY.
28686
28687 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
28688
28689         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28690         Add strcasecmp_l-ssse3.
28691         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28692         strcasecmp.
28693         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28694         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28695         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28696
28697 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
28698
28699         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28700
28701         * string/Makefile (strop-tests): Add strcasecmp.
28702         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28703         strcasecmp_l-nonascii.
28704         (gen-as-const-headers): Add locale-defines.sym.
28705         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28706         * sysdeps/x86_64/strcasecmp.S: New file.
28707         * sysdeps/x86_64/strcasecmp_l.S: New file.
28708         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28709         * sysdeps/x86_64/locale-defines.sym: New file.
28710         * string/test-strcasecmp.c: New file.
28711
28712         * string/test-strcasestr.c: Test both ends of the range of characters.
28713         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28714
28715 2010-07-29  Roland McGrath  <roland@redhat.com>
28716
28717         [BZ #11856]
28718         * manual/locale.texi (Yes-or-No Questions): Fix example code.
28719
28720 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
28721
28722         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28723         for ld.so.
28724
28725 2010-07-27  Andreas Schwab  <schwab@redhat.com>
28726
28727         * manual/memory.texi (Malloc Tunable Parameters): Document
28728         M_PERTURB.
28729
28730 2010-07-26  Roland McGrath  <roland@redhat.com>
28731
28732         [BZ #11840]
28733         * configure.in (-fgnu89-inline check): Set and substitute
28734         gnu89_inline, not libc_cv_gnu89_inline.
28735         * configure: Regenerated.
28736         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28737
28738 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
28739
28740         * string/test-strnlen.c: New file.
28741         * string/Makefile (strop-tests): Add strnlen.
28742         * string/tester.c (test_strnlen): Add a few more test cases.
28743         * string/tst-strlen.c: Better error reporting.
28744
28745         * sysdeps/x86_64/strnlen.S: New file.
28746
28747 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
28748
28749         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28750         lower-latency instructions.
28751
28752 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
28753
28754         * string/test-strcasestr.c: New file.
28755         * string/test-strstr.c: New file.
28756         * string/Makefile (strop-tests): Add strstr and strcasestr.
28757         * string/str-two-way.h: Don't undefine MAX.
28758         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28759
28760 2010-07-21  Andreas Schwab  <schwab@redhat.com>
28761
28762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28763         strcasestr-nonascii.
28764         (CFLAGS-strcasestr-nonascii.c): Define.
28765         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28766         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28767         Remove unused attribute.
28768
28769 2010-07-20  Roland McGrath  <roland@redhat.com>
28770
28771         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28772         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
28773         ld.so.cache was broken.  With it, there is no way to disable dsocaps
28774         like LD_HWCAP_MASK can disable hwcaps.
28775
28776 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28777
28778         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28779
28780 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
28781
28782         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28783         call in strcasestr.
28784         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28785         __strcasestr_sse42_nonascii.
28786         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28787         strcasestr-nonascii.c.
28788         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28789
28790 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
28791
28792         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28793         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28794         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28795         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28796
28797 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
28798
28799         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28800         fcntl.
28801
28802 2010-07-06  Andreas Schwab  <schwab@redhat.com>
28803
28804         [BZ #11577]
28805         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28806         dl_signal_cerror.
28807
28808 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
28809
28810         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28811         _PC_PIPE_BUF using F_GETPIPE_SZ.
28812
28813 2010-07-05  Roland McGrath  <roland@redhat.com>
28814
28815         * manual/arith.texi (Rounding Functions): Fix rint description
28816         implicit in round description.
28817
28818 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
28819
28820         * elf/Makefile: Fix linking for a few tests to make recent linker
28821         happy.
28822
28823 2010-06-30  Andreas Schwab  <schwab@redhat.com>
28824
28825         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28826         $(common-objpfx)libc_nonshared.a.
28827
28828 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
28829
28830         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28831         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28832         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28833         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28834         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28835         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28836         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28837         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28852         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28853         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28854         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28855         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28856         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28857         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28858         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28859         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28860         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28861         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28862         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28863         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28878
28879 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28880
28881         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28882         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28883         * string/memmove.c (memmove): Renamed to ...
28884         (MEMMOVE): ...this.  Default to memmove.
28885         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28886         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28887         (END_CHK): Define.
28888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28889         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28890         mempcpy-ssse3-back memmove-ssse3-back.
28891         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28892         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28893         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28894         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28895         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28896         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28897         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28898         * sysdeps/x86_64/multiarch/memmove.c: New file.
28899         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28900         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28901         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28902         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28903         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28904         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28905         Define.
28906         (index_Fast_Copy_Backward): Define.
28907         (HAS_ARCH_FEATURE): Define.
28908         (HAS_FAST_REP_STRING): Define.
28909         (HAS_FAST_COPY_BACKWARD): Define.
28910
28911 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28912
28913         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28914         Restore proper fallback handling.
28915
28916 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28917
28918         [BZ #11701]
28919         * posix/group_member.c (__group_member): Correct checking loop.
28920
28921         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28922         OOM in getpwuid_r correctly.  Return error number when the caller
28923         should return, otherwise -1.
28924         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28925         call returning > 0 value.
28926         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28927
28928 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28929
28930         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28931         libc_nonshared.a from targets in modules-names.
28932
28933 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28934
28935         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28936         requires it.
28937
28938 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28939
28940         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28941         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28942         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28943         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28944
28945 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28946
28947         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28948
28949 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28950
28951         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28952         and F_GETPIPE_SZ.
28953         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28954         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28956         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28957         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28958         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28959
28960 2010-06-14  Roland McGrath  <roland@redhat.com>
28961
28962         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28963
28964 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28965
28966         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28967         __REDIRECT followed by __THROW.
28968         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28969         * posix/getopt.h (getopt): Likewise.
28970
28971 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28972
28973         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28974         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28975         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28976         in AT_FLAGS.
28977         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28978         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28979
28980 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28981
28982         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28983
28984 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28985
28986         [BZ #11640]
28987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28988         Properly check family and model.
28989
28990 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28991
28992         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28993
28994 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28995
28996         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28997
28998 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28999
29000         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29001         symbol reference.
29002
29003 2010-05-19  Andreas Schwab  <schwab@redhat.com>
29004
29005         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29006         symbol reference.
29007
29008 2010-05-21  Andreas Schwab  <schwab@redhat.com>
29009
29010         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29011         and internal_recvmmsg.
29012         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29013         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29014         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29015         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29016
29017         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29018         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29019         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29020
29021 2010-05-20  Andreas Schwab  <schwab@redhat.com>
29022
29023         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29024
29025 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
29026
29027         POWER7 optimizations.
29028         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29029         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29030
29031 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
29032
29033         * version.h: Update for 2.13 development version.
29034
29035 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
29036
29037         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29038         exceptions.  Return 0.
29039
29040 2010-05-07  Roland McGrath  <roland@redhat.com>
29041
29042         * elf/ldconfig.c (main): Add a const.
29043
29044 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
29045
29046         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29047         (args_options): Add no-idn option.
29048         (ahosts_keys_int): Add idn_flags to ai_flags.
29049         (parse_option): Handle 'i' option to clear idn_flags.
29050
29051         * malloc/malloc.c (_int_free): Possible race in the most recently
29052         added check.  Only act on the data if no current modification
29053         happened.
29054
29055 See ChangeLog.17 for earlier changes.