PowerPC: update missing CL/NEWS bug reference
[glibc.git] / ChangeLog
bloba9c5813e731424e15ea77ca01e6b5ca3809ad108
1 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3         * sysdeps/x86_64/memset.S (memset): New implementation.
4         (__bzero): Likewise.
5         (__memset_tail): New function.
7 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
11         __memcpy_sse2_unaligned ifunc selection.
12         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13         Add memcpy-sse2-unaligned.S.
14         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15         Add: __memcpy_sse2_unaligned.
17 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19         [BZ #15490]
20         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21         math_force_eval before restoring floating-point envrionment.
22         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24         Likewise.
25         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26         <math_private.h>.
27         (__nearbyintl): Use math_force_eval before restoring
28         floating-point environment.
29         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31         * math/gen-libm-test.pl (special_functions): Remove.
32         (parse_args): Don't handle TEST_extra.  Handle functions with no
33         return value.
34         * math/libm-test.inc (struct test_sincos_data): Replace with
35         struct test_fFF_11_data.
36         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
37         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
38         (sincos_test_data): Change element type to struct
39         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41         RUN_TEST_LOOP_sincos.
42         * math/README.libm-test: Don't mention special handling of
43         individual functions.
44         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51         * math/gen-libm-test.pl (get_variable): Remove function.
52         (parse_args): Don't show pointer parameters to call in test
53         names.  Use "extra output N" in test names for extra outputs
54         rather than naming variables.
56 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58         [BZ #15488]
59         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62         double tests.
63         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64         disable.
65         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66         check_long_double.
68         * math/gen-libm-test.pl (@tests): Remove variable.
69         ($count): Likewise.
70         (new_test): Remove function.
71         (show_exceptions): New function.
72         (special_functions): Use show_exceptions instead of new_test.
73         (parse_args): Likewise.
74         (generate_testfile): Pass only function name in generated call to
75         print_max_error or print_complex_max_error.
76         (get_ulps): Do not handle complex tests specially.
77         (output_test): Rename to ...
78         (get_all_ulps_for_test): ... this.  Return a string rather than
79         printing to a file.  Require ulps to be present.
80         (output_ulps): Generate arrays rather than #defines.
81         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
82         (struct ulp_data): New type.
83         (BUILD_COMPLEX_ULP): Remove macro.
84         (compare_ulp_data): New function.
85         (find_ulps): Likewise.
86         (find_test_ulps): Likewise.
87         (find_function_ulps): Likewise.
88         (find_complex_function_ulps): Likewise.
89         (print_max_error): Determine allowed ulps using
90         find_function_ulps.
91         (print_complex_max_error): Determine allowed ulps using
92         find_complex_function_ulps.
93         (check_float_internal): Determine max ulps using find_test_ulps.
94         (check_float): Do not take max_ulp parameter.  Update call to
95         check_float_internal.
96         (check_complex): Likewise.
97         (check_int): Do not take max_ulp parameter.
98         (check_long): Likewise.
99         (check_bool): Likewise.
100         (check_longlong): Likewise.
101         (struct test_f_f_data): Remove max_ulp field.
102         (struct test_ff_f_data): Likewise.
103         (struct test_ff_f_data_nexttoward): Likewise.
104         (struct test_fi_f_data): Likewise.
105         (struct test_fl_f_data): Likewise.
106         (struct test_if_f_data): Likewise.
107         (struct test_fff_f_data): Likewise.
108         (struct test_c_f_data): Likewise.
109         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
110         (struct test_fF_f1_data): Likewise.
111         (struct test_ffI_f1_data): Likewise.
112         (struct test_c_c_data): Remove max_ulp field.
113         (struct test_cc_c_data): Likewise.
114         (struct test_f_i_data): Likewise.
115         (struct test_ff_i_data): Likewise.
116         (struct test_f_l_data): Likewise.
117         (struct test_f_L_data): Likewise.
118         (struct test_sincos_data): Likewise.
119         (RUN_TEST_f_f): Do not handle ulps.
120         (RUN_TEST_LOOP_f_f): Likewise.
121         (RUN_TEST_2_f): Likewise.
122         (RUN_TEST_LOOP_2_f): Likewise.
123         (RUN_TEST_fff_f): Likewise.
124         (RUN_TEST_LOOP_fff_f): Likewise.
125         (RUN_TEST_c_f): Likewise.
126         (RUN_TEST_LOOP_c_f): Likewise.
127         (RUN_TEST_f_f1): Likewise.
128         (RUN_TEST_LOOP_f_f1): Likewise.
129         (RUN_TEST_fF_f1): Likewise.
130         (RUN_TEST_LOOP_fF_f1): Likewise.
131         (RUN_TEST_fI_f1): Likewise.
132         (RUN_TEST_LOOP_fI_f1): Likewise.
133         (RUN_TEST_ffI_f1): Likewise.
134         (RUN_TEST_LOOP_ffI_f1): Likewise.
135         (RUN_TEST_c_c): Likewise.
136         (RUN_TEST_LOOP_c_c): Likewise.
137         (RUN_TEST_cc_c): Likewise.
138         (RUN_TEST_LOOP_cc_c): Likewise.
139         (RUN_TEST_f_i): Likewise.
140         (RUN_TEST_LOOP_f_i): Likewise.
141         (RUN_TEST_f_i_tg): Likewise.
142         (RUN_TEST_LOOP_f_i_tg): Likewise.
143         (RUN_TEST_ff_i_tg): Likewise.
144         (RUN_TEST_LOOP_ff_i_tg): Likewise.
145         (RUN_TEST_f_b): Likewise.
146         (RUN_TEST_LOOP_f_b): Likewise.
147         (RUN_TEST_f_b_tg): Likewise.
148         (RUN_TEST_LOOP_f_b_tg): Likewise.
149         (RUN_TEST_f_l): Likewise.
150         (RUN_TEST_LOOP_f_l): Likewise.
151         (RUN_TEST_f_L): Likewise.
152         (RUN_TEST_LOOP_f_L): Likewise.
153         (RUN_TEST_sincos): Likewise.
154         (RUN_TEST_LOOP_sincos): Likewise.
156 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
158         [BZ #15480]
159         [BZ #15485]
160         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
161         main case of finite arguments, set rounding mode to FE_TONEAREST
162         and discard exceptions.
163         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
164         exceptions.
165         (remainder_tonearest_test_data): New variable.
166         (remainder_test_tonearest): New function.
167         (remainder_towardzero_test_data): New variable.
168         (remainder_test_towardzero): New function.
169         (remainder_downward_test_data): New variable.
170         (remainder_test_downward): New function.
171         (remainder_upward_test_data): New variable.
172         (remainder_test_upward): New function.
173         (main): Call the new test functions.
175         * math/libm-test.inc (struct test_f_f1_data): Remove field
176         extra_init.
177         (struct test_fF_f1_data): Likewise.
178         (struct test_ffI_f1_data): Likewise.
179         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
180         based on value of EXTRA_EXPECTED.
181         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
182         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
183         EXTRA_VAR based on value of EXTRA_EXPECTED.
184         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
185         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
186         EXTRA_VAR based on value of EXTRA_EXPECTED.
187         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
188         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
189         EXTRA_VAR based on value of EXTRA_EXPECTED.
190         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
191         * math/gen-libm-test.pl (parse_args): Don't output initializers
192         for extra output values.
194         * math/libm-test.inc (check_int): Expect result to be exactly
195         equal to expected value and do not handle ulps.
196         (check_long): Likewise.
197         (check_longlong): Likewise.
199         * math/libm-test.inc (ceil_test_data): Test for "inexact"
200         exceptions.
201         (cimag_test_data): Likewise.
202         (conj_test_data): Likewise.
203         (copysign_test_data): Likewise.
204         (cproj_test_data): Likewise.
205         (creal_test_data): Likewise.
206         (fabs_test_data): Likewise.
207         (fdim_test_data): Likewise.
208         (finite_test_data): Likewise.
209         (floor_test_data): Likewise.
210         (fmax_test_data): Likewise.
211         (fmin_test_data): Likewise.
212         (fmod_test_data): Likewise.
213         (fpclassify_test_data): Likewise.
214         (frexp_test_data): Likewise.
215         (ilogb_test_data): Likewise.
216         (isfinite_test_data): Likewise.
217         (isgreater_test_data): Likewise.
218         (isgreaterequal_test_data): Likewise.
219         (isinf_test_data): Likewise.
220         (isless_test_data): Likewise.
221         (islessequal_test_data): Likewise.
222         (islessgreater_test_data): Likewise.
223         (isnan_test_data): Likewise.
224         (isnormal_test_data): Likewise.
225         (issignaling_test_data): Likewise.
226         (isunordered_test_data): Likewise.
227         (ldexp_test_data): Likewise.
228         (lrint_test_data): Likewise.
229         (lrint_test_data) [TEST_FLOAT]: Disable one test.
230         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
231         (lrint_tonearest_test_data): Test for "inexact" exceptions.
232         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
233         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
234         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
235         test input.
236         (lrint_towardzero_test_data): Test for "inexact" exceptions.
237         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
238         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
239         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
240         that test input.
241         (lrint_downward_test_data): Test for "inexact" exceptions.
242         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
243         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
244         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
245         test input.
246         (lrint_upward_test_data): Test for "inexact" exceptions.
247         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
248         test input.
249         (llrint_test_data): Test for "inexact" exceptions.
250         (llrint_test_data) [TEST_FLOAT]: Disable one test.
251         (llrint_tonearest_test_data): Test for "inexact" exceptions.
252         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
253         (llrint_towardzero_test_data): Test for "inexact" exceptions.
254         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
255         (llrint_downward_test_data): Test for "inexact" exceptions.
256         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
257         (llrint_upward_test_data): Test for "inexact" exceptions.
258         (logb_test_data): Likewise.
259         (logb_downward_test_data): Likewise.
260         (nextafter_test_data): Likewise.
261         (nexttoward_test_data): Likewise.
262         (remainder_test_data): Likewise.
263         (remquo_test_data): Likewise.
264         (scalbn_test_data): Likewise.
265         (scalbln_test_data): Likewise.
266         (signbit_test_data): Likewise.
267         (sqrt_test_data): Likewise.
268         (significand_test_data): Likewise.
270 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
272         [BZ #15424]
273         * benchtests/bench-modf.c (struct args): Mark arg0 as
274         volatile.
275         * scripts/bench.pl: Mark members of struct args as volatile.
277 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
279         [BZ # 15497]
280         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
281         negative infinity on POWER6 or lower.
282         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
284 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
286         [BZ #15442]
287         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
288         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
289         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
290         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
291         (_FP_SETQNAN): New macro.
292         (_FP_SETQNAN_SEMIRAW): Likewise.
293         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
294         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
295         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
296         (FP_EXTEND): Use _FP_FRAC_SNANP.
297         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
298         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
299         into account.
300         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
301         New macro.
302         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
303         Likewise.
305 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
307         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
308         with DIVIDE_BY_ZERO_EXCEPTION.
309         (gamma_test_data): Likewise.
310         (lgamma_test_data): Likewise.
311         (log_test_data): Likewise.
312         (log10_test_data): Likewise.
313         (log2_test_data): Likewise.
314         (tgamma_test_data): Likewise.
316         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
317         (acos_test_tonearest): Likewise.
318         (acos_test_towardzero): Likewise.
319         (acos_test_downward): Likewise.
320         (acos_test_upward): Likewise.
321         (acosh_test): Likewise.
322         (asin_test): Likewise.
323         (asin_test_tonearest): Likewise.
324         (asin_test_towardzero): Likewise.
325         (asin_test_downward): Likewise.
326         (asin_test_upward): Likewise.
327         (asinh_test): Likewise.
328         (atan_test): Likewise.
329         (atanh_test): Likewise.
330         (atan2_test): Likewise.
331         (cabs_test): Likewise.
332         (cacos_test): Likewise.
333         (cacosh_test): Likewise.
334         (casin_test): Likewise.
335         (casinh_test): Likewise.
336         (catan_test): Likewise.
337         (catanh_test): Likewise.
338         (cbrt_test): Likewise.
339         (ccos_test): Likewise.
340         (ccosh_test): Likewise.
341         (cexp_test): Likewise.
342         (clog_test): Likewise.
343         (clog10_test): Likewise.
344         (cos_test): Likewise.
345         (cos_test_tonearest): Likewise.
346         (cos_test_towardzero): Likewise.
347         (cos_test_downward): Likewise.
348         (cos_test_upward): Likewise.
349         (cosh_test): Likewise.
350         (cosh_test_tonearest): Likewise.
351         (cosh_test_towardzero): Likewise.
352         (cosh_test_downward): Likewise.
353         (cosh_test_upward): Likewise.
354         (cpow_test): Likewise.
355         (csin_test): Likewise.
356         (csinh_test): Likewise.
357         (csqrt_test): Likewise.
358         (ctan_test): Likewise.
359         (ctan_test_tonearest): Likewise.
360         (ctan_test_towardzero): Likewise.
361         (ctan_test_downward): Likewise.
362         (ctan_test_upward): Likewise.
363         (ctanh_test): Likewise.
364         (ctanh_test_tonearest): Likewise.
365         (ctanh_test_towardzero): Likewise.
366         (ctanh_test_downward): Likewise.
367         (ctanh_test_upward): Likewise.
368         (erf_test): Likewise.
369         (erfc_test): Likewise.
370         (exp_test): Likewise.
371         (exp_test_tonearest): Likewise.
372         (exp_test_towardzero): Likewise.
373         (exp_test_downward): Likewise.
374         (exp_test_upward): Likewise.
375         (exp10_test): Likewise.
376         (exp2_test): Likewise.
377         (expm1_test): Likewise.
378         (fmod_test): Likewise.
379         (gamma_test): Likewise.
380         (hypot_test): Likewise.
381         (j0_test): Likewise.
382         (j1_test): Likewise.
383         (jn_test): Likewise.
384         (lgamma_test): Likewise.
385         (log_test): Likewise.
386         (log10_test): Likewise.
387         (log1p_test): Likewise.
388         (log2_test): Likewise.
389         (logb_test_downward): Likewise.
390         (pow_test): Likewise.
391         (pow_test_tonearest): Likewise.
392         (pow_test_towardzero): Likewise.
393         (pow_test_downward): Likewise.
394         (pow_test_upward): Likewise.
395         (remainder_test): Likewise.
396         (remquo_test): Likewise.
397         (sin_test): Likewise.
398         (sin_test_tonearest): Likewise.
399         (sin_test_towardzero): Likewise.
400         (sin_test_downward): Likewise.
401         (sin_test_upward): Likewise.
402         (sincos_test): Likewise.
403         (sinh_test): Likewise.
404         (sinh_test_tonearest): Likewise.
405         (sinh_test_towardzero): Likewise.
406         (sinh_test_downward): Likewise.
407         (sinh_test_upward): Likewise.
408         (sqrt_test): Likewise.
409         (tan_test): Likewise.
410         (tan_test_tonearest): Likewise.
411         (tan_test_towardzero): Likewise.
412         (tan_test_downward): Likewise.
413         (tan_test_upward): Likewise.
414         (tanh_test): Likewise.
415         (tgamma_test): Likewise.
416         (y0_test): Likewise.
417         (y1_test): Likewise.
418         (yn_test): Likewise.
420         * math/gen-libm-test.pl (adjust_arg): Remove function.
421         (special_function): Remove argument $in_func.  Only handle
422         generating output for tables of tests, not inside functions.
423         (parse_args): Likewise.
424         (generate_testfile): Remove variable $in_func.  Update call to
425         parse_args.
426         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
427         (MINUS_ZERO_INIT): Rename macro to minus_zero.
428         (PLUS_INFTY_INIT): Rename macro to plus_infty.
429         (MINUS_INFTY_INIT): Rename macro to minus_infty.
430         (QNAN_VALUE_INIT): Rename macro to qnan_value.
431         (MAX_VALUE_INIT): Rename macro to max_value.
432         (MIN_VALUE_INIT): Rename macro to min_value.
433         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
434         (plus_zero): Remove variable.
435         (minus_zero): Likewise.
436         (plus_infty): Likewise.
437         (minus_infty): Likewise.
438         (qnan_value): Likewise.
439         (max_value): Likewise.
440         (min_value): Likewise.
441         (min_subnorm_value): Likewise.
443 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
445         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
446         uint64_t or uint32_t usage.
447         * crypt/sha256-block.c: Likewise.
448         * crypt/sha256-crypt.c: Likewise.
449         * crypt/sha256.c: Likewise.
450         * crypt/sha512-block.c: Likewise.
451         * crypt/sha512-crypt.c: Likewise.
452         * crypt/sha512.c: Likewise.
453         * debug/backtrace-tst.c: Likewise.
454         * debug/pcprofiledump.c: Likewise.
455         * elf/cache.c: Likewise.
456         * elf/dl-cache.c: Likewise.
457         * elf/dl-misc.c: Likewise.
458         * elf/dl-profile.c: Likewise.
459         * elf/dl-support.c: Likewise.
460         * elf/ldconfig.c: Likewise.
461         * elf/sprof.c: Likewise.
462         * iconv/dummy-repertoire.c: Likewise.
463         * iconv/iconv_charmap.c: Likewise.
464         * iconv/skeleton.c: Likewise.
465         * iconvdata/8bit-generic.c: Likewise.
466         * iconvdata/cp737.h: Likewise.
467         * iconvdata/cp775.h: Likewise.
468         * iconvdata/ibm1008.h: Likewise.
469         * iconvdata/ibm1025.h: Likewise.
470         * iconvdata/ibm1046.h: Likewise.
471         * iconvdata/ibm1097.h: Likewise.
472         * iconvdata/ibm1112.h: Likewise.
473         * iconvdata/ibm1122.h: Likewise.
474         * iconvdata/ibm1123.h: Likewise.
475         * iconvdata/ibm1124.h: Likewise.
476         * iconvdata/ibm1129.h: Likewise.
477         * iconvdata/ibm1130.h: Likewise.
478         * iconvdata/ibm1132.h: Likewise.
479         * iconvdata/ibm1133.h: Likewise.
480         * iconvdata/ibm1137.h: Likewise.
481         * iconvdata/ibm1140.h: Likewise.
482         * iconvdata/ibm1141.h: Likewise.
483         * iconvdata/ibm1142.h: Likewise.
484         * iconvdata/ibm1143.h: Likewise.
485         * iconvdata/ibm1144.h: Likewise.
486         * iconvdata/ibm1145.h: Likewise.
487         * iconvdata/ibm1146.h: Likewise.
488         * iconvdata/ibm1147.h: Likewise.
489         * iconvdata/ibm1148.h: Likewise.
490         * iconvdata/ibm1149.h: Likewise.
491         * iconvdata/ibm1153.h: Likewise.
492         * iconvdata/ibm1154.h: Likewise.
493         * iconvdata/ibm1155.h: Likewise.
494         * iconvdata/ibm1156.h: Likewise.
495         * iconvdata/ibm1157.h: Likewise.
496         * iconvdata/ibm1158.h: Likewise.
497         * iconvdata/ibm1160.h: Likewise.
498         * iconvdata/ibm1161.h: Likewise.
499         * iconvdata/ibm1162.h: Likewise.
500         * iconvdata/ibm1163.h: Likewise.
501         * iconvdata/ibm1164.h: Likewise.
502         * iconvdata/ibm1166.h: Likewise.
503         * iconvdata/ibm1167.h: Likewise.
504         * iconvdata/ibm12712.h: Likewise.
505         * iconvdata/ibm1390.h: Likewise.
506         * iconvdata/ibm1399.h: Likewise.
507         * iconvdata/ibm16804.h: Likewise.
508         * iconvdata/ibm4517.h: Likewise.
509         * iconvdata/ibm4899.h: Likewise.
510         * iconvdata/ibm4909.h: Likewise.
511         * iconvdata/ibm4971.h: Likewise.
512         * iconvdata/ibm5347.h: Likewise.
513         * iconvdata/ibm803.h: Likewise.
514         * iconvdata/ibm856.h: Likewise.
515         * iconvdata/ibm901.h: Likewise.
516         * iconvdata/ibm902.h: Likewise.
517         * iconvdata/ibm9030.h: Likewise.
518         * iconvdata/ibm9066.h: Likewise.
519         * iconvdata/ibm921.h: Likewise.
520         * iconvdata/ibm922.h: Likewise.
521         * iconvdata/ibm9448.h: Likewise.
522         * iconvdata/isiri-3342.h: Likewise.
523         * iconvdata/jis0201.h: Likewise.
524         * include/link.h: Likewise.
525         * include/netdb.h: Likewise.
526         * inet/check_native.c: Likewise.
527         * inet/check_pf.c: Likewise.
528         * inet/getipv4sourcefilter.c: Likewise.
529         * inet/getnameinfo.c: Likewise.
530         * inet/getsourcefilter.c: Likewise.
531         * inet/htonl.c: Likewise.
532         * inet/setipv4sourcefilter.c: Likewise.
533         * inet/setsourcefilter.c: Likewise.
534         * inet/test-inet6_opt.c: Likewise.
535         * inet/tst-network.c: Likewise.
536         * locale/C-collate.c: Likewise.
537         * locale/C-ctype.c: Likewise.
538         * locale/C-time.c: Likewise.
539         * locale/C-translit.h: Likewise.
540         * locale/loadarchive.c: Likewise.
541         * locale/programs/3level.h: Likewise.
542         * locale/programs/charmap.c: Likewise.
543         * locale/programs/charmap.h: Likewise.
544         * locale/programs/ld-address.c: Likewise.
545         * locale/programs/ld-collate.c: Likewise.
546         * locale/programs/ld-ctype.c: Likewise.
547         * locale/programs/ld-identification.c: Likewise.
548         * locale/programs/ld-measurement.c: Likewise.
549         * locale/programs/ld-messages.c: Likewise.
550         * locale/programs/ld-monetary.c: Likewise.
551         * locale/programs/ld-name.c: Likewise.
552         * locale/programs/ld-numeric.c: Likewise.
553         * locale/programs/ld-paper.c: Likewise.
554         * locale/programs/ld-telephone.c: Likewise.
555         * locale/programs/ld-time.c: Likewise.
556         * locale/programs/linereader.c: Likewise.
557         * locale/programs/locale.c: Likewise.
558         * locale/programs/locarchive.c: Likewise.
559         * locale/programs/locfile.h: Likewise.
560         * locale/programs/repertoire.c: Likewise.
561         * locale/programs/simple-hash.c: Likewise.
562         * locale/programs/simple-hash.h: Likewise.
563         * malloc/memusage.c: Likewise.
564         * malloc/memusagestat.c: Likewise.
565         * nis/nis_defaults.c: Likewise.
566         * nis/nis_hash.c: Likewise.
567         * nis/nis_print.c: Likewise.
568         * nis/nis_xdr.c: Likewise.
569         * nscd/connections.c: Likewise.
570         * nscd/hstcache.c: Likewise.
571         * nscd/nscd_gethst_r.c: Likewise.
572         * nscd/nscd_getserv_r.c: Likewise.
573         * nscd/nscd_helper.c: Likewise.
574         * nscd/servicescache.c: Likewise.
575         * nss/makedb.c: Likewise.
576         * nss/nss_db/db-XXX.c: Likewise.
577         * nss/nss_db/db-initgroups.c: Likewise.
578         * nss/nss_db/db-netgrp.c: Likewise.
579         * nss/nss_files/files-network.c: Likewise.
580         * nss/nss_files/files-parse.c: Likewise.
581         * posix/bug-regex5.c: Likewise.
582         * posix/fnmatch_loop.c: Likewise.
583         * posix/regcomp.c: Likewise.
584         * posix/regexec.c: Likewise.
585         * posix/tst-rfc3484-2.c: Likewise.
586         * posix/tst-rfc3484-3.c: Likewise.
587         * posix/tst-rfc3484.c: Likewise.
588         * resolv/nss_dns/dns-canon.c: Likewise.
589         * resolv/nss_dns/dns-network.c: Likewise.
590         * resolv/res_init.c: Likewise.
591         * resolv/res_mkquery.c: Likewise.
592         * resolv/tst-aton.c: Likewise.
593         * stdlib/cxa_atexit.c: Likewise.
594         * stdlib/cxa_finalize.c: Likewise.
595         * stdlib/gen-fpioconst.c: Likewise.
596         * stdlib/strtol_l.c: Likewise.
597         * string/tst-endian.c: Likewise.
598         * sunrpc/auth_des.c: Likewise.
599         * sunrpc/clnt_udp.c: Likewise.
600         * sunrpc/rtime.c: Likewise.
601         * sunrpc/svcauth_des.c: Likewise.
602         * sunrpc/xdr.c: Likewise.
603         * sunrpc/xdr_intXX_t.c: Likewise.
604         * sunrpc/xdr_rec.c: Likewise.
605         * sysdeps/generic/ldconfig.h: Likewise.
606         * sysdeps/generic/ldsodefs.h: Likewise.
607         * sysdeps/generic/memusage.h: Likewise.
608         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
609         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
610         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
611         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
612         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
614         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
615         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
616         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
617         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
618         * sysdeps/posix/getaddrinfo.c: Likewise.
619         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
620         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
621         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
622         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
623         * sysdeps/powerpc/test-gettimebase.c: Likewise.
624         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
625         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
626         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
627         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
628         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
629         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
630         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
631         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
632         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
633         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
634         * sysdeps/x86_64/dl-tls.h: Likewise.
635         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
636         * time/alt_digit.c: Likewise.
637         * time/era.c: Likewise.
638         * wcsmbs/tst-c16c32-1.c: Likewise.
640 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
642         * math/libm-test.inc (struct test_sincos_data): New type.
643         (RUN_TEST_LOOP_sincos): New macro.
644         (sincos_test_data): New variable.
645         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
647 2013-05-16  Richard Henderson  <rth@redhat.com>
649         * math/atest-exp2.c (LIMB64): New macro.
650         (CONSTSZ): New macro.
651         (mp_exp1, mp_exp_m1, mp_log2): New variables.
652         (hexdig): Move ...
653         (print_mpn_fp): ... to function scope.
654         (read_mpn_hex): Remove.
655         (get_log2): Remove.
656         (exp2_mpn): Use mp_log2.
657         (main): Use mp_exp1.
659 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
661         * math/libm-test.inc: Remove comment about not testing "inexact"
662         exceptions.
663         (INEXACT_EXCEPTION): New macro.
664         (NO_INEXACT_EXCEPTION): Likewise.
665         (INVALID_EXCEPTION_OK): Update value.
666         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
667         (OVERFLOW_EXCEPTION_OK): Likewise.
668         (UNDERFLOW_EXCEPTION_OK): Likewise.
669         (IGNORE_ZERO_INF_SIGN): Likewise.
670         (ERRNO_UNCHANGED): Likewise.
671         (ERRNO_EDOM): Likewise.
672         (ERRNO_ERANGE): Likewise.
673         (test_exceptions): Handle testing "inexact" exceptions.
674         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
675         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
676         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
677         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
678         INEXACT_EXCEPTION.
679         (rint_towardzero_test_data): Likewise.
680         (rint_downward_test_data): Likewise.
681         (rint_upward_test_data): Likewise.
683         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
684         with OVERFLOW_EXCEPTION.
685         (exp10_test_data): Likewise.
686         (exp2_test_data): Likewise.
687         (expm1_test_data): Likewise.
688         (lgamma_test_data): Likewise.
689         (pow_test_data): Likewise.
690         (tgamma_test_data): Likewise.
691         (yn_test_data): Remove duplicate test of overflow.
693         * math/libm-test.inc (struct test_cc_c_data): New type.
694         (RUN_TEST_LOOP_cc_c): New macro.
695         (cpow_test_data): New variable.
696         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
698         * math/libm-test.inc (struct test_f_L_data): New type.
699         (RUN_TEST_LOOP_f_L): New macro.
700         (llrint_test_data): New variable.
701         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
702         (llrint_tonearest_test_data): New variable.
703         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
704         (llrint_towardzero_test_data): New variable.
705         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
706         (llrint_downward_test_data): New variable.
707         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
708         (llrint_upward_test_data): New variable.
709         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
710         (llround_test_data): New variable.
711         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
713 2013-05-13  Peter Collingbourne  <pcc@google.com>
715         * math/atest-exp2.c (get_log2): Remove const attribute.
717 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
719         * math/libm-test.inc (struct test_f_l_data): New type.
720         (RUN_TEST_LOOP_f_l): New macro.
721         (lrint_test_data): New variable.
722         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
723         (lrint_tonearest_test_data): New variable.
724         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
725         (lrint_towardzero_test_data): New variable.
726         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
727         (lrint_downward_test_data): New variable.
728         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
729         (lrint_upward_test_data): New variable.
730         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
731         (lround_test_data): New variable.
732         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
734 2013-05-15  Peter Collingbourne  <pcc@google.com>
736         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
737         (EXTRACT_WORDS64) Use where appropriate.
738         (INSERT_WORDS64) Likewise.
740         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
741         constraints with x constraints.
742         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
744         * malloc/obstack.c (_obstack_compat): Add initializer.
746 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
748         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
749         si_trapno and add si_addr_lsb to _sifields.sigfault.
750         (si_trapno): Remove macro.
751         (si_addr_lsb): Define new macro.
752         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
754 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
756         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
757         instead of TEST_f_l.
758         (llrint_test_tonearest): Likewise.
759         (llrint_test_towardzero): Likewise.
760         (llrint_test_downward): Likewise.
761         (llrint_test_upward): Likewise.
762         (llround_test): Likewise.
764         * math/libm-test.inc (struct test_f_i_data): Add comment.
765         (RUN_TEST_LOOP_f_b): New macro.
766         (RUN_TEST_LOOP_f_b_tg): Likewise.
767         (finite_test_data): New variable.
768         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
769         (isfinite_test_data): New variable.
770         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
771         (isinf_test_data): New variable.
772         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
773         (isnan_test_data): New variable.
774         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
775         (isnormal_test_data): New variable.
776         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
777         (issignaling_test_data): New variable.
778         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
779         (signbit_test_data): New variable.
780         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
782         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
783         with INVALID_EXCEPTION.
784         (acosh_test_data): Likewise.
785         (asin_test_data): Likewise.
786         (atanh_test_data): Likewise.
787         (fmod_test_data): Likewise.
788         (log_test_data): Likewise.
789         (log10_test_data): Likewise.
790         (log2_test_data): Likewise.
791         (pow_test_data): Likewise.
792         (sqrt_test_data): Likewise.
793         (y0_test_data): Likewise.
794         (y1_test_data): Likewise.
795         (yn_test_data): Likewise.
797         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
798         function contents.
800         * math/libm-test.inc (struct test_ff_i_data): New type.
801         (RUN_TEST_LOOP_ff_i_tg): New macro.
802         (isgreater_test_data): New variable.
803         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
804         (isgreaterequal_test_data): New variable.
805         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
806         (isless_test_data): New variable.
807         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
808         (islessequal_test_data): New variable.
809         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
810         (islessgreater_test_data): New variable.
811         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
812         (isunordered_test_data): New variable.
813         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
815 2013-05-14  David S. Miller  <davem@davemloft.net>
817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
819 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
821         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
823         * math/libm-test.inc (struct test_fF_f1_data): Change type of
824         extra_test to int.
825         (struct test_f_i_data): Change type of max_ulp to int.
827         * math/libm-test.inc (test_ffI_f1_data): New type.
828         (RUN_TEST_LOOP_ffI_f1): New macro.
829         (remquo_test_data): New variable.
830         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
832         * setjmp/tst-setjmp-fp.c: New file.
833         * setjmp/Makefile (tests): Add tst-setjmp-fp.
834         (link-libm): New variable.
835         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
837         * math/libm-test.inc (struct test_f_i_data): New type.
838         (RUN_TEST_LOOP_f_i): New macro.
839         (RUN_TEST_LOOP_f_i_tg): Likewise.
840         (fpclassify_test_data): New variable.
841         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
842         (ilogb_test_data): New variable.
843         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
845         * math/libm-test.inc (scalbln_test): Correct function name in END
846         call.
848         * math/libm-test.inc (struct test_f_f1_data): Add comment.
849         (RUN_TEST_LOOP_fI_f1): New macro.
850         (frexp_test_data): New variable.
851         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
853         * math/libm-test.inc (struct test_fF_f1_data): New type.
854         (RUN_TEST_LOOP_fF_f1): New macro.
855         (modf_test_data): New variable.
856         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
858         * math/libm-test.inc (struct test_f_f1_data): New type.
859         (RUN_TEST_LOOP_f_f1): New macro.
860         (gamma_test_data): New variable.
861         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
862         (lgamma_test_data): New variable.
863         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
865 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
867         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
868         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
869         (main): Comment "tls" pseudo-hwcap.
871 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
873         * math/libm-test.inc (struct test_fl_f_data): New type.
874         (RUN_TEST_LOOP_fl_f): New variable.
875         (scalbln_test_data): New variable.
876         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
878         * math/libm-test.inc (struct test_fi_f_data): New type.
879         (RUN_TEST_LOOP_fi_f): New macro.
880         (ldexp_test_data): New variable.
881         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
882         (scalbn_test_data): New variable.
883         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
885         * math/libm-test.inc (struct test_c_f_data): New type.
886         (RUN_TEST_LOOP_c_f): New macro.
887         (cabs_test_data): New variable.
888         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
889         (carg_test_data): New variable.
890         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
891         (cimag_test_data): New variable.
892         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
893         (creal_test_data): New variable.
894         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
896         * math/libm-test.inc (struct test_if_f_data): New type.
897         (RUN_TEST_LOOP_if_f): New macro.
898         (jn_test_data): New variable.
899         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
900         (yn_test_data): New variable.
901         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
903         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
905 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
907         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
908         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
910 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
912         * benchtests/Makefile (CPPFLAGS-nonlib): Add
913         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
914         (bench-deps): Add bench-timing.h.
915         * benchtests-bench-skeleton.c: Include bench-timing.h.
916         (main): Use TIMING_* macros instead of clock_gettime.
917         * benchtests/bench-timing.h: New file.
919         [BZ #14582]
920         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
921         Renamed from _LIB_VERSION.
922         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
924 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
926         * math/libm-test.inc (struct test_fff_f_data): New type.
927         (RUN_TEST_LOOP_fff_f): New macro.
928         (fma_test_data): New variable.
929         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
930         (fma_towardzero_test_data): New variable.
931         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
932         (fma_downward_test_data): New variable.
933         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
934         (fma_upward_test_data): New variable.
935         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
937         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
938         (struct test_c_c_data): New type.
939         (RUN_TEST_LOOP_c_c): New macro.
940         (cacos_test_data): New variable.
941         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
942         (cacosh_test_data): New variable.
943         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
944         (casin_test_data): New variable.
945         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
946         (casinh_test_data): New variable.
947         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
948         (catan_test_data): New variable.
949         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
950         (catanh_test_data): New variable.
951         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
952         (ccos_test_data): New variable.
953         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
954         (ccosh_test_data): New variable.
955         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
956         (cexp_test_data): New variable.
957         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
958         (clog_test_data): New variable.
959         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
960         (clog10_test_data): New variable.
961         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
962         (conj_test_data): New variable.
963         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
964         (cproj_test_data): New variable.
965         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
966         (csin_test_data): New variable.
967         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
968         (csinh_test_data): New variable.
969         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
970         (csqrt_test_data): New variable.
971         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
972         (ctan_test_data): New variable.
973         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
974         (ctan_tonearest_test_data): New variable.
975         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
976         (ctan_towardzero_test_data): New variable.
977         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
978         (ctan_downward_test_data): New variable.
979         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
980         (ctan_upward_test_data): New variable.
981         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
982         (ctanh_test_data): New variable.
983         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
984         (ctanh_tonearest_test_data): New variable.
985         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
986         (ctanh_towardzero_test_data): New variable.
987         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
988         (ctanh_downward_test_data): New variable.
989         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
990         (ctanh_upward_test_data): New variable.
991         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
992         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
993         of BUILD_COMPLEX.
995         * math/libm-test.inc (struct test_ff_f_data): New type.
996         (struct test_ff_f_data_nexttoward): Likewise.
997         (RUN_TEST_LOOP_2_f): New macro.
998         (RUN_TEST_LOOP_ff_f): Likewise.
999         (atan2_test_data): New variable.
1000         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1001         (copysign_test_data): New variable.
1002         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1003         (fdim_test_data): New variable.
1004         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1005         (fmax_test_data): New variable.
1006         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1007         (fmin_test_data): New variable.
1008         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1009         (fmod_test_data): New variable.
1010         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1011         (hypot_test_data): New variable.
1012         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1013         (nextafter_test_data): New variable.
1014         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1015         (nexttoward_test_data): New variable.
1016         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1017         (pow_test_data): New variable.
1018         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1019         (pow_tonearest_test_data): New variable.
1020         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1021         (pow_towardzero_test_data): New variable.
1022         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1023         (pow_downward_test_data): New variable.
1024         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1025         (pow_upward_test_data): New variable.
1026         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1027         (remainder_test_data): New variable.
1028         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1029         (scalb_test_data): New variable.
1030         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1031         * sysdeps/i386/fpu/libm-test-ulps: Update.
1033 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
1035         * math/libm-test.inc (fma_test): Use max_value instead of local
1036         variable fltmax.
1037         (nextafter_test): Likewise.
1039         * math/libm-test.inc (acos_towardzero_test_data): New variable.
1040         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1041         (acos_downward_test_data): New variable.
1042         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1043         (acos_upward_test_data): New variable.
1044         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1045         (acosh_test_data): New variable.
1046         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1047         (asin_test_data): New variable.
1048         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1049         (asin_tonearest_test_data): New variable.
1050         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1051         (asin_towardzero_test_data): New variable.
1052         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1053         (asin_downward_test_data): New variable.
1054         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1055         (asin_upward_test_data): New variable.
1056         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1057         (asinh_test_data): New variable.
1058         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1059         (atan_test_data): New variable.
1060         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1061         (atanh_test_data): New variable.
1062         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1063         (cbrt_test_data): New variable.
1064         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1065         (ceil_test_data): New variable.
1066         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1067         (cos_test_data): New variable.
1068         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1069         (cos_tonearest_test_data): New variable.
1070         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1071         (cos_towardzero_test_data): New variable.
1072         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1073         (cos_downward_test_data): New variable.
1074         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1075         (cos_upward_test_data): New variable.
1076         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1077         (cosh_test_data): New variable.
1078         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1079         (cosh_tonearest_test_data): New variable.
1080         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1081         (cosh_towardzero_test_data): New variable.
1082         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1083         (cosh_downward_test_data): New variable.
1084         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1085         (cosh_upward_test_data): New variable.
1086         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1087         (erf_test_data): New variable.
1088         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1089         (erfc_test_data): New variable.
1090         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1091         (exp_test_data): New variable.
1092         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1093         (exp_tonearest_test_data): New variable.
1094         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1095         (exp_towardzero_test_data): New variable.
1096         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1097         (exp_downward_test_data): New variable.
1098         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1099         (exp_upward_test_data): New variable.
1100         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1101         (exp10_test_data): New variable.
1102         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1103         (exp2_test_data): New variable.
1104         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1105         (expm1_test_data): New variable.
1106         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1107         (fabs_test_data): New variable.
1108         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1109         (floor_test_data): New variable.
1110         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1111         (j0_test_data): New variable.
1112         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1113         (j1_test_data): New variable.
1114         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1115         (log_test_data): New variable.
1116         (log_test): Run tests with RUN_TEST_LOOP_f_f.
1117         (log10_test_data): New variable.
1118         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1119         (log1p_test_data): New variable.
1120         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1121         (log2_test_data): New variable.
1122         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1123         (logb_test_data): New variable.
1124         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1125         (logb_downward_test_data): New variable.
1126         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1127         (nearbyint_test_data): New variable.
1128         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1129         (rint_test_data): New variable.
1130         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1131         (rint_tonearest_test_data): New variable.
1132         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1133         (rint_towardzero_test_data): New variable.
1134         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1135         (rint_downward_test_data): New variable.
1136         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1137         (rint_upward_test_data): New variable.
1138         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1139         (round_test_data): New variable.
1140         (round_test): Run tests with RUN_TEST_LOOP_f_f.
1141         (sin_test_data): New variable.
1142         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1143         (sin_tonearest_test_data): New variable.
1144         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1145         (sin_towardzero_test_data): New variable.
1146         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1147         (sin_downward_test_data): New variable.
1148         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1149         (sin_upward_test_data): New variable.
1150         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1151         (sinh_test_data): New variable.
1152         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1153         (sinh_tonearest_test_data): New variable.
1154         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1155         (sinh_towardzero_test_data): New variable.
1156         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1157         (sinh_downward_test_data): New variable.
1158         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1159         (sinh_upward_test_data): New variable.
1160         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1161         (sqrt_test_data): New variable.
1162         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1163         (tan_test_data): New variable.
1164         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1165         (tan_tonearest_test_data): New variable.
1166         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1167         (tan_towardzero_test_data): New variable.
1168         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1169         (tan_downward_test_data): New variable.
1170         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1171         (tan_upward_test_data): New variable.
1172         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1173         (tanh_test_data): New variable.
1174         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1175         (tgamma_test_data): New variable.
1176         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1177         (trunc_test_data): New variable.
1178         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1179         (y0_test_data): New variable.
1180         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1181         (y1_test_data): New variable.
1182         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1183         (significand_test_data): New variable.
1184         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1186 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
1188         [BZ #12387]
1189         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1191 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
1193         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1195 2013-05-10  Andreas Jaeger  <aj@suse.de>
1197         [BZ #15448]
1198         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1199         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1201 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
1203         * math/gen-libm-test.pl (adjust_arg): New function.
1204         (special_functions): Handle generating output in both functions
1205         and arrays.
1206         (parse_args): Likewise.
1207         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
1208         $in_func argument to parse_args.
1209         * math/libm-test.inc (struct test_f_f_data): New type.
1210         (IF_ROUND_INIT_): New macro.
1211         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1212         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1213         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1214         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1215         (ROUND_RESTORE_): Likewise.
1216         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1217         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1218         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1219         (ROUND_RESTORE_FE_UPWARD): Likewise.
1220         (RUN_TEST_LOOP_f_f): New macro.
1221         (acos_test_data): New variable.
1222         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1223         (acos_tonearest_test_data): New variable.
1224         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1226 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1228         * benchtests/bench-skeleton.c (startup): Fix coding style.
1230 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
1232         [BZ #6809]
1233         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1234         negative infinity argument.
1235         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1236         negative infinity argument.
1237         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1238         negative infinity argument.
1239         * math/libm-test.inc (tgamma_test): Expect errno to be set for
1240         domain errors.
1242 2013-05-10  Florian Weimer  <fweimer@redhat.com>
1244         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1245         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1246         * iconv/iconv_prog.c (main): Likewise.
1247         * locale/programs/charmap-dir.c (charmap_readdir)
1248         (fopen_uncompressed): Likewise.
1249         * locale/programs/locfile.c (siblings_uncached)
1250         (write_locale_data): Use lstat64 instead of lstat.
1251         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1252         stat.
1254 2013-05-10  Andreas Jaeger  <aj@suse.de>
1256         [BZ #15395]
1257         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1258         localization.
1259         Include <locale.h>.
1261 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
1263         * elf/dl-close.c (_dl_close_worker): Add comments.
1265 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
1267         [BZ #15359]
1268         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1269         high part of pi/2.
1270         (__ieee754_rem_pio2l): Update comments.
1272         [BZ #15429]
1273         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1274         high part of pi/2.
1275         (__ieee754_rem_pio2l): Update comments.
1277         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1278         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1280         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1281         M_PI_4l.
1283         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1284         (M_PI_34_LOG10El): Likewise.
1285         (M_PI2_LOG10El): Likewise.
1286         (M_PI4_LOG10El): Likewise.
1287         (M_PI_LOG10El): Likewise.
1289 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1293 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
1295         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1296         (MINUS_ZERO_INIT): Likewise.
1297         (PLUS_INFTY_INIT): Likewise.
1298         (MINUS_INFTY_INIT): Likewise.
1299         (QNAN_VALUE_INIT): Likewise.
1300         (MAX_VALUE_INIT): Likewise.
1301         (MIN_VALUE_INIT): Likewise.
1302         (MIN_SUBNORM_VALUE_INIT): Likewise.
1303         (plus_zero): Initialize with PLUS_ZERO_INIT.
1304         (minus_zero): Initialize with MINUS_ZERO_INIT.
1305         (plus_infty): Initialize with PLUS_INFTY_INIT.
1306         (minus_infty): Initialize with MINUS_INFTY_INIT.
1307         (qnan_value): Initialize with QNAN_VALUE_INIT.
1308         (max_value): Initialize with MAX_VALUE_INIT.
1309         (min_value): Initialize with MIN_VALUE_INIT.
1310         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1312         * math/libm-test.inc (RUN_TEST_if_f): New macro.
1313         (jn_test): Use TEST_if_f instead of TEST_ff_f.
1314         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1315         (yn_test): Use TEST_if_f instead of TEST_ff_f.
1317         * math/libm-test.inc (RUN_TEST_f_f): New macro.
1318         (RUN_TEST_2_f): Likewise.
1319         (RUN_TEST_ff_f): Likewise.
1320         (RUN_TEST_fi_f): Likewise.
1321         (RUN_TEST_fl_f): Likewise.
1322         (RUN_TEST_fff_f): Likewise.
1323         (RUN_TEST_c_f): Likewise.
1324         (RUN_TEST_f_f1): Likewise.
1325         (RUN_TEST_fF_f1): Likewise.
1326         (RUN_TEST_fI_f1): Likewise.
1327         (RUN_TEST_ffI_f1): Likewise.
1328         (RUN_TEST_c_c): Likewise.
1329         (RUN_TEST_cc_c): Likewise.
1330         (RUN_TEST_f_i): Likewise.
1331         (RUN_TEST_f_i_tg): Likewise.
1332         (RUN_TEST_ff_i_tg): Likewise.
1333         (RUN_TEST_f_b): Likewise.
1334         (RUN_TEST_f_b_tg): Likewise.
1335         (RUN_TEST_f_l): Likewise.
1336         (RUN_TEST_f_L): Likewise.
1337         (RUN_TEST_sincos): Likewise.
1338         * math/gen-libm-test.pl (new_test): Take new argument to indicate
1339         whether to show exceptions.  Do not include ");\n" in return
1340         value.
1341         (special_functions): Output call to RUN_TEST_sincos instead of
1342         check_float calls.  Update calls to new_test.
1343         (parse_args): Output call to single RUN_TEST_* macro instead of
1344         check_* calls and other assignments.  Update calls to new_test.
1346         [BZ #2546]
1347         [BZ #2560]
1348         [BZ #5159]
1349         [BZ #15426]
1350         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1351         input to result for tgamma overflow.
1352         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1353         (gamma_coeff): New variable.
1354         (NCOEFF): New macro.
1355         (gamma_positive): New function.
1356         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1357         underflow here.  Use gamma_positive instead of exp (lgamma) for
1358         other arguments.
1359         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1360         (gamma_coeff): New variable.
1361         (NCOEFF): New macro.
1362         (gammaf_positive): New function.
1363         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1364         underflow here.  Use gamma_positive instead of exp (lgamma) for
1365         other arguments.
1366         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1367         (gamma_coeff): New variable.
1368         (NCOEFF): New macro.
1369         (gammal_positive): New function.
1370         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1371         underflow here.  Use gamma_positive instead of exp (lgamma) for
1372         other arguments.
1373         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1374         (gamma_coeff): New variable.
1375         (NCOEFF): New macro.
1376         (gammal_positive): New function.
1377         (__ieee754_gammal_r): Handle positive infinity, overflow and
1378         underflow here.  Handle NaN the same as positive infinity.  Remove
1379         check x < 0xffffffff for negative integers.  Use gamma_positive
1380         instead of exp (lgamma) for other arguments.
1381         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1382         (gamma_coeff): New variable.
1383         (NCOEFF): New macro.
1384         (gammal_positive): New function.
1385         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1386         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1387         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1389         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1390         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1391         * sysdeps/generic/math_private.h (__gamma_productf): New
1392         prototype.
1393         (__gamma_product): Likewise.
1394         (__gamma_productl): Likewise.
1395         * math/Makefile (libm-calls): Add gamma_product.
1396         * math/libm-test.inc (tgamma_test): Add more tests.
1397         * sysdeps/i386/fpu/libm-test-ulps: Update.
1398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1400 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
1402         * benchtests/bench-skeleton.c (main): Preheat CPU.
1404 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
1406         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1408 2013-05-07  Roland McGrath  <roland@hack.frob.com>
1410         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1411         and _dl_skip_args_internal.
1413 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
1415         * manual/message.texi (Message Translation): Talk about users.
1416         Message to key mapping impacts design.
1418 2013-05-06  Roland McGrath  <roland@hack.frob.com>
1420         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1422         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1424         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1425         * sysdeps/wordsize-64/glob64.c: ... here.
1427         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1428         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1429         New macros.
1431         * debug/getlogin_r_chk.c: Moved to ...
1432         * login/getlogin_r_chk.c: ... here.
1433         * debug/Makefile (routines): Move getlogin_r_chk to ...
1434         * login/Makefile (routines): ... here.
1435         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1436         * login/Versions (libc: GLIBC_2.4): ... here.
1438         * io/poll.c (__poll): Renamed from poll.
1439         Add libc_hidden_def.
1440         (poll): Define as weak alias.
1442         * debug/ptsname_r_chk.c: Moved to ...
1443         * login/ptsname_r_chk.c: ... here.
1444         * debug/Makefile (routines): Move ptsname_r_chk to ...
1445         * login/Makefile (routines): ... here.
1446         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1447         * login/Versions (libc: GLIBC_2.4): ... here.
1449         * posix/getlogin.c: Moved to ...
1450         * login/getlogin.c: ... here.
1451         * posix/getlogin_r.c: Moved to ...
1452         * login/getlogin_r.c: ... here.
1453         * posix/getlogin_r.c: Moved to ...
1454         * login/getlogin_r.c: ... here.
1455         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1456         * login/Makefile (routines): ... here.
1457         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1458         * login/Versions (libc: GLIBC_2.0): ... here.
1460         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1461         (setrlimit): Define as weak alias.
1463         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1464         Call __ names for open, ftruncate, and close.
1465         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1466         (truncate): Define as weak alias.
1468 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
1470         * math/gen-libm-test.pl (parse_args): Initialize x before each
1471         test of frexp, modf and remquo.
1473         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1474         test signgam value.
1476 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1478         [BZ #15418]
1479         [BZ #15419]
1480         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1481         internal tests.
1482         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1484 2013-05-06  Roland McGrath  <roland@hack.frob.com>
1486         * elf/dl-writev.h: New file.
1487         * elf/dl-misc.c: Include it.
1488         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1489         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1491 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
1493         * math/libm-test.inc (noXFails): Remove variable.
1494         (noXPasses): Likewise.
1495         (BUILD_COMPLEX_INT): Remove macro.
1496         (print_screen): Remove xfail argument.
1497         (print_screen_max_error): Likewise.
1498         (update_stats): Likewise.
1499         (print_max_error): Likewise.  Update calls to other affected
1500         functions.
1501         (print_complex_max_error): Likewise.
1502         (test_single_exception): Update calls to print_screen.
1503         (test_single_errno): Likewise.
1504         (check_float_internal): Remove xfail argument.  Update calls to
1505         other affected functions.
1506         (check_float): Likewise.
1507         (check_complex): Likewise.
1508         (check_int): Likewise.
1509         (check_long): Likewise.
1510         (check_bool): Likewise.
1511         (check_longlong): Likewise.
1512         (main): Don't print noXFails and noXPasses.
1513         * math/gen-libm-test.pl (top level): Don't mention expected
1514         failure handling in comment.
1515         (new_test): Don't handle expected failures.
1516         (parse_args): Don't mention expected failure handling in comment.
1517         (generate_testfile): Don't handle expected failures.
1518         (parse_ulps): Likewise.
1519         (print_ulps_file): Likewise.
1520         (get_failure): Remove function.
1521         (output_test): Don't handle expected failures.
1522         * make/README.libm-test: Don't mention expected failure handling.
1524         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
1525         (minus_zero): Likewise.
1526         (plus_infty): Likewise.
1527         (minus_infty): Likewise.
1528         (qnan_value): Likewise.
1529         (max_value): Likewise.
1530         (min_value): Likewise.
1531         (min_subnorm_value): Likewise.
1532         (initialize): Do not initialize those variables dynamically.
1534 2013-05-03  Roland McGrath  <roland@hack.frob.com>
1536         * io/open.c (__open_2): Moved to ...
1537         * io/open_2.c: ... this new file.
1538         * io/open64.c (__open64_2): Moved to ...
1539         * io/open64_2.c: ... this new file.
1540         * io/openat.c (__openat_2): Moved to ...
1541         * io/openat_2.c: ... this new file.
1542         * io/openat64.c (__openat64_2): Moved to ...
1543         * io/openat64_2.c: ... this new file.
1544         * io/Makefile (routines): Add them.
1545         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1546         * sysdeps/unix/sysv/linux/open_2.c: File removed.
1547         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1548         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1549         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1550         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1551         (__openat64): Add hidden_ver.
1552         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1553         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1555         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1556         Separately conditionalize setting of GLRO(dl_sysinfo) so
1557         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1558         as well, but the actual setting is only under [NEED_DL_SYSINFO].
1560 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1562         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1563         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1564         definition.
1565         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1566         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1567         (_libc_vdso_platform_setup): Add __vdso_time initialization.
1568         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1569         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1571 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
1573         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1574         test signgam value.
1576         * math/libm-test.inc (hypot_test): Do not use
1577         IGNORE_ZERO_INF_SIGN.
1579 2013-05-03  Andreas Jaeger  <aj@suse.de>
1581         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1582         Linux 3.9.
1583         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1584         (PF_MAX): Adjust for VSOCK change.
1586 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1590 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
1592         [BZ #15264]
1593         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1594         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1595         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1597 2013-05-02  David S. Miller  <davem@davemloft.net>
1599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1601 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
1603         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1605 2013-05-01  Roland McGrath  <roland@hack.frob.com>
1607         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1609 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
1611         [BZ #14952]
1612         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1613         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1614         Use __attribute__ ((__gnu_inline__)).
1615         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1616         Don't use __attribute__ ((__gnu_inline__)).
1618 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
1620         [BZ #15423]
1621         * math/s_catan.c (__catan): Handle small real or imaginary part of
1622         input specially to avoid spurious underflow.
1623         * math/s_catanf.c (__catanf): Likewise.
1624         * math/s_catanh.c (__catanh): Likewise.
1625         * math/s_catanhf.c (__catanhf): Likewise.
1626         * math/s_catanhl.c (__catanhl): Likewise.
1627         * math/s_catanl.c (__catanl): Likewise.
1628         * math/libm-test.inc (catan_test): Add more tests.
1629         (catanh_test): Likewise.
1630         * sysdeps/i386/fpu/libm-test-ulps: Update.
1631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1633 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1637 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
1639         [BZ #15416]
1640         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1641         accurately for denominator in atan2.
1642         * math/s_catanf.c (__catanf): Likewise.
1643         * math/s_catanh.c (__catanh): Likewise.
1644         * math/s_catanhf.c (__catanhf): Likewise.
1645         * math/s_catanhl.c (__catanhl): Likewise.
1646         * math/s_catanl.c (__catanl): Likewise.
1647         * math/libm-test.inc (catan_test): Add more tests.
1648         (catanh_test): Likewise.
1649         * sysdeps/i386/fpu/libm-test-ulps: Update.
1650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1654         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1656         * benchtests/Makefile (bench): Remove slow benchmarks.
1657         * benchtests/atan-inputs: Add slow benchmark inputs.
1658         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1659         (BENCH_FUNC): Accept variant offset.
1660         (VARIANT): Define.
1661         * benchtests/bench-skeleton.c (main): Run benchmark for each
1662         variant.
1663         * benchtests/cos-inputs: Add slow benchmark inputs.
1664         * benchtests/exp-inputs: Likewise.
1665         * benchtests/pow-inputs: Likewise.
1666         * benchtests/sin-inputs: Likewise.
1667         * benchtests/slowatan-inputs: Remove.
1668         * benchtests/slowatan.c: Remove.
1669         * benchtests/slowcos-inputs: Remove.
1670         * benchtests/slowcos.c: Remove.
1671         * benchtests/slowexp-inputs: Remove.
1672         * benchtests/slowexp.c: Remove.
1673         * benchtests/slowpow-inputs: Remove.
1674         * benchtests/slowpow.c: Remove.
1675         * benchtests/slowsin-inputs: Remove.
1676         * benchtests/slowsin.c: Remove.
1677         * benchtests/slowtan-inputs: Remove.
1678         * benchtests/slowtan.c: Remove.
1679         * benchtests/tan-inputs: Add slow benchmark inputs.
1680         * scripts/bench.pl: Parse comments and directives.
1682         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
1683         in CPPFLAGS.
1684         ($(objpfx)bench-%.c): Remove *-ITER.
1685         * benchtests/bench-modf.c: Remove definition of ITER.
1686         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1687         (main): Loop for DURATION seconds instead of fixed number of
1688         iterations.
1689         * scripts/bench.pl: Don't expect iterations in parameters.
1691 2013-04-29  Roland McGrath  <roland@hack.frob.com>
1693         * io/fchdir.c (__fchdir): Renamed from fchdir.
1694         (fchdir): Define as weak alias.
1696 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
1698         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1699         (ERRNO_EDOM): Likewise.
1700         (ERRNO_ERANGE): Likewise.
1701         (noErrnoTests): New variable.
1702         (init_max_error): Set errno to 0.
1703         (test_single_errno): New function.
1704         (test_errno): Likewise.
1705         (check_float_internal): Call test_errno.  Set errno to 0.
1706         (check_complex): Refer to errno tests in comment.
1707         (check_int): Call test_errno.  Set errno to 0.
1708         (check_long): Likewise.
1709         (check_bool): Likewise.
1710         (check_longlong): Likewise.
1711         (cos_test): Use ERRNO_* flags for errno tests instead of
1712         check_int.
1713         (expm1_test): Likewise.
1714         (fmod_test): Likewise.
1715         (ilogb_test): Likewise.
1716         (lgamma_test): Likewise.
1717         (pow_test): Likewise.
1718         (remainder_test): Likewise.
1719         (sin_test): Likewise.
1720         (tan_test): Likewise.
1721         (yn_test): Likewise.
1722         (initialize): Set errno to 0.
1723         (main): Print number of errno tests.
1724         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1726 2013-04-29  Andreas Jaeger  <aj@suse.de>
1728         [BZ #15084]
1729         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1730         and RES_USEVC.
1732         [BZ #15085]
1733         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1734         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1735         unimplemented.
1737         [BZ #15380]
1738         * stdlib/random.c (__initstate): Return NULL if
1739         __initstate fails.
1741         [BZ #15086]
1742         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1743         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1744         RES_SNGLKUPREOP.
1746 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1750 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
1752         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1753         of individual tests.
1754         (casin_test): Likewise.
1755         (casinh_test): Likewise.
1757 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
1759         [BZ #15409]
1760         * math/s_catan.c (__catan): Handle arguments with large real or
1761         imaginary part separately without squaring.
1762         * math/s_catanf.c (__catanf): Likewise.
1763         * math/s_catanh.c (__catanh): Likewise.
1764         * math/s_catanhf.c (__catanhf): Likewise.
1765         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1766         and redefine.
1767         (__catanhl): Handle arguments with large real or imaginary part
1768         separately without squaring.
1769         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1770         and redefine.
1771         (__catanl): Handle arguments with large real or imaginary part
1772         separately without squaring.
1773         * math/libm-test.inc (catan_test): Add more tests.
1774         (catanh_test): Likewise.
1775         * sysdeps/i386/fpu/libm-test-ulps: Update.
1776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1778 2013-04-27  Andreas Jaeger  <aj@suse.de>
1780         [BZ #15007]
1781         * stdlib/stdlib.h: Update guards for qecvt.
1782         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1783         <stdlib.h>.
1785 2013-04-27  Allan McRae  <allan@archlinux.org>
1787         * sysdeps/i386/fpu/libm-test-ulps: Update.
1789 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
1791         [BZ #15406]
1792         * math/s_catan.c: Include <float.h>.
1793         (__catan): Ensure underflow exception occurs for underflowed
1794         result.
1795         * math/s_catanf.c: Include <float.h>.
1796         (__catanf): Ensure underflow exception occurs for underflowed
1797         result.
1798         * math/s_catanh.c: Include <float.h>.
1799         (__catanh): Ensure underflow exception occurs for underflowed
1800         result.
1801         * math/s_catanhf.c: Include <float.h>.
1802         (__catanhf): Ensure underflow exception occurs for underflowed
1803         result.
1804         * math/s_catanhl.c: Include <float.h>.
1805         (__catanhl): Ensure underflow exception occurs for underflowed
1806         result.
1807         * math/s_catanl.c: Include <float.h>.
1808         (__catanl): Ensure underflow exception occurs for underflowed
1809         result.
1810         * math/libm-test.inc (catan_test): Add more tests.
1811         (catanh_test): Likewise.
1813         [BZ #15405]
1814         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1815         underflowed result.
1816         * math/s_ccoshf.c (__ccoshf): Likewise.
1817         * math/s_ccoshl.c (__ccoshl): Likewise.
1818         * math/s_csin.c (__csin): Likewise.
1819         * math/s_csinf.c (__csinf): Likewise.
1820         * math/s_csinh.c (__csinh): Likewise.
1821         * math/s_csinhf.c (__csinhf): Likewise.
1822         * math/s_csinhl.c (__csinhl): Likewise.
1823         * math/s_csinl.c (__csinl): Likewise.
1824         * math/libm-test.inc (ccos_test): Add more tests.
1825         (ccosh_test): Likewise.
1826         (csin_test): Likewise.
1827         (csinh_test): Likewise.
1829 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1831         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1832         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1833         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1834         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1835         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1836         powerpc/power5+/fpu folders.
1837         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1840 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
1842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1844 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
1846         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1847         additions to variable.
1848         [$(config-machine) = x86_64] (modules-names): Likewise.
1849         ($(objpfx)tst-audit3): Remove dependency.
1850         ($(objpfx)tst-audit3.out): Likewise.
1851         ($(objpfx)tst-audit4): Likewise.
1852         ($(objpfx)tst-audit4.out): Likewise.
1853         ($(objpfx)tst-audit5): Likewise.
1854         ($(objpfx)tst-audit5.out): Likewise.
1855         ($(objpfx)tst-audit6): Likewise.
1856         ($(objpfx)tst-audit6.out): Likewise.
1857         ($(objpfx)tst-audit7): Likewise.
1858         ($(objpfx)tst-audit7.out): Likewise.
1859         (tst-audit3-ENV): Remove variable.
1860         (tst-audit4-ENV): Likewise.
1861         (tst-audit5-ENV): Likewise.
1862         (tst-audit6-ENV): Likewise.
1863         (tst-audit7-ENV): Likewise.
1864         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1865         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1866         addition to variable.
1867         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1868         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1869         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1870         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1871         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1872         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1873         tst-audit3, tst-audit4 and tst-audit5.
1874         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1875         tst-audit6 and tst-audit7.
1876         [$(subdir) = elf] (modules-names): Add audit modules for those
1877         tests.
1878         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1879         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1880         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1881         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1882         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1883         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1884         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1885         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1886         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1887         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1888         [$(subdir) = elf] (tst-audit3-ENV): New variable.
1889         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1890         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1891         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1892         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1893         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1894         Likewise.
1895         [$(subdir) = elf && $(config-cflags-avx) = yes]
1896         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1897         [$(subdir) = elf && $(config-cflags-avx) = yes]
1898         (CFLAGS-tst-auditmod4a.c): Likewise.
1899         [$(subdir) = elf && $(config-cflags-avx) = yes]
1900         (CFLAGS-tst-auditmod4b.c): Likewise.
1901         [$(subdir) = elf && $(config-cflags-avx) = yes]
1902         (CFLAGS-tst-auditmod6b.c): Likewise.
1903         [$(subdir) = elf && $(config-cflags-avx) = yes]
1904         (CFLAGS-tst-auditmod6c.c): Likewise.
1905         [$(subdir) = elf && $(config-cflags-avx) = yes]
1906         (CFLAGS-tst-auditmod7b.c): Likewise.
1907         * elf/tst-audit3.c: Move to ...
1908         * sysdeps/x86_64/tst-audit3.c: ... here.
1909         * elf/tst-audit4.c: Move to ...
1910         * sysdeps/x86_64/tst-audit4.c: ... here.
1911         * elf/tst-audit5.c: Move to ...
1912         * sysdeps/x86_64/tst-audit5.c: ... here.
1913         * elf/tst-audit6.c: Move to ...
1914         * sysdeps/x86_64/tst-audit6.c: ... here.
1915         * elf/tst-audit7.c: Move to ...
1916         * sysdeps/x86_64/tst-audit7.c: ... here.
1917         * elf/tst-auditmod3a.c: Move to ...
1918         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1919         * elf/tst-auditmod3b.c: Move to ...
1920         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1921         * elf/tst-auditmod4a.c: Move to ...
1922         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1923         * elf/tst-auditmod4b.c: Move to ...
1924         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1925         * elf/tst-auditmod5a.c: Move to ...
1926         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1927         * elf/tst-auditmod5b.c: Move to ...
1928         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1929         * elf/tst-auditmod6a.c: Move to ...
1930         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1931         * elf/tst-auditmod6b.c: Move to ...
1932         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1933         * elf/tst-auditmod6c.c: Move to ...
1934         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1935         * elf/tst-auditmod7a.c: Move to ...
1936         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1937         * elf/tst-auditmod7b.c: Move to ...
1938         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1940 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
1942         [BZ #15366]
1943         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1944         define unconditionally.
1945         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1946         define unconditionally.
1947         (INT8_C, INT16_C, etc.): Likewise.
1949 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
1951         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1952         __ehdr_start with hidden visibility.
1954         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1956 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
1958         * math/libm-test.inc (cos_test): Use accurate hex constants.
1959         (sincost_test): Likewise.
1961 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
1963         * math/libm-test.inc (catan_test): Add more tests.
1964         (catanh_test): Likewise.
1966         * math/s_catanf.c (__catanf): Use suffixed floating-point
1967         constants.
1968         * math/s_catanhf.c (__catanhf): Likewise.
1969         * math/s_catanhl.c (__catanhl): Likewise.
1970         * math/s_catanl.c (__catanl): Likewise.
1972         [BZ #15394]
1973         * math/s_catan.c (__catan): Calculate imaginary part of result
1974         with log1p not log unless computing log of number close to 0.
1975         * math/s_catanf.c (__catanf): Likewise.
1976         * math/s_catanl.c (__catanl): Likewise.
1977         * math/s_catanh.c (__catanh): Calculate real part of result with
1978         log1p not log unless computing log of number close to 0.
1979         * math/s_catanhf.c (__catanhf): Likewise.
1980         * math/s_catanhl.c (__catanhl): Likewise.
1981         * math/libm-test.inc (catan_test): Add more tests.
1982         (catanh_test): Likewise.
1983         * sysdeps/i386/fpu/libm-test-ulps: Update.
1984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1986 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1988         * benchtests/Makefile: Mention files in which fast and slow
1989         paths of math functions are implemented.
1991 2013-04-23  Roland McGrath  <roland@hack.frob.com>
1993         * sysdeps/posix/timespec_get.c: New file.
1995 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1997         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1998         POWER.
1999         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2000         for POWER.
2001         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2002         powerpc/power5/fpu folders.
2003         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2004         * benchtests/Makefile: Add modf testcase.
2005         * benchtests/bench-modf.c: New file: Benchmark test for mo
2007 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2009         [BZ #14888]
2010         * time/Makefile (tests): Add tst-strptime-whitespace.
2011         * time/strptime_l.c (get_number): Use ISSPACE.
2012         (__strptime_internal): Likewise.
2013         * time/tst-strptime-whitespace.c: New test case.
2015 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
2017         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2018         member.
2019         (_nss_files_init): Set it here.
2021 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
2023         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2024         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2025         unsigned.
2027 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
2029         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2031 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2034         size just once.
2036 2013-04-21  David S. Miller  <davem@davemloft.net>
2038         * po/ru.po: Update Russion translation from translation project.
2040 2013-04-17  Adam Conrad  <adconrad@0c3.net>
2042         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2043         and setfsgid.
2045 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
2047         * configure.in: Remove i386 configure warning. Remove i386 case.
2048         * configure: Regenerate.
2049         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2050         Add example to error message.
2051         * sysdeps/i386/configure: Regenerate.
2053 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2055         * benchtests/Makefile (bench): Add cos, tan, slowcos and
2056         slowtan.
2057         * benchtests/cos-inputs: New file.
2058         * benchtests/slowcos-inputs: New file.
2059         * benchtests/slowcos.c: New file.
2060         * benchtests/slowtan-inputs: New file.
2061         * benchtests/slowtan.c: New file.
2062         * benchtests/tan-inputs: New file.
2064 2013-04-16  Roland McGrath  <roland@hack.frob.com>
2066         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2067         considered kosher.
2069 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2071         * benchtests/Makefile: Include cppflags-iterator.mk to add
2072         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2074         * Makefile.in (bench-clean): New target.
2075         * benchtests/Makefile (bench-clean): Likewise.
2077 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
2079         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2081 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
2083         * stdio-common/tstdiomisc.c: Fix coding-style violation.
2085 2013-04-15  Andreas Schwab  <schwab@suse.de>
2087         * nscd/grpcache.c (cache_addgr): Properly check for short write.
2088         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2089         * nscd/pwdcache.c (cache_addpw): Likewise.
2090         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
2091         more than recsize.
2093 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2095         * benchtests/Makefile (bench): Write all output to
2096         bench-out.tmp together.
2098 2013-04-15  Andreas Schwab  <schwab@suse.de>
2100         * nscd/nscd.c (main): Don't fork again after closing files.
2102 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2104         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2106         * benchtests/Rules (bench-deps): Collect dependencies into a
2107         single variable.  Add Makefile to dependencies.
2108         ($(objpfx)bench-%.c): Depend on bench-deps.
2110 2013-04-12  Roland McGrath  <roland@hack.frob.com>
2111             Xavier Roche  <roche+kml2@exalead.com>
2113         [BZ #15361]
2114         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2115         just that it's a file descriptor.
2116         * manual/llio.texi (Synchronizing AIO Operations): Update description
2117         for EBADF error from aio_fsync.
2119 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2121         * Rules (bench): Move target definition...
2122         * benchtests/Makefile: ... here.
2124 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
2126         * math/libm-test.inc (cos_test): Fix PI/2 test.
2127         (sincos_test): Likewise.
2128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2129         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2131 2013-04-11  Andreas Schwab  <schwab@suse.de>
2133         [BZ #13988]
2134         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2135         accept exponent character only when digits were seen.
2136         * stdio-common/Makefile (tests): Add bug26.
2137         * stdio-common/bug26.c: New file.
2139         [BZ #14293]
2140         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2141         non-freeable.
2143 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2145         * Makeconfig (rtld-prefix): Define built linker prefix.
2146         * Rules (run-bench): Use it.
2147         * math/Makefile (run-regen-ulps): Likewise.
2149         * Rules (bench): Remove eval.
2151 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2152             Roland McGrath  <roland@hack.frob.com>
2153             Ondrej Bilka  <neleai@seznam.cz>
2155         [BZ #15346]
2156         * time/getdate.c: Include ctype.h and alloca.h.
2157         (__getdate_r): Trim leading and trailing spaces of input.
2158         * time/tst-getdate.c (tests): Add tests with leading and
2159         trailing spaces.
2161 2013-04-08  Roland McGrath  <roland@hack.frob.com>
2163         [BZ #14280]
2164         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2165         when computing value.
2167 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2169         * math/README.libm-test (How can I generate "libm-test-ulps"?):
2170         Use testrun.sh to run libm tests.
2172         [BZ #15309]
2173         * elf/dl-open.c (dl_open_worker): memset all of seen array.
2175 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
2177         [BZ #15264]
2178         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2180 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2182         * Makefile.in (regen-ulps): New target.
2183         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2184         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2185         [ifneq (no,$(PERL)] (regen-ulps): New target.
2186         [ifeq (no,$(PERL)] (regen-ulps): New target.
2187         * math/libm-test.inc (ulps_file_name): Define.
2188         (output_dir): New variable.
2189         (options): Add "output-dir" option.
2190         (parse_opt): Handle 'o' case.
2191         (main): If output_dir is non-NULL use it as a prefix
2192         otherwise use "".
2193         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2195 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2197         [BZ #10060, #10062]
2198         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2199         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2200         fail configure if __sync_val_compare_and_swap is not inlined.
2201         * sysdeps/i386/configure: Regenerate.
2202         * configure.in: Build for i686 when configured for i386.
2203         * configure: Regenerate.
2204         * README: Remove i386 reference.
2206 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2208         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2209         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2211 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2213         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2214         (lmsnanval): New variables.
2215         (F): Add conversion tests.
2216         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2217         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2219         * stdio-common/tstdiomisc.c (F): Properly collect individual
2220         tests' results.
2222         [BZ #14686, #15336]
2223         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2224         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2225         Instead, use input NaN values or generate a qNaN by arithmetic
2226         operation.  Also fix bugs to comply with the standard.
2227         * math/libm-test.inc (remainder_test): Add more tests.
2229         [BZ #15335, #15342]
2230         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2232         input NaN values or generate a qNaN by arithmetic operation.
2234         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2235         unreachable code.
2237         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2238         definitions.
2240 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
2242         [BZ #14478]
2243         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2244         underflowed result.
2245         * math/s_cexpf.c (__cexpf): Likewise.
2246         * math/s_cexpl.c (__cexpl): Likewise.
2247         * math/libm-test.inc (cexp_test): Add more tests.
2249 2013-04-03  Andreas Schwab  <schwab@suse.de>
2251         [BZ #15330]
2252         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2253         order arrays from heap if bigger than alloca cutoff.
2255 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
2257         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2258         (SNAN_TESTS_double): Refer to GCC PR56831.
2259         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2260         GCC PR56828.
2262 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2264         * Rules (bench): Move bench.out after the run is complete.
2266         * Rules (bench): Echo currently running benchmark.
2268         * benchtests/Makefile (bench): Add atan and slowatan.
2269         * benchtests/atan-inputs: New file.
2270         * benchtests/slowatan-inputs: New file.
2271         * benchtests/slowatan.c: New file.
2273         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2275         its value.
2277         [BZ #15305]
2278         * sysdeps/unix/sysv/linux/kernel-features.h
2279         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2280         __ASSUME_XFS_RESTRICTED_CHOWN.
2281         * sysdeps/unix/sysv/linux/pathconf.c
2282         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2283         Save and restore errno.
2285 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
2287         [BZ #15327]
2288         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2289         arguments using __kernel_casinh.
2290         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2291         arguments using __kernel_casinhf.
2292         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2293         arguments using __kernel_casinhl.
2294         * math/libm-test.inc (cacosh_test): Add more tests.
2295         * sysdeps/i386/fpu/libm-test-ulps: Update.
2296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2298 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2300         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2301         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2303         * bench/Makefile (bench): Add sin and slowsin.
2304         * benchtests/sin-inputs: New file.
2305         * benchtests/slowsin-inputs: New file.
2306         * benchtests/slowsin.c: New file.
2308         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2309         (bench): Add slowexp and slowpow.
2310         (exp-ITER): Increase iterations.
2311         (pow-ITER): Likewise.
2312         * benchtests/exp-inputs: Change input.
2313         * benchtests/pow-inputs: Likewise.
2314         * benchtests/slowexp-inputs: New file.
2315         * benchtests/slowexp.c: New file.
2316         * benchtests/slowpow-inputs: New file.
2317         * benchtests/slowpow.c: New file.
2319 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2321         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2322         instructions.
2323         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2324         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2325         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2326         * benchtests/Makefile: Add rint benchtest.
2327         * benchtests/rint-inputs: Input for rint benchtest.
2329 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2331         * Versions.def (libm): Add GLIBC_2.18.
2332         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2333         hidden libm prototypes.
2334         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2335         * math/Makefile (libm-calls): Add s_issignaling.
2336         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2337         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
2338         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2339         declaration.
2340         * math/math.h [__USE_GNU] (issignaling): New macro.
2341         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2342         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2343         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2344         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2347         * manual/arith.texi (issignaling): New section.
2348         * manual/libm-err-tab.pl (@all_functions): Update comment.
2349         * math/gen-libm-test.pl (parse_args): Apply special handling for
2350         issignaling.
2351         * math/libm-test.inc (print_float, issignaling_test): New
2352         functions.
2353         (check_float_internal): Add issignaling checks.
2354         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2355         default definition.
2356         * sysdeps/powerpc/math-tests.h: New file.
2357         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2358         tests.
2359         * math/test-snan.c (TEST_FUNC): Likewise.
2361 2013-03-30  David S. Miller  <davem@davemloft.net>
2363         * po/de.po: Update from translation team.
2365 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
2367         [BZ #10357]
2368         * math/k_casinh.c (__kernel_casinh): Handle arguments with
2369         imaginary part less than 1.0 and real part less than 0.5
2370         specially.
2371         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2372         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2373         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2374         (cacos_test): Add more tests.
2375         (casin_test): Likewise.
2376         (casinh_test): Likewise.
2377         * sysdeps/i386/fpu/libm-test-ulps: Update.
2378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2380 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2382         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2383         ONE with its value.
2385         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2386         (__pow_mp): Replace ONE and MONE with their values.
2387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2388         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2389         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2390         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2391         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2392         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2394         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2396         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2397         (__pow_mp): Replace ZERO and MZERO with their values.
2398         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2399         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2400         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2401         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2402         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2403         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2404         (__sqr): Likewise.
2406         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2408         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2410 2013-03-28  Roland McGrath  <roland@hack.frob.com>
2412         * include/stdlib.h [!SHARED] (__call_tls_dtors):
2413         Declare with __attribute__ ((weak)).
2414         * stdlib/exit.c (__libc_atexit) [!SHARED]:
2415         Call __call_tls_dtors only if it's not NULL.
2417 2013-03-28  Roland McGrath  <roland@hack.frob.com>
2419         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2420         didn't do it already, then set _dl_phdr and _dl_phnum based on the
2421         magic __ehdr_start linker symbol if it's defined.
2422         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2423         them up here if it was already done.
2425         * elf/dl-support.c (_dl_phdr): Make pointer to const.
2426         (_dl_aux_init): Use const in cast when setting it.
2427         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2428         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2429         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2431         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2432         Declare them here.
2433         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2434         * csu/libc-tls.c: Nor here.
2435         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2437         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2438         (__libc_message): Never call vsyslog.
2440 2013-03-28  Alan Modra  <amodra@gmail.com>
2442         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2443         Define as empty.
2444         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2445         Likewise.
2447 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2449         [BZ #15214]
2450         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2451         underflow.
2452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2454 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2456         [BZ #15304]
2457         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2458         Don't add gid passed as argument.
2460         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2462 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
2464         [BZ #15307]
2465         * math/k_casinh.c (__kernel_casinh): Handle arguments with
2466         imaginary part between 1.0 and 1.5 and real part less than 0.5
2467         specially.
2468         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2469         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2470         * math/libm-test.inc (cacos_test): Add more tests.
2471         (casin_test): Likewise.
2472         (casinh_test): Likewise.
2473         * sysdeps/i386/fpu/libm-test-ulps: Update.
2474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2476 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2478         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2479         constants.
2480         (norm): Likewise.
2481         (denorm): Likewise.
2482         (__dbl_mp): Likewise.
2483         (add_magnitudes): Likewise.
2484         (sub_magnitudes): Likewise.
2485         (__add): Likewise.
2486         (__sub): Likewise.
2487         (__mul): Likewise.
2488         (__sqr): Likewise.
2489         (__inv): Likewise.
2490         (__dvd): Likewise.
2492         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2493         commented code.
2494         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2495         (__dubcos): Likewise.
2496         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2497         (__ieee754_acos): Likewise.
2498         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2499         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2500         (__exp1): Likewise.
2501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2503         (log1): Likewise.
2504         (my_log2): Likewise.
2505         (checkint): Likewise.
2506         * sysdeps/ieee754/dbl-64/e_remainder.c
2507         (__ieee754_remainder): Likewise.
2508         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2509         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2510         (bsloww): Likewise.
2511         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2513         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2514         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2515         MANTISSA_STORE_T to store computations on mantissa.  Use
2516         macros for rounding and division.
2517         (denorm): Likewise.
2518         (__dbl_mp): Likewise.
2519         (add_magnitudes): Likewise.
2520         (sub_magnitudes): Likewise.
2521         (__mul): Likewise.
2522         (__sqr): Likewise.
2523         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
2524         powers of two in terms of TWOPOW macro.
2525         (mp_no): Make type of mantissa as MANTISSA_T.
2526         [!RADIXI]: Define RADIXI.
2527         [!TWO52]: Define TWO52.
2528         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2530 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2532         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2533         llroundl symbol when building for PPC32.
2535 2013-03-24  Mark H Weaver  <mhw@netris.org>
2537         * manual/arith.texi (Normalization Functions): Fix prototypes for
2538         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2540 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2542         [BZ #13889]
2543         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2544         high value to check if expl overflow.
2545         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2546         to check for underflow and overflow.
2547         * math/libm-test.inc: Add exp test.
2549 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
2551         [BZ #11120]
2552         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2553         with NOT_IN_libc.
2555 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2557         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2558         symbol.
2560 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2562         * math/gen-libm-test.pl (parse_args, special_functions): Properly
2563         wrap blocks consisting of several statements.
2565         * sysdeps/generic/math-tests.h: New file.
2566         * sysdeps/i386/fpu/math-tests.h: Likewise.
2567         * math/test-snan.c: Include it.
2568         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2570 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
2572         [BZ #15285]
2573         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2574         (__ieee754_j0l): Do not improve calculations using cos of twice
2575         input for inputs above LDBL_MAX / 2.0L.
2576         (__ieee754_y0l): Likewise.
2577         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2578         (__ieee754_j1l): Do not improve calculations using cos of twice
2579         input for inputs above LDBL_MAX / 2.0L.
2580         (__ieee754_y1l): Likewise.
2581         * math/libm-test.inc (j0_test): Add another test.
2582         (j1_test): Likewise.
2583         (y0_test): Likewise.
2584         (y1_test): Likewise.
2585         * sysdeps/i386/fpu/libm-test-ulps: Update.
2587 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2589         * Rules ($(objpfx)bench-%.c): Include code from a C source
2590         file.
2592 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
2594         [BZ #15287]
2595         * math/k_casinh.c (__kernel_casinh): Handle arguments with
2596         imaginary part 1.0 and real part less than 0.5 specially.
2597         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2598         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2599         * math/libm-test.inc (cacos_test): Add more tests.
2600         (casin_test): Likewise.
2601         (casinh_test): Likewise.
2602         * sysdeps/i386/fpu/libm-test-ulps: Update.
2603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2605 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2607         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2608         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2610 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
2612         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2613         * config.make.in (config-cflags-sse4): Remove variable.
2614         (config-cflags-avx): Likewise.
2615         (config-cflags-sse2avx): Likewise.
2616         (config-cflags-novzeroupper): Likewise.
2617         (config-asflags-i686): Likewise.
2618         (have-mfma4): Likewise.
2619         (have-as-vis3): Likewise.
2620         (MIG): Likewise.
2621         * configure.in (MIG): Do not AC_SUBST.
2622         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2623         (libc_cv_cc_sse4): Do not AC_SUBST.
2624         (libc_cv_cc_avx): Likewise.
2625         (libc_cv_cc_sse2avx): Likewise.
2626         (libc_cv_cc_novzeroupper): Likewise.
2627         (libc_cv_cc_fma4): Likewise.
2628         (libc_cv_as_i686): Likewise.
2629         (libc_cv_sparc_as_vis3): Likewise.
2630         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2631         LIBC_CONFIG_VAR.
2632         (config-asflags-i686): Likewise.
2633         (config-cflags-avx): Likewise.
2634         (config-cflags-sse2avx): Likewise.
2635         (have-mfma4): Likewise.
2636         (config-cflags-novzeroupper): Likewise.
2637         * sysdeps/mach/configure.in (MIG): Likewise.
2638         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2639         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2640         LIBC_CONFIG_VAR.
2641         (config-cflags-avx): Likewise.
2642         (config-cflags-sse2avx): Likewise.
2643         (have-mfma4): Likewise.
2644         (config-cflags-novzeroupper): Likewise.
2645         * configure: Regenerated.
2646         * sysdeps/i386/configure: Likewise.
2647         * sysdeps/mach/configure: Likewise.
2648         * sysdeps/sparc/configure: Likewise.
2649         * sysdeps/x86_64/configure: Likewise.
2651 2013-03-20  Roland McGrath  <roland@hack.frob.com>
2653         [BZ #14812]
2654         * locale/programs/localedef.c (options): Put N_ translation marker
2655         on argument names, not just descriptions.
2657 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2659         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2661 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
2663         [BZ #14176]
2664         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2666 2013-03-19  Roland McGrath  <roland@hack.frob.com>
2668         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2669         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2670         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2671         [!BEFORE_ABORT] (before_abort): New function.
2672         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2673         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2674         (writev_for_fatal): New function.
2675         (WRITEV_FOR_FATAL): New macro; call that.
2676         (backtrace_and_maps): New function.
2677         (BEFORE_ABORT): New macro; call that.
2678         (struct str_list): Type removed.
2679         (__libc_message, __libc_fatal): Functions removed.
2680         Include <sysdeps/posix/libc_fatal.c> instead.
2682 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
2684         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2685         constants.
2686         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2687         double constants.
2689 2013-03-19  Andreas Schwab  <schwab@suse.de>
2691         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2692         * sysdeps/gnu/configure: Regenerate.
2694         * configure.in: Substitute libc_cv_rtlddir.
2695         * configure: Regenerate.
2696         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2697         * Makeconfig (rtlddir, inst_rtlddir): New variables.
2698         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2699         * elf/Makefile (install-others, CFLAGS-interp.c)
2700         (ldso_install, common-ldd-rewrite): Likewise.
2701         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2702         $(inst_slibdir)/$(rtld-installed-name).
2703         * scripts/rellns-sh: Add -p option.
2704         * Makerules (make-shlib-link): Use rellns-sh to get relative name
2705         for source.
2707 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2709         * manual/nptl.texi: Renamed to ...
2710         * manual/threads.texi: ... this.
2711         * manual/Makefile (chapters): Update.
2713 2013-03-18  Roland McGrath  <roland@hack.frob.com>
2715         [BZ #14812]
2716         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2717         on argument names, not just descriptions.
2718         * malloc/memusagestat.c (options): Likewise.
2719         * nss/getent.c (options): Likewise.
2721 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
2723         [BZ #14812]
2724         * iconv/iconv_prog.c (options): Put N_ translation marker
2725         on argument names, not just descriptions.
2726         * iconv/iconvconfig.c (options): Likewise.
2728 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
2730         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2731         implementation which is faster on all x86_64 architectures.
2732         Tested on AMD, Intel Nehalem, SNB, IVB.
2733         * sysdeps/x86_64/strnlen.S: Likewise.
2735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2736         Remove all multiarch strlen and strnlen versions.
2737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2738         Remove strlen and strnlen related parts.
2740         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2741         Inline strlen part.
2742         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2744         * sysdeps/x86_64/multiarch/strlen.S: Remove.
2745         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2746         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2747         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2748         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2749         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2751 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
2753         * manual/memory.texi (Malloc Tunable Parameters):
2754         Sort parameters alphabetically. Add comments for missing entries.
2756 2013-03-17  David S. Miller  <davem@davemloft.net>
2758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2760 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
2762         [BZ #15283]
2763         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2764         for arguments at most half maximum finite value.
2765         * math/libm-test.inc (j0_test): Add more tests.
2766         (j1_test): Likewise.
2767         (y0_test): Likewise.
2768         (y1_test): Likewise.
2769         * sysdeps/i386/fpu/libm-test-ulps: Update.
2770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2772         [BZ #14155]
2773         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2774         1 / x and functions P and Q for arguments above 0x1p256L.
2775         (__ieee754_y0l): Likewise.
2776         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2777         (__ieee754_y1l): Likewise.
2778         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2779         (j1_test): Likewise.
2780         (y0_test): Likewise.
2781         (y1_test): Likewise.
2783 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
2785         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2786         variable.
2788 2013-03-15  Roland McGrath  <roland@hack.frob.com>
2790         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2791         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2792         zero since it's initialized to EXEC_PAGESIZE.
2794         * sysdeps/unix/sysv/linux/ldsodefs.h
2795         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2796         * sysdeps/generic/ldsodefs.h: ... here.
2798 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
2800         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2802         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2803         math/test-snan.c.
2804         * math/test-snan.c: Renamed from
2805         sysdeps/powerpc/fpu/test-powerpc-snan.c.
2806         * math/Makefile (tests): Add test-snan.
2807         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2808         test-powerpc-snan.
2810         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2811         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
2812         functions.
2813         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
2814         __builtin_nan family of functions.
2815         * math/libm-test.inc (initialize): Initialize qnan_value with
2816         __builtin_nan family of functions.
2817         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2818         Remove variables.
2819         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2820         Remove functions.
2821         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
2822         storage class.  Initialize qNaN_var and sNaN_var with
2823         __builtin_nan and __builtin_nans families of functions,
2824         respectively.
2826         * math/libm-test.inc (acosh_test): Also test with qNaN input.
2827         (sqrt_test): Remove duplicate test with qNaN input.
2828         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2829         (round_test, signbit_test, significand_test): Note missing +/-Inf
2830         as well as qNaN tests.
2832         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2833         qNaN_var.  Fix a few strings, too.
2834         * math/libm-test.inc (nan_value): Rename to qnan_value.
2835         * math/gen-libm-test.pl (%beautify): Adjust to that.
2836         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2837         * math/test-misc.c (main): Likewise.
2838         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2839         to __qnan_bytes, and __qnan_union, respectively.
2840         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2841         Likewise.
2842         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2843         and lqnanval, respectively.
2844         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2845         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2846         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2847         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2849         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2850         * math/test-misc.c (main) [__x86_64__]: Enable test for long
2851         doubles.
2853         * math/test-misc.c (main): Fix copy'n'pastos.
2854         * misc/tst-efgcvt.c (special): Likewise.
2856         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2857         Remove declarations.
2859 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2861         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2862         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2863         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2864         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2866 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2868         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2869         macro to return vdso values correctly in IFUNC implementations.
2870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2871         Optimization by using IFUNC.
2873 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2874             Richard Henderson  <rth@redhat.com>
2875             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2877         * Makefile.in (bench): New target.
2878         * NEWS: Mention the benchmark framework.
2879         * Rules (bench): Likewise.
2880         (binaries-bench): Generate binaries for functions to
2881         benchmark.
2882         * benchtests/Makefile: New makefile for benchmark tests.
2883         * benchtests/bench-skeleton.c: New skeleton file for benchmark
2884         programs.
2885         * benchtests/exp-inputs: New input file for EXP function.
2886         * benchtests/pow-inputs: New input file for POW function.
2887         * scripts/bench.pl: New script to generate source files for
2888         benchmark programs.
2890 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2892         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2893         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2894         computations on mantissa.  Use macros for rounding and
2895         division.
2896         (denorm): Likewise.
2897         (__dbl_mp): Likewise.
2898         (add_magnitudes): Likewise.
2899         (sub_magnitudes): Likewise.
2900         (__mul): Likewise.
2901         (__sqr): Likewise.
2902         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
2903         powers of two in terms of TWOPOW macro.
2904         (mp_no): Make type of mantissa as MANTISSA_T.
2905         [!RADIXI]: Define RADIXI.
2906         [!TWO52]: Define TWO52.
2907         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2909         * manual/nptl.texi (cindex): Modify threads to pthreads.
2911 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
2913         * sysdeps/x86_64/preconfigure: Regenerated.
2915 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
2917         [BZ #14155]
2918         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2919         0x1p28 and above.
2920         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2921         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2922         0x1p28 and above.
2923         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2924         * math/libm-test.inc (j0_test): Do not allow one spurious
2925         underflow exception.
2926         (y1_test): Likewise.
2928 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2930         * manual/Makefile (chapters): Add nptl.
2931         * manual/debug.texi (Debugging Support): Add link to Threads
2932         chapter.
2933         * manual/nptl.texi: New file.
2935         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2937 2013-03-14  Petr Baudis  <pasky@ucw.cz>
2939         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2940         for non-NULL pointer before the memory validity test. Pointed
2941         out by Holger Brunck <holger.brunck@keymile.com>.
2943 2013-03-13  Andreas Schwab  <schwab@suse.de>
2945         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2946         instead of .os.
2948 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
2950         * timezone/zic.c: Update from tzcode 2013b.
2952 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
2954         * manual/install.texi (Configuring and compiling):
2955         Mention i686 and i586.
2956         * INSTALL: Regenerate.
2958 2013-03-12  Roland McGrath  <roland@hack.frob.com>
2960         * sysdeps/init_array/elf-init.c: New file.
2961         * csu/elf-init.c
2962         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2963         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2965         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2966         __gmon_start__ as global, but as static with a .preinit_array pointer.
2967         * sysdeps/init_array/gmon-start.c: New file.  Use that.
2968         * sysdeps/init_array/crti.S: New file, empty except for comments.
2969         * sysdeps/init_array/crtn.S: Likewise.
2971 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
2973         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2974         definining bcopy.
2975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2976         Remove Prefer_SSE_for_memop.
2977         * sysdeps/x86_64/multiarch/init-arch.h: Remove
2978         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2979         HAS_PREFER_SSE_FOR_MEMOP.
2980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2981         memset-x86-64.
2982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2983         Remove bzero, memset ifunc support.
2984         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2985         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2986         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2987         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2989 2013-03-11  Andreas Schwab  <schwab@suse.de>
2991         [BZ #15234]
2992         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2993         by SHLIB_COMPAT.
2994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2995         (GLIBC_2.16): Remove pthread_atfork.
2997 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2999         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3000         (ptestcases.h): Likewise.
3002 2013-03-08  Roland McGrath  <roland@hack.frob.com>
3004         * Makeconfig ($(common-objpfx)config.status): Depend on
3005         sysdeps/*/preconfigure{,.in} too.
3007 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
3009         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3010         (__free_hook): Use void * instead of __malloc_ptr_t.
3011         (__malloc_hook): Likewise.
3012         (__realloc_hook): Likewise.
3013         (__memalign_hook): Likewise.
3014         (__after_morecore_hook): Likewise.
3015         * malloc/arena.c (save_malloc_hook): Likewise.
3016         (save_free_hook): Likewise.
3017         * malloc/hooks.c (malloc_hook_ini): Likewise.
3018         (realloc_hook_ini): Likewise.
3019         (memalign_hook_ini): Likewise.
3020         * malloc/malloc.c (malloc_hook_ini): Likewise.
3021         (realloc_hook_ini): Likewise.
3022         (memalign_hook_ini): Likewise.
3023         (__free_hook): Likewise.
3024         (__malloc_hook): Likewise.
3025         (__realloc_hook): Likewise.
3026         (__memalign_hook): Likewise.
3027         (__libc_malloc): Likewise.
3028         (__libc_free): Likewise.
3029         (__libc_realloc): Likewise.
3030         (__libc_memalign): Likewise.
3031         (__libc_valloc): Likewise.
3032         (__libc_pvalloc): Likewise.
3033         (__libc_calloc): Likewise.
3034         (__posix_memalign): Likewise.
3035         * malloc/morecore.c (__sbrk): Likewise.
3036         (__default_morecore): Likewise.
3038         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3040         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3041         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3042         __malloc_ptrdiff_t.
3044         * malloc/malloc.h (__malloc_size_t): Remove macro.
3045         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3046         __malloc_size_t.
3047         (old_memalign_hook): Likewise.
3048         (old_realloc_hook): Likewise.
3049         (struct hdr): Likewise.
3050         (flood): Likewise.
3051         (mallochook): Likewise.
3052         (memalignhook): Likewise.
3053         (reallochook): Likewise.
3054         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3055         (tr_old_realloc_hook): Likewise.
3056         (tr_old_memalign_hook): Likewise.
3057         (tr_mallochook): Likewise.
3058         (tr_reallochook): Likewise.
3059         (tr_memalignhook): Likewise.
3061 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3063         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3064         default_ldbl_pack and using as default implementation.
3065         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3066         implementation.
3067         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3068         redundant definition.
3069         (ldbl_insert_mantissa): Likewise.
3070         (ldbl_canonicalize): Likewise.
3071         (ldbl_nearbyint): Likewise.
3072         (ldbl_pack): Rename to ldbl_pack_ppc.
3073         (ldbl_unpack): Rename to ldbl_unpack_ppc.
3074         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3075         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3077 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3080         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3081         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3082         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3084         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3085         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3086         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3088 2013-03-07  Andreas Jaeger  <aj@suse.de>
3090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3091         bits/mman-linux.h.
3093 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3095         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3096         Include mpa.h and declare __MPEXP.
3097         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3098         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3099         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3100         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3101         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3102         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3103         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3105         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3106         (__slowpow): Use long double EXPL and LOGL functions to
3107         compute POW.
3108         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3109         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3110         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3111         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3112         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3113         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3116         intermediate variable to calculate exponent.
3117         (__sqr): Likewise.
3118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3119         Likewise.
3120         (__sqr): Likewise.
3122         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3123         [!NO__SQR]: Define __sqr.
3124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3125         and NO__SQR.  Remove all code except __mul and __sqr.  Include
3126         sysdeps/ieee754/dbl-64/mpa.c.
3127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3129         [BZ #12723]
3130         * posix/Makefile (tests): Add tst-pathconf.
3131         * posix/tst-pathconf.c: New test case.
3132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3133         _PC_PIPE_BUF.
3134         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3136 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
3138         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3140 2013-03-06  Andreas Jaeger  <aj@suse.de>
3142         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3143         definition via __MAP_ANONYMOUS.
3145         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3146         it's not part of Linux headers.
3148         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3149         (MAP_HUGE_MASK): Define.
3151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3152         Define.
3153         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3155         Define.
3156         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3157         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3158         Define.
3159         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3160         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3161         Define.
3162         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3164         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3165         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3166         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3167         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3168         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3169         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3171         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3172         Handle f2fs.
3174         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3175         Handle f2fs and efivarfs.
3177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3178         f2fs.
3180         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3181         (EFIVARFS_MAGIC): Add.
3182         (F2FS_LINK_MAX): Add.
3184 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3186         * stdio-common/vfprintf.c: Replace __builtin_expect with
3187         __glibc_unlikely.
3189 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
3191         [BZ #13550]
3192         * sysdeps/generic/bp-sym.h: Remove file.
3193         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3194         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3195         <bp-sym.h> and <bp-asm.h>.
3196         (__longjmp): Don't use BP_SYM.
3197         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3198         and <bp-asm.h>.
3199         (memcpy): Don't use BP_SYM.
3200         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3201         <bp-sym.h> and <bp-asm.h>.
3202         (memcpy): Don't use BP_SYM.
3203         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3204         <bp-asm.h>.
3205         (memcpy): Don't use BP_SYM.
3206         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3207         <bp-asm.h>.
3208         (memset): Don't use BP_SYM.
3209         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3210         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3211         (__bzero): Don't use BP_SYM.
3212         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3213         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3214         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3215         <bp-sym.h> and <bp-asm.h>.
3216         (memcmp): Don't use BP_SYM.  Remove comment about bounded
3217         pointers.
3218         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3219         <bp-sym.h> and <bp-asm.h>.
3220         (memcpy): Don't use BP_SYM.
3221         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3222         <bp-sym.h> and <bp-asm.h>.
3223         (memset): Don't use BP_SYM.
3224         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3225         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3226         (__bzero): Don't use BP_SYM.
3227         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3228         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3229         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3230         <bp-sym.h> and <bp-asm.h>.
3231         (strncmp): Don't use BP_SYM.  Remove comment about bounded
3232         pointers.
3233         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3234         <bp-sym.h> and <bp-asm.h>.
3235         (memcpy): Don't use BP_SYM.
3236         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3237         <bp-sym.h> and <bp-asm.h>.
3238         (memset): Don't use BP_SYM.
3239         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3240         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3241         (__bzero): Don't use BP_SYM.
3242         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3243         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3244         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3245         <bp-sym.h> and <bp-asm.h>.
3246         (__memchr): Don't use BP_SYM.
3247         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3248         <bp-sym.h> and <bp-asm.h>.
3249         (memcmp): Don't use BP_SYM.  Remove comment about bounded
3250         pointers.
3251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3252         <bp-sym.h> and <bp-asm.h>.
3253         (memcpy): Don't use BP_SYM.
3254         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3255         <bp-sym.h> and <bp-asm.h>.
3256         (__mempcpy): Don't use BP_SYM.
3257         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3258         <bp-sym.h> and <bp-asm.h>.
3259         (__memrchr): Don't use BP_SYM.
3260         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3261         <bp-sym.h> and <bp-asm.h>.
3262         (memset): Don't use BP_SYM.
3263         (__bzero): Likewise.
3264         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3265         <bp-sym.h> and <bp-asm.h>.
3266         (__rawmemchr): Don't use BP_SYM.
3267         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3268         <bp-sym.h> and <bp-asm.h>.
3269         (__STRCMP): Don't use BP_SYM.
3270         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3271         <bp-sym.h> and <bp-asm.h>.
3272         (strchr): Don't use BP_SYM.
3273         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3274         <bp-sym.h> and <bp-asm.h>.
3275         (__strchrnul): Don't use BP_SYM.
3276         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3277         <bp-sym.h> and <bp-asm.h>.
3278         (strlen): Don't use BP_SYM.
3279         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3280         <bp-sym.h> and <bp-asm.h>.
3281         (strncmp): Don't use BP_SYM.  Remove comment about bounded
3282         pointers.
3283         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3284         <bp-sym.h> and <bp-asm.h>.
3285         (__strnlen): Don't use BP_SYM.
3286         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3287         <bp-sym.h> and <bp-asm.h>.
3288         (__GI__setjmp): Don't use BP_SYM.
3289         (_setjmp): Likewise.
3290         (__sigsetjmp): Likewise.
3291         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3292         (L(start_addresses)): Don't use BP_SYM.
3293         (_start): Likewise.
3294         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3295         <bp-asm.h>.
3296         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3297         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3298         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3299         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3300         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3301         <bp-asm.h>.
3302         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3303         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
3304         about bounded pointers.
3305         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3306         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3307         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3308         <bp-asm.h>.
3309         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
3310         about bounded pointers.  Remove GKM FIXME comments.
3311         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3312         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3313         <bp-asm.h>.
3314         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3315         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
3316         Remove GKM FIXME comments.
3317         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3318         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3319         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3320         <bp-asm.h>.
3321         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
3322         about bounded pointers.  Remove GKM FIXME comment.
3323         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3324         and <bp-asm.h>.
3325         (strncmp): Don't use BP_SYM.  Remove comment about bounded
3326         pointers.
3327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3328         <bp-sym.h> and <bp-asm.h>.
3329         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3331         <bp-sym.h> and <bp-asm.h>.
3332         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
3333         comment.
3335 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3337         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3338         call free(NULL).
3340 2013-03-05  David S. Miller  <davem@davemloft.net>
3342         * po/es.po: Update from translation team.
3344 2013-03-05  Andreas Jaeger  <aj@suse.de>
3346         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3347         <bits/mman-linux.h>.
3348         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3349         is fine.
3350         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3351         <bits/mman-linux.h> to end of file.
3352         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3353         is fine.
3354         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3355         <bits/mman-linux.h> to end of file.
3356         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3357         is fine.
3358         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3359         <bits/mman-linux.h> to end of file.
3361         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3362         (MCL_CURRENT, MCL_FUTURE): Define here.
3364 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3366         [BZ #15232]
3367         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3368         attribute_hidden.
3369         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3371 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3373         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3374         fourth parameter needed for rt_sigprocmask syscall.
3375         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3376         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3377         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3378         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3379         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3380         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3382 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
3384         [BZ #13550]
3385         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3386         comment about bounded pointers.
3387         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3388         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3390 2013-03-04  Andreas Jaeger  <aj@suse.de>
3392         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3393         common definitions.
3395         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3396         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3397         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3398         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3399         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3400         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3402 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3404         [BZ #15055]
3405         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3406         __ieee754_sqrl instead of __sqrl.
3408 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
3410         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3411         * sysdeps/powerpc/fpu_control.h: ... here.
3412         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3413         * sysdeps/powerpc/bits/fenvinline.h: ... here.
3414         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3415         * sysdeps/powerpc/bits/mathinline.h: ... here.
3417 2013-03-01  Roland McGrath  <roland@hack.frob.com>
3419         * elf/dl-hwcaps.c (_dl_important_hwcaps):
3420         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3421         to just [NEED_DL_SYSINFO_DSO].
3422         * elf/dl-support.c: Likewise.
3423         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3424         * elf/rtld.c (dl_main): Likewise.
3425         * elf/setup-vdso.h (setup_vdso): Likewise.
3426         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3427         * sysdeps/unix/sysv/linux/dl-sysdep.c
3428         (_dl_discover_osversion): Likewise.
3430 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
3432         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3433         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3435 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3437         * NEWS: Mention libm performance improvements and non-x86 PI
3438         futex support.
3440         * csu/libc-start.c (__pthread_initialize_minimal): Change
3441         function arguments.
3442         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3444 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
3446         [BZ #13550]
3447         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3448         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3449         <bp-sym.h> and <bp-asm.h>.
3450         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3451         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3452         and <bp-asm.h>.
3453         (memcpy): Don't use BP_SYM.
3454         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3455         <bp-asm.h>.
3456         (__mpn_add_n): Don't use BP_SYM.
3457         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3458         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3459         and <bp-asm.h>.
3460         (__mpn_addmul_1): Don't use BP_SYM.
3461         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3462         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3463         <bp-sym.h>.
3464         (_setjmp): Don't use BP_SYM.
3465         (__novmx_setjmp): Likewise.
3466         (__GI__setjmp): Likewise.
3467         (__vmx_setjmp): Likewise.
3468         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3469         <bp-sym.h>.
3470         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3471         (__bzero): Don't use BP_SYM.
3472         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3473         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3474         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3475         <bp-sym.h> and <bp-asm.h>.
3476         (memcpy): Don't use BP_SYM.
3477         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3478         <bp-sym.h> and <bp-asm.h>.
3479         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3480         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3481         <bp-sym.h> and <bp-asm.h>.
3482         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3483         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3484         <bp-asm.h>.
3485         (__mpn_lshift): Don't use BP_SYM.
3486         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3487         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3488         <bp-asm.h>.
3489         (memset): Don't use BP_SYM.
3490         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3491         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3492         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3493         <bp-asm.h>.
3494         (__mpn_mul_1): Don't use BP_SYM.
3495         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3496         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3497         <bp-sym.h> and <bp-asm.h>.
3498         (memcmp): Don't use BP_SYM.
3499         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3500         <bp-sym.h> and <bp-asm.h>.
3501         (memcpy): Don't use BP_SYM.
3502         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3503         <bp-sym.h> and <bp-asm.h>.
3504         (memset): Don't use BP_SYM.
3505         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3506         <bp-sym.h> and <bp-asm.h>.
3507         (strncmp): Don't use BP_SYM.
3508         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3509         <bp-sym.h> and <bp-asm.h>.
3510         (memcpy): Don't use BP_SYM.
3511         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3512         <bp-sym.h> and <bp-asm.h>.
3513         (memset): Don't use BP_SYM.
3514         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3515         <bp-sym.h> and <bp-asm.h>.
3516         (__memchr): Don't use BP_SYM.
3517         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3518         <bp-sym.h> and <bp-asm.h>.
3519         (memcmp): Don't use BP_SYM.
3520         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3521         <bp-sym.h> and <bp-asm.h>.
3522         (memcpy): Don't use BP_SYM.
3523         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3524         <bp-sym.h> and <bp-asm.h>.
3525         (__mempcpy): Don't use BP_SYM.
3526         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3527         <bp-sym.h> and <bp-asm.h>.
3528         (__memrchr): Don't use BP_SYM.
3529         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3530         <bp-sym.h> and <bp-asm.h>.
3531         (memset): Don't use BP_SYM.
3532         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3533         <bp-sym.h> and <bp-asm.h>.
3534         (__rawmemchr): Don't use BP_SYM.
3535         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3536         <bp-sym.h> and <bp-asm.h>.
3537         (__STRCMP): Don't use BP_SYM.
3538         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3539         <bp-sym.h> and <bp-asm.h>.
3540         (strchr): Don't use BP_SYM.
3541         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3542         <bp-sym.h> and <bp-asm.h>.
3543         (__strchrnul): Don't use BP_SYM.
3544         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3545         <bp-sym.h> and <bp-asm.h>.
3546         (strlen): Don't use BP_SYM.
3547         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3548         <bp-sym.h> and <bp-asm.h>.
3549         (strncmp): Don't use BP_SYM.
3550         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3551         <bp-sym.h> and <bp-asm.h>.
3552         (__strnlen): Don't use BP_SYM.
3553         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3554         <bp-asm.h>.
3555         (__mpn_rshift): Don't use BP_SYM.
3556         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3557         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3558         <bp-sym.h> and <bp-asm.h>.
3559         (__sigsetjmp): Don't use BP_SYM.
3560         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3561         (L(start_addresses)): Don't use BP_SYM.
3562         (_start): Likewise.
3563         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3564         <bp-asm.h>.
3565         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3566         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3567         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3568         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3569         <bp-asm.h>.
3570         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3571         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3572         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3573         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3574         <bp-asm.h>.
3575         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
3576         comments.
3577         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3578         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3579         <bp-asm.h>.
3580         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
3581         FIXME comments.
3582         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3583         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3584         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3585         <bp-asm.h>.
3586         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
3587         comment.
3588         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3589         and <bp-asm.h>.
3590         (strncmp): Don't use BP_SYM,
3591         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3592         <bp-asm.h>.
3593         (__mpn_sub_n): Don't use BP_SYM.
3594         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3595         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3596         and <bp-asm.h>.
3597         (__mpn_submul_1): Don't use BP_SYM.
3598         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3600         <bp-sym.h> and <bp-asm.h>.
3601         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3603         <bp-sym.h> and <bp-asm.h>.
3604         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
3605         comment.
3607 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3609         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3610         Use ZK to minimize writes to Z.
3611         (sub_magnitudes): Simplify code a bit.
3612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3613         Use ZK to minimize writes to Z.
3614         (sub_magnitudes): Simplify code a bit.
3616 2013-02-27  Roland McGrath  <roland@hack.frob.com>
3618         * csu/gmon-start.c: Add special exception to license text.
3620 2013-02-27  Richard Henderson  <rth@redhat.com>
3622         * scripts/config.guess: Update from config.git.
3623         * scripts/config.sub: Likewise.
3625 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3627         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3629         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3631         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3633         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3635         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3637 2013-02-26  Roland McGrath  <roland@hack.frob.com>
3639         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3640         [$(build-shared = yes].
3642 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3644         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3645         (__mul): Reduce iterations for calculating mantissa.
3647         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3648         MPTWO.
3649         (__mpranred): Likewise.
3651         [BZ #15160]
3652         * malloc/memusagestat.c (main): Draw graphs for heap and stack
3653         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3655 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
3657         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3658         Define __attribute__.
3660 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3662         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3663         unused.
3664         * posix/regex_internal.h (__attribute): Remove.
3665         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3666         (re_string_context_at): Likewise.
3667         (bitset_not): Use __attribute__ and mark function as possibly
3668         unused.
3669         (bitset_merge): Likewise.
3670         (bitset_mask): Likewise.
3671         (re_string_char_size_at): Likewise.
3672         (re_string_wchar_at): Likewise.
3673         (re_string_elem_size_at): Likewise.
3675 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3677         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3678         code.
3679         (cc32): Likewise.
3681         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3682         (__acr): Likewise.
3683         (__cpy): Likewise.
3684         (norm): Likewise.
3685         (denorm): Likewise.
3686         (__dbl_mp): Likewise.
3687         (add_magnitudes): Likewise.
3688         (sub_magnitudes): Likewise.
3689         (__mul): Likewise.
3690         (__inv): Likewise.
3692         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3693         style.
3695         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3696         style.
3698         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3699         code.
3701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3702         up changes with default code.
3703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3704         Likewise.
3706 2013-02-24  Allan McRae  <allan@archlinux.org>
3708         * manual/socket.texi (The Internet Namespace): Order menu items
3709         to match that in the file.
3711         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3712         node listing of the info page menu.
3714 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
3716         [BZ #13550]
3717         * sysdeps/i386/bp-asm.h: Remove file.
3718         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3719         (PARMS): Do not use macros from bp-asm.h.
3720         (S1): Likewise.
3721         (S2): Likewise.
3722         (SIZE): Likewise.
3723         (__mpn_add_n): Do not use BP_SYM
3724         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3725         "bp-asm.h".
3726         (PARMS): Do not use macros from bp-asm.h.
3727         (S1): Likewise.
3728         (SIZE): Likewise.
3729         (__mpn_addmul_1): Do not use BP_SYM
3730         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3731         "bp-asm.h".
3732         (PARMS): Do not use macros from bp-asm.h.
3733         (SIGMSK): Likewise.
3734         (_setjmp): Likewise.  Do not use BP_SYM.
3735         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3736         "bp-asm.h".
3737         (PARMS): Do not use macros from bp-asm.h.
3738         (SIGMSK): Likewise.
3739         (setjmp): Likewise.  Do not use BP_SYM.
3740         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3741         "bp-asm.h".
3742         (PARMS): Do not use macros from bp-asm.h.
3743         (__frexp): Do not use BP_SYM.
3744         (frexp): Likewise.
3745         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3746         "bp-asm.h".
3747         (PARMS): Do not use macros from bp-asm.h.
3748         (__frexpf): Do not use BP_SYM.
3749         (frexpf): Likewise.
3750         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3751         "bp-asm.h".
3752         (PARMS): Do not use macros from bp-asm.h.
3753         (__frexpl): Do not use BP_SYM.
3754         (frexpl): Likewise.
3755         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3756         "bp-asm.h".
3757         (PARMS): Do not use macros from bp-asm.h.
3758         (__remquo): Do not use BP_SYM.
3759         (remquo): Likewise.
3760         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3761         "bp-asm.h".
3762         (PARMS): Do not use macros from bp-asm.h.
3763         (__remquof): Do not use BP_SYM.
3764         (remquof): Likewise.
3765         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3766         "bp-asm.h".
3767         (PARMS): Do not use macros from bp-asm.h.
3768         (__remquol): Do not use BP_SYM.
3769         (remquol): Likewise.
3770         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3771         "bp-asm.h".
3772         (PARMS): Do not use macros from bp-asm.h.
3773         (DEST): Likewise.
3774         (SRC): Likewise.
3775         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
3776         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3777         "bp-asm.h".
3778         (PARMS): Do not use macros from bp-asm.h.
3779         (strlen): Do not use BP_SYM.
3780         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3781         "bp-asm.h".
3782         (PARMS): Do not use macros from bp-asm.h.
3783         (S1): Likewise.
3784         (S2): Likewise.
3785         (SIZE): Likewise.
3786         (__mpn_add_n): Do not use BP_SYM.
3787         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3788         "bp-asm.h".
3789         (PARMS): Do not use macros from bp-asm.h.
3790         (S1): Likewise.
3791         (SIZE): Likewise.
3792         (__mpn_addmul_1): Do not use BP_SYM.
3793         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3794         weak_alias.
3795         (bzero): Likewise.
3796         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3797         "bp-asm.h".
3798         (PARMS): Do not use macros from bp-asm.h.
3799         (S): Likewise.
3800         (SIZE): Likewise.
3801         (__mpn_lshift): Do not use BP_SYM.
3802         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3803         "bp-asm.h".
3804         (PARMS): Do not use macros from bp-asm.h.
3805         (DEST): Likewise.
3806         (SRC): Likewise.
3807         (LEN): Likewise.
3808         (memcpy): Likewise.  Do not use BP_SYM.
3809         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3810         libc_hidden_def and weak_alias.
3811         (mempcpy): Do not use BP_SYM in weak_alias.
3812         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3813         "bp-asm.h".
3814         (PARMS): Do not use macros from bp-asm.h.
3815         (DEST): Likewise.
3816         (LEN): Likewise.
3817         [!BZERO_P] (CHR): Likewise.
3818         (memset): Likewise.  Do not use BP_SYM.
3819         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3820         "bp-asm.h".
3821         (PARMS): Do not use macros from bp-asm.h.
3822         (S1): Likewise.
3823         (SIZE): Likewise.
3824         (__mpn_mul_1): Do not use BP_SYM.
3825         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3826         "bp-asm.h".
3827         (PARMS): Do not use macros from bp-asm.h.
3828         (S): Likewise.
3829         (SIZE): Likewise.
3830         (__mpn_rshift): Do not use BP_SYM.
3831         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3832         "bp-asm.h".
3833         (PARMS): Do not use macros from bp-asm.h.
3834         (STR): Likewise.
3835         (CHR): Likewise.
3836         (strchr): Likewise.  Do not use BP_SYM.
3837         (index): Do not use BP_SYM in weak_alias.
3838         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3839         "bp-asm.h".
3840         (PARMS): Do not use macros from bp-asm.h.
3841         (DEST): Likewise.
3842         (SRC): Likewise.
3843         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
3844         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3845         "bp-asm.h".
3846         (PARMS): Do not use macros from bp-asm.h.
3847         (strlen): Do not use BP_SYM.
3848         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3849         "bp-asm.h".
3850         (PARMS): Do not use macros from bp-asm.h.
3851         (S1): Likewise.
3852         (S2): Likewise.
3853         (SIZE): Likewise.
3854         (__mpn_sub_n): Do not use BP_SYM.
3855         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3856         "bp-asm.h".
3857         (PARMS): Do not use macros from bp-asm.h.
3858         (S1): Likewise.
3859         (SIZE): Likewise.
3860         (__mpn_submul_1): Do not use BP_SYM.
3861         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3862         "bp-asm.h".
3863         (PARMS): Do not use macros from bp-asm.h.
3864         (S1): Likewise.
3865         (S2): Likewise.
3866         (SIZE): Likewise.
3867         (__mpn_add_n): Do not use BP_SYM.
3868         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3869         weak_alias.
3870         (bzero): Likewise.
3871         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3872         "bp-asm.h".
3873         (PARMS): Do not use macros from bp-asm.h.
3874         (BLK2): Likewise.
3875         (LEN): Likewise.
3876         (memcmp): Do not use BP_SYM.
3877         (bcmp): Do not use BP_SYM in weak_alias.
3878         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3879         "bp-asm.h".
3880         (PARMS): Do not use macros from bp-asm.h.
3881         (DEST): Likewise.
3882         (SRC): Likewise.
3883         (LEN): Likewise.
3884         (memcpy): Likewise.  Do not use BP_SYM.
3885         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3886         "bp-asm.h".
3887         (PARMS): Do not use macros from bp-asm.h.
3888         (DEST): Likewise.
3889         (SRC): Likewise.
3890         (LEN): Likewise.
3891         (memmove): Likewise.  Do not use BP_SYM.
3892         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3893         "bp-asm.h".
3894         (PARMS): Do not use macros from bp-asm.h.
3895         (DEST): Likewise.
3896         (SRC): Likewise.
3897         (LEN): Likewise.
3898         (__mempcpy): Likewise.  Do not use BP_SYM.
3899         (mempcpy): Do not use BP_SYM in weak_alias.
3900         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3901         "bp-asm.h".
3902         (PARMS): Do not use macros from bp-asm.h.
3903         (DEST): Likewise.
3904         (LEN): Likewise.
3905         [!BZERO_P] (CHR): Likewise.
3906         (memset): Likewise.  Do not use BP_SYM.
3907         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3908         "bp-asm.h".
3909         (PARMS): Do not use macros from bp-asm.h.
3910         (STR2): Likewise.
3911         (strcmp): Do not use BP_SYM.
3912         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3913         "bp-asm.h".
3914         (PARMS): Do not use macros from bp-asm.h.
3915         (STR): Likewise.
3916         (DELIM): Likewise.
3917         [USE_AS_STRTOK_R] (SAVE): Likewise.
3918         (FUNCTION): Likewise.  Do not use BP_SYM.
3919         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3920         aliases.
3921         (strtok_r): Likewise.
3922         (__GI___strtok_r): Likewise.
3923         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3924         (PARMS): Do not use macros from bp-asm.h.
3925         (S): Likewise.
3926         (SIZE): Likewise.
3927         (__mpn_lshift): Do not use BP_SYM.
3928         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3929         (PARMS): Do not use macros from bp-asm.h.
3930         (STR): Likewise.
3931         (CHR): Likewise.
3932         (__memchr): Do not use BP_SYM.
3933         (memchr): Do not use BP_SYM in weak_alias.
3934         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3935         (PARMS): Do not use macros from bp-asm.h.
3936         (BLK2): Likewise.
3937         (LEN): Likewise.
3938         (memcmp): Do not use BP_SYM.
3939         (bcmp): Do not use BP_SYM in weak_alias.
3940         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3941         (PARMS): Do not use macros from bp-asm.h.
3942         (S1): Likewise.
3943         (SIZE): Likewise.
3944         (__mpn_mul_1): Do not use BP_SYM.
3945         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3946         "bp-asm.h".
3947         (PARMS): Do not use macros from bp-asm.h.
3948         (STR): Likewise.
3949         (CHR): Likewise.
3950         (__rawmemchr): Do not use BP_SYM.
3951         (rawmemchr): Do not use BP_SYM in weak_alias.
3952         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3953         (PARMS): Do not use macros from bp-asm.h.
3954         (S): Likewise.
3955         (SIZE): Likewise.
3956         (__mpn_rshift): Do not use BP_SYM.
3957         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3958         (PARMS): Do not use macros from bp-asm.h.
3959         (SIGMSK): Likewise.
3960         (__sigsetjmp): Likewise.  Do not use BP_SYM.
3961         * sysdeps/i386/start.S: Do not include "bp-sym.h".
3962         (_start): Do not use BP_SYM.
3963         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3964         (PARMS): Do not use macros from bp-asm.h.
3965         (DEST): Likewise.
3966         (SRC): Likewise.
3967         (__stpcpy): Likewise.  Do not use BP_SYM.
3968         (stpcpy): Do not use BP_SYM in weak_alias.
3969         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3970         "bp-asm.h".
3971         (PARMS): Do not use macros from bp-asm.h.
3972         (DEST): Likewise.
3973         (SRC): Likewise.
3974         (LEN): Likewise.
3975         (__stpncpy): Likewise.  Do not use BP_SYM.
3976         (stpncpy): Do not use BP_SYM in weak_alias.
3977         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3978         (PARMS): Do not use macros from bp-asm.h.
3979         (STR): Likewise.
3980         (CHR): Likewise.
3981         (strchr): Likewise.  Do not use BP_SYM.
3982         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3983         "bp-asm.h".
3984         (PARMS): Do not use macros from bp-asm.h.
3985         (STR): Likewise.
3986         (CHR): Likewise.
3987         (__strchrnul): Likewise.  Do not use BP_SYM.
3988         (strchrnul): Do not use BP_SYM in weak_alias.
3989         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3990         "bp-asm.h".
3991         (PARMS): Do not use macros from bp-asm.h.
3992         (STOP): Likewise.
3993         (strcspn): Do not use BP_SYM.
3994         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3995         "bp-asm.h".
3996         (PARMS): Do not use macros from bp-asm.h.
3997         (STR): Likewise.
3998         (STOP): Likewise.
3999         (strpbrk): Likewise.  Do not use BP_SYM.
4000         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4001         "bp-asm.h".
4002         (PARMS): Do not use macros from bp-asm.h.
4003         (STR): Likewise.
4004         (CHR): Likewise.
4005         (strrchr): Likewise.  Do not use BP_SYM.
4006         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4007         (PARMS): Do not use macros from bp-asm.h.
4008         (SKIP): Likewise.
4009         (strspn): Do not use BP_SYM.
4010         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4011         (PARMS): Do not use macros from bp-asm.h.
4012         (STR): Likewise.
4013         (DELIM): Likewise.
4014         (SAVE): Likewise.
4015         (FUNCTION): Likewise.  Do not use BP_SYM.
4016         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4017         aliases.
4018         (strtok_r): Likewise.
4019         (__GI___strtok_r): Likewise.
4020         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4021         (PARMS): Do not use macros from bp-asm.h.
4022         (S1): Likewise.
4023         (S2): Likewise.
4024         (SIZE): Likewise.
4025         (__mpn_sub_n): Do not use BP_SYM.
4026         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4027         "bp-asm.h".
4028         (PARMS): Do not use macros from bp-asm.h.
4029         (S1): Likewise.
4030         (SIZE): Likewise.
4031         (__mpn_submul_1): Do not use BP_SYM.
4032         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4033         <bp-sym.h>.
4034         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4035         and <bp-asm.h>.
4036         (PARMS): Do not use macros from bp-asm.h.
4037         (FLAGS): Likewise.
4038         (PTID): Likewise.
4039         (TLS): Likewise.
4040         (CTID): Likewise.
4041         (__clone): Do not use BP_SYM.
4042         (clone): Do not use BP_SYM in weak_alias.
4043         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4044         and <bp-asm.h>.
4045         (PARMS): Do not use macros from bp-asm.h.
4046         (LEN): Likewise.
4047         (__mmap64): Do not use BP_SYM.
4048         (mmap64): Do not use BP_SYM in weak_alias.
4049         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4050         <bp-sym.h> and <bp-asm.h>.
4051         (PARMS): Do not use macros from bp-asm.h.
4052         (__posix_fadvise64_l64): Do not use BP_SYM.
4053         * sysdeps/unix/sysv/linux/i386/semtimedop.S
4054         (PARMS): Do not use macros from bp-asm.h.
4055         (NSOPS): Likewise.
4056         (semtimedop): Do not use BP_SYM.
4057         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4058         and <bp-asm.h>.
4060 2013-02-21  Allan McRae  <allan@archlinux.org>
4062         * manual/message.texi (Charset conversion in gettext):
4063         Move @end statement to beginning of line.
4065 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4068         static.
4069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4070         Likewise.
4072         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4073         (denorm): Likewise.
4074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4077 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4079         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4080         tail-call to the resolved function if pltexit isn't needed.
4082 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4085         or Y being zero as being unlikely.
4086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4087         Likewise.
4089 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
4091         * manual/nss.texi (System Databases and Name Service Switch):
4092         Remove frobnicate @pxref.
4094 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
4096         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4097         __attribute__ ((unused)) to __attribute__ ((__unused__)).
4099 2013-02-20  Petr Machata  <pmachata@redhat.com>
4101         * elf/elf.h (R_ARM_TARGET1): New macro.
4102         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4103         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4104         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4105         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4106         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4107         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4108         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4109         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4110         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4111         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4112         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4113         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4114         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4115         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4116         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4117         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4118         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4119         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4120         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4121         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4122         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4123         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4124         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4125         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4126         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4127         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4128         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4129         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4130         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4131         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4132         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4133         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4134         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4135         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4136         (R_ARM_THM_GOT_BREL12): Likewise.
4137         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4138         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4139         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4140         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4141         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4142         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4143         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4144         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4145         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4147 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
4149         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4150         __attribute_used__ to __attribute__ ((unused)).
4152 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4154         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4155         powerpc mpa.c.
4156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4157         comment formatting.
4158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4160 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
4162         [BZ #13550]
4163         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4164         Remove macro.
4165         (ENTER): Remove both macro definitions.
4166         (LEAVE): Likewise.
4167         (CHECK_BOUNDS_LOW): Likewise.
4168         (CHECK_BOUNDS_HIGH): Likewise.
4169         (CHECK_BOUNDS_BOTH): Likewise.
4170         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4171         (RETURN_BOUNDED_POINTER): Likewise.
4172         (RETURN_NULL_BOUNDED_POINTER): Likewise.
4173         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4174         (POP_ERRNO_LOCATION_RETURN): Likewise.
4175         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4176         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4177         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4178         macros.
4179         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4180         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4181         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4182         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4183         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4184         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4185         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4186         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4187         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4188         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4189         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4190         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4191         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4192         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4193         removed macros.
4194         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4195         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4196         macros.
4197         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4198         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4199         * sysdeps/i386/i586/memset.S (memset): Likewise.
4200         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4201         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4202         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4203         macros.
4204         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4205         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4206         Change uses of L(2) to L(out).
4207         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4208         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4209         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4210         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4211         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4212         removed macros.
4213         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4214         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4215         macros.
4216         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4217         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4218         (RETURN): Do not use macro LEAVE.
4219         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4220         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4221         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4222         * sysdeps/i386/i686/memset.S (memset): Likewise.
4223         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4224         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4225         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4226         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4227         Likewise.
4228         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4229         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
4230         L(1_2) and L(1_3) into L(1).
4231         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4232         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4233         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4234         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4235         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4236         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4237         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4238         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4239         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4240         macros.
4241         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4242         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4243         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4244         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4245         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4246         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4247         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4248         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4249         * sysdeps/i386/strcspn.S (strcspn): Likewise.
4250         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4251         * sysdeps/i386/strrchr.S (strrchr): Likewise.
4252         * sysdeps/i386/strspn.S (strspn): Likewise.
4253         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4254         conditional code.
4255         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4256         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4257         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4258         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
4259         L(1_3) into L(1_1).
4260         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4261         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4262         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4263         macros.
4264         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4266 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
4268         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4269         macro.
4271 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4273         * math/atest-exp.c (exp_mpn): Remove ROUND.
4274         * math/atest-exp2.c (exp_mpn): Likewise.
4275         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4277         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4278         * stdlib/tst-tls-atexit-lib.c: Likewise.
4279         * stdlib/tst-tls-atexit.c: Likewise.
4281 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
4283         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4284         and __attribute_alloc_size__.
4286 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
4288         * include/programs/xmalloc.h: Change __attribute_alloc_size to
4289         __attribute_alloc_size__.
4290         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4291         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4293 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
4295         * include/programs/xmalloc.h: New file.
4296         * catgets/gencat.c: Include it.
4297         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4298         * elf/pldd.c: Likewise.
4299         * iconv/iconv_charmap.c: Likewise.
4300         * iconv/iconvconfig.c: Likewise.
4301         * iconv/strtab.c: Likewise.
4302         * locale/programs/locale.c: Likewise.
4303         * locale/programs/localedef.h: Likewise.
4304         * locale/programs/simple-hash.c: Likewise.
4305         * nscd/nscd.h: Likewise.
4306         * nss/makedb.c: Likewise.
4307         * sysdeps/generic/ldconfig.h: Likewise.
4309 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4311         * Versions.def: Add GLIBC_2.18.
4312         * include/link.h (struct link_map): New member l_tls_dtor_count.
4313         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4314         (__call_tls_dtors): Likewise.
4315         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4316         __cxa_thread_atexit_impl.
4317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4318         Likewise.
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4320         Likewise.
4321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4322         Likewise.
4323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4324         Likewise.
4325         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4327         Likewise.
4328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4329         Likewise.
4330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4332         Likewise.
4333         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4334         (tests): Add test case tst-tls-atexit.
4335         (modules-names): Add shared library for tst-tls-atexit.
4336         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4337         (GLIBC_PRIVATE): Add __call_tls_dtors.
4338         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4339         for libstdc++.
4340         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4341         * stdlib/tst-tls-atexit.c: New test case.
4342         * stdlib/tst-tls-atexit-lib.c: New test case.
4344         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4346         * elf/Versions (ld): Add _dl_find_dso_for_object.
4347         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4348         * elf/dl-open.c (_dl_find_dso_for_object): New function.
4349         (dl_open_worker): Use _dl_find_dso_for_object.
4350         * elf/dl-sym.c (do_sym): Likewise.
4351         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4353 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4355         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4356         Syntactic changes only.
4357         (_dl_runtime_profile): Do a tail-call to the resolved function.
4359 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
4361         [BZ #13550]
4362         * sysdeps/x86_64/bp-asm.h: Remove file.
4363         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4364         <bp-sym.h> and <bp-asm.h>.
4365         (__clone): Do not use BP_SYM.
4366         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4367         <bp-sym.h> and <bp-asm.h>.
4368         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4369         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4370         "bp-asm.h".
4371         (_setjmp): Do not use BP_SYM.
4372         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4373         "bp-asm.h".
4374         (setjmp): Do not use BP_SYM.
4375         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4376         libc_hidden_def.
4377         (mempcpy): Do not use BP_SYM in weak_alias.
4378         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4379         "bp-asm.h".
4380         (strchr): Do not use BP_SYM.
4381         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4382         "bp-asm.h".
4383         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4384         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4385         (_start): Do not use BP_SYM.
4386         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4387         "bp-asm.h".
4388         (strcat): Do not use BP_SYM.
4389         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4390         "bp-asm.h".
4391         (STRCMP): Do not use BP_SYM.
4392         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4393         "bp-asm.h".
4394         (STRCPY): Do not use BP_SYM.
4395         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4396         "bp-asm.h".
4397         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4398         "bp-asm.h".
4399         (FUNCTION): Do not use BP_SYM.
4400         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4401         weak_alias.
4402         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4404 2013-02-17  Andreas Jaeger  <aj@suse.de>
4406         * time/Versions: Sort entries.
4407         * string/Versions: Likewise.
4408         * resolv/Versions: Likewise.
4409         * posix/Versions: Likewise.
4410         * iconv/Versions: Likewise.
4411         * elf/Versions: Likewise.
4412         * wcsmbs/Versions: Likewise.
4414 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4416         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4417         loop termination condition.
4419         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4420         variable to calculate EZ.
4421         (__sqr): Likewise.
4423         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4424         the lower precision input.
4426 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
4428         [BZ #13550]
4429         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4430         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4431         (run-via-rtld-prefix): Do not handle %-bp tests.
4432         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4433         (all-object-suffixes): Remove .ob.
4434         (bppfx): Remove variable.
4435         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4436         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4437         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4438         [$(build-bounded) = yes] (libtype.ob): Likewise.
4439         * Makerules (elide-routines.ob): Remove variable.
4440         (do-tests-clean): Do not handle *-bp.out.
4441         (common-mostlyclean): Do not handle *-bp and *-bp.out.
4442         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4443         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4444         (tests): Do not include $(tests-bp.out).
4445         (xtests): Do not include $(xtests-bp.out).
4446         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4447         [$(build-bounded) = yes] ($(addprefix
4448         $(objpfx),$(binaries-bounded))): Remove rule.
4449         ($(objpfx)%-bp.out): Remove rule.
4450         * config.make.in (build-bounded): Remove variable.
4451         * crypt/Makefile [$(build-bounded) = yes]
4452         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4453         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4454         append to variable.
4455         [$(build-bounded) = yes] (install-lib): Likewise.
4456         [$(build-bounded) = yes] (generated): Likewise.
4457         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4458         Remove rule.
4459         * intl/Makefile [$(build-bounded) = yes]
4460         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4461         * math/Makefile [$(build-bounded) = yes]
4462         ($(tests:%=$(objpfx)%-bp): Likewise.
4463         * misc/Makefile [$(build-bounded) = yes]
4464         ($(objpfx)tst-tsearch-bp): Likewise.
4465         * nptl/Makeconfig (bounded-thread-library): Remove variable.
4466         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4467         Remove dependency.
4468         * string/Makefile (o-objects.ob): Remove variable.
4469         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4470         (CFLAGS-.ob): Remove variable.
4471         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4472         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4473         both definitions of variable.
4474         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4475         (ASFLAGS-.ob): Remove variable.
4477 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
4479         [BZ #13550]
4480         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4481         Remove __BOUNDED_POINTERS__ from condition.
4482         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4483         * string/bits/string2.h [!__NO_STRING_INLINES &&
4484         !__BOUNDED_POINTERS__]: Likewise.
4485         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4486         Likewise.
4487         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4488         Remove conditional code.
4489         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4490         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4491         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4492         condition.
4494         [BZ #13550]
4495         * csu/libc-start.c: Do not include <bp-sym.h>.
4496         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4497         * elf/dl-open.c: Do not include <bp-sym.h>.
4498         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4499         * math/fegetenv.c: Do not include <bp-sym.h>.
4500         (fegetenv): Do not use BP_SYM in versioned symbols.
4501         * nptl/sysdeps/pthread/bits/libc-lockP.h
4502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4503         <bp-sym.h>.
4504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4505         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4507         (__pthread_mutex_destroy): Likewise.
4508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4509         (__pthread_mutex_lock): Likewise.
4510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4511         (__pthread_mutex_trylock): Likewise.
4512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4513         (__pthread_mutex_unlock): Likewise.
4514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4515         (__pthread_mutexattr_init): Likewise.
4516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4517         (__pthread_mutexattr_destroy): Likewise.
4518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4519         (__pthread_mutexattr_settype): Likewise.
4520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4521         (__pthread_rwlock_init): Likewise.
4522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4523         (__pthread_rwlock_destroy): Likewise.
4524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4525         (__pthread_rwlock_rdlock): Likewise.
4526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4527         (__pthread_rwlock_tryrdlock): Likewise.
4528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4529         (__pthread_rwlock_wrlock): Likewise.
4530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4531         (__pthread_rwlock_trywrlock): Likewise.
4532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4533         (__pthread_rwlock_unlock): Likewise.
4534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4535         (__pthread_key_create): Likewise.
4536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4537         (__pthread_setspecific): Likewise.
4538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4539         (__pthread_getspecific): Likewise.
4540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4541         Likewise.
4542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4543         (_pthread_cleanup_push_defer): Likewise.
4544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4545         (_pthread_cleanup_pop_restore): Likewise.
4546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4547         (pthread_setcancelstate): Likewise.
4548         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4549         <bp-sym.h>.
4550         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4551         (memchr): Do not use BP_SYM in weak_alias.
4552         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4553         (fegetenv): Do not use BP_SYM in versioned symbols.
4554         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4555         (fesetenv): Do not use BP_SYM in versioned symbols.
4556         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4557         (feupdateenv): Do not use BP_SYM in versioned symbols.
4558         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4559         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4560         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4561         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4562         (open64): Do not use BP_SYM in weak_alias.
4563         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4564         (fegetenv): Do not use BP_SYM in versioned symbols.
4565         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4566         (fesetenv): Do not use BP_SYM in versioned symbols.
4567         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4568         (feupdateenv): Do not use BP_SYM in versioned symbols.
4569         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4570         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4571         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4572         (feraiseexcept): Do not use BP_SYM in versioned symbols.
4573         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4574         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4575         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4576         <bp-sym.h>.
4577         (__libc_start_main): Do not use BP_SYM.
4579 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4582         redundant return line.
4583         (norm): Likewise.
4584         (denorm): Likewise.
4585         (dbl_mp): Likewise.
4586         (sub_magnitudes): Likewise.
4587         (__add): Likewise.
4588         (__sub): Likewise.
4589         (__mul): Likewise.
4590         (__inv): Likewise.
4591         (__dvd): Likewise.
4592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4593         (norm): Likewise.
4594         (denorm): Likewise.
4595         (dbl_mp): Likewise.
4596         (sub_magnitudes): Likewise.
4597         (__add): Likewise.
4598         (__sub): Likewise.
4599         (__mul): Likewise.
4600         (__inv): Likewise.
4601         (__dvd): Likewise.
4603         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4604         instead of __mul.
4605         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4606         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4607         (cc32): Likewise.
4609         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4610         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4611         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4612         of __mul for squares.
4613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4614         function
4615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4616         Likewise.
4617         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4618         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4620 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
4622         [BZ #13550]
4623         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4624         code.
4625         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4626         prototype or function definition.  Rename ubp_* variables and
4627         parameters.  Remove argv definitions conditional on
4628         [__BOUNDED_POINTERS__].
4629         * debug/backtrace.c (__backtrace): Do not use __unbounded.
4630         * elf/dl-runtime.c (_dl_fixup): Likewise.
4631         * include/set-hooks.h (RUN_HOOK): Likewise.
4632         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4633         definition.
4634         * string/strcpy.c (strcpy): Do not use __unbounded.
4635         * sysdeps/generic/frame.h (struct layout): Likewise.
4636         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4637         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4638         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4639         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4640         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4641         (__backtrace): Likewise.
4642         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4643         use __ptrvalue.
4644         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4645         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4646         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4647         Likewise.
4648         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4649         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4650         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4651         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4652         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4653         Do not use __unbounded.
4654         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4655         Rename __unboundedrlimits parameter to rlimits in prototype.
4656         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4657         Do not use __unbounded.
4658         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4659         not use __ptrvalue.
4660         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4661         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4662         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4663         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4664         __ptrvalue or __unbounded.
4665         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4666         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4667         use __unbounded.
4668         (__new_msgctl): Do not use __ptrvalue.
4669         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4670         __unbounded.
4671         (__libc_msgrcv): Do not use __ptrvalue.
4672         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4673         startup_info): Do not use __unbounded.
4674         (__libc_start_main): Likewise.  Rename ubp_* variables and
4675         parameters.  Remove argv definitions conditional on
4676         [__BOUNDED_POINTERS__].
4677         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4678         __ptrvalue.
4679         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4680         use __unbounded.
4681         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4682         or __ptrvalue.
4683         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4684         use __unbounded.
4685         (__new_shmctl): Do not use __ptrvalue.
4686         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4687         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4688         Likewise.
4689         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4690         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4691         (__libc_sigaction): Likewise.
4692         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4693         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4694         Likewise.
4695         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4697 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
4699         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4701         * string/mempcpy.c: Implement by calling memcpy.
4703 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4708         evaluation.
4710         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4711         values in the mantissa.
4713         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4714         minimize writes to Z.
4715         (sub_magnitudes): Simplify code a bit.
4717 2013-02-12  Roland McGrath  <roland@hack.frob.com>
4719         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4720         from the message.  The linker prefixes all warnings with that already.
4722 2013-02-12  Andreas Schwab  <schwab@suse.de>
4724         [BZ #15078]
4725         * posix/regexec.c (extend_buffers): Add parameter min_len.
4726         (check_matching): Pass minimum needed length.
4727         (clean_state_log_if_needed): Likewise.
4728         (get_subexp): Likewise.
4729         * posix/Makefile (tests): Add bug-regex34.
4730         (bug-regex34-ENV): Define.
4731         * posix/bug-regex34.c: New file.
4733         [BZ #11561]
4734         * posix/regcomp.c (parse_bracket_exp): When looking up collating
4735         elements compare against the byte sequence of it, not its name.
4736         * posix/Makefile (tests): Add bug-regex35.
4737         (bug-regex35-ENV): Define.
4738         * posix/bug-regex35.c: New file.
4740 2013-02-11  Tom de Vries  <tom@codesourcery.com>
4742         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
4743         comment.
4744         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4745         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4746         (CHECK_EOL): Add undef.
4748 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
4750         * bits/stdlib-bsearch.h: New file.
4751         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4752         * stdlib/stdlib.h: Likewise.
4754 2013-02-11  Roland McGrath  <roland@hack.frob.com>
4756         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4757         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4758         declaration.
4759         * manual/search.texi (Array Search Function): Add missing const in
4760         lfind prototype.
4761         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4762         declaration to use rlim_t.
4763         (Basic Scheduling Functions): Remove erroneous const from
4764         sched_getparam prototype.  Remove erroneous * from
4765         sched_get_priority_max and sched_get_priority_min prototypes.
4766         (Resource Usage): Fix summary @comment on vtimes to refer to
4767         sys/vtimes.h rather than vtimes.h.
4768         Add missing *s in vtimes prototype.
4769         (Limits on Resources): Fix ulimit prototype to return long int.
4770         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4771         prototypes to use long int rather than double.
4772         (BSD Random): Fix initstate and setstate to use char *, not void *.
4773         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4774         prototype to make second argument 'struct aiocb64 *const[]'.
4775         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4776         (Status of AIO Operations): Remove erroneous const in aio_return and
4777         aio_return64 prototypes.
4778         (Synchronizing I/O): Fix sync prototype to return void.
4779         * manual/startup.texi (Suboptions): Remove an erroneous const in
4780         getsubopt prototype.
4781         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4782         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4783         use size_t rather than int.
4784         (Scanning All Users): Likewise for getpwent_r.
4785         (Setting Groups): Add missing const to setgroups prototype.
4786         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4787         * manual/socket.texi (Host Names): Fix gethostbyaddr and
4788         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4789         'const void *' rather than 'const char *'.
4790         (Host Address Functions): Likewise for inet_ntop.
4791         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4792         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4793         ssize_t for return value.
4794         (Sending Data): Likewise for send, sendto, sendmsg.
4795         (Socket Option Functions): Add a missing const in setsockopt prototype.
4796         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4797         use wchar_t for the argument.
4798         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4799         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4800         take no arguments.
4801         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4802         double/float/long double for second argument.
4803         Fix return types of significand, significandf, significandl.
4804         * manual/filesys.texi (Setting Permissions): Use mode_t for second
4805         argument in fchmod prototype.
4806         (File Owner): Use uid_t and gid_t in fchown prototype.
4807         (File Times): Add const to utimes, futimes, and lutimes prototypes.
4808         (Making Special Files): Use mode_t and dev_t in mknod prototype.
4809         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4810         use 'const struct dirent **' as argument types to CMP function pointer
4811         argument.
4812         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4813         (File Times): Fix summary magic @comment for struct utimbuf and utime
4814         to refer to utime.h, not time.h.
4815         * manual/string.texi (Argz Functions): Add missing const in
4816         argz_extract and argz_next prototypes.
4817         (Finding Tokens in a String): Likewise for basename.
4818         (String/Array Comparison): Fix typo in wcscasecmp prototype.
4819         (Copying and Concatenation): Fix typo in wmemmove prototype.
4820         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4821         (Signal Stack): Remove erroneous const in sigstack prototype.
4822         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4823         prototype.
4824         (Simple Calendar Time): Likewise for stime.
4825         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4826         prototype.
4827         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4828         say sys/sysctl.h instead.
4829         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4830         and vsyslog prototypes.
4832 2013-02-11  Tom de Vries  <tom@codesourcery.com>
4834         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4835         Remove.
4837 2013-02-11  Roland McGrath  <roland@hack.frob.com>
4839         * misc/sys/mman.h: Fix typo in mremap comment.
4841 2013-02-08  Roland McGrath  <roland@hack.frob.com>
4843         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4844         the '\0' terminator.
4846 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
4848         [BZ #13550]
4849         * debug/segfault.c: Don't include <bp-checks.h>.
4850         * sysdeps/generic/bp-checks.h: Remove file.
4851         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4852         (__GETDENTS): Don't use CHECK_N.
4853         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4854         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4855         (__getgroups): Don't use CHECK_N.
4856         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4857         (setgroups): Don't use CHECK_N.
4858         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4859         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4860         (__libc_msgrcv): Don't use CHECK_N.
4861         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4862         (__libc_msgsnd): Don't use CHECK_N.
4863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4864         <bp-checks.h>.
4865         (__libc_pread): Don't use CHECK_N.
4866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4867         include <bp-checks.h>.
4868         (__libc_pread64): Don't use CHECK_N.
4869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4870         include <bp-checks.h>.
4871         (__libc_pwrite): Don't use CHECK_N.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4873         include <bp-checks.h>.
4874         (__libc_pwrite64): Don't use CHECK_N.
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4876         <bp-checks.h>.
4877         (__libc_pread): Don't use CHECK_N.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4879         include <bp-checks.h>.
4880         (__libc_pread64): Don't use CHECK_N.
4881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4882         include <bp-checks.h>.
4883         (__libc_pwrite): Don't use CHECK_N.
4884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4885         include <bp-checks.h>.
4886         (__libc_pwrite64): Don't use CHECK_N.
4887         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4888         (do_pread): Don't use CHECK_N.
4889         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4890         (do_pread64): Don't use CHECK_N.
4891         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4892         (do_pwrite): Don't use CHECK_N.
4893         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4894         (do_pwrite64): Don't use CHECK_N.
4895         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4896         (__libc_readv): Don't use CHECK_N.
4897         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4898         (semop): Don't use CHECK_N.
4899         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4900         <bp-checks.h>.
4901         (semtimedop): Don't use CHECK_N.
4902         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4903         (__libc_pread): Don't use CHECK_N.
4904         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4905         <bp-checks.h>.
4906         (__libc_pread64): Don't use CHECK_N.
4907         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4908         <bp-checks.h>.
4909         (__libc_pwrite): Don't use CHECK_N.
4910         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4911         <bp-checks.h>.
4912         (__libc_pwrite64): Don't use CHECK_N.
4913         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4914         <bp-checks.h>.
4915         (__libc_msgrcv): Don't use CHECK_N.
4916         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4917         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
4918         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4919         (__libc_writev): Don't use CHECK_N.
4921 2013-02-08  Roland McGrath  <roland@hack.frob.com>
4923         * string/strcpy.c: Removed unused variable.
4925         * Makeconfig (+sysdep-includes): Define with := rather than =.
4926         Use an existing include/ subdir of each sysdeps dir before it.
4928 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4930         * nscd/connection.c (register_traced_file): Comment function.
4931         [HAVE_INOTIFY] (union __inev): Define.
4932         [HAVE_INOTIFY] (inotify_check_files): New function.
4933         [HAVE_INOTIFY] (clear_db_cache): Likewise.
4934         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4935         clear_db_cache.
4936         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4938 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4940         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4941         loaded if not already and that a failure is permanent.
4943 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
4945         [BZ #15006]
4946         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4947         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4949 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
4951         [BZ #13550]
4952         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4953         (CHECK_1_NULL_OK): Likewise.
4954         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4955         (__fxstat): Do not use CHECK_1.
4956         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4957         <bp-checks.h>.
4958         (___fxstat64): Do not use CHECK_1.
4959         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4960         <bp-checks.h>.
4961         (__fxstatat): Do not use CHECK_1.
4962         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4963         <bp-checks.h>.
4964         (__fxstatat64): Do not use CHECK_1.
4965         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4966         <bp-checks.h>.
4967         (__fxstat): Do not use CHECK_1.
4968         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4969         <bp-checks.h>.
4970         (__fxstatat): Do not use CHECK_1.
4971         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4972         <bp-checks.h>.
4973         (__getresgid): Do not use CHECK_1.
4974         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4975         <bp-checks.h>.
4976         (__getresuid): Do not use CHECK_1.
4977         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4978         <bp-checks.h>.
4979         (__lxstat): Do not use CHECK_1.
4980         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4981         <bp-checks.h>.
4982         (__old_msgctl): Do not use CHECK_1.
4983         (__new_msgctl): Likewise.
4984         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4985         <bp-checks.h>.
4986         (__new_setrlimit): Do not use CHECK_1.
4987         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4988         <bp-checks.h>.
4989         (__old_shmctl): Do not use CHECK_1.
4990         (__new_shmctl): Likewise.
4991         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4992         <bp-checks.h>.
4993         (__xstat): Do not use CHECK_1.
4994         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4995         (__lxstat): Do not use CHECK_1.
4996         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4997         <bp-checks.h>.
4998         (___lxstat64): Do not use CHECK_1.
4999         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5000         (__old_msgctl): Do not use CHECK_1.
5001         (__new_msgctl): Likewise.
5002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5003         <bp-checks.h>.
5004         (__gettimeofday): Do not use CHECK_1.
5005         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5006         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5007         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5008         <bp-checks.h>.
5009         (__gettimeofday): Do not use CHECK_1.
5010         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5011         (__old_shmctl): Do not use CHECK_1_NULL_OK.
5012         (__new_shmctl): Do not use CHECK_1.
5013         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5014         <bp-checks.h>.
5015         (do_sigtimedwait): Do not use CHECK_1.
5016         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5017         <bp-checks.h>.
5018         (do_sigwaitinfo): Do not use CHECK_1.
5019         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5020         <bp-checks.h>.
5021         (msgctl): Do not use CHECK_1.
5022         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5023         <bp-checks.h>.
5024         (shmctl): Do not use CHECK_1.
5025         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5026         (ustat): Do not use CHECK_1.
5027         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5028         <bp-checks.h>.
5029         (__fxstat): Do not use CHECK_1.
5030         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5031         <bp-checks.h>.
5032         (__fxstatat): Do not use CHECK_1.
5033         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5034         <bp-checks.h>.
5035         (__lxstat): Do not use CHECK_1.
5036         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5037         <bp-checks.h>.
5038         (__xstat): Do not use CHECK_1.
5039         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5040         (__xstat): Do not use CHECK_1.
5041         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5042         (___xstat64): Do not use CHECK_1.
5044         [BZ #13550]
5045         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5046         definitions.
5047         (CHECK_BOUNDS_HIGH): Likewise.
5048         * string/strcpy.c: Do not include <bp-checks.h>.
5049         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5051 2013-02-07  Roland McGrath  <roland@hack.frob.com>
5053         * nscd/nscd-client.h (__nscd_drop_map_ref):
5054         Add __attribute__ ((unused)).
5055         * nis/nss-nisplus.h (niserr2nss): Likewise.
5057         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5058         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5060         * csu/libc-tls.c (init_static_tls, init_slotinfo):
5061         Remove inline keyword.
5062         * include/rounding-mode.h (round_away): Likewise.
5063         * libio/wfileops.c (adjust_wide_data): Likewise.
5064         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5065         (__m128i_strloadu_tolower): Likewise.
5066         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5067         (__m128i_strloadu_tolower): Likewise.
5068         * time/mktime.c (ydhms_diff): Likewise.
5069         * locale/elem-hash.h (elem_hash): Likewise.
5070         * locale/setlocale.c (setdata): Likewise.
5071         * posix/regex_internal.h (re_string_char_size_at): Likewise.
5072         (re_string_wchar_at): Likewise.
5073         (bitset_not, bitset_merge, bitset_mask): Likewise.
5074         [!(__GNUC__ > 3)] (inline): Remove macro.
5075         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5076         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5077         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5078         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5079         * string/memcmp.c (memcmp_bytes): Likewise.
5080         * locale/programs/locarchive.c (compute_hashval): Likewise.
5081         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5082         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5083         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5084         * nss/getent.c (print_rpc, print_protocols): Likewise.
5085         (print_passwd, print_group, print_aliases): Likewise.
5086         * nis/nss-nisplus.h (niserr2nss): Likewise.
5087         * nscd/connections.c (restart_p): Likewise.
5088         Change return type to bool.
5090 2013-02-05  Roland McGrath  <roland@hack.frob.com>
5092         * Makeconfig (all-Depend-files): Add existing
5093         $(sorted-subdirs:=/Depend) files.
5094         (all-subdirs): Remove nss.
5095         * sysdeps/unix/inet/Subdirs: Add it here instead.
5096         * hesiod/Depend: New file.
5098         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5099         instead of calling alloca.
5101         * io/lseek.c (__lseek): Rename to __libc_lseek.
5102         Define __lseek as an alias.
5104         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5106 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
5108         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5109         else clause and remove check for non-standard endianness.
5111 2013-02-04  David S. Miller  <davem@davemloft.net>
5113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5115 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
5117         [BZ #13550]
5118         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5119         (__ubp_memchr): Remove prototype.
5120         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5121         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5122         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5123         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5124         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5125         Remove alias.
5126         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5127         (__ubp_memchr): Likewise.
5128         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5129         (__ubp_memchr): Likewise.
5130         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5131         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5132         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5133         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5134         CHECK_STRING.
5135         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5136         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5137         (__getcwd): Do not use CHECK_STRING.
5138         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5139         <bp-checks.h>.
5140         (__real_chown): Do not use CHECK_STRING.
5141         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5142         <bp-checks.h>.
5143         (fchownat): Do not use CHECK_STRING.
5144         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5145         CHECK_STRING.
5146         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5147         <bp-checks.h>.
5148         (__lchown): Do not use CHECK_STRING.
5149         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5150         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5151         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5152         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5154         include <bp-checks.h>.
5155         (truncate64): Do not use CHECK_STRING.
5156         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5157         <bp-checks.h>.
5158         (__real_chown): Do not use CHECK_STRING.
5159         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5160         <bp-checks.h>.
5161         (__lchown): Do not use CHECK_STRING.
5162         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5163         <bp-checks.h>.
5164         (__chown): Do not use CHECK_STRING.
5165         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5166         <bp-checks.h>.
5167         (truncate64): Do not use CHECK_STRING.
5168         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5169         Likewise.
5170         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5171         (__xmknod): Do not use CHECK_STRING.
5172         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5173         <bp-checks.h>.
5174         (__xmknodat): Do not use CHECK_STRING.
5175         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5176         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5178 2013-02-04  Andreas Schwab  <schwab@suse.de>
5180         [BZ #14142]
5181         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5182         * include/netdb.h: Likewise for h_errno.
5183         * elf/tst-stackguard1.c: Include <tls.h>.
5185 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5187         * elf/link.h (struct link_map): Extend the l_addr comment.
5188         * include/link.h (struct link_map): Likewise.
5190 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
5192         [BZ #13550]
5193         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5194         (BOUNDED_1): Remove macro.
5195         * debug/backtrace.c: Don't include <bp-checks.h>.
5196         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5197         (__backtrace): Likewise.
5198         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5199         <bp-checks.h>.
5200         (__backtrace): Don't use BOUNDED_1.
5201         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5202         <bp-checks.h>.
5203         (__backtrace): Don't use BOUNDED_1.
5204         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5205         (__backtrace): Don't use BOUNDED_1.
5206         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5207         (shmat): Don't use BOUNDED_N.
5209 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
5211         [BZ #13550]
5212         * sysdeps/generic/bp-start.h: Remove file.
5213         * csu/libc-start.c: Don't include <bp-start.h>.
5214         (LIBC_START_MAIN): Set up __environ directly instead of using
5215         INIT_ARGV_and_ENVIRON.
5216         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5217         <bp-start.h>.
5219         [BZ #13550]
5220         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5221         definitions.
5222         (CHECK_FCNTL): Likewise.
5223         (CHECK_N_PAGES): Likewise.
5225         [BZ #13550]
5226         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5227         definitions.
5228         (CHECK_SIGSET_NULL_OK): Likewise.
5229         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5230         <bp-checks.h>.
5231         (sigpending): Don't use CHECK_SIGSET.
5232         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5233         <bp-checks.h>.
5234         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5235         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5236         <bp-checks.h>.
5237         (do_sigsuspend): Don't use CHECK_SIGSET.
5238         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5239         use CHECK_SIGSET.
5240         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5241         (do_sigwait): Don't use CHECK_SIGSET.
5242         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5243         use CHECK_SIGSET.
5244         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5245         include <bp-checks.h>.
5246         (sigpending): Don't use CHECK_SIGSET.
5247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5248         include <bp-checks.h>.
5249         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5250         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5251         <bp-checks.h>.
5252         (sigpending): Don't use CHECK_SIGSET.
5253         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5254         <bp-checks.h>.
5255         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5257         [BZ #13550]
5258         * sysdeps/generic/bp-semctl.h: Remove file.
5259         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5260         <bp-checks.h> and <bp-semctl.h>.
5261         (__old_semctl): Don't use CHECK_SEMCTL.
5262         (__new_semctl): Likewise.
5263         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5264         and <bp-semctl.h>.
5265         (__old_semctl): Don't use CHECK_SEMCTL.
5266         (__new_semctl): Likewise.
5267         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5268         <bp-checks.h> and <bp-semctl.h>.
5269         (__old_semctl): Don't use CHECK_SEMCTL.
5270         (__new_semctl): Likewise.
5271         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5272         <bp-checks.h> and <bp-semctl.h>.
5273         (semctl): Don't use CHECK_SEMCTL.
5275         [BZ #13550]
5276         * Makerules (elide-bp-thunks): Remove variable.
5277         (elide-routines.oS): Don't use $(elide-bp-thunks).
5278         (elide-routines.os): Likewise.
5279         (elide-routines.o): Likewise.
5280         (elide-routines.op): Likewise.
5281         (elide-routines.og): Likewise.
5282         (objects): Don't use $(bp-thunks).
5283         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5284         include.
5285         (common-generated): Do not add s-proto-bp.d.
5286         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5287         (int): Likewise.
5288         (typ): Likewise.
5289         Do not generate makefile rules for bounded-pointer thunks.
5290         * sysdeps/generic/bp-thunks.h: Remove file.
5291         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5292         * sysdeps/unix/s-proto-bp.S: Likewise.
5294         [BZ #15062]
5295         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5296         parts of result separately when argument is not close to line from
5297         -i to i and one part of argument is small.
5298         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5299         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5300         * math/libm-test.inc (cacos_test): Add more tests.
5301         (casin_test): Likewise.
5302         (casinh_test): Likewise.
5303         * sysdeps/i386/fpu/libm-test-ulps: Update.
5304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306 2013-01-31  David S. Miller  <davem@davemloft.net>
5308         * po/de.po: Update from translation team.
5310 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
5312         * time/tzfile.c: Include stdint.h for SIZE_MAX.
5314 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
5316         * configure.in (_AC_PROG_CC_C89): New definition.
5317         * configure: Regenerate.
5319         * configure.in (AC_PROG_CPP): New definition.
5320         * configure: Regenerate.
5322 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
5324         * debug/tst-backtrace.h: New file.
5325         * debug/tst-backtrace2.c: Include tst-backtrace.h.
5326         (ret): Remove variable.
5327         (x): Likewise.
5328         (FAIL): Remove macro.
5329         (NO_INLINE): Likewise.
5330         (fn1): Use match function instead of strstr.
5331         * debug/tst-backtrace3.c: Include tst-backtrace.h.
5332         (ret): Remove variable.
5333         (x): Likewise.
5334         (FAIL): Remove macro.
5335         (NO_INLINE): Likewise.
5336         (fn): Use match function instead of strstr.
5337         * debug/tst-backtrace4.c: Include tst-backtrace.h.
5338         (ret): Remove variable.
5339         (x): Likewise.
5340         (FAIL): Remove macro.
5341         (NO_INLINE): Likewise.
5342         (handle_signal): Use match function instead of strstr.
5343         * debug/tst-backtrace5.c: Include tst-backtrace.h.
5344         (ret): Remove variable.
5345         (x): Likewise.
5346         (FAIL): Remove macro.
5347         (NO_INLINE): Likewise.
5348         (handle_signal): Use match function instead of strstr.
5350 2013-01-23  Roland McGrath  <roland@hack.frob.com>
5352         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5354 2013-01-23  David S. Miller  <davem@davemloft.net>
5356         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5357         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5358         argument of CAS if possible.
5359         * sysdeps/sparc/sparc64/bits/atomic.h
5360         (__arch_compare_and_exchange_val_32_acq): Likewise.
5361         (__arch_compare_and_exchange_val_64_acq): Likewise.
5363 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
5365         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5366         * sysdeps/posix/ulimit.c: ... this.
5367         Include <limits.h>.
5368         * sysdeps/unix/bsd/ulimit.c: Remove file.
5370 2013-01-23  Adam Conrad  <adconrad@0c3.net>
5372         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5373         (LDFLAGS-tst-array5): Likewise.
5375 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #15036]
5378         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5379         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5380         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5381         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5383 2013-01-21  David S. Miller  <davem@davemloft.net>
5385         * sysdeps/sparc/backtrace.c: New file.
5386         * sysdeps/sparc/sparc32/backtrace.h: New file.
5387         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5388         * sysdeps/sparc/sparc64/backtrace.h: New file.
5389         * sysdeps/sparc/sparc64/backtrace.c: Delete.
5390         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5391         -funwind-tables.
5393 2013-01-21  Andreas Schwab  <schwab@suse.de>
5395         [BZ #15020]
5396         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5397         closed its stdout.
5399 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
5401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5402         "mpa2.h".
5403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5405 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
5406             Mark Mitchell  <mark@codesourcery.com>
5407             Tom de Vries  <tom@codesourcery.com>
5408             Paul Pluzhnikov  <ppluzhnikov@google.com>
5410         * debug/tst-backtrace2.c: New file.
5411         * debug/tst-backtrace3.c: Likewise.
5412         * debug/tst-backtrace4.c: Likewise.
5413         * debug/tst-backtrace5.c: Likewise.
5414         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5415         (CFLAGS-tst-backtrace3.c): Likewise.
5416         (CFLAGS-tst-backtrace4.c): Likewise.
5417         (CFLAGS-tst-backtrace5.c): Likewise.
5418         (LDFLAGS-tst-backtrace2): Likewise.
5419         (LDFLAGS-tst-backtrace3): Likewise.
5420         (LDFLAGS-tst-backtrace4): Likewise.
5421         (LDFLAGS-tst-backtrace5): Likewise.
5422         (tests): Add new tests tst-backtrace2, tst-backtrace3,
5423         tst-backtrace4 and tst-backtrace5.
5425 2013-01-18  Anton Blanchard  <anton@samba.org>
5426             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5428         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5429         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5430         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5431         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5433         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5434         "+r" and remove output regs list as redundant.  Add explicit inline
5435         asm to specify register of return val to work around compiler codegen
5436         bug.  Remove (int) cast on return value.  Add return type parameter to
5437         use in macro so that this macro does not truncate return value for
5438         64-bit values.
5439         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5440         pass to INTERNAL_VSYSCALL_NCS.
5441         (INLINE_VSYSCALL): Add 'long int' as return type to
5442         INTERNAL_VSYSCALL_NCS macro invocation.
5443         (INTERNAL_VSYSCALL): Add 'long int' as return type to
5444         INTERNAL_VSYSCALL_NCS macro invocation.
5445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5447 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5449         [BZ #14496]
5450         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5451         Fix application of SIMD FP exception mask.
5453         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5454         mp_no from a power of two.
5455         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5456         __mpexp_twomm1.  Use __pow_mp.
5458         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5459         multiplication.
5461 2013-01-17  David S. Miller  <davem@davemloft.net>
5463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5465 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
5467         [BZ #15023]
5468         * include/complex.h: Condition contents on [!_COMPLEX_H].
5469         (__kernel_casinhf): New prototype.
5470         (__kernel_casinh): Likewise.
5471         (__kernel_casinhl): Likewise.
5472         * math/Makefile (libm_calls): Add k_casinh.
5473         * math/k_casinh.c: New file.
5474         * math/k_casinhf.c: Likewise.
5475         * math/k_casinhl.c: Likewise.
5476         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5477         finite nonzero arguments.
5478         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5479         finite nonzero arguments.
5480         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5481         finite nonzero arguments.
5482         * math/s_casinh.c: Do not include <float.h>.
5483         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5484         * math/s_casinhf.c: Do not include <float.h>.
5485         (__casinhf): Move code for finite nonzero arguments to
5486         k_casinhf.c.
5487         * math/s_casinhl.c: Do not include <float.h>.
5488         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5489         redefine.
5490         (__casinhl): Move code for finite nonzero arguments to
5491         k_casinhl.c.
5492         * math/libm-test.inc (cacos_test): Add more tests.
5493         * sysdeps/i386/fpu/libm-test-ulps: Update.
5494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5496 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
5498         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5499         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5500         [!HAVE_MREMAP]: Remove [defined linux] case.
5501         * malloc/arena.c: Do not include <malloc-sysdep.h>.
5503 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5505         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5507 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
5509         * elf/elf.h (R_386_SIZE32): New relocation.
5510         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5511         R_386_SIZE32.
5512         (elf_machine_rela): Likewise.
5513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5514         R_X86_64_SIZE64 and R_X86_64_SIZE32.
5516 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
5518         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5519         (FP_FAST_FMA): Do not define.
5520         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5521         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5522         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5523         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5524         !_SOFT_FLOAT]: Likewise.
5525         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5526         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5527         value.
5528         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5529         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5530         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5531         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5532         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5533         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5534         file.
5536 2013-01-16  Andreas Schwab  <schwab@suse.de>
5538         [BZ #14327]
5539         * include/stdlib.h (__mktemp): Add declaration.
5540         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5541         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5543 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5545         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5546         definitions.
5547         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5548         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5549         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5550         definitions here.
5551         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5552         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5553         definitions.
5554         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5555         and ONE.
5556         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5557         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5558         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5559         definitions.
5560         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5561         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5562         definitions.
5563         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5565         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5567 2013-01-15  David S. Miller  <davem@davemloft.net>
5569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5570         trunc{,f} to libm-sysdep_routes.
5571         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5573         file.
5574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5576         file.
5577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5578         file.
5579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5581         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5582         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5583         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5584         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5585         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5586         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5589         nearbyint{,f} to libm-sysdep_routes.
5590         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5592         New file.
5593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5594         file.
5595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5596         New file.
5597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5598         file.
5599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5601         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5602         file.
5603         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5604         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5605         file.
5606         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5607         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5608         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5610         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5611         libc_feholdexcept and libc_fesetenv.
5613 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
5615         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5617 2013-01-14  David S. Miller  <davem@davemloft.net>
5619         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5620         (SPARC_ASM_VIS2_IFUNC): Likewise.
5621         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5623         use of 'siam' instruction.
5624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5625         Likewise.
5626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5627         Likewise.
5628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5629         Likewise.
5630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5635         file.
5636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5637         file.
5638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5639         file.
5640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5641         file.
5642         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5643         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5645         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5647         new VIS2 routines.
5648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5651         Likewise.
5652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5657         routines to libm-sysdep_routines.
5658         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5661         fdim/fdimf to libm-sysdep_routines.
5662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5663         file.
5664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5666         file.
5667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5670         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5671         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5672         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5673         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5675 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5677         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5678         to optimize copies.
5680         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5685         local variable MPTWO.
5686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5687         Likewise.
5689 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
5691         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5692         GLOB_NOESCAPE.
5694 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
5696         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5698 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
5700         * manual/pattern.texi (glob_t): Document gl_flags.
5701         (glob64_t): Likewise.
5703 2013-01-11  David S. Miller  <davem@davemloft.net>
5705         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5706         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5707         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
5708         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5709         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5710         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5711         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5712         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5713         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5714         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5715         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5716         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5717         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5719         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5720         sparc V9 rather than using V8 code.
5721         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5722         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5724         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5725         Move to...
5726         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5727         Here.
5729 2013-01-11  Roland McGrath  <roland@hack.frob.com>
5731         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5732         not in the main loop.
5733         * configure: Regenerated.
5735 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
5737         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5738         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5739         to just #else.
5740         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
5741         [!__GLIBC_HAVE_LONG_LONG] case.
5742         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5743         condition to just #else.
5744         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5745         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5746         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5747         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5748         unconditional.
5749         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5750         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5751         #elif condition to just #else.
5752         * sysdeps/unix/sysv/linux/sys/sysmacros.h
5753         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5754         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5755         #elif condition to just #else.
5757 2013-01-11  Steve Ellcey  <sellcey@mips.com>
5759         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5760         (EF_MIPS_ARCH_64): Fix value.
5761         (EF_MIPS_ARCH_32R2): New.
5762         (EF_MIPS_ARCH_64R2): New.
5764 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
5766         * Makeconfig (+link-pie-before-libc): New.
5767         (+link-pie-after-libc): Likewise.
5768         (+link-pie-tests): Likewise.
5769         (+link-pie): Rewritten.
5770         (link-before-libc): Remove $(config-LDFLAGS).
5771         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5772         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5773         (config-LDFLAGS): Renamed to ...
5774         (rtld-LDFLAGS): This.
5775         (rtld-tests-LDFLAGS): New macro.
5776         (link-libc-rpath-link): Likewise.
5777         (link-libc-tests-rpath-link): Likewise.
5778         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5779         (link-libc): Prepand $(link-libc-rpath-link).
5780         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5781         (test-program-prefix): New macro.
5782         (test-via-rtld-prefix): Likewise.
5783         (test-program-cmd): Likewise.
5784         (host-test-program-cmd): Likewise.
5785         * Makefile ($(common-objpfx)testrun.sh): Replace
5786         $(run-program-prefix) with $(test-program-prefix).
5787         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5788         $(rtld-LDFLAGS).
5789         ($(common-objpfx)shlib.lds): Likewise.
5790         (build-module-helper): Likewise.
5791         ($(common-objpfx)format.lds): Likewise.
5792         * Rules (binaries-pie-tests): New.
5793         (binaries-pie-notests): Likewise.
5794         (binaries-pie): Rewritten.
5795         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5796         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5797         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5798         (make-test-out): Replace $(host-built-program-cmd) with
5799         $(host-test-program-cmd).
5800         * config.make.in (build-hardcoded-path-in-tests): New variable.
5801         * configure.in (--enable-hardcoded-path-in-tests): New configure
5802         option.
5803         (hardcoded_path_in_tests): New AC_SUBST.
5804         * configure: Regenerated.
5805         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5806         $(built-program-cmd) with $(test-program-cmd).
5807         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5808         (test_program_cmd): This.
5809         * elf/Makefile ($(objpfx)order.out): Run test with
5810         $(test-program-prefix).
5811         ($(objpfx)order2.out): Likewise.
5812         ($(objpfx)tst-initorder.out): Likewise.
5813         ($(objpfx)tst-initorder2.out): Likewise.
5814         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5815         $(test-program-cmd).
5816         ($(objpfx)tst-array1-static.out): Likewise.
5817         ($(objpfx)tst-array2.out): Likewise.
5818         ($(objpfx)tst-array3.out): Likewise.
5819         ($(objpfx)tst-array4.out): Likewise.
5820         ($(objpfx)tst-array5.out): Likewise.
5821         ($(objpfx)tst-array5-static.out): Likewise.
5822         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5823         $(test-program-cmd).
5824         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5825         $(run-program-prefix) with $(test-program-prefix).
5826         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5827         (test_program_prefix): This.
5828         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5829         $(run-program-prefix) with $(test-program-prefix).
5830         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5831         (test_program_prefix): This.
5832         * iconvdata/tst-tables.sh: Likewise.
5833         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5834         $(run-program-prefix) with $(test-program-prefix).
5835         ($(objpfx)tst-translit.out): Likewise.
5836         ($(objpfx)tst-gettext2.out): Likewise.
5837         ($(objpfx)tst-gettext4.out): Likewise.
5838         ($(objpfx)tst-gettext6.out): Likewise.
5839         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5840         (test_program_prefix): This.
5841         * intl/tst-gettext2.sh: Likewise.
5842         * intl/tst-gettext4.sh  Likewise.
5843         * intl/tst-gettext6.sh: Likewise.
5844         * intl/tst-translit.sh: Likewise.
5845         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5846         with $(test-program-cmd).
5847         * libio/Makefile ($(objpfx)test-freopen.out): Replace
5848         $(run-program-prefix) with $(test-program-prefix).
5849         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5850         (test_program_prefix): This.
5851         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5852         $(run-program-prefix) with $(test-program-prefix).
5853         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5854         (test_program_prefix): This.
5855         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5856         * posix/Makefile ($(objpfx)globtest.out): Replace
5857         $(run-via-rtld-prefix) and $(test-wrapper) with
5858         $(test-program-prefix) and $(test-via-rtld-prefix).
5859         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5860         $(test-program-prefix).
5861         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5862         $(host-test-program-cmd).
5863         (tst-spawn-ARGS): Likewise.
5864         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5865         $(test-program-prefix).
5866         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5867         (test_via_rtld_prefix): This.
5868         (test_wrapper): Renamed to ...
5869         (test_program_prefix): This.
5870         (run_program_prefix): Replaced by test_program_prefix.
5871         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5872         (test_program_prefix): This.
5873         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5874         with $(host-test-program-cmd).
5875         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5876         $(run-program-prefix) with $(test-program-prefix).
5877         ($(objpfx)tst-printf.out): Likewise.
5878         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5879         $(test-program-cmd).
5880         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5881         (test_program_prefix): This.
5882         * stdio-common/tst-unbputc.sh: Likewise.
5883         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5884         $(run-program-prefix) with $(test-program-prefix).
5885         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5886         (test_program_prefix): This.
5887         * string/Makefile ($(objpfx)tst-svc.out):  Replace
5888         $(built-program-cmd) with $(test-program-cmd).
5890 2013-01-11  Andreas Jaeger  <aj@suse.de>
5892         [BZ #15003]
5893         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5894         value. Sync with Linux 3.7.
5896 2013-01-10  David S. Miller  <davem@davemloft.net>
5898         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5899         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5900         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5902 2013-01-10  Roland McGrath  <roland@hack.frob.com>
5904         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5905         never set.
5906         * configure: Regenerated.
5908 2013-01-10  David S. Miller  <davem@davemloft.net>
5910         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5911         sparc V9 rather than using V8 code.
5912         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5913         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5915 2013-01-10  Roland McGrath  <roland@hack.frob.com>
5917         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5918         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5919         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5920         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5921         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5922         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5923         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5924         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5925         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5926         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5927         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5928         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5929         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5930         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5931         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5932         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5933         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5934         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5935         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5936         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5937         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5938         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5939         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5940         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5941         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5942         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5943         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5945 2013-01-10  David S. Miller  <davem@davemloft.net>
5947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5949 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
5951         * posix/Makefile (tests-static): New variable.
5952         (tests): Add $(tests-static).
5953         (tst-exec-static-ARGS): New variable.
5954         (tst-spawn-static-ARGS): Likewise.
5955         * posix/tst-exec-static.c: New file.
5956         * posix/tst-spawn-static.c: Likewise.
5957         * posix/tst-exec.c: Support run directly.
5958         * posix/tst-spawn.c: Likewise.
5960 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
5962         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5963         long.
5964         * math/bits/mathcalls.h (llrint): Likewise.
5965         (llround): Likewise.
5966         * stdlib/stdlib.h (struct drand48_data): Likewise.
5967         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5968         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5969         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5970         Likewise.
5971         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5972         Likewise.
5973         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5974         (elf_greg_t): Likewise.
5975         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5976         (__jmp_buf): Likewise.
5977         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5978         definitions.
5979         (llrint): Likewise, for all definitions.
5980         (llrintl): Likewise.
5982         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5983         Remove [__GNUC__] condition.
5984         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5985         condition to just [__USE_ISOC99].
5986         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5988 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
5990         [BZ #14200]
5991         * sysdeps/unix/sysv/linux/x86/bits/environments.h
5992         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5993         defined.
5994         (_POSIX_V6_ILP32_OFF32): Likewise.
5995         (_XBS5_ILP32_OFF32): Likewise.
5996         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5997         (__ILP32_OFFBIG_LDFLAGS): Likewise.
5999 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6001         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6004         doubles __mpexp_twomm1.  Adjust usage.
6005         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6006         Remove.
6008 2013-01-10  Andreas Schwab  <schwab@suse.de>
6010         [BZ #14964]
6011         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6012         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6014 2013-01-09  David S. Miller  <davem@davemloft.net>
6016         [BZ #15003]
6017         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6018         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6019         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6020         TCP_FASTOPEN): Define.
6021         (tcp_repair_opt): New structure.
6022         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6023         enum values.
6024         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6025         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6026         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6027         (tcp_cookie_transactions): New structure.
6029 2013-01-09  Anton Blanchard  <anton@samba.org>
6031         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6032         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6033         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6036 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
6038         * include/features.h (__USE_ANSI): Remove.
6040 2013-01-09  Roland McGrath  <roland@hack.frob.com>
6042         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6044         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6046 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6048         * sysdeps/s390/fpu/libm-test-ulps: Update.
6050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6052         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6053         (__acr): Likewise.
6054         (__cpy): Likewise.
6055         (norm): Likewise.
6056         (denorm): Likewise.
6057         (__mp_dbl): Likewise.
6058         (__dbl_mp): Likewise.
6059         (add_magnitudes): Likewise.
6060         (sub_magnitudes): Likewise.
6061         (__add): Likewise.
6062         (__sub): Likewise.
6063         (__mul): Likewise.
6064         (__inv): Likewise.
6065         (__dvd): Likewise.
6066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6067         (__acr): Likewise.
6068         (__cpy): Likewise.
6069         (norm): Likewise.
6070         (denorm): Likewise.
6071         (__mp_dbl): Likewise.
6072         (__dbl_mp): Likewise.
6073         (add_magnitudes): Likewise.
6074         (sub_magnitudes): Likewise.
6075         (__add): Likewise.
6076         (__sub): Likewise.
6077         (__mul): Likewise.
6078         (__inv): Likewise.
6079         (__dvd): Likewise.
6080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6081         (__acr): Likewise.
6082         (__cpy): Likewise.
6083         (norm): Likewise.
6084         (denorm): Likewise.
6085         (__mp_dbl): Likewise.
6086         (__dbl_mp): Likewise.
6087         (add_magnitudes): Likewise.
6088         (sub_magnitudes): Likewise.
6089         (__add): Likewise.
6090         (__sub): Likewise.
6091         (__mul): Likewise.
6092         (__inv): Likewise.
6093         (__dvd): Likewise.
6095 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
6097         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6098         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6099         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6100         2 && __USE_EXTERN_INLINES]: Likewise.
6102 2013-01-08  Andreas Jaeger  <aj@suse.de>
6104         [BZ# 14985]
6105         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6106         Remove.
6107         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6108         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6110 2013-01-07  Anton Blanchard  <anton@samba.org>
6112         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6113         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6114         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6115         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6116         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6117         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6118         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6119         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6121         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6122         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6123         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6125         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6126         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6127         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6128         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6129         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6130         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6131         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6132         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6133         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6134         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6135         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6136         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6137         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6138         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6139         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6140         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6141         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6142         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6144         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6145         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6146         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6147         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6148         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6149         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6150         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6151         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6152         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6153         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6154         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6156 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
6158         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6159         (__MALLOC_PMT): Likewise.
6160         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6161         [__GNUC__], only on [_LIBC].
6162         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6163         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6164         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6165         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6166         forward declaration.
6167         (realloc_hook_ini): Likewise.
6168         (memalign_hook_ini): Likewise.
6169         (__libc_memalign): Do not use __MALLOC_PMT in variable
6170         declaration.
6171         (__libc_valloc): Likewise.
6172         (__libc_pvalloc): Likewise.
6173         (__libc_calloc): Likewise.
6174         (__posix_memalign): Likewise.
6176         [BZ #14996]
6177         * math/s_casinh.c: Include <float.h>.
6178         (__casinh): Do not do computation with squaring and square root
6179         for large arguments.
6180         * math/s_casinhf.c: Include <float.h>.
6181         (__casinhf): Do not do computation with squaring and square root
6182         for large arguments.
6183         * math/s_casinhl.c: Include <float.h>.
6184         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6185         (__casinhl): Do not do computation with squaring and square root
6186         for large arguments.
6187         * math/libm-test.inc (casin_test): Add more tests.
6188         (casinh_test): Likewise.
6189         * sysdeps/i386/fpu/libm-test-ulps: Update.
6190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6192 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
6194         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6195         (__x86_64_raw_data_cache_size): Likewise.
6196         (__x86_64_data_cache_size_half): Likewise.
6197         (__x86_64_raw_data_cache_size_half): Likewise.
6198         (__x86_64_shared_cache_size): Likewise.
6199         (__x86_64_raw_shared_cache_size): Likewise.
6200         (__x86_64_shared_cache_size_half): Likewise.
6201         (__x86_64_raw_shared_cache_size_half): Likewise.
6202         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6203         to ...
6204         (__x86_data_cache_size): This.
6205         (__x86_64_raw_data_cache_size): Renamed to ...
6206         (__x86_raw_data_cache_size): This.
6207         (__x86_64_data_cache_size_half): Renamed to ...
6208         (__x86_data_cache_size_half): This.
6209         (__x86_64_raw_data_cache_size_half): Renamed to ...
6210         (__x86_raw_data_cache_size_half): This.
6211         (__x86_64_shared_cache_size): Renamed to ...
6212         (__x86_shared_cache_size): This.
6213         (__x86_64_raw_shared_cache_size): Renamed to ...
6214         (__x86_raw_shared_cache_size): This.
6215         (__x86_64_shared_cache_size_half): Renamed to ...
6216         (__x86_shared_cache_size_half): This.
6217         (__x86_64_raw_shared_cache_size_half): Renamed to ...
6218         (__x86_raw_shared_cache_size_half): This.
6219         * sysdeps/x86_64/memcpy.S: Updated.
6220         * sysdeps/x86_64/memset.S: Likewise.
6221         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6222         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6223         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6225 2013-01-04  David S. Miller  <davem@davemloft.net>
6227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6229 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
6231         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6232         1 to avoid redefinition warning.
6233         (__USE_GNU): Don't define.
6234         (init_signaling_nan): Protoize.
6236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6238 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6240         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6242         (__cpymn): Likewise.
6243         (norm): Remove commented code.
6244         (denorm): Likewise.
6245         (__mp_dbl): Likewise.
6246         (__inv): Likewise.
6247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6248         (__cpymn): Likewise.
6249         (norm): Remove commented code.
6250         (denorm): Likewise.
6251         (__mp_dbl): Likewise.
6252         (__inv): Likewise.
6254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6255         mp_no value for 1.0 and 2.0.
6256         (norm): Use RADIXI instead of radixi.d.
6257         (denorm): Likewise.
6258         (__mul): Use 0.0 instead of zero.d.
6259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6260         mp_no value for 1.0 and 2.0.
6261         (norm): Use RADIXI instead of radixi.d.
6262         (denorm): Likewise.
6263         (__mul): Use 0.0 instead of zero.d.
6265 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
6267         [BZ #14994]
6268         * math/s_casinh.c (__casinh): Reduce finite argument to first
6269         quadrant then set signs of results at the end.
6270         * math/s_casinhf.c (__casinhf): Likewise.
6271         * math/s_casinhl.c (__casinhl): Likewise.
6272         * math/libm-test.inc (casin_test): Add more tests.
6273         (casinh_test): Likewise.
6274         * sysdeps/i386/fpu/libm-test-ulps: Update.
6275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6277 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6279         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6281         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6283         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6284         declarations.
6285         (denorm): Likewise.
6286         (__mp_dbl): Likewise.
6287         (__inv): Likewise.
6289         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6290         and adjust the header comment.
6292         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6293         variable name from declaration.
6295 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
6297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6298         Initialize COMMON_CPUID_INDEX_7 element.
6299         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6300         (CPUID_RTM): Likewise.
6301         (HAS_RTM): Likewise.
6302         (COMMON_CPUID_INDEX_7): New enum.
6304 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
6306         [BZ #14981]
6307         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6308         size is zero, record memory as freed.
6310 2013-01-03  Andreas Jaeger  <aj@suse.de>
6312         * po/ia.po: Add new Interlingua translation.
6314 2012-01-03  Allan McRae  <allan@archlinux.org>
6316         * locale/programs/localedef.c: Fix description of '--posix' flag.
6318 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
6320         * NEWS: Update dates in second copyright notice.
6321         * README: Update copyright dates in example.
6322         * manual/libc.texinfo: Update copyright dates.
6323         * scripts/test-installation.pl: Update copyright date in --version
6324         output.
6326         * hurd/ctty-input.c: Fix copyright notice formatting.
6327         * hurd/ctty-output.c: Likewise.
6328         * hurd/dtable.c: Likewise.
6329         * hurd/hurd-raise.c: Likewise.
6330         * hurd/hurdprio.c: Likewise.
6331         * hurd/msgportdemux.c: Likewise.
6332         * misc/sys/file.h: Likewise.
6333         * misc/sys/ioctl.h: Likewise.
6334         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6335         * sysdeps/mach/hurd/chdir.c: Likewise.
6336         * sysdeps/mach/hurd/fchdir.c: Likewise.
6337         * sysdeps/mach/hurd/rename.c: Likewise.
6338         * sysdeps/mach/hurd/rmdir.c: Likewise.
6339         * sysdeps/mach/hurd/seekdir.c: Likewise.
6340         * sysdeps/mach/hurd/setsid.c: Likewise.
6341         * sysdeps/posix/wait3.c: Likewise.
6343         * All files with FSF copyright notices: Update copyright dates
6344         using scripts/update-copyrights.
6345         * intl/plural.c: Regenerated.
6346         * locale/programs/charmap-kw.h: Likewise.
6347         * locale/programs/locfile-kw.h: Likewise.
6349 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6351         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6352         four values.
6354         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6355         calculation loop and add branch prediction.
6357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6358         check access beyond bounds of m1np.
6360         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6361         MPTWO.
6362         (__inv): Remove local variable MPTWO to use the global
6363         constant.
6364         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6365         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6366         variable MPTWO.
6367         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6368         MP3HALFS static const.
6370 2013-01-01  David S. Miller  <davem@davemloft.net>
6372         * po/ca.po: Update from translation team.
6374 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
6376         * scripts/update-copyrights: New file.
6377         * Makeconfig: Reformat copyright notice.
6378         * ctype/ctype.h: Likewise.
6379         * debug/swprintf_chk.c: Likewise.
6380         * elf/dl-cache.c: Likewise.
6381         * elf/dl-debug.c: Likewise.
6382         * elf/dl-object.c: Likewise.
6383         * grp/initgroups.c: Likewise.
6384         * hurd/Makefile: Likewise.
6385         * hurd/hurd/signal.h: Likewise.
6386         * hurd/hurdfault.c: Likewise.
6387         * hurd/hurdioctl.c: Likewise.
6388         * hurd/hurdlookup.c: Likewise.
6389         * hurd/intr-msg.c: Likewise.
6390         * iconv/gconv_open.c: Likewise.
6391         * libio/swprintf.c: Likewise.
6392         * locale/lc-ctype.c: Likewise.
6393         * locale/nl_langinfo.c: Likewise.
6394         * mach/Machrules: Likewise.
6395         * mach/Makefile: Likewise.
6396         * malloc/obstack.h: Likewise.
6397         * manual/Makefile: Likewise.
6398         * manual/tsort.awk: Likewise.
6399         * misc/bits/stab.def: Likewise.
6400         * nis/nis_print_group_entry.c: Likewise.
6401         * nis/nis_table.c: Likewise.
6402         * nis/nss_compat/compat-pwd.c: Likewise.
6403         * nis/nss_compat/compat-spwd.c: Likewise.
6404         * po/Makefile: Likewise.
6405         * posix/fnmatch.c: Likewise.
6406         * posix/regex.h: Likewise.
6407         * resolv/Makefile: Likewise.
6408         * resolv/nss_dns/dns-network.c: Likewise.
6409         * resolv/res_hconf.c: Likewise.
6410         * scripts/gen-sorted.awk: Likewise.
6411         * soft-fp/soft-fp.h: Likewise.
6412         * stdio-common/printf.h: Likewise.
6413         * stdlib/monetary.h: Likewise.
6414         * stdlib/random.c: Likewise.
6415         * stdlib/random_r.c: Likewise.
6416         * sysdeps/generic/Makefile: Likewise.
6417         * sysdeps/gnu/Makefile: Likewise.
6418         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6419         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6420         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6421         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6422         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6425         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6428         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6429         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6430         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6431         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6432         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6433         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6434         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6435         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6436         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6437         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6438         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6439         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6440         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6441         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6442         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6443         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6444         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6445         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6446         * sysdeps/mach/hurd/errnos.awk: Likewise.
6447         * sysdeps/mach/hurd/fork.c: Likewise.
6448         * sysdeps/mach/hurd/getcwd.c: Likewise.
6449         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6450         * sysdeps/mach/hurd/mmap.c: Likewise.
6451         * sysdeps/mach/hurd/utimes.c: Likewise.
6452         * sysdeps/mach/hurd/xmknod.c: Likewise.
6453         * sysdeps/posix/profil.c: Likewise.
6454         * sysdeps/posix/readdir_r.c: Likewise.
6455         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6456         * sysdeps/powerpc/bits/setjmp.h: Likewise.
6457         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6458         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6460         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6461         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6462         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6464         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6465         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6466         * sysdeps/pthread/lio_listio.c: Likewise.
6467         * sysdeps/sparc/dl-procinfo.h: Likewise.
6468         * sysdeps/unix/i386/sysdep.S: Likewise.
6469         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6470         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6471         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6472         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6474         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6475         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6476         * sysdeps/unix/sysv/linux/speed.c: Likewise.
6477         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6478         * sysdeps/wordsize-32/divdi3.c: Likewise.
6479         * time/sys/time.h: Likewise.
6480         * wcsmbs/Makefile: Likewise.
6482 2013-01-01  David S. Miller  <davem@davemloft.net>
6484         * po/fr.po: Update from translation team.
6486         * catgets/gencat.c: Update copyright year.
6487         * csu/version.c: Likewise.
6488         * debug/catchsegv.sh: Likewise.
6489         * debug/pcprofiledump.c: Likewise.
6490         * debug/xtrace.sh: Likewise.
6491         * elf/ldconfig.c: Likewise.
6492         * elf/ldd.bash.in: Likewise.
6493         * elf/pldd.c: Likewise.
6494         * elf/sotruss.ksh: Likewise.
6495         * elf/sprof.c: Likewise.
6496         * iconv/iconv_prog.c: Likewise.
6497         * iconv/iconvconfig.c: Likewise.
6498         * locale/programs/locale.c: Likewise.
6499         * locale/programs/localedef.c: Likewise.
6500         * login/programs/pt_chown.c: Likewise.
6501         * malloc/memusage.sh: Likewise.
6502         * malloc/memusagestat.c: Likewise.
6503         * malloc/mtrace.pl: Likewise.
6504         * nscd/nscd.c: Likewise.
6505         * nss/getent.c: Likewise.
6506         * nss/makedb.c: Likewise.
6507         * posix/getconf.c: Likewise.
6509 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6511         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6512         numbers.
6514 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
6516         * math/bits/mathcalls.h (modf): Use __nonnull.
6518 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6520         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6521         (split): Use macro CN instead of the bare value.
6522         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6523         could be used.
6524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6525         instead of the bare value.
6526         (power1): Likewise.
6528 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6530         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6531         __ATAN_TWOM.
6532         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6534         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6535         their values.
6536         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6537         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6538         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6539         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6541 2012-12-28  Andreas Jaeger  <aj@suse.de>
6543         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
6544         values are from Linux 3.7.
6546         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6547         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
6549 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6551         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
6552         TRUE case.
6554         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6555         (norm): Likewise.
6556         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6557         variables with preprocessor constants.
6558         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6559         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6560         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6562 2012-12-27  Bruno Haible  <bruno@clisp.org>
6564         [BZ #14317]
6565         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6566         only if needed.
6568 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6571         and use variable directly.
6572         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6574         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6575         MPONE.
6576         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6578         variable MPONE.
6579         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6581         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6582         include directive.  Remove local variable MPONE.
6583         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6584         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6585         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6587 2012-12-25  David S. Miller  <davem@davemloft.net>
6589         * version.h (RELEASE): Set to "development".
6590         (VERSION): Set to "2.17.90".
6591         * NEWS: Add 2.18 section.
6593 2012-12-21  David S. Miller  <davem@davemloft.net>
6595         * po/hr.po: Update from translation team.
6597 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6599         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6601 2012-12-19  Steve Ellcey  <sellcey@mips.com>
6603         * NEWS:  Mention new memcpy for MIPS.
6605 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6607         * manual/contrib.texi (Contributors): Spelling correction.
6609 2012-12-15  David S. Miller  <davem@davemloft.net>
6611         * po/ru.po: Update from translation team.
6613 2012-12-13  David S. Miller  <davem@davemloft.net>
6615         * NEWS: Mention IFUNC testsuite enhancements.
6617         * po/pl.po: Update from translation team.
6618         * po/bg.po: Likewise.
6620         * manual/contrib.texi (Contributors): Update entries for Hongjiu
6621         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
6623 2012-12-11  David S. Miller  <davem@davemloft.net>
6625         * po/sv.po: Update from translation team.
6627         * po/vi.po: Update from translation team.
6629         * po/cs.po: Update from translation team.
6631         * po/de.po: Update from translation team.
6632         * po/eo.po: Likewise.
6633         * po/nl.po: Likewise.
6635 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6637         [BZ #14246]
6638         * manual/argp.texi (Argp Helper Functions): Move node to follow
6639         Argp Parsing State.
6641         [BZ #14872]
6642         * manual/conf.texi (Limits on File System Capacity): Mention if
6643         terminating null is included in the max size.
6645 2012-12-10  Andreas Jaeger  <aj@suse.de>
6647         * po/cs.po: Update from translation team.
6649 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6651         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6652         void pointer and cast to uintptr_t.
6653         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6654         path.
6655         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6656         * sysdeps/s390/s390-64/memset.S: Likewise.
6658 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
6660         [BZ #14833]
6661         * menual/message.texi (Message Translation): Fix typos.
6662         (Helper programs for gettext): Likewise.
6664 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
6666         [BZ #14898]
6667         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6668         Change to -1.
6670 2012-12-07  David S. Miller  <davem@davemloft.net>
6672         * po/libc.pot: Update.
6674 2012-12-07  Richard Henderson  <rth@redhat.com>
6676         [BZ #10114]
6677         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6678         normal/normal case to before the switch.
6679         (_FP_DIV): Likewise.
6681 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
6682             Mike Frysinger  <vapier@gentoo.org>
6684         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6685         check for __NR_fadvise64_64.
6687 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
6689         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6690         0, not just to plain "0" as a statement.
6691         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6692         with cw.
6694 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
6696         * NEWS: Use sourceware.org in Bugzilla URL.
6698 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6701         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6703         * stdio-common/tst-put-error.c (do_test): Add newline to the
6704         padded test to ensure flush.
6706 2012-12-05  Jeff Law  <law@redhat.com>
6708         * sunrpc/etc.rpc (fedfs_admin): Add entry.
6710 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
6712         * README: Don't refer to ports add-on as distributed separately.
6713         Mention AArch64 in list of systems supported in the ports add-on.
6715         * LICENSES: Add more non-FSF copyright and license notices.
6717         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6718         ((unused)).
6720         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6722         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6723         10000 as width of padded output.
6725 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
6727         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6729         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6730         variable LX with __attribute__ ((unused)).
6731         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6732         Likewise.
6733         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6734         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6735         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6736         with __attribute__ ((unused)).
6738 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
6740         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6742 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
6744         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6745         (CFLAGS-nldbl-acos.c): New variable.
6746         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6747         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6748         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6749         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6750         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6751         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6752         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6753         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6754         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6755         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6756         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6757         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6758         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6759         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6760         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6761         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6762         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6763         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6764         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6765         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6766         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6767         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6768         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6769         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6770         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6771         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6772         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6773         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6774         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6775         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6776         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6777         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6778         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6779         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6780         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6781         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6782         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6783         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6784         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6785         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6786         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6787         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6788         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6789         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6790         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6791         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6792         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6793         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6794         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6795         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6796         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6797         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6798         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6799         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6800         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6801         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6802         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6803         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6804         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6805         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6806         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6807         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6808         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6809         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6810         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6811         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6812         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6813         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6814         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6815         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6816         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6817         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6818         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6819         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6820         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6821         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6822         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6823         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6824         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6825         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6826         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6827         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6828         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6829         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6830         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6831         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6832         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6833         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6834         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6835         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6836         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6837         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6838         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6839         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6840         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6841         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6842         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6845         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6847         [BZ #14914]
6848         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6849         whole low double instead of just low 47 bits when splitting values
6850         into two parts.
6852 2012-12-03  Allan McRae  <allan@archlinux.org>
6854         * manual/stdio.texi (Predefined Printf Handlers): Remove
6855         @hsep and @vsep usage.
6857 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
6859         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6860         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6862 2012-12-03  Jeff Law  <law@redhat.com>
6864         * time/sys/time.h (settimeofday): Do not mark TV argument
6865         as __nonnull.
6867 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
6869         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6870         when currently writing and seek to current position when not.
6871         * libio/Makefile (tests): Remove bug-fclose1.
6872         * libio/bug-fclose1.c: Delete.
6874 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
6876         * manual/arith.texi (feenableexcept): Fix typo.
6877         (fedisableexcept): Likewise.
6879 2012-11-30  Roland McGrath  <roland@hack.frob.com>
6881         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6882         second, differently-typed declaration, rather than a cast.
6884 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6886         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6887         * include/rpc/svc.h: ... here.
6889 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
6891         [BZ #13013]
6892         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6893         depending n and resplen2 to catch cases where answer
6894         equals answerp2.
6896 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
6898         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6899         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6901 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
6903         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6905 2012-11-29  Roland McGrath  <roland@hack.frob.com>
6907         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6909 2012-11-28  Jeff Law  <law@redhat.com>
6911         [BZ #13761]
6912         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6913         dataset_temporary.  Track alloca usage into alloca_used.
6914         If dataset is large allocate and release it via malloc/free.
6916 2012-06-04  Florian Weimer  <fweimer@redhat.com>
6918         [BZ #14197]
6919         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6921 2012-11-28  David S. Miller  <davem@davemloft.net>
6923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6925 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
6927         [BZ #14803]
6928         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6929         of pi/2 rounded to nearest to 64 bits.
6930         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6931         nearest to 64 bits.
6932         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6933         bits.
6935 2012-11-28  Jeff Law <law@redhat.com>
6936             Martin Osvald <mosvald@redhat.com>
6938         [BZ #14889]
6939         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6940         * sunrpc/svc.c: Include time.h.
6941         (__svc_accept_failed): New function.
6942         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6943         any reason other than EINTR, call __svc_accept_failed.
6944         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6945         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6947 2012-11-28  Andreas Schwab  <schwab@suse.de>
6949         * scripts/abilist.awk: Also handle indirect functions in .opd
6950         section.
6952 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
6954         [BZ #13881]
6955         * sysdeps/x86/fpu/powl_helper.c: New file.
6956         * sysdeps/x86/fpu/Makefile: Likewise.
6957         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6958         (p3): New object.
6959         (__ieee754_powl): Use __powl_helper for finite arguments except
6960         integer exponents below 8.
6961         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6962         (p3): New object.
6963         (__ieee754_powl): Use __powl_helper for finite arguments except
6964         integer exponents below 8.
6965         * math/libm-test.inc (pow_test): Add more tests and enable some
6966         previously disabled tests.
6967         * sysdeps/i386/fpu/libm-test-ulps: Update.
6968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6970 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6971             Carlos O'Donell  <carlos_odonell@mentor.com>
6973         * nss/makedb.c (is_prime): Assert that input is odd and greater
6974         than 4.  Note that fact in a comment too.
6975         (next_prime): Add 4 to input.
6977 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6979         [BZ #11741]
6980         * libio/Makefile (tests): Add test case tst-fwrite-error.
6981         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6982         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6983         * libio/tst-fwrite-error.c: New test case.
6985 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
6987         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6988         before casting to void *.
6989         * include/libc-internal.h (__pointer_type): New macro.
6990         (__integer_if_pointer_type_sub): Likewise.
6991         (__integer_if_pointer_type): Likewise.
6992         (cast_to_integer): Likewise.
6993         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6994         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6995         before casting to atomic64_t.
6996         (atomic_exchange_acq): Likewise.
6997         (__arch_exchange_and_add_body): Likewise.
6998         (__arch_add_body): Likewise.
6999         (atomic_add_negative): Likewise.
7000         (atomic_add_zero): Likewise.
7002 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
7004         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7005         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7006         (add_fdes): Likewise.
7007         (linear_search_fdes): Likewise.
7008         (binary_search_unencoded_fdes): Likewise.
7010 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
7012         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7014 2012-11-24  Adam Conrad  <adconrad@0c3.net>
7016         * configure.in: Autodetect C++ header directories.
7017         * configure: Regenerated.
7019 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
7021         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7023 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
7025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7027 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
7029         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7030         LDBL_MANT_DIG == 106]: Disable some tests.
7031         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7032         Likewise.
7033         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7034         Likewise.
7036         [BZ #14871]
7037         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7038         input for small inputs.  Return +/- pi/2 for large inputs.
7039         * math/libm-test.inc (atan_test): Add more tests.
7041         * sysdeps/generic/unwind-dw2-fde-glibc.c
7042         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7043         __attribute__ ((unused)).
7045         [BZ #14645]
7046         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7047         x * y if x and y are nonzero and z is zero.
7049         [BZ #14811]
7050         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7051         nonzero exponents with absolute value below 0x1p-117 to +/-
7052         0x1p-117.
7054         [BZ #14869]
7055         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7056         up arguments below 2**-450, not just those below 2**-500.
7057         * math/libm-test.inc (hypot_test): Add another test.
7059         [BZ #14868]
7060         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7061         Return a+b for ratio over 2**120, not 2**60.
7062         * math/libm-test.inc (hypot_test): Add another test.
7064         * math/libm-test.inc (clog_test): Use
7065         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7066         (clog10_test): Likewise.
7068         [BZ #6778]
7069         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7071 2012-11-22  Andreas Schwab  <schwab@suse.de>
7073         * sysdeps/i386/fpu/libm-test-ulps: Update.
7075 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
7077         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7078         printf output with newline.
7080 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
7082         [BZ #14865]
7083         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7084         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7085         -z nodlopen, -z initfirst and -z execstack support.
7086         * configure: Regenerated.
7088         * elf/elf.h (DF_1_NODIRECT): New macro.
7089         (DF_1_IGNMULDEF): Likewise.
7090         (DF_1_NOKSYMS): Likewise.
7091         (DF_1_NOHDR): Likewise.
7092         (DF_1_EDITED): Likewise.
7093         (DF_1_NORELOC): Likewise.
7094         (DF_1_SYMINTPOSE): Likewise.
7095         (DF_1_GLOBAUDIT): Likewise.
7096         (DF_1_SINGLETON): Likewise.
7097         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7098         DT_1_SUPPORTED_MASK bits.
7099         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7101 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
7103         * sysdeps/unix/make-syscalls.sh: Document prefixes.
7105 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
7107         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7108         macro.
7110         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7111         (sendmmsg): Move declarations...
7112         * socket/sys/socket.h: ... here.
7113         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7114         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7115         include it from...
7116         * socket/recvmmsg.c: ... this new file.
7117         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7118         (sendmmsg): Rename to __sendmmsg, create weak alias and make
7119         definition of __sendmmsg hidden.
7120         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7121         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7122         Move ENOSYS stub into and include it from...
7123         * socket/sendmmsg.c: ... this new file.
7124         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7125         (sysdep_routines): Move recvmmsg and sendmmsg...
7126         * socket/Makefile (routines): ... here.
7127         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7128         (GLIBC_PRIVATE): Add __sendmmsg.
7129         * include/sys/socket.h (__sendmmsg): Add declarations.
7130         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7131         sendmmsg.
7133 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
7135         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7136         variable I1 with __attribute__ ((unused)).
7137         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7139 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
7141         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7142         DUMMY variables with __attribute__ ((unused)).
7144         * bits/byteswap.h: Include <bits/types.h>.
7145         (__bswap_64): Use __uint64_t instead of unsigned long long int.
7147 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
7149         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7150         string_t.  Do not manually set errno.
7151         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7152         length with __strnlen.  Make sure to both set errno and return it on
7153         failure.
7155 2012-11-19  David S. Miller  <davem@davemloft.net>
7157         With help from Joseph Myers.
7158         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7159         very large arguments properly.
7160         * math/libm-test.inc (atan_test): New tests.
7161         (atan2_test): New tests.
7162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7165 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
7167         [BZ #14856]
7168         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7169         Define to 3.
7171         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7172         [POSIX] (EADDRNOTAVAIL): Likewise.
7173         [POSIX] (EAFNOSUPPORT): Likewise.
7174         [POSIX] (EALREADY): Likewise.
7175         [POSIX] (ECONNABORTED): Likewise.
7176         [POSIX] (ECONNREFUSED): Likewise.
7177         [POSIX] (ECONNRESET): Likewise.
7178         [POSIX] (EDESTADDRREQ): Likewise.
7179         [POSIX] (EDQUOT): Likewise.
7180         [POSIX] (EHOSTUNREACH): Likewise.
7181         [POSIX] (EIDRM): Likewise.
7182         [POSIX] (EISCONN): Likewise.
7183         [POSIX] (ELOOP): Likewise.
7184         [POSIX] (EMULTIHOP): Likewise.
7185         [POSIX] (ENETDOWN): Likewise.
7186         [POSIX] (ENETUNREACH): Likewise.
7187         [POSIX] (ENOBUFS): Likewise.
7188         [POSIX] (ENODATA): Likewise.
7189         [POSIX] (ENOLINK): Likewise.
7190         [POSIX] (ENOMSG): Likewise.
7191         [POSIX] (ENOPROTOOPT): Likewise.
7192         [POSIX] (ENOSR): Likewise.
7193         [POSIX] (ENOSTR): Likewise.
7194         [POSIX] (ENOTCONN): Likewise.
7195         [POSIX] (ENOTSOCK): Likewise.
7196         [POSIX] (EOPNOTSUPP): Likewise.
7197         [POSIX] (EOVERFLOW): Likewise.
7198         [POSIX] (EPROTO): Likewise.
7199         [POSIX] (EPROTONOSUPPORT): Likewise.
7200         [POSIX] (EPROTOTYPE): Likewise.
7201         [POSIX] (ESTALE): Likewise.
7202         [POSIX] (ETIME): Likewise.
7203         [POSIX] (ETXTBSY): Likewise.
7204         [POSIX] (EWOULDBLOCK): Likewise.
7205         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7206         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7207         [POSIX] (SEEK_CUR): Likewise.
7208         [POSIX] (SEEK_END): Likewise.
7209         [POSIX || UNIX98] (mode_t): Do not require.
7210         [POSIX] (off_t): Likewise.
7211         [POSIX] (pid_t): Likewise.
7212         [POSIX] (sys/stat.h): Do not allow header.
7213         [POSIX] (unistd.h): Likewise.
7214         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7215         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7216         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7217         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7218         require.
7219         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7220         sigevent): Specify elements.
7221         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7222         entry.
7223         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7224         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7226         * conform/data/cpio.h-data [POSIX]: Disable whole file.
7227         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7228         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7229         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7230         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7231         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7232         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7233         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7234         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7235         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7236         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7237         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7238         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7239         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7240         Likewise.
7241         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7242         Likewise.
7243         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7244         Likewise.
7245         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7246         Likewise.
7247         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7248         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7249         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7250         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7251         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7252         Specify lower bound on value.
7253         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7254         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7255         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7256         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7257         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7258         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7259         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7260         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7261         value.
7262         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7263         as optional.
7264         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7265         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7266         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7267         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7268         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7269         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7270         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7271         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7272         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7273         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7274         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7275         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7276         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7277         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7278         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7279         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7280         entry.
7281         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7282         optional.
7283         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7284         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7285         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7286         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7287         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7288         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7289         Likewise.
7290         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7291         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7292         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7293         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7294         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
7295         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7296         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7297         as optional.
7298         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7299         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7300         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7301         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7302         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7303         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7304         specify as optional.
7305         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7306         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7307         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7308         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7309         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7310         [XPG3] (NL_LANGMAX): Likewise.
7311         [POSIX || XPG3] (NL_MSGMAX): Likewise.
7312         [POSIX || XPG3] (NL_NMAX): Likewise.
7313         [POSIX || XPG3] (NL_SETMAX): Likewise.
7314         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7315         [XPG3] (NZERO): Likewise.
7316         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7317         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7318         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7319         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7320         (REG_ERANGE): Expect.
7321         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7322         optional-constant.
7323         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7324         Use (void) in prototype.
7325         [POSIX] (*_t): Allow.
7326         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7327         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7328         (WRDE_BADVAL): Expect.
7330         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7331         expect.
7332         [XPG3 || XPG4] (O_RSYNC): Likewise.
7333         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7334         Likewise.
7335         [XPG3 || XPG4] (pthread_sigmask): Likewise.
7336         [XPG3 || XPG4] (sigqueue): Likewise.
7337         [XPG3 || XPG4] (sigtimedwait): Likewise.
7338         [XPG3 || XPG4] (sigwaitinfo): Likewise.
7339         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7340         [XPG3 || XPG4] (vsnprintf): Likewise.
7341         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7342         Likewise.
7343         [XPG3 || XPG4] (blksize_t): Likewise.
7344         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7345         Likewise.
7346         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7347         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7348         [XPG3 || XPG4] (struct itimerspec): Likewise.
7349         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7350         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7351         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7352         [XPG3 || XPG4] (clockid_t): Likewise.
7353         [XPG3 || XPG4] (timer_t): Likewise.
7354         [XPG3 || XPG4] (clock_getres): Likewise.
7355         [XPG3 || XPG4] (clock_gettime): Likewise.
7356         [XPG3 || XPG4] (clock_settime): Likewise.
7357         [XPG3 || XPG4] (nanosleep): Likewise.
7358         [XPG3 || XPG4] (timer_create): Likewise.
7359         [XPG3 || XPG4] (timer_delete): Likewise.
7360         [XPG3 || XPG4] (timer_gettime): Likewise.
7361         [XPG3 || XPG4] (timer_getoverrun): Likewise.
7362         [XPG3 || XPG4] (timer_settime): Likewise.
7363         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7364         [XPG3 || XPG4] (getlogin_r): Likewise.
7365         [XPG3 || XPG4] (pread): Likewise.
7366         [XPG3 || XPG4] (pthread_atfork): Likewise.
7367         [XPG3 || XPG4] (pwrite): Likewise.
7369         [BZ #14835]
7370         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7371         <bits/siginfo.h>.
7373 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
7375         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7376         finalizing MALLSTREAM.
7378         * sysdeps/mach/hurd/syncfs.c: New file.
7380 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7382         [BZ #14719]
7383         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7384         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7385         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7386         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7387         (_nss_dns_gethostbyname4_r): Likewise.
7388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7389         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7391 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
7393         [BZ #13763]
7394         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7396 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
7398         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7399         * elf/cache.c (print_entry): Print ",AArch64" for
7400         FLAG_AARCH64_LIB64
7402         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7403         * elf/cache.c (print_entry): Print ",hard-float" for
7404         FLAG_ARM_LIBHF.
7406 2012-11-18  David S. Miller  <davem@davemloft.net>
7408         With help from Joseph Myers.
7409         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7410         cutoff to 2**-13.
7411         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7412         cutoff to 2**-25.
7413         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7414         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7415         small.
7416         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7417         * math/libm-test.inc (y0_test): New tests.
7418         (y1_test): New tests.
7419         * sysdeps/i386/fpu/libm-test-ulps: Update.
7420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7423 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
7425         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7426         64-bit targets.
7427         * configure: Regenerated.
7429 2012-11-17  David S. Miller  <davem@davemloft.net>
7431         [BZ #14811]
7432         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7433         nonzero exponents with absolute value below 0x1p-128 to +/-
7434         0x1p-128.
7436 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
7438         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7440         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7442         * posix/getconf-speclist.c: New file.
7443         * posix/posix-envs.def: Likewise.
7444         * posix/confstr.c (START_ENV_GROUP): New macro.
7445         (END_ENV_GROUP): Likewise.
7446         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7447         (KNOWN_PRESENT_ENV_STRING): Likewise.
7448         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7449         (UNKNOWN_ENVIRONMENT): Likewise.
7450         (confstr): Include posix-envs.def instead of handling
7451         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7452         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7453         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7454         (END_ENV_GROUP): Likewise.
7455         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7456         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7457         (UNKNOWN_ENVIRONMENT): Likewise.
7458         (__sysconf): Include posix-envs.def instead of handling associated
7459         cases directly here.
7460         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7461         preprocessing getconf-speclist.c rather than running getconf or
7462         generating empty file.
7464 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
7466         * scripts/check-local-headers.sh: Ignore 'mach' headers.
7468 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
7470         [BZ #14672]
7471         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7473 2012-11-16  David S. Miller  <davem@davemloft.net>
7475         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7476         smaller than LDBL_EPSILON/2.0L, just return xm1.
7478 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
7480         * elf/tst-array1.c (init): Set constructor priority to 1000.
7481         (fini): Set destructor priority to 1000.
7482         * elf/tst-array2dep.c: Likewise.
7484 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7486         [BZ #11741]
7487         * libio/fileops.c (_IO_new_file_write): Correctly return error.
7488         (_IO_new_file_xsputn): Also return EOF if none of the input
7489         data was written when overflow failed.
7490         * libio/iopadn.c (_IO_padn): Likewise.
7491         * libio/iowpadn.c (_IO_wpadn): Likewise.
7492         * stdio-common/tst-put-error.c: Add copyright notice.
7493         (do_test): Add case for printing padded string.
7494         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7495         _IO_padn returned error.
7496         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7497         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7498         return EOF.
7500 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7502         * libio/libioP.h: Add comment note that the references to C++
7503         bits are now obsolete.
7505 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7507         * math/libm-test.inc (check_complex): Use asprintf.
7509 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
7511         * debug/pcprofiledump.c (print_version): Update copyright year.
7512         * malloc/memusagestat.c (print_version): Likewise.
7514 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7516         [BZ #14831]
7517         * elf/Makefile (tests): Add tst-audit8.
7518         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7519         ($(objpfx)tst-audit8.out): New target.
7520         (tst-audit8-ENV): New variable.
7521         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7522         audit if l_reloc_result is NULL.
7523         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7524         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7525         * elf/tst-audit8.c: New file.
7527 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7529         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7530         * misc/Makefile (CFLAGS-select.c): Define.
7531         * posix/Makefile (CFLAGS-pause.c): Define.
7533 2012-11-13  David S. Miller  <davem@davemloft.net>
7535         * crypt/Makefile: Move test targets after toplevel Rules
7536         inclusion.  Grab any necessary sysdep routines when linking.
7537         * crypt/md5.c (md5_process_block): Remove define, we will always
7538         name it __md5_process_block.
7539         (md5_finish_ctx): Update md5_process_block call.
7540         (md5_stream): Likewise.
7541         (md5_process_bytes): Likewise.
7542         (md5_process_block): Rename to __md5_process_block and move to ...
7543         * crypt/md5-block.c: ... here.
7544         * crypt/sha256.c (sha256_process_block): Move to ...
7545         * crypt/sha256-block.c: ... here.
7546         * crypt/sha512.c (sha512_process_block): Move to ...
7547         * crypt/sha512-block.c: ... here.
7548         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7549         path.
7550         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7551         * sysdeps/sparc/sparc64/multiarch/Makefile
7552         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7553         crypt subdir.
7554         (localedef-aux): Add md5 crypto assembler when in locale subdir.
7555         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7556         multiarch changes.
7557         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7558         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7559         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7560         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7561         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7562         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7563         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7564         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7565         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7566         file.
7567         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7568         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7569         file.
7570         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7572 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
7574         * timezone/tzselect.ksh: Update from tzcode git revision
7575         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7576         * timezone/zdump.c: Likewise.
7577         * timezone/zic.c: Likewise.
7578         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7579         in TZVERSION setting, not $(PKGVERSION).
7580         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
7581         REPORT_BUGS_TO settings.
7583         [BZ #14838]
7584         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7585         macro.
7587 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7589         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7590         detection to immediately after _FP_ROUND().
7591         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7592         bits are 0.
7594 2012-11-11  David S. Miller  <davem@davemloft.net>
7596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7597         inttypes.h
7598         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7599         __close rather than their public counterparts.
7601 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
7603         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7604         file.
7605         [UNIX98] (sem_timedwait): Do not expect.
7606         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7607         [XPG4 || UNIX98] (sockatmark): Do not expect.
7608         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7609         (clock_getcpuclockid): Do not expect.
7610         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7611         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7612         Do not expect.
7613         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7614         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7615         [UNIX98] (vwscanf): Likewise.
7616         [UNIX98] (vswscanf): Likewise.
7618 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
7620         * timezone/version.h: Remove file.
7621         * timezone/README: Do not refer to version.h.
7622         * timezone/Makefile ($(objpfx)zic.o): New dependency on
7623         $(objpfx)version.h.
7624         ($(objpfx)zdump.o): Likewise.
7625         ($(objpfx)version.h): New target.
7627         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7628         2012i.
7629         * timezone/README: Don't mention modification to tzselect.ksh.
7630         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7631         work on unmodified tzselect.ksh.  Substitute version numbers in
7632         tzselect.ksh.
7634         * Makefile (format-me): Remove.
7635         (INSTALL): Adjust indentation.  Use commands directly instead of
7636         using $(format-me).
7638         * aclocal.m4 (ACX_PKGVERSION): New macro.
7639         (ACX_BUGURL): Likewise.
7640         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7641         (PKGVERSION): New AC_DEFINE_UNQUOTED.
7642         (REPORT_BUGS_TO): Likewise.
7643         * configure: Regenerated.
7644         * config.h.in (PKGVERSION): New macro.
7645         (REPORT_BUGS_TO): Likewise.
7646         * config.make.in (PKGVERSION): New variable.
7647         (PKGVERSION_TEXI): Likewise.
7648         (REPORT_BUGS_TO): Likewise.
7649         (REPORT_BUGS_TEXI): Likewise.
7650         * Makefile (format-me): Use -I$(common-objpfx)manual.
7651         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7652         ($(common-objpfx)manual/%): New target.
7653         (manual/%): Remove target.
7654         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7655         (print_version): Use PKGVERSION.
7656         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7657         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7658         and REPORT_BUGS_TO.
7659         ($(objpfx)xtrace): Likewise.
7660         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7661         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7662         (print_version): Use PKGVERSION.
7663         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7664         (do_version): Use PKGVERSION.
7665         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7666         REPORT_BUGS_TO.
7667         (common-ldd-rewrite): Likewise.
7668         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7669         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7670         (print_version): Use PKGVERSION.
7671         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7672         * elf/pldd.c (argp_program_bug_address): Remove variable.
7673         (more_help): New function.
7674         (argp): Use more_help.
7675         (print_version): Use PKGVERSION.
7676         * elf/sln.c (main): Use PKGVERSION.
7677         (usage): Use REPORT_BUGS_TO.
7678         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7679         (top level): Use PKGVERSION.
7680         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7681         (print_version): Use PKGVERSION.
7682         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7683         (print_version): Use PKGVERSION.
7684         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7685         (print_version): Use PKGVERSION.
7686         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7687         (print_version): Use PKGVERSION.
7688         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7689         (print_version): Use PKGVERSION.
7690         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7691         (print_version): Use PKGVERSION.
7692         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7693         and BUGURL.
7694         ($(objpfx)memusage): Likewise.
7695         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7696         (do_version): Use PKGVERSION.
7697         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7698         (print_version): Use PKGVERSION.
7699         * malloc/mtrace.pl ($PACKAGE): Remove variable.
7700         ($PKGVERSION): New variable.
7701         ($REPORT_BUGS_TO): Likewise.
7702         (usage): Use $REPORT_BUGS_TO.
7703         (top level): Use $PKGVERSION.
7704         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7705         ($(objpfx)pkgvers.texi): New rule.
7706         ($(objpfx)stamp-pkgvers): Likewise.
7707         * manual/install.texi: Include pkgvers.texi.
7708         (--with-pkgversion): Document new configure option.
7709         (--with-bugurl): Likewise.
7710         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7711         than necessarily for this particular distribution.  Use
7712         REPORT_BUGS_TO for where to report bugs.
7713         * INSTALL: Regenerated.
7714         * manual/libc.texinfo: Include pkgvers.texi.
7715         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7716         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7717         (print_version): Use PKGVERSION.
7718         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7719         (print_version): Use PKGVERSION.
7720         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7721         (print_version): Use PKGVERSION.
7722         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7723         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7724         macro.
7725         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7726         (print_version): Use PKGVERSION.
7727         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7728         (print_version): Use PKGVERSION.
7729         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7730         and PKGVERSION.
7732         * timezone/checktab.awk: Update from tzcode 2012i.
7733         * timezone/ialloc.c: Likewise.
7734         * timezone/private.h: Likewise.
7735         * timezone/scheck.c: Likewise.
7736         * timezone/tzfile.h: Likewise.
7737         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7738         (TZVERSION): Hardcode tzcode version number.
7739         * timezone/zdump.c: Update from tzcode 2012i.
7740         * timezone/zic.c: Likewise.
7741         * timezone/version.h: New file.
7742         * timezone/README: Describe version.h.  Update upstream location.
7744         [BZ #14824]
7745         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7746         (mktemp): Enable declaration.
7747         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7748         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7749         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7750         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7751         Likewise.
7752         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7753         Likewise.
7754         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7755         Likewise.
7756         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7757         Likewise.
7758         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7759         Likewise.
7760         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7761         Likewise.
7763         [BZ #14821]
7764         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7765         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
7766         for copies of such integer values.
7767         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7768         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7770 2012-11-09  Andreas Jaeger  <aj@suse.de>
7772         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7773         definitions and declarations that are provided by
7774         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7776 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7778         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7779         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7780         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7781         definition.
7783 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7785         * elf/elf.h: Update comment before AArch64 relocations.
7787 2012-11-07  David S. Miller  <davem@davemloft.net>
7789         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7790         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7791         (__start_context): Declare.
7792         (__makecontext_ret): Delete.
7793         (__makecontext): Hook up __start_context instead of
7794         __makecontext_ret.
7795         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7796         (sysdep_routines): Add __start_context when in stdlib.
7798 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
7800         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7801         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7802         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
7803         hardcoded "nm".
7804         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
7805         (READELF): New variable.  Use it instead of hardcoded "readelf".
7807 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7809         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7810         * sysdeps/x86/Makefile: Here.
7811         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7812         * sysdeps/x86/tst-xmmymm.sh: This.
7814 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
7816         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7817         expectations.
7818         [UNIX98] (pthread_barrier_t): Do not expect.
7819         [UNIX98] (pthread_barrierattr_t): Likewise.
7820         [UNIX98] (pthread_spinlock_t): Likewise.
7821         [UNIX98] (pthread_barrier_destroy): Likewise.
7822         [UNIX98] (pthread_barrier_init): Likewise.
7823         [UNIX98] (pthread_barrier_wait): Likewise.
7824         [UNIX98] (pthread_barrierattr_destroy): Likewise.
7825         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7826         [UNIX98] (pthread_barrierattr_init): Likewise.
7827         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7828         [UNIX98] (pthread_getcpuclockid): Likewise.
7829         [UNIX98] (pthread_mutex_timedlock): Likewise.
7830         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7831         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7832         [UNIX98] (pthread_sigmask): Likewise.
7833         [UNIX98] (pthread_spin_destroy): Likewise.
7834         [UNIX98] (pthread_spin_init): Likewise.
7835         [UNIX98] (pthread_spin_lock): Likewise.
7836         [UNIX98] (pthread_spin_trylock): Likewise.
7837         [UNIX98] (pthread_spin_unlock): Likewise.
7838         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7839         Do not expect.
7840         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7841         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7842         [XPG3 || XPG4] (pthread_cond_t): Likewise.
7843         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7844         [XPG3 || XPG4] (pthread_key_t): Likewise.
7845         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7846         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7847         [XPG3 || XPG4] (pthread_once_t): Likewise.
7848         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7849         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7850         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7851         [XPG3 || XPG4] (pthread_t): Likewise.
7853         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7854         not expect.
7855         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7857         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7858         Change function return type to int.
7860         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7861         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7862         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7863         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7864         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7865         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7866         [!POSIX] (posix_madvise): Likewise.
7867         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7868         && !UNIX98].
7869         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7870         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7871         (mode_t): Likewise.
7872         (posix_mem_offset): Likewise.
7873         (posix_typed_mem_get_info): Likewise.
7874         (posix_typed_mem_open): Likewise.
7876         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7877         Change condition to [XOPEN2K8].
7879         * conform/conformtest.pl: Preprocess allow-header data with -x c
7880         instead of from stdin.
7881         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7882         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7883         [C99-based standards] (cerfc): Likewise.
7884         [C99-based standards] (cexp2): Likewise.
7885         [C99-based standards] (cexpm1): Likewise.
7886         [C99-based standards] (clog10): Likewise.
7887         [C99-based standards] (clog1p): Likewise.
7888         [C99-based standards] (clog2): Likewise.
7889         [C99-based standards] (clgamma): Likewise.
7890         [C99-based standards] (ctgamma): Likewise.
7891         [C99-based standards] (cerff): Likewise.
7892         [C99-based standards] (cerfcf): Likewise.
7893         [C99-based standards] (cexp2f): Likewise.
7894         [C99-based standards] (cexpm1f): Likewise.
7895         [C99-based standards] (clog10f): Likewise.
7896         [C99-based standards] (clog1pf): Likewise.
7897         [C99-based standards] (clog2f): Likewise.
7898         [C99-based standards] (clgammaf): Likewise.
7899         [C99-based standards] (ctgammaf): Likewise.
7900         [C99-based standards] (cerfl): Likewise.
7901         [C99-based standards] (cerfcl): Likewise.
7902         [C99-based standards] (cexp2l): Likewise.
7903         [C99-based standards] (cexpm1l): Likewise.
7904         [C99-based standards] (clog10l): Likewise.
7905         [C99-based standards] (clog1pl): Likewise.
7906         [C99-based standards] (clog2l): Likewise.
7907         [C99-based standards] (clgammal): Likewise.
7908         [C99-based standards] (ctgammal): Likewise.
7909         * conform/data/inttypes.h-data [C99-based standards]: Include
7910         stdint.h-data.  Remove all expectations for stdint.h contents.
7911         [C99-based standards] (PRI*): Do not allow.
7912         [C99-based standards] (SCN*): Likewise.
7913         [C99-based standards] (*_t): Likewise.
7914         [C99-based-standards] (PRId8): Expect macro.
7915         [C99-based-standards] (PRIi8): Likewise.
7916         [C99-based-standards] (PRIo8): Likewise.
7917         [C99-based-standards] (PRIu8): Likewise.
7918         [C99-based-standards] (PRIx8): Likewise.
7919         [C99-based-standards] (PRIX8): Likewise.
7920         [C99-based-standards] (SCNd8): Likewise.
7921         [C99-based-standards] (SCNi8): Likewise.
7922         [C99-based-standards] (SCNo8): Likewise.
7923         [C99-based-standards] (SCNu8): Likewise.
7924         [C99-based-standards] (SCNx8): Likewise.
7925         [C99-based-standards] (PRIdLEAST8): Likewise.
7926         [C99-based-standards] (PRIiLEAST8): Likewise.
7927         [C99-based-standards] (PRIoLEAST8): Likewise.
7928         [C99-based-standards] (PRIuLEAST8): Likewise.
7929         [C99-based-standards] (PRIxLEAST8): Likewise.
7930         [C99-based-standards] (PRIXLEAST8): Likewise.
7931         [C99-based-standards] (SCNdLEAST8): Likewise.
7932         [C99-based-standards] (SCNiLEAST8): Likewise.
7933         [C99-based-standards] (SCNoLEAST8): Likewise.
7934         [C99-based-standards] (SCNuLEAST8): Likewise.
7935         [C99-based-standards] (SCNxLEAST8): Likewise.
7936         [C99-based-standards] (PRIdFAST8): Likewise.
7937         [C99-based-standards] (PRIiFAST8): Likewise.
7938         [C99-based-standards] (PRIoFAST8): Likewise.
7939         [C99-based-standards] (PRIuFAST8): Likewise.
7940         [C99-based-standards] (PRIxFAST8): Likewise.
7941         [C99-based-standards] (PRIXFAST8): Likewise.
7942         [C99-based-standards] (SCNdFAST8): Likewise.
7943         [C99-based-standards] (SCNiFAST8): Likewise.
7944         [C99-based-standards] (SCNoFAST8): Likewise.
7945         [C99-based-standards] (SCNuFAST8): Likewise.
7946         [C99-based-standards] (SCNxFAST8): Likewise.
7947         [C99-based-standards] (PRId16): Likewise.
7948         [C99-based-standards] (PRIi16): Likewise.
7949         [C99-based-standards] (PRIo16): Likewise.
7950         [C99-based-standards] (PRIu16): Likewise.
7951         [C99-based-standards] (PRIx16): Likewise.
7952         [C99-based-standards] (PRIX16): Likewise.
7953         [C99-based-standards] (SCNd16): Likewise.
7954         [C99-based-standards] (SCNi16): Likewise.
7955         [C99-based-standards] (SCNo16): Likewise.
7956         [C99-based-standards] (SCNu16): Likewise.
7957         [C99-based-standards] (SCNx16): Likewise.
7958         [C99-based-standards] (PRIdLEAST16): Likewise.
7959         [C99-based-standards] (PRIiLEAST16): Likewise.
7960         [C99-based-standards] (PRIoLEAST16): Likewise.
7961         [C99-based-standards] (PRIuLEAST16): Likewise.
7962         [C99-based-standards] (PRIxLEAST16): Likewise.
7963         [C99-based-standards] (PRIXLEAST16): Likewise.
7964         [C99-based-standards] (SCNdLEAST16): Likewise.
7965         [C99-based-standards] (SCNiLEAST16): Likewise.
7966         [C99-based-standards] (SCNoLEAST16): Likewise.
7967         [C99-based-standards] (SCNuLEAST16): Likewise.
7968         [C99-based-standards] (SCNxLEAST16): Likewise.
7969         [C99-based-standards] (PRIdFAST16): Likewise.
7970         [C99-based-standards] (PRIiFAST16): Likewise.
7971         [C99-based-standards] (PRIoFAST16): Likewise.
7972         [C99-based-standards] (PRIuFAST16): Likewise.
7973         [C99-based-standards] (PRIxFAST16): Likewise.
7974         [C99-based-standards] (PRIXFAST16): Likewise.
7975         [C99-based-standards] (SCNdFAST16): Likewise.
7976         [C99-based-standards] (SCNiFAST16): Likewise.
7977         [C99-based-standards] (SCNoFAST16): Likewise.
7978         [C99-based-standards] (SCNuFAST16): Likewise.
7979         [C99-based-standards] (SCNxFAST16): Likewise.
7980         [C99-based-standards] (PRId32): Likewise.
7981         [C99-based-standards] (PRIi32): Likewise.
7982         [C99-based-standards] (PRIo32): Likewise.
7983         [C99-based-standards] (PRIu32): Likewise.
7984         [C99-based-standards] (PRIx32): Likewise.
7985         [C99-based-standards] (PRIX32): Likewise.
7986         [C99-based-standards] (SCNd32): Likewise.
7987         [C99-based-standards] (SCNi32): Likewise.
7988         [C99-based-standards] (SCNo32): Likewise.
7989         [C99-based-standards] (SCNu32): Likewise.
7990         [C99-based-standards] (SCNx32): Likewise.
7991         [C99-based-standards] (PRIdLEAST32): Likewise.
7992         [C99-based-standards] (PRIiLEAST32): Likewise.
7993         [C99-based-standards] (PRIoLEAST32): Likewise.
7994         [C99-based-standards] (PRIuLEAST32): Likewise.
7995         [C99-based-standards] (PRIxLEAST32): Likewise.
7996         [C99-based-standards] (PRIXLEAST32): Likewise.
7997         [C99-based-standards] (SCNdLEAST32): Likewise.
7998         [C99-based-standards] (SCNiLEAST32): Likewise.
7999         [C99-based-standards] (SCNoLEAST32): Likewise.
8000         [C99-based-standards] (SCNuLEAST32): Likewise.
8001         [C99-based-standards] (SCNxLEAST32): Likewise.
8002         [C99-based-standards] (PRIdFAST32): Likewise.
8003         [C99-based-standards] (PRIiFAST32): Likewise.
8004         [C99-based-standards] (PRIoFAST32): Likewise.
8005         [C99-based-standards] (PRIuFAST32): Likewise.
8006         [C99-based-standards] (PRIxFAST32): Likewise.
8007         [C99-based-standards] (PRIXFAST32): Likewise.
8008         [C99-based-standards] (SCNdFAST32): Likewise.
8009         [C99-based-standards] (SCNiFAST32): Likewise.
8010         [C99-based-standards] (SCNoFAST32): Likewise.
8011         [C99-based-standards] (SCNuFAST32): Likewise.
8012         [C99-based-standards] (SCNxFAST32): Likewise.
8013         [C99-based-standards] (PRId64): Likewise.
8014         [C99-based-standards] (PRIi64): Likewise.
8015         [C99-based-standards] (PRIo64): Likewise.
8016         [C99-based-standards] (PRIu64): Likewise.
8017         [C99-based-standards] (PRIx64): Likewise.
8018         [C99-based-standards] (PRIX64): Likewise.
8019         [C99-based-standards] (SCNd64): Likewise.
8020         [C99-based-standards] (SCNi64): Likewise.
8021         [C99-based-standards] (SCNo64): Likewise.
8022         [C99-based-standards] (SCNu64): Likewise.
8023         [C99-based-standards] (SCNx64): Likewise.
8024         [C99-based-standards] (PRIdLEAST64): Likewise.
8025         [C99-based-standards] (PRIiLEAST64): Likewise.
8026         [C99-based-standards] (PRIoLEAST64): Likewise.
8027         [C99-based-standards] (PRIuLEAST64): Likewise.
8028         [C99-based-standards] (PRIxLEAST64): Likewise.
8029         [C99-based-standards] (PRIXLEAST64): Likewise.
8030         [C99-based-standards] (SCNdLEAST64): Likewise.
8031         [C99-based-standards] (SCNiLEAST64): Likewise.
8032         [C99-based-standards] (SCNoLEAST64): Likewise.
8033         [C99-based-standards] (SCNuLEAST64): Likewise.
8034         [C99-based-standards] (SCNxLEAST64): Likewise.
8035         [C99-based-standards] (PRIdFAST64): Likewise.
8036         [C99-based-standards] (PRIiFAST64): Likewise.
8037         [C99-based-standards] (PRIoFAST64): Likewise.
8038         [C99-based-standards] (PRIuFAST64): Likewise.
8039         [C99-based-standards] (PRIxFAST64): Likewise.
8040         [C99-based-standards] (PRIXFAST64): Likewise.
8041         [C99-based-standards] (SCNdFAST64): Likewise.
8042         [C99-based-standards] (SCNiFAST64): Likewise.
8043         [C99-based-standards] (SCNoFAST64): Likewise.
8044         [C99-based-standards] (SCNuFAST64): Likewise.
8045         [C99-based-standards] (SCNxFAST64): Likewise.
8046         [C99-based-standards] (PRIdMAX): Likewise.
8047         [C99-based-standards] (PRIiMAX): Likewise.
8048         [C99-based-standards] (PRIoMAX): Likewise.
8049         [C99-based-standards] (PRIuMAX): Likewise.
8050         [C99-based-standards] (PRIxMAX): Likewise.
8051         [C99-based-standards] (PRIXMAX): Likewise.
8052         [C99-based-standards] (SCNdMAX): Likewise.
8053         [C99-based-standards] (SCNiMAX): Likewise.
8054         [C99-based-standards] (SCNoMAX): Likewise.
8055         [C99-based-standards] (SCNuMAX): Likewise.
8056         [C99-based-standards] (SCNxMAX): Likewise.
8057         [C99-based-standards] (PRIdPTR): Likewise.
8058         [C99-based-standards] (PRIiPTR): Likewise.
8059         [C99-based-standards] (PRIoPTR): Likewise.
8060         [C99-based-standards] (PRIuPTR): Likewise.
8061         [C99-based-standards] (PRIxPTR): Likewise.
8062         [C99-based-standards] (PRIXPTR): Likewise.
8063         [C99-based-standards] (SCNdPTR): Likewise.
8064         [C99-based-standards] (SCNiPTR): Likewise.
8065         [C99-based-standards] (SCNoPTR): Likewise.
8066         [C99-based-standards] (SCNuPTR): Likewise.
8067         [C99-based-standards] (SCNxPTR): Likewise.
8068         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8069         allow.
8070         * conform/data/stdint.h-data: Update comments to clarify
8071         requirements.
8072         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
8073         type.
8074         [C99-based standards] (INT8_MAX): Likewise.
8075         [C99-based standards] (INT16_MIN): Likewise.
8076         [C99-based standards] (INT16_MAX): Likewise.
8077         [C99-based standards] (INT32_MIN): Likewise.
8078         [C99-based standards] (INT32_MAX): Likewise.
8079         [C99-based standards] (INT64_MIN): Likewise.
8080         [C99-based standards] (INT64_MAX): Likewise.
8081         [C99-based standards] (UINT8_MAX): Likewise.
8082         [C99-based standards] (UINT16_MAX): Likewise.
8083         [C99-based standards] (UINT32_MAX): Likewise.
8084         [C99-based standards] (UINT64_MAX): Likewise.
8085         [C99-based standards] (INT_LEAST8_MIN): Likewise.
8086         [C99-based standards] (INT_LEAST8_MAX): Likewise.
8087         [C99-based standards] (INT_LEAST16_MIN): Likewise.
8088         [C99-based standards] (INT_LEAST16_MAX): Likewise.
8089         [C99-based standards] (INT_LEAST32_MIN): Likewise.
8090         [C99-based standards] (INT_LEAST32_MAX): Likewise.
8091         [C99-based standards] (INT_LEAST64_MIN): Likewise.
8092         [C99-based standards] (INT_LEAST64_MAX): Likewise.
8093         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8094         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8095         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8096         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8097         [C99-based standards] (INT_FAST8_MIN): Likewise.
8098         [C99-based standards] (INT_FAST8_MAX): Likewise.
8099         [C99-based standards] (INT_FAST16_MIN): Likewise.
8100         [C99-based standards] (INT_FAST16_MAX): Likewise.
8101         [C99-based standards] (INT_FAST32_MIN): Likewise.
8102         [C99-based standards] (INT_FAST32_MAX): Likewise.
8103         [C99-based standards] (INT_FAST64_MIN): Likewise.
8104         [C99-based standards] (INT_FAST64_MAX): Likewise.
8105         [C99-based standards] (UINT_FAST8_MAX): Likewise.
8106         [C99-based standards] (UINT_FAST16_MAX): Likewise.
8107         [C99-based standards] (UINT_FAST32_MAX): Likewise.
8108         [C99-based standards] (UINT_FAST64_MAX): Likewise.
8109         [C99-based standards] (INTPTR_MIN): Likewise.
8110         [C99-based standards] (INTPTR_MAX): Likewise.
8111         [C99-based standards] (UINTPTR_MAX): Likewise.
8112         [C99-based standards] (INTMAX_MIN): Likewise.
8113         [C99-based standards] (INTMAX_MAX): Likewise.
8114         [C99-based standards] (UINTMAX_MAX): Likewise.
8115         [C99-based standards] (PTRDIFF_MIN): Likewise.
8116         [C99-based standards] (PTRDIFF_MAX): Likewise.
8117         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8118         [C99-based standards] (SIZE_MAX): Likewise.
8119         [C99-based standards] (WCHAR_MAX): Likewise.
8120         [C99-based standards] (WINT_MAX): Likewise.
8121         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
8122         constraint on value.
8123         [C99-based standards] (WCHAR_MIN): Likewise.
8124         [C99-based standards] (WINT_MIN): Likewise.
8125         [C99-based standards] (*_t): Allow.
8126         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8127         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8128         Include math.h-data and complex.h-data.  Remove all expectations
8129         of math.h and complex.h contents.
8130         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8131         at end of line.
8132         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8133         (struct tm): Expect tag.
8134         [C99-based-standards] (wcstof): Expect function.
8135         [C99-based-standards] (wcstold): Likewise.
8136         [C99-based-standards] (wcstoll): Likewise.
8137         [C99-based-standards] (wcstoull): Likewise.
8138         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8139         macro-int-constant.  Specify type.
8140         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
8141         constraint on value.
8142         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8143         Specify type.
8144         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8145         Specify value.
8146         [ISO C standards]: Do not allow headers.
8147         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8148         wcs[abcdefghijklmnopqrstuvwxyz]*.
8149         [ISO C standards] (*_t): Do not allow.
8150         * conform/data/wctype.h-data [C99-based standards] (iswblank):
8151         Expect function.
8152         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8153         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8154         Specify type.
8155         [ISO C standards]: Do not allow headers.
8156         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8157         is[abcdefghijklmnopqrstuvwxyz]*.
8158         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8159         to[abcdefghijklmnopqrstuvwxyz]*.
8160         [ISO C standards] (*_t): Do not allow.
8161         * conform/data/stdalign.h-data: New file.
8162         * conform/data/stdbool.h-data: Likewise.
8163         * conform/data/stdnoreturn.h-data: Likewise.
8165 2012-11-07  Roland McGrath  <roland@hack.frob.com>
8167         [BZ #14815]
8168         * manual/filesys.texi (Directory Entries): Typo fix.
8169         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8171 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8173         * elf/elf.h (EM_AARCH64): New macro.
8174         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8175         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8176         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8177         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8178         (R_AARCH64_TLSDESC): Likewise.
8179         (NT_ARM_TLS): Likewise.
8180         (NT_ARM_HW_BREAK): Likewise.
8181         (NT_ARM_HW_WATCH): Likewise.
8183 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8185         [BZ #14811]
8186         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8187         (__ieee754_powl): Saturate nonzero exponents with absolute value
8188         below 0x1p-79 to +/- 0x1p-79.
8189         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8190         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8191         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8192         nonzero exponents with absolute value below 0x1p-32 to +/-
8193         0x1p-32.
8194         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8195         (__ieee754_powl): Saturate nonzero exponents with absolute value
8196         below 0x1p-79 to +/- 0x1p-79.
8197         * math/libm-test.inc (pow_test): Add more tests.
8199 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8201         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8202         _dl_s390_cap_flags with kernel. Increase string length.
8203         (_dl_s390_platforms): Add z196 and zEC12.
8205 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8207         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8208         Change XOPEN21K to XOPEN2K.
8210 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
8212         * string/memmove.c: Use memcpy when possible.
8214 2012-11-06  Andreas Jaeger  <aj@suse.de>
8216         * po/eo.po: Update from translation team.
8218 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
8220         [BZ #14793]
8221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8222         exponent and small x and y exponents, scale x or y up.  Increase
8223         by 2 the exponent used in scaling up.
8224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8225         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8226         * math/libm-test.inc (fma_test): Add more tests.
8227         (fma_test_towardzero): Likewise.
8228         (fma_test_downward): Likewise.
8229         (fma_test_upward): Likewise.
8231 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
8233         [BZ #14805]
8234         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8235         fenv_t *.
8237         [BZ #14801]
8238         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8239         namespace for names of struct fields.
8240         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8241         fenv_t fields.
8242         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8243         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8245 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8247         [BZ #3665]
8248         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8250 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8252         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8253         PTR_DEMANGLE.
8255         [BZ #5246]
8256         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8257         PTR_DEMANGLE.
8259 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
8261         [BZ #14797]
8262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8263         definitely overflow as x * y not x * y + z.
8264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8265         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8266         * math/libm-test.inc (fma_test): Add more tests.
8267         (fma_test_towardzero): Likewise.
8268         (fma_test_downward): Likewise.
8269         (fma_test_upward): Likewise.
8271 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8273         [BZ #157]
8275         * include/stub-tag.h: Remove file.
8276         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8277         '#include' of it.
8278         * manual/maint.texi (Porting): Don't reference it.
8279         * Makerules ($(objpfx)stubs): Likewise.
8280         * dirent/closedir.c: Don't include <stub-tag.h>.
8281         * dirent/dirfd.c: Likewise.
8282         * dirent/fdopendir.c: Likewise.
8283         * dirent/getdents.c: Likewise.
8284         * dirent/getdents64.c: Likewise.
8285         * dirent/opendir.c: Likewise.
8286         * dirent/readdir.c: Likewise.
8287         * dirent/readdir64.c: Likewise.
8288         * dirent/readdir64_r.c: Likewise.
8289         * dirent/readdir_r.c: Likewise.
8290         * dirent/rewinddir.c: Likewise.
8291         * dirent/seekdir.c: Likewise.
8292         * dirent/telldir.c: Likewise.
8293         * gmon/profil.c: Likewise.
8294         * grp/setgroups.c: Likewise.
8295         * inet/if_index.c: Likewise.
8296         * io/access.c: Likewise.
8297         * io/chdir.c: Likewise.
8298         * io/chmod.c: Likewise.
8299         * io/chown.c: Likewise.
8300         * io/close.c: Likewise.
8301         * io/dup.c: Likewise.
8302         * io/dup2.c: Likewise.
8303         * io/dup3.c: Likewise.
8304         * io/euidaccess.c: Likewise.
8305         * io/faccessat.c: Likewise.
8306         * io/fchdir.c: Likewise.
8307         * io/fchmod.c: Likewise.
8308         * io/fchmodat.c: Likewise.
8309         * io/fchown.c: Likewise.
8310         * io/fchownat.c: Likewise.
8311         * io/fcntl.c: Likewise.
8312         * io/flock.c: Likewise.
8313         * io/fstatfs.c: Likewise.
8314         * io/fstatfs64.c: Likewise.
8315         * io/fstatvfs.c: Likewise.
8316         * io/fstatvfs64.c: Likewise.
8317         * io/futimens.c: Likewise.
8318         * io/fxstat.c: Likewise.
8319         * io/fxstat64.c: Likewise.
8320         * io/fxstatat.c: Likewise.
8321         * io/fxstatat64.c: Likewise.
8322         * io/getcwd.c: Likewise.
8323         * io/isatty.c: Likewise.
8324         * io/lchmod.c: Likewise.
8325         * io/lchown.c: Likewise.
8326         * io/link.c: Likewise.
8327         * io/linkat.c: Likewise.
8328         * io/lseek.c: Likewise.
8329         * io/lseek64.c: Likewise.
8330         * io/lxstat64.c: Likewise.
8331         * io/mkdir.c: Likewise.
8332         * io/mkdirat.c: Likewise.
8333         * io/mkfifo.c: Likewise.
8334         * io/mkfifoat.c: Likewise.
8335         * io/open.c: Likewise.
8336         * io/open64.c: Likewise.
8337         * io/openat.c: Likewise.
8338         * io/openat64.c: Likewise.
8339         * io/pipe.c: Likewise.
8340         * io/pipe2.c: Likewise.
8341         * io/poll.c: Likewise.
8342         * io/posix_fadvise.c: Likewise.
8343         * io/posix_fadvise64.c: Likewise.
8344         * io/posix_fallocate.c: Likewise.
8345         * io/posix_fallocate64.c: Likewise.
8346         * io/read.c: Likewise.
8347         * io/readlink.c: Likewise.
8348         * io/readlinkat.c: Likewise.
8349         * io/rmdir.c: Likewise.
8350         * io/sendfile.c: Likewise.
8351         * io/sendfile64.c: Likewise.
8352         * io/statfs.c: Likewise.
8353         * io/statfs64.c: Likewise.
8354         * io/statvfs.c: Likewise.
8355         * io/statvfs64.c: Likewise.
8356         * io/symlink.c: Likewise.
8357         * io/symlinkat.c: Likewise.
8358         * io/ttyname.c: Likewise.
8359         * io/ttyname_r.c: Likewise.
8360         * io/umask.c: Likewise.
8361         * io/unlink.c: Likewise.
8362         * io/unlinkat.c: Likewise.
8363         * io/utime.c: Likewise.
8364         * io/utimensat.c: Likewise.
8365         * io/write.c: Likewise.
8366         * io/xmknod.c: Likewise.
8367         * io/xmknodat.c: Likewise.
8368         * io/xstat.c: Likewise.
8369         * io/xstat64.c: Likewise.
8370         * login/getpt.c: Likewise.
8371         * login/grantpt.c: Likewise.
8372         * login/unlockpt.c: Likewise.
8373         * math/e_acoshl.c: Likewise.
8374         * math/e_acosl.c: Likewise.
8375         * math/e_asinl.c: Likewise.
8376         * math/e_atan2l.c: Likewise.
8377         * math/e_atanhl.c: Likewise.
8378         * math/e_coshl.c: Likewise.
8379         * math/e_expl.c: Likewise.
8380         * math/e_fmodl.c: Likewise.
8381         * math/e_gammal_r.c: Likewise.
8382         * math/e_hypotl.c: Likewise.
8383         * math/e_j0l.c: Likewise.
8384         * math/e_j1l.c: Likewise.
8385         * math/e_jnl.c: Likewise.
8386         * math/e_lgammal_r.c: Likewise.
8387         * math/e_log10l.c: Likewise.
8388         * math/e_log2l.c: Likewise.
8389         * math/e_logl.c: Likewise.
8390         * math/e_powl.c: Likewise.
8391         * math/e_rem_pio2l.c: Likewise.
8392         * math/e_sinhl.c: Likewise.
8393         * math/e_sqrtl.c: Likewise.
8394         * math/fclrexcpt.c: Likewise.
8395         * math/fedisblxcpt.c: Likewise.
8396         * math/feenablxcpt.c: Likewise.
8397         * math/fegetenv.c: Likewise.
8398         * math/fegetexcept.c: Likewise.
8399         * math/fegetround.c: Likewise.
8400         * math/feholdexcpt.c: Likewise.
8401         * math/fesetenv.c: Likewise.
8402         * math/fesetround.c: Likewise.
8403         * math/feupdateenv.c: Likewise.
8404         * math/fgetexcptflg.c: Likewise.
8405         * math/fraiseexcpt.c: Likewise.
8406         * math/fsetexcptflg.c: Likewise.
8407         * math/ftestexcept.c: Likewise.
8408         * math/k_cosl.c: Likewise.
8409         * math/k_rem_pio2l.c: Likewise.
8410         * math/k_sinl.c: Likewise.
8411         * math/k_tanl.c: Likewise.
8412         * math/s_asinhl.c: Likewise.
8413         * math/s_atanl.c: Likewise.
8414         * math/s_cbrtl.c: Likewise.
8415         * math/s_erfl.c: Likewise.
8416         * math/s_expm1l.c: Likewise.
8417         * math/s_log1pl.c: Likewise.
8418         * math/s_tanhl.c: Likewise.
8419         * misc/acct.c: Likewise.
8420         * misc/brk.c: Likewise.
8421         * misc/chflags.c: Likewise.
8422         * misc/chroot.c: Likewise.
8423         * misc/fchflags.c: Likewise.
8424         * misc/fgetxattr.c: Likewise.
8425         * misc/flistxattr.c: Likewise.
8426         * misc/fremovexattr.c: Likewise.
8427         * misc/fsetxattr.c: Likewise.
8428         * misc/fsync.c: Likewise.
8429         * misc/ftruncate.c: Likewise.
8430         * misc/futimes.c: Likewise.
8431         * misc/futimesat.c: Likewise.
8432         * misc/getdomain.c: Likewise.
8433         * misc/getdtsz.c: Likewise.
8434         * misc/gethostid.c: Likewise.
8435         * misc/gethostname.c: Likewise.
8436         * misc/getloadavg.c: Likewise.
8437         * misc/getpagesize.c: Likewise.
8438         * misc/getsysstats.c: Likewise.
8439         * misc/getxattr.c: Likewise.
8440         * misc/gtty.c: Likewise.
8441         * misc/ioctl.c: Likewise.
8442         * misc/lgetxattr.c: Likewise.
8443         * misc/listxattr.c: Likewise.
8444         * misc/llistxattr.c: Likewise.
8445         * misc/lremovexattr.c: Likewise.
8446         * misc/lsetxattr.c: Likewise.
8447         * misc/lutimes.c: Likewise.
8448         * misc/madvise.c: Likewise.
8449         * misc/mincore.c: Likewise.
8450         * misc/mlock.c: Likewise.
8451         * misc/mlockall.c: Likewise.
8452         * misc/mmap.c: Likewise.
8453         * misc/mprotect.c: Likewise.
8454         * misc/msync.c: Likewise.
8455         * misc/munlock.c: Likewise.
8456         * misc/munlockall.c: Likewise.
8457         * misc/munmap.c: Likewise.
8458         * misc/preadv.c: Likewise.
8459         * misc/preadv64.c: Likewise.
8460         * misc/ptrace.c: Likewise.
8461         * misc/pwritev.c: Likewise.
8462         * misc/pwritev64.c: Likewise.
8463         * misc/readv.c: Likewise.
8464         * misc/reboot.c: Likewise.
8465         * misc/remap_file_pages.c: Likewise.
8466         * misc/removexattr.c: Likewise.
8467         * misc/revoke.c: Likewise.
8468         * misc/select.c: Likewise.
8469         * misc/setdomain.c: Likewise.
8470         * misc/setegid.c: Likewise.
8471         * misc/seteuid.c: Likewise.
8472         * misc/sethostid.c: Likewise.
8473         * misc/sethostname.c: Likewise.
8474         * misc/setregid.c: Likewise.
8475         * misc/setreuid.c: Likewise.
8476         * misc/setxattr.c: Likewise.
8477         * misc/sstk.c: Likewise.
8478         * misc/stty.c: Likewise.
8479         * misc/swapoff.c: Likewise.
8480         * misc/swapon.c: Likewise.
8481         * misc/sync.c: Likewise.
8482         * misc/syncfs.c: Likewise.
8483         * misc/syscall.c: Likewise.
8484         * misc/truncate.c: Likewise.
8485         * misc/ualarm.c: Likewise.
8486         * misc/usleep.c: Likewise.
8487         * misc/ustat.c: Likewise.
8488         * misc/utimes.c: Likewise.
8489         * misc/vhangup.c: Likewise.
8490         * misc/writev.c: Likewise.
8491         * posix/_exit.c: Likewise.
8492         * posix/alarm.c: Likewise.
8493         * posix/execve.c: Likewise.
8494         * posix/fexecve.c: Likewise.
8495         * posix/fork.c: Likewise.
8496         * posix/fpathconf.c: Likewise.
8497         * posix/getaddrinfo.c: Likewise.
8498         * posix/getegid.c: Likewise.
8499         * posix/geteuid.c: Likewise.
8500         * posix/getgid.c: Likewise.
8501         * posix/getgroups.c: Likewise.
8502         * posix/getlogin.c: Likewise.
8503         * posix/getlogin_r.c: Likewise.
8504         * posix/getpgid.c: Likewise.
8505         * posix/getpid.c: Likewise.
8506         * posix/getppid.c: Likewise.
8507         * posix/getresgid.c: Likewise.
8508         * posix/getresuid.c: Likewise.
8509         * posix/getsid.c: Likewise.
8510         * posix/getuid.c: Likewise.
8511         * posix/glob64.c: Likewise.
8512         * posix/nanosleep.c: Likewise.
8513         * posix/pathconf.c: Likewise.
8514         * posix/pause.c: Likewise.
8515         * posix/posix_madvise.c: Likewise.
8516         * posix/pread.c: Likewise.
8517         * posix/pread64.c: Likewise.
8518         * posix/pwrite.c: Likewise.
8519         * posix/pwrite64.c: Likewise.
8520         * posix/sched_getaffinity.c: Likewise.
8521         * posix/sched_getp.c: Likewise.
8522         * posix/sched_gets.c: Likewise.
8523         * posix/sched_primax.c: Likewise.
8524         * posix/sched_primin.c: Likewise.
8525         * posix/sched_rr_gi.c: Likewise.
8526         * posix/sched_setaffinity.c: Likewise.
8527         * posix/sched_setp.c: Likewise.
8528         * posix/sched_sets.c: Likewise.
8529         * posix/sched_yield.c: Likewise.
8530         * posix/setgid.c: Likewise.
8531         * posix/setlogin.c: Likewise.
8532         * posix/setpgid.c: Likewise.
8533         * posix/setresgid.c: Likewise.
8534         * posix/setresuid.c: Likewise.
8535         * posix/setsid.c: Likewise.
8536         * posix/setuid.c: Likewise.
8537         * posix/sleep.c: Likewise.
8538         * posix/spawni.c: Likewise.
8539         * posix/sysconf.c: Likewise.
8540         * posix/times.c: Likewise.
8541         * posix/wait.c: Likewise.
8542         * posix/wait3.c: Likewise.
8543         * posix/wait4.c: Likewise.
8544         * posix/waitpid.c: Likewise.
8545         * resolv/gai_sigqueue.c: Likewise.
8546         * resource/getpriority.c: Likewise.
8547         * resource/getrlimit.c: Likewise.
8548         * resource/getrusage.c: Likewise.
8549         * resource/nice.c: Likewise.
8550         * resource/setpriority.c: Likewise.
8551         * resource/setrlimit.c: Likewise.
8552         * resource/ulimit.c: Likewise.
8553         * rt/aio_cancel.c: Likewise.
8554         * rt/aio_fsync.c: Likewise.
8555         * rt/aio_read.c: Likewise.
8556         * rt/aio_sigqueue.c: Likewise.
8557         * rt/aio_suspend.c: Likewise.
8558         * rt/aio_write.c: Likewise.
8559         * rt/clock_getres.c: Likewise.
8560         * rt/clock_gettime.c: Likewise.
8561         * rt/clock_nanosleep.c: Likewise.
8562         * rt/clock_settime.c: Likewise.
8563         * rt/lio_listio.c: Likewise.
8564         * rt/mq_close.c: Likewise.
8565         * rt/mq_getattr.c: Likewise.
8566         * rt/mq_notify.c: Likewise.
8567         * rt/mq_open.c: Likewise.
8568         * rt/mq_receive.c: Likewise.
8569         * rt/mq_send.c: Likewise.
8570         * rt/mq_setattr.c: Likewise.
8571         * rt/mq_timedreceive.c: Likewise.
8572         * rt/mq_timedsend.c: Likewise.
8573         * rt/mq_unlink.c: Likewise.
8574         * rt/shm_open.c: Likewise.
8575         * rt/shm_unlink.c: Likewise.
8576         * rt/timer_create.c: Likewise.
8577         * rt/timer_delete.c: Likewise.
8578         * rt/timer_getoverr.c: Likewise.
8579         * rt/timer_gettime.c: Likewise.
8580         * rt/timer_settime.c: Likewise.
8581         * setjmp/__longjmp.c: Likewise.
8582         * setjmp/setjmp.c: Likewise.
8583         * signal/kill.c: Likewise.
8584         * signal/killpg.c: Likewise.
8585         * signal/raise.c: Likewise.
8586         * signal/sigaction.c: Likewise.
8587         * signal/sigaltstack.c: Likewise.
8588         * signal/sigblock.c: Likewise.
8589         * signal/sigignore.c: Likewise.
8590         * signal/sigintr.c: Likewise.
8591         * signal/signal.c: Likewise.
8592         * signal/sigpause.c: Likewise.
8593         * signal/sigpending.c: Likewise.
8594         * signal/sigqueue.c: Likewise.
8595         * signal/sigreturn.c: Likewise.
8596         * signal/sigset.c: Likewise.
8597         * signal/sigsetmask.c: Likewise.
8598         * signal/sigstack.c: Likewise.
8599         * signal/sigsuspend.c: Likewise.
8600         * signal/sigtimedwait.c: Likewise.
8601         * signal/sigvec.c: Likewise.
8602         * signal/sigwait.c: Likewise.
8603         * signal/sigwaitinfo.c: Likewise.
8604         * signal/sysv_signal.c: Likewise.
8605         * socket/accept.c: Likewise.
8606         * socket/accept4.c: Likewise.
8607         * socket/bind.c: Likewise.
8608         * socket/connect.c: Likewise.
8609         * socket/getpeername.c: Likewise.
8610         * socket/getsockname.c: Likewise.
8611         * socket/getsockopt.c: Likewise.
8612         * socket/isfdtype.c: Likewise.
8613         * socket/listen.c: Likewise.
8614         * socket/recv.c: Likewise.
8615         * socket/recvfrom.c: Likewise.
8616         * socket/recvmsg.c: Likewise.
8617         * socket/send.c: Likewise.
8618         * socket/sendmsg.c: Likewise.
8619         * socket/sendto.c: Likewise.
8620         * socket/setsockopt.c: Likewise.
8621         * socket/shutdown.c: Likewise.
8622         * socket/sockatmark.c: Likewise.
8623         * socket/socket.c: Likewise.
8624         * socket/socketpair.c: Likewise.
8625         * stdio-common/ctermid.c: Likewise.
8626         * stdio-common/cuserid.c: Likewise.
8627         * stdio-common/remove.c: Likewise.
8628         * stdio-common/rename.c: Likewise.
8629         * stdio-common/renameat.c: Likewise.
8630         * stdio-common/tempname.c: Likewise.
8631         * stdlib/getcontext.c: Likewise.
8632         * stdlib/makecontext.c: Likewise.
8633         * stdlib/setcontext.c: Likewise.
8634         * stdlib/swapcontext.c: Likewise.
8635         * stdlib/system.c: Likewise.
8636         * streams/fattach.c: Likewise.
8637         * streams/fdetach.c: Likewise.
8638         * streams/getmsg.c: Likewise.
8639         * streams/getpmsg.c: Likewise.
8640         * streams/putmsg.c: Likewise.
8641         * streams/putpmsg.c: Likewise.
8642         * sysdeps/unix/bsd/getpt.c: Likewise.
8643         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8644         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8645         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8647         Likewise.
8648         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8649         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8650         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8651         * sysvipc/msgctl.c: Likewise.
8652         * sysvipc/msgget.c: Likewise.
8653         * sysvipc/msgrcv.c: Likewise.
8654         * sysvipc/msgsnd.c: Likewise.
8655         * sysvipc/semctl.c: Likewise.
8656         * sysvipc/semget.c: Likewise.
8657         * sysvipc/semop.c: Likewise.
8658         * sysvipc/semtimedop.c: Likewise.
8659         * sysvipc/shmat.c: Likewise.
8660         * sysvipc/shmctl.c: Likewise.
8661         * sysvipc/shmdt.c: Likewise.
8662         * sysvipc/shmget.c: Likewise.
8663         * termios/tcdrain.c: Likewise.
8664         * termios/tcflow.c: Likewise.
8665         * termios/tcflush.c: Likewise.
8666         * termios/tcgetattr.c: Likewise.
8667         * termios/tcgetpgrp.c: Likewise.
8668         * termios/tcsendbrk.c: Likewise.
8669         * termios/tcsetattr.c: Likewise.
8670         * termios/tcsetpgrp.c: Likewise.
8671         * time/adjtime.c: Likewise.
8672         * time/clock.c: Likewise.
8673         * time/getitimer.c: Likewise.
8674         * time/gettimeofday.c: Likewise.
8675         * time/setitimer.c: Likewise.
8676         * time/settimeofday.c: Likewise.
8677         * time/stime.c: Likewise.
8678         * time/time.c: Likewise.
8680 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
8682         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8683         /usr/old/bin.
8685         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8686         instead of spaces.
8687         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8689 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
8691         [BZ #14796]
8692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8693         FE_TONEAREST before applying Dekker multiplication and Knuth
8694         addition.  Clear inexact exceptions and check for exact zero
8695         results afterwards.
8696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8697         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8698         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8699         * math/libm-test.inc (fma_test): Add more tests.
8700         (fma_test_towardzero): Likewise.
8701         (fma_test_downward): Likewise.
8702         (fma_test_upward): Likewise.
8703         * sysdeps/generic/math_private.h (default_libc_fesetround): New
8704         function.
8705         (libc_fesetround): New macro.
8706         (libc_fesetroundf): Likewise.
8707         (libc_fesetroundl): Likewise.
8708         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8709         function.
8710         (libc_fesetround_387): Likewise.
8711         (libc_fesetroundf): New macro.
8712         (libc_fesetround): Likewise.
8713         (libc_fesetroundl): Likewise.
8714         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8715         function.
8716         (libc_fesetroundf): New macro.
8717         (libc_fesetround): Likewise.
8718         (libc_fesetroundl): Likewise.
8719         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8720         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8721         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8722         libm_hidden_ver.
8723         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8724         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8725         libm_hidden_def.
8726         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8727         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8728         libm_hidden_ver.
8729         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8730         libm_hidden_def.
8732         [BZ #3439]
8733         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8734         integer constant usable in #if and use that to give value to enum
8735         constant.
8736         (FE_DIVBYZERO): Likewise.
8737         (FE_UNDERFLOW): Likewise.
8738         (FE_OVERFLOW): Likewise.
8739         (FE_INVALID): Likewise.
8740         (FE_INVALID_SNAN): Likewise.
8741         (FE_INVALID_ISI): Likewise.
8742         (FE_INVALID_IDI): Likewise.
8743         (FE_INVALID_ZDZ): Likewise.
8744         (FE_INVALID_IMZ): Likewise.
8745         (FE_INVALID_COMPARE): Likewise.
8746         (FE_INVALID_SOFTWARE): Likewise.
8747         (FE_INVALID_SQRT): Likewise.
8748         (FE_INVALID_INTEGER_CONVERSION): Likewise.
8749         (FE_TONEAREST): Likewise.
8750         (FE_TOWARDZERO): Likewise.
8751         (FE_UPWARD): Likewise.
8752         (FE_DOWNWARD): Likewise.
8753         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8754         (FE_DIVBYZERO): Likewise.
8755         (FE_OVERFLOW): Likewise.
8756         (FE_UNDERFLOW): Likewise.
8757         (FE_INEXACT): Likewise.
8758         (FE_TONEAREST): Likewise.
8759         (FE_DOWNWARD): Likewise.
8760         (FE_UPWARD): Likewise.
8761         (FE_TOWARDZERO): Likewise.
8762         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8763         (FE_UNDERFLOW): Likewise.
8764         (FE_OVERFLOW): Likewise.
8765         (FE_DIVBYZERO): Likewise.
8766         (FE_INVALID): Likewise.
8767         (FE_TONEAREST): Likewise.
8768         (FE_TOWARDZERO): Likewise.
8769         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8770         (FE_OVERFLOW): Likewise.
8771         (FE_UNDERFLOW): Likewise.
8772         (FE_DIVBYZERO): Likewise.
8773         (FE_INEXACT): Likewise.
8774         (FE_TONEAREST): Likewise.
8775         (FE_TOWARDZERO): Likewise.
8776         (FE_UPWARD): Likewise.
8777         (FE_DOWNWARD): Likewise.
8778         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8779         (FE_DIVBYZERO): Likewise.
8780         (FE_OVERFLOW): Likewise.
8781         (FE_UNDERFLOW): Likewise.
8782         (FE_INEXACT): Likewise.
8783         (FE_TONEAREST): Likewise.
8784         (FE_DOWNWARD): Likewise.
8785         (FE_UPWARD): Likewise.
8786         (FE_TOWARDZERO): Likewise.
8788 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
8790         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8792 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
8794         * scripts/cross-test-ssh.sh (command): Use newlines to separate
8795         commands.  Quote $PWD.
8796         (blacklist_exports): Don't use remove_newlines.  Replace "declare
8797         -x" by "export".
8798         (remove_newlines): Remove.
8800 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
8802         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8803         * stdlib/stdlib.h (atof): Moved to ...
8804         * include/bits/stdlib-float.h: Here.  New file.
8805         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8806         * stdlib/bits/stdlib-float.h: New file.
8807         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8808         -mno-sse -mno-mmx.
8809         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8810         <xmmintrin.h>.
8812 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
8814         * conform/conformtest.pl (@headers): Add fenv.h.
8815         * conform/data/fenv.h-data: New file.
8816         * include/fenv.h [_ISOMAC]: Disable all contents of file except
8817         include of <math/fenv.h>.
8819         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8820         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8821         && !UNIX98].  Enables tests for XOPEN2K8.
8822         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8823         POSIX2008]: Likewise.
8825         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8826         (struct rusage): Do not expect type or its members.
8828         [BZ #3439]
8829         * math/math.h (FP_NAN): Define macro to integer constant usable in
8830         #if and use that to give value to enum constant.
8831         (FP_INFINITE): Likewise.
8832         (FP_ZERO): Likewise.
8833         (FP_SUBNORMAL): Likewise.
8834         (FP_NORMAL): Likewise.
8836 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
8838         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8839         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8840         arguments.
8842 2012-11-02  Roland McGrath  <roland@hack.frob.com>
8844         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8845         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8846         autoconf-time if not.
8847         * configure.in: Remove AC_PREREQ.
8849 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8851         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8852         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8853         of the internal implementation.
8855 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
8857         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8858         except include of <misc/sys/syslog.h>.
8860 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
8862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8863         function returns with a NULL context exit with zero.
8865 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8867         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8869 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
8871         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8872         (run_program_cmd): This.
8873         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8874         (tst_langinfo): New variable.  Use it.
8876 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
8878         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8879         floating point opcodes.
8881 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
8883         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8884         variable.
8886         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8888         * sysdeps/mach/hurd/powerpc: Remove directory.
8889         * sysdeps/mach/powerpc: Likewise.
8891 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
8893         * scripts/check-local-headers.sh: Ignore c++ headers.
8895 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
8897         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8898         __libc_cleanup_region_start argument.
8900 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
8902         [BZ #14784]
8903         [BZ #14785]
8904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8905         x * y using scaling, not as x * y + z.
8906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8908         * math/libm-test.inc (fma_test): Add more tests.
8909         (fma_test_towardzero): Likewise.
8910         (fma_test_downward): Likewise.
8911         (fma_test_upward): Likewise.
8913 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
8915         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8917 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
8919         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8920         New variable.
8922 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
8924         * rt/tst-shm.c (worker): Correct checking for mmap failure.
8926 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8929         Fix sort order.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8931         Likewise.
8933 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8936         Fix the order of the list for glibc 2.17.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8938         Likewise.
8940 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8944 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
8946         [BZ #14610]
8947         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8948         for low part of x being zero before using __atanl (y).
8949         * math/libm-test.inc (atan2_test): Add another test.
8951         * manual/install.texi (Configuring and compiling): Document
8952         general use of test-wrapper and test-wrapper-env.
8953         * INSTALL: Regenerated.
8955         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8956         (__fma): Do not extract and scale down low bits on after-rounding
8957         systems when result rounded to normal precision would have normal
8958         exponent.
8959         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8960         (__fmal): Do not extract and scale down low bits on after-rounding
8961         systems when result rounded to normal precision would have normal
8962         exponent.
8963         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8964         (__fmal): Do not extract and scale down low bits on after-rounding
8965         systems when result rounded to normal precision would have normal
8966         exponent.
8967         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8968         macro.
8969         (fma_test): Add more tests.
8970         (fma_test_towardzero): Likewise.
8971         (fma_test_downward): Likewise.
8972         (fma_test_upward): Likewise.
8974 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
8976         * sysdeps/i386/tininess.h: Renamed to ...
8977         * sysdeps/x86/tininess.h: This.
8978         * sysdeps/x86_64/tininess.h: Removed.
8980 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
8982         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8983         input.  Use $(build-program-cmd).
8984         ($(objpfx)tst-array1-static.out): Likewise.
8985         ($(objpfx)tst-array2.out): Likewise.
8986         ($(objpfx)tst-array3.out): Likewise.
8987         ($(objpfx)tst-array4.out): Likewise.
8988         ($(objpfx)tst-array5.out): Likewise.
8989         ($(objpfx)tst-array5-static.out): Likewise.
8991 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
8993         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8994         if defined.
8996         * nss/nsswitch.h (nss_interface_function): Provide new
8997         macro for use with NSS functions.
8998         * grp/initgroups.c: Use new macro.
8999         * nss/getXXbyYY.c: Likewise.
9000         * nss/getXXbyYY_r.c: Likewise.
9001         * nss/getXXent.c: Likewise.
9002         * nss/getXXent_r.c: Likewise.
9003         * sysdeps/posix/getaddrinfo.c: Likewise.
9005 2012-10-30  Andreas Jaeger  <aj@suse.de>
9007         * po/ru.po: Update Russion translation from translation project.
9009 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
9011         [BZ #14152]
9012         [BZ #14783]
9013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9014         result and shift together with sticky bit instead of replicating
9015         round-to-nearest rounding.
9016         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9018         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
9019         missing underflow exceptions.
9020         (fma_test_towardzero): Add more tests.
9021         (fma_test_downward): Likewise.
9022         (fma_test_upward): Likewise.
9024         [BZ #14047]
9025         * sysdeps/generic/tininess.h: New file.
9026         * sysdeps/i386/tininess.h: Likewise.
9027         * sysdeps/sh/tininess.h: Likewise.
9028         * sysdeps/x86_64/tininess.h: Likewise.
9029         * stdlib/tst-strtod-underflow.c: Likewise.
9030         * stdlib/tst-tininess.c: Likewise.
9031         * stdlib/strtod_l.c: Include <tininess.h>.
9032         (round_and_return): Do not set errno for exact underflow cases.
9033         Force an underflow exception when setting errno for underflow.
9034         Determine underflow based on rounding to normal precision if
9035         TININESS_AFTER_ROUNDING.
9036         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9037         ERANGE for exact underflow cases.
9038         * stdlib/Makefile (tests): Add tst-tininess and
9039         tst-strtod-underflow.
9040         ($(objpfx)tst-tininess): Use $(link-libm).
9041         ($(objpfx)tst-strtod-underflow): Likewise.
9043 2012-10-30  Andreas Jaeger  <aj@suse.de>
9045         [BZ#14767]
9046         * elf/Makefile (tests): Remove conditional for have-initfini-array
9047         since this is now always required and the variable does not exist
9048         anymore.
9049         (tests-static): Likewise.
9050         (modules-names): Likewise.
9052         * po/eo.po: Add Esperanto translation from translation project.
9054         * elf/tst-array1.c (fini_array): Make writeable so that it can be
9055         merged with constructor/destructor.
9056         (init_array): Likewise.
9057         * elf/tst-array2dep.c (fini_array): Likewise.
9058         (init_array): Likewise.
9060 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
9062         * manual/message.texi: Delete @cartouche tags.
9064 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
9066         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9067         EOPNOTSUPP.
9068         * sysdeps/mach/hurd/fsync.c: Likewise.
9070         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9071         [_POSIX_REALTIME_SIGNALS]: Change condition to
9072         [_POSIX_REALTIME_SIGNALS > 0].
9074 2012-10-27  Andreas Jaeger  <aj@suse.de>
9076         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9077         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9078         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9079         [__WORDSIZE != 64]: Likewise.
9081 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
9083         *  iconvdata/tst-table.sh: Remove ${SHELL}.
9084         *  iconvdata/tst-tables.sh: Likewise.
9086 2012-10-25  David S. Miller  <davem@davemloft.net>
9088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9089         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9090         of strtoull.
9092         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9093         ifunc-impl-list.c
9094         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9095         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9096         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9097         file.
9099 2012-10-25  Roland McGrath  <roland@hack.frob.com>
9101         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9102         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9103         __getdirentries.
9105 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
9106             Jim Blandy  <jimb@codesourcery.com>
9108         * scripts/cross-test-ssh.sh: New file.
9109         * manual/install.texi (Configuring and compiling): Document use of
9110         cross-test-ssh.sh.
9111         * INSTALL: Regenerated.
9113 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
9115         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9116         EOPNOTSUPP.
9118 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
9120         * Makeconfig (run-program-prefix): Fix comment.
9122 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
9123             Jim Blandy  <jimb@codesourcery.com>
9125         * Makeconfig (test-wrapper): New variable,
9126         (test-wrapper-env): Likewise.
9127         [$(cross-compiling) = yes && $(test-wrapper) != ""]
9128         (run-built-tests): Define to yes.
9129         (run-program-prefix): Use $(test-wrapper).
9130         (built-program-cmd): Likewise.
9131         * Rules (make-test-out): Use $(test-wrapper-env) and
9132         $(host-built-program-cmd).
9133         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9134         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9135         tst-pathopt.sh.
9136         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9137         $(test-wrapper-env) to tst-rtld-load-self.sh.
9138         ($(objpfx)order2.out): Use $(test-wrapper).
9139         ($(objpfx)tst-initorder.out): Likewise.
9140         ($(objpfx)tst-initorder2.out): Likewise.
9141         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9142         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9143         (test_wrapper_env): New variable.  Use it to run ld.so.
9144         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9145         Use it to run ld.so.
9146         (test_wrapper_env): Likewise.
9147         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9148         $(test-wrapper) to run-iconv-test.sh.
9149         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9150         (ICONV): Use $test_wrapper.
9151         * posix/Makefile ($(objpfx)globtest.out): Pass
9152         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9153         globtest.sh, not $(run-program-prefix).
9154         * posix/globtest.sh (run_via_rtld_prefix): New variable.
9155         (test_wrapper): Likewise.
9156         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
9157         set together with run_via_rtld_prefix.
9158         (run_program_prefix): Define in terms of test_wrapper and
9159         run_via_rtld_prefix.
9161 2012-10-24  Roland McGrath  <roland@hack.frob.com>
9163         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9164         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9165         Targets removed.
9167         [BZ #14743]
9168         * include/time.h: Remove librt_hidden_proto (clock_gettime).
9169         Declare __clock_getres, __clock_gettime, __clock_settime,
9170         __clock_nanosleep, and __clock_getcpuclockid.
9171         * rt/clock_gettime.c: Define __clock_gettime as an alias.
9172         Remove librt_hidden_def (clock_gettime).
9173         * sysdeps/unix/clock_gettime.c: Likewise.
9174         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9175         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9176         * rt/clock_getres.c: Define __clock_getres as an alias.
9177         * sysdeps/posix/clock_getres.c: Likewise.
9178         * rt/clock_settime.c: Define __clock_settime as an alias.
9179         * sysdeps/unix/clock_settime.c: Likewise.
9180         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9181         * sysdeps/unix/clock_nanosleep.c: Likewise.
9182         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9183         * rt/clock-compat.c: New file.
9184         * rt/Makefile (librt-routines): Add clock-compat and move
9185         $(clock-routines) to ...
9186         (routines): ... here, new variable.
9187         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9188         Don't add get_clockfreq here.
9189         * rt/Versions (libc: GLIBC_2.17): New version set.
9190         Add clock_* symbols here.
9191         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
9192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9193         (GLIBC_2.17): Add clock_* symbols.
9194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9198         Likewise.
9199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9200         Likewise.
9201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9205         * NEWS: Mention the move.
9207         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9208         Use __open, __read, __close rather than their public counterparts.
9209         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9210         (__get_clockfreq_via_cpuinfo): Likewise.
9211         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9212         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9214         * config.h.in (HAVE_IFUNC): New #undef.
9215         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9216         was successful.
9217         * configure: Regenerated.
9219 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
9221         * configure.in: Move READELF check to start of file.
9222         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9223         libc_cv_asm_gnu_indirect_function in the process.
9224         * configure: Regenerated.
9226 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
9228         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9229         send the output to /dev/null.
9230         (libc_cv_cc_with_libunwind): Likewise.
9231         (libc_cv_as_noexecstack): Likewise.
9232         * configure: Regenerate.
9234 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
9236         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9238         * posix/globtest.sh (TMPDIR): Do not set.
9239         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9240         (testout): Likewise.
9242 2012-10-24  Andreas Jaeger  <aj@suse.de>
9244         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9245         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9246         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9247         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9248         posix_fadvise64, posix_fallocate64.
9250         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9251         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9252         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9253         Likewise.
9254         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9255         Likewise.
9256         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9259         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9260         <bits/fcntl-linux.h>.
9261         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9263         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9264         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9265         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9266         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9267         [__WORDSIZE != 64]: Likewise.
9269 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
9271         * Makeconfig (run-built-tests): New variable.
9272         * Rules [$(cross-compiling) = yes]: Change condition to
9273         [$(run-built-tests) = no].
9274         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9275         to [$(run-built-tests) = yes].
9276         * elf/Makefile [$(cross-compiling) = no]: Likewise
9277         * grp/Makefile [$(cross-compiling) = no]: Likewise.
9278         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9279         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9280         * intl/Makefile [$(cross-compiling) = no]: Likewise.
9281         * io/Makefile [$(cross-compiling) = no]: Likewise.
9282         * libio/Makefile [$(cross-compiling) = no]: Likewise.
9283         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9284         * misc/Makefile [$(cross-compiling) = no]: Likewise.
9285         * posix/Makefile [$(cross-compiling) = no]: Likewise.
9286         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9287         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9288         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9289         * string/Makefile [$(cross-compiling) = no]: Likewise.
9291         * posix/Makefile ($(objpfx)globtest.out): Pass
9292         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9293         $(rtld-installed-name).
9294         * posix/globtest.sh (elf_objpfx): Remove variable.
9295         (rtld_installed_name): Likewise.
9296         (library_path): Likewise.
9297         (run_program_prefix): New variable.  Use for running globtest
9298         binary.
9300 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
9301             Joseph Myers  <joseph@codesourcery.com>
9303         * Makeconfig (host-built-program-cmd): New variable.
9304         * elf/Makefile (tst-stackguard1-ARGS): Use
9305         $(host-built-program-cmd).
9306         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9307         (tst-spawn-ARGS): Likewise.
9308         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9310 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
9311             Jim Blandy  <jimb@codesourcery.com>
9313         * Makeconfig (run-via-rtld-prefix): New variable.
9314         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9315         (built-program-cmd): Likewise.
9317 2012-10-22  Andreas Jaeger  <aj@suse.de>
9319         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9320         __O_RSYNC if it exists, otherwise to O_SYNC.
9322 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
9323             Joseph Myers  <joseph@codesourcery.com>
9325         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9326         /dev/null.
9327         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9328         from /dev/null
9329         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9330         /dev/null.
9332 2012-10-22  Andreas Jaeger  <aj@suse.de>
9334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9335         Define always.
9336         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9339         bits/fcntl-linux.h.
9341         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9342         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9345         to __O_LARGEFILE.
9346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9347         to __O_LARGEFILE.
9349 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
9350             Joseph Myers  <joseph@codesourcery.com>
9352         * config.make.in (NM): New variable.
9354 2012-10-21  Andreas Jaeger  <aj@suse.de>
9356         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9357         definitions and declarations that are provided by
9358         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9360 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
9362         [BZ #14683]
9363         * elf/Makefile (tests-static): Add tst-leaks1-static.
9364         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9365         ($(objpfx)tst-leaks1-static): New rule.
9366         ($(objpfx)tst-leaks1-static-mem): Likewise.
9367         (tst-leaks1-static-ENV): New macro.
9368         * elf/dl-open.c (dl_open_worker): Check the main application
9369         only if SHARED is defined.
9370         * elf/tst-leaks1-static.c: New file.
9372 2012-10-20  Andreas Jaeger  <aj@suse.de>
9374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9375         generic values for Linux.
9376         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9377         and declarations that are provided by <bits/fcntl-linux.h> and
9378         include <bits/fcntl-linux.h>.
9379         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9380         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9382 2012-10-20  Roland McGrath  <roland@hack.frob.com>
9384         * io/fcntl.h: Move include of <bits/types.h> to the top and
9385         include it unconditionally.
9387 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
9389         * wcsmbs/Makefile (tests-ifunc): New variable.
9390         (tests): Add $(tests-ifunc).
9391         * wcsmbs/test-wcschr-ifunc.c: New file.
9392         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9393         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9394         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9395         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9396         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9398         * string/Makefile (tests-ifunc): New variable.
9399         (tests): Add $(tests-ifunc).
9400         * string/test-memccpy.c (TEST_NAME): New macro.
9401         * string/test-memchr.c (TEST_NAME): Likewise.
9402         * string/test-memcmp.c (TEST_NAME): Likewise.
9403         * string/test-memcpy.c (TEST_NAME): Likewise.
9404         * string/test-memmem.c (TEST_NAME): Likewise.
9405         * string/test-memmove.c (TEST_NAME): Likewise.
9406         * string/test-memset.c (TEST_NAME): Likewise.
9407         * string/test-rawmemchr.c (TEST_NAME): Likewise.
9408         * string/test-stpcpy.c (TEST_NAME): Likewise.
9409         * string/test-stpncpy.c (TEST_NAME): Likewise.
9410         * string/test-strcasecmp.c (TEST_NAME): Likewise.
9411         * string/test-strcasestr.c (TEST_NAME): Likewise.
9412         * string/test-strcat.c (TEST_NAME): Likewise.
9413         * string/test-strchr.c (TEST_NAME): Likewise.
9414         * string/test-strcmp.c(TEST_NAME): Likewise.
9415         * string/test-strcpy.c (TEST_NAME): Likewise.
9416         * string/test-strcspn.c (TEST_NAME): Likewise.
9417         * string/test-strlen.c (TEST_NAME): Likewise.
9418         * string/test-strncasecmp.c (TEST_NAME): Likewise.
9419         * string/test-strncmp.c (TEST_NAME): Likewise.
9420         * string/test-strncpy.c (TEST_NAME): Likewise.
9421         * string/test-strnlen.c (TEST_NAME): Likewise.
9422         * string/test-strpbrk.c (TEST_NAME): Likewise.
9423         * string/test-strrchr.c (TEST_NAME): Likewise.
9424         * string/test-strspn.c (TEST_NAME): Likewise.
9425         * string/test-strstr.c (TEST_NAME): Likewise.
9426         * string/test-bcopy-ifunc.c: New file.
9427         * string/test-bzero-ifunc.c: Likewise.
9428         * string/test-memccpy-ifunc.c: Likewise.
9429         * string/test-memchr-ifunc.c: Likewise.
9430         * string/test-memcmp-ifunc.c: Likewise.
9431         * string/test-memcpy-ifunc.c: Likewise.
9432         * string/test-memmem-ifunc.c: Likewise.
9433         * string/test-memmove-ifunc.c: Likewise.
9434         * string/test-mempcpy-ifunc.c: Likewise.
9435         * string/test-memset-ifunc.c: Likewise.
9436         * string/test-rawmemchr-ifunc.c: Likewise.
9437         * string/test-stpcpy-ifunc.c: Likewise.
9438         * string/test-stpncpy-ifunc.c: Likewise.
9439         * string/test-strcasecmp-ifunc.c: Likewise.
9440         * string/test-strcasestr-ifunc.c: Likewise.
9441         * string/test-strcat-ifunc.c: Likewise.
9442         * string/test-strchr-ifunc.c: Likewise.
9443         * string/test-strchrnul-ifunc.c: Likewise.
9444         * string/test-strcmp-ifunc.c: Likewise.
9445         * string/test-strcpy-ifunc.c: Likewise.
9446         * string/test-strcspn-ifunc.c: Likewise.
9447         * string/test-strlen-ifunc.c: Likewise.
9448         * string/test-strncasecmp-ifunc.c: Likewise.
9449         * string/test-strncat-ifunc.c: Likewise.
9450         * string/test-strncmp-ifunc.c: Likewise.
9451         * string/test-strncpy-ifunc.c: Likewise.
9452         * string/test-strnlen-ifunc.c: Likewise.
9453         * string/test-strpbrk-ifunc.c: Likewise.
9454         * string/test-strrchr-ifunc.c: Likewise.
9455         * string/test-strspn-ifunc.c: Likewise.
9456         * string/test-strstr-ifunc.c: Likewise.
9458         * debug/Makefile (tests-ifunc): New variable.
9459         (tests): Add $(tests-ifunc).
9460         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9461         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9462         * debug/test-stpcpy_chk-ifunc.c: New file.
9463         * debug/test-strcpy_chk-ifunc.c: Likewise.
9465 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9467         [BZ #13601]
9468         * elf/dl-load.c (open_verify): Retry read if the entire ELF
9469         header is not read in.
9471 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
9473         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
9474         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
9475         directly.  Pass built executable to script as
9476         $(built-program-cmd).
9477         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
9478         $testprogram without using LD_LIBRARY_PATH and $ldso.
9480         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9481         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9482         $(rtld-installed-name).
9483         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9484         (rtld_installed_name): Likewise.
9485         (library_path): Likewise.
9486         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
9487         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9488         $(run-program-prefix) to tst-tables.sh.
9489         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
9490         it to run tst-table-from and tst-table-to.
9491         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9492         Pass it to tst-table.sh.
9493         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9494         $(run-program-prefix) to tst-gettext.sh.
9495         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9496         tst-translit.sh.
9497         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9498         tst-gettext2.sh.
9499         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
9500         to run tst-gettext.
9501         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
9502         to run tst-gettext2.
9503         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
9504         to run tst-translit.
9505         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9506         $(run-program-prefix) to tst-mtrace.sh.
9507         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
9508         to run tst-mtrace.
9509         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9510         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9511         $(rtld-installed-name).
9512         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9513         (rtld_installed_name): Likewise.
9514         (run_program_prefix): New variable.  Use it to run wordexp-test.
9516         * Makeconfig (ARCH): Remove all definitions.
9517         (machine): Likewise.
9518         [ARCH]: Remove conditional code.
9519         [!objdir]: Give error.
9520         [!objdir] (objpfx): Remove.
9521         [!objdir] (common-objpfx): Likewise.
9522         [!objdir] (common-objdir): Likewise.
9523         * configure.in (config_makefile): Remove.  Hardcode Makefile in
9524         AC_CONFIG_FILES call.
9525         * configure: Regenerated.
9527         [BZ #13888]
9528         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9529         or TMPDIR.
9530         (testout): Likewise.
9532         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9533         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9534         $(rtld-installed-name).
9535         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9536         (rtld_installed_name): Likwise.
9537         (runit): Remove function.
9538         (run_getconf): New variable,  Use it for running getconf binary.
9540 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
9542         [BZ #14716]
9543         * string/test-memmem.c (check_result): New function.
9544         (do_one_test): Use it.
9545         (check1): New function.
9546         (test_main): Use it.
9548 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
9550         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9552 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
9554         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9555         (_G_LSEEK64): Likewise.
9556         (_G_MMAP64): Likewise.
9557         (_G_FSTAT64): Likewise.
9558         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9559         (_G_LSEEK64): Likewise.
9560         (_G_MMAP64): Likewise.
9561         (_G_FSTAT64): Likewise.
9562         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9563         unconditional.  Call __mmap64 directly.
9564         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9565         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
9566         __lseek64 directly.
9567         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9568         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
9569         __mmap64 directly.
9570         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9571         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
9572         __lseek64 directly.
9573         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9574         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
9575         __lseek64 directly.
9576         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9577         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
9578         __lseek64 directly.
9579         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9580         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
9581         __fxstat64 directly.
9582         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9583         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9584         unconditional.
9585         (freopen64) [!_G_OPEN64]: Remove conditional code.
9586         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9587         unconditional.
9588         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9589         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9590         unconditional.
9591         (ftello64) [!_G_LSEEK64]: Remove conditional code.
9592         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9593         unconditional.
9594         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9595         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9596         unconditional.
9597         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9598         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9599         unconditional.
9600         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9601         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9602         unconditional.
9603         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9604         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9605         unconditional.
9606         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9608 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9610         [BZ #12140]
9611         * manual/memory.texi (Malloc Tunable Parameters): Add note
9612         about free list pointers overwriting some perturb bytes.
9613         Wording suggested by Roland McGrath.
9615 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
9617         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9618         (lgamma_test): Likewise.
9619         (tgamma_test): Likewise.
9621 2012-10-16  Florian Weimer  <fweimer@redhat.com>
9623         [BZ #14700]
9624         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9625         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9627 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
9629         * NEWS: Mention BZ #14716.
9630         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9631         when removing AVAILABLE1_USES_J macro.
9633 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9635         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9636         (__bswap_64): __uint64_t for unsigned 64-bit int.
9638 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
9640         * include/string.h (memmem): Declare libc hidden alias.
9641         * string/memmem.c (memmem): Define libc hidden alias.
9642         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9643         __read, __close instead of open, read, close.
9645 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
9647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9648         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9649         global and hidden.
9650         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9651         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9652         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9653         Likewise.
9654         (__rawmemchr_sse2): Likewise.
9655         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9656         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9657         (__strchr_sse2): Likewise.
9658         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9659         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9660         (__strcasecmp_sse2): Likewise.
9661         (__strncasecmp_sse2): Likewise.
9662         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9663         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9664         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9665         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9666         (__strrchr_sse2): Likewise.
9667         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9668         ifunc-impl-list.c.
9669         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9670         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9671         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9672         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9673         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9674         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9675         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9676         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9677         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9678         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9679         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9680         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9681         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9682         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9683         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9684         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9685         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9686         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9687         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9688         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9689         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9690         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9691         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9692         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9693         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9694         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9695         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9696         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9697         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9698         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9700         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9701         global and hidden.
9702         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9703         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9704         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9705         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9706         Likewise.
9707         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9708         Likewise.
9709         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9710         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9711         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9712         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9713         ifunc-impl-list.c.
9714         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9715         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9716         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9717         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9718         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9719         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9720         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9721         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9722         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9723         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9724         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9725         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9726         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9727         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9728         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9729         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9730         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9731         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9732         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9733         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9734         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9735         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9736         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9737         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9738         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9739         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9740         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9741         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9742         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9743         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9744         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9745         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9746         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9747         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9748         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9749         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9750         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9751         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9752         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9753         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9754         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9756         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9757         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9758         * include/ifunc-impl-list.h: New file.
9759         * misc/ifunc-impl-list.c: Likewise.
9760         * misc/Makefile (routines): Add ifunc-impl-list.
9761         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9762         * string/test-string.h: Include <ifunc-impl-list.h>.
9763         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9764         impl_array): New variables.
9765         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9766         are defined.
9767         (test_init): Call __libc_ifunc_impl_list to initialize
9768         func_list if TEST_IFUNC and TEST_NAME are defined.
9770         * string/Makefile (strop-tests): Add bcopy and bzero.
9771         * string/test-bcopy.c: New file.
9772         * string/test-bzero.c: Likewise.
9773         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9774         defined.
9775         * string/test-memset.c: Support bzero test if TEST_BZERO is
9776         defined.
9777         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9778         __libc_memmove.
9779         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9780         __libc_memset.
9781         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9782         of memset.
9784 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
9786         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9787         * configure: Regenerated.
9789         * Makeconfig (+link-static-before-libc): Don't include
9790         $(link-static-libc).
9792         * libio/libio.h (_IO_pos_t): Remove.
9794 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
9796         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
9797         McGrath.
9799 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
9801         * crypt/crypt-entry.c: Include fips-private.h.
9802         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9803         * crypt/md5c-test.c (main): Tolerate disabled MD5.
9804         * sysdeps/unix/sysv/linux/fips-private.h: New file.
9805         * sysdeps/generic/fips-private.h: New file, dummy fallback.
9807 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
9809         * crypt/crypt-private.h: Include stdbool.h.
9810         (_ufc_setup_salt_r): Return bool.
9811         * crypt/crypt-entry.c: Include errno.h.
9812         (__crypt_r): Return NULL with EINVAL for bad salt.
9813         * crypt/crypt_util.c (bad_for_salt): New.
9814         (_ufc_setup_salt_r): Check that salt is long enough and within
9815         the specified alphabet.
9816         * crypt/badsalttest.c: New file.
9817         * crypt/Makefile (tests): Add it.
9818         ($(objpfx)badsalttest): New.
9820 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
9822         * NEWS: Add entry for BZ #14602.
9824 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
9826         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9827         type-generic.
9828         * math/libm-test.inc: Update comment listing what functions and
9829         macros are tested.
9830         (isgreater_test): New function.
9831         (isgreaterequal_test): Likewise.
9832         (isless_test): Likewise.
9833         (islessequal_test): Likewise.
9834         (islessgreater_test): Likewise.
9835         (isunordered_test): Likewise.
9836         (main): Call the new functions.
9838 2012-10-09  Roland McGrath  <roland@hack.frob.com>
9840         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9841         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9842         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9843         * sysdeps/i386/configure: Regenerated.
9844         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9845         * sysdeps/mach/configure: Regenerated.
9846         * sysdeps/mach/hurd/configure: Regenerated.
9847         * sysdeps/powerpc/configure: Regenerated.
9848         * sysdeps/powerpc/powerpc32/configure: Regenerated.
9849         * sysdeps/powerpc/powerpc64/configure: Regenerated.
9850         * sysdeps/s390/s390-32/configure: Regenerated.
9851         * sysdeps/s390/s390-64/configure: Regenerated.
9852         * sysdeps/sh/configure: Regenerated.
9853         * sysdeps/sparc/configure: Regenerated.
9854         * sysdeps/unix/sysv/linux/configure: Regenerated.
9855         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9856         * sysdeps/x86_64/configure: Regenerated.
9858         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9859         defined.  Don't check if MAP is NULL.
9861 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
9863         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9864         (_G_stat64): Likewise.
9865         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9866         (_G_stat64): Likewise.
9867         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9868         instead of struct _G_stat64.
9869         * libio/fileops.c (mmap_remap_check): Likewise.
9870         (decide_maybe_mmap): Likewise.
9871         (_IO_new_file_seekoff): Likewise.
9872         (_IO_file_stat): Likewise.
9873         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9874         _G_off64_t.
9875         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9876         instead of struct _G_stat64.
9877         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9879 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
9881         [BZ #14602]
9882         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9883         Replace with ...
9884         (CHECK_EOL): New macro.
9885         (two_way_short_needle): Check beginning of haystack for EOL.  Use
9886         CHECK_EOL.
9887         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9888         Replace with CHECK_EOL.
9889         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9890         Replace with CHECK_EOL.
9892 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
9894         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9895         type-generic.
9896         * math/libm-test.inc: Update comment listing what functions and
9897         macros are tested.
9898         (finite_test): New function.
9899         (isinf_test): Likewise.
9900         (isnan_test): Likewise.
9901         (fpclassify_test): Test subnormal input.
9902         (isfinite_test): Likewise.
9903         (isnormal_test): Likewise.
9904         (main): Call the new functions.
9906 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
9908         [BZ #14660]
9909         * Makerules (%.dynsym): Force C locale when running
9910         $(OBJDUMP) --dynamic-syms.
9912 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
9914         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9915         <stdint.h>.
9917 2012-10-06  David S. Miller  <davem@davemloft.net>
9919         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9920         upper 32-bits of the length value in %o2 since we use branch-on-register
9921         tests which consider the entire 64-bit register.
9923 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
9925         * string/test-strstr.c (check2): Add a test for page boundary.
9927 2012-10-05  David S. Miller  <davem@davemloft.net>
9929         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9930         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9931         file.
9932         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9933         sysdep_routines.
9934         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9935         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9936         and bzero when HWCAP_SPARC_CRYPTO is present.
9938 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
9940         [BZ #14602]
9941         * string/test-strstr.c (check2): New function.
9942         (test_main): Call check2.
9944         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9945         and bug-strchr1.
9946         * string/bug-strcasestr1.c (do_test): Moved to ...
9947         * string/test-strcasestr.c (check1): Here.  New function.
9948         (do_one_test): Break out result checking code into ...
9949         (check_result): This.  New function.
9950         (do_one_test): Call check_result.
9951         (test_main): Call check1.
9952         * string/bug-strchr1.c (do_test): Moved to ...
9953         * string/test-strchr.c (check1): Here.  New function.
9954         (do_one_test): Break out result checking code into ...
9955         (check_result): This.  New function.
9956         (do_one_test): Call check_result.
9957         (test_main): Call check1.
9958         * string/bug-strstr1.c (main): Moved to ...
9959         * string/test-strstr.c (check1): Here.  New function.
9960         (do_one_test): Break out result checking code into ...
9961         (check_result): This.  New function.
9962         (do_one_test): Call check_result.
9963         (test_main): Call check1.
9964         * string/bug-strcasestr1.c: Removed.
9965         * string/bug-strchr1.c: Likewise.
9966         * string/bug-strstr1.c: Likewise.
9968         * elf/Makefile (dl-routines): Add hwcaps.
9969         * elf/dl-support.c (_dl_important_hwcaps): Removed.
9970         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9971         (_dl_important_hwcaps): Moved to ...
9972         * elf/dl-hwcaps.c: Here.  New file.
9973         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9975         [BZ #14557]
9976         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9977         if IS_IN_rtld isn't defined.
9979         * elf/dl-support.c (_dl_sysinfo_map): New.
9980         Include "get-dynamic-info.h" and "setup-vdso.h".
9981         (_dl_non_dynamic_init): Call setup_vdso.
9982         * elf/dynamic-link.h: Don't include <assert.h>.
9983         (elf_get_dynamic_info): Moved to ...
9984         * elf/get-dynamic-info.h: Here.  New file.
9985         * elf/dynamic-link.h: Include "get-dynamic-info.h".
9986         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9987         * elf/setup-vdso.h: Here.  New file.
9988         * elf/rtld.c: Include "setup-vdso.h".
9989         (dl_main): Call setup_vdso.
9991 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
9993         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9994         creal in comment listing functions tested.  List finite, isinf,
9995         isnan, isless, islessequal, isgreater, isgreaterequal,
9996         islessgreater, isunordered, lgamma_r and pow10 as functions and
9997         macros not tested.  Mention which functions not tested are aliases
9998         for other functions.  Fix typo.  Note that signs of NaNs are not
9999         tested.
10001         * scripts/config.guess: Update from config.git.
10002         * scripts/config.sub: Likewise.
10004 2012-10-04  Roland McGrath  <roland@hack.frob.com>
10006         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10007         * misc/madvise.c (madvise): Renamed to __madvise.
10008         Make madvise a weak alias.
10009         * include/sys/mman.h: Declare __madvise.
10010         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10011         * sysdeps/unix/syscalls.list
10012         (madvise): Make __madvise the strong name, and madvise a weak alias.
10013         * sysdeps/unix/sysv/linux/syscalls.list
10014         (madvise, mmap): Remove redundant entries.
10015         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10016         * malloc/malloc.c (mtrim): Likewise.
10017         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10019 2012-10-03  Roland McGrath  <roland@hack.frob.com>
10021         * sysdeps/mach/hurd/dl-cache.c: File removed.
10022         * config.h.in (USE_LDCONFIG): New #undef.
10023         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10024         * configure: Regenerated.
10025         * elf/Makefile (dl-routines): Add dl-cache only under
10026         [$(use-ldconfig) = yes].
10027         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10028         cache on [USE_LDCONFIG].
10029         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10030         [USE_LDCONFIG].
10031         * elf/rtld.c (dl_main): Likewise.
10033 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
10035         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10036         _SC_LEVEL4_CACHE_LINESIZE.
10038 2012-10-03  Roland McGrath  <roland@hack.frob.com>
10040         * sysdeps/unix/bsd/confstr.h: File removed.
10042 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
10044         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10045         sys/sdt-config.h.
10047 2012-10-02  Roland McGrath  <roland@hack.frob.com>
10049         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10050         Make 'mapoff' field ElfW(Off) rather than off_t.
10052 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
10054         * nscd/Makefile: Remove nscd-cflags and all its users.
10055         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10056         (CFLAGS-nonlib): Add compiler flags for nscd modules.
10058         [BZ #10631]
10059         * malloc.c (malloc_printerr): Clarify error message.
10061 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
10063         [BZ #14648]
10064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10065         Set bit_FMA_Usable if FMA is supported.
10066         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10067         macro.
10068         (bit_FMA4_Usable): Updated.
10069         (index_FMA_Usable): New macro.
10070         (CPUID_FMA): Likewise
10071         (HAS_FMA): Defined with bit_FMA_Usable.
10073 2012-10-01  Roland McGrath  <roland@hack.frob.com>
10075         * bits/types.h (__swblk_t): Type removed.
10076         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10077         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10079         (__SWBLK_T_TYPE): Likewise.
10080         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10081         (__SWBLK_T_TYPE): Likewise.
10082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10083         (__SWBLK_T_TYPE): Likewise.
10084         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10085         (__SWBLK_T_TYPE): Likewise.
10087 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
10088             Honza Horak <hhorak@redhat.com>
10090         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10091         (xdr_mapname): Use YPMAXMAP as maxsize.
10092         (xdr_peername): Use YPMAXPEER as maxsize.
10093         (xdr_keydat): Use YPAXRECORD as maxsize.
10094         (xdr_valdat): Use YPMAXRECORD as maxsize.
10096 2012-10-01  Roland McGrath  <roland@hack.frob.com>
10098         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10100         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10101         * csu/init-first.c: ... here.
10102         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10103         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10104         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10105         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10106         * sysdeps/i386/init-first.c: File removed.
10107         * sysdeps/sh/init-first.c: File removed.
10109 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
10111         [BZ #14645]
10112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10113         if x * y might underflow to zero and z is zero.
10114         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10115         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10116         * math/libm-test.inc (min_subnorm_value): New variable.
10117         (fma_test): Add more tests.
10118         (fma_test_towardzero): Likewise.
10119         (fma_test_downward): Likewise
10120         (fma_test_upward): Likewise.
10121         (initialize): Set min_subnorm_value.
10123 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
10125         [BZ #14638]
10126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10127         0 + 0.
10128         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10129         mode for addition resulting in exact zero.
10130         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10132         exact 0 + 0.
10133         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10135         * math/libm-test.inc (fma_test): Add more tests.
10136         (fma_test_towardzero): New function.
10137         (fma_test_downward): Likewise.
10138         (fma_test_upward): Likewise.
10139         (main): Call the new functions.
10141 2012-09-28  David S. Miller  <davem@davemloft.net>
10143         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10145 2012-09-28  Roland McGrath  <roland@hack.frob.com>
10147         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10148         instead of SIGALRM.
10150         * sysdeps/gnu/_G_config.h: Moved to ...
10151         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10152         * sysdeps/mach/hurd/_G_config.h: Moved to ...
10153         * sysdeps/generic/_G_config.h: ... here.
10155         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
10157         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10159         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10160         Conditionalize target on [libnss_test1.so-version].
10162         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10164         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10165         (elfobjdir): Move out of conditionals.
10167         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10168         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10169         (__nss_lookup_function): Conditionalize label remove_from_tree on
10170         [!DO_STATIC_NSS || SHARED], matching its only use.
10172 2012-09-28  David S. Miller  <davem@davemloft.net>
10174         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10175         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10176         file.
10177         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10178         sysdep_routines.
10179         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10180         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10181         when HWCAP_SPARC_CRYPTO is present.
10183 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10185         * io/tst-mknodat.c: Create a FIFO instead of a socket.
10187 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
10189         [BZ #6530]
10190         * stdio-common/vfprintf.c (process_string_arg): Revert
10191         2000-07-22 change.
10193 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
10195         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10196         for testcase.
10197         * stdio-common/tst-sprintf.c: Include <locale.h>
10198         (main): Test sprintf's handling of incomplete multibyte
10199         characters.
10201 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
10203         * elf/dl-runtime.c (VERSYMIDX): Removed.
10204         * elf/dl-version.c (VERSYMIDX): Likewise.
10205         * elf/do-rel.h (VERSYMIDX): Likewise.
10206         (VALIDX): Likewise.
10207         * elf/dynamic-link.h (VERSYMIDX): Likewise.
10208         * elf/rtld.c (VALIDX): Likewise.
10209         (ADDRIDX): Likewise.
10210         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10211         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10212         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10213         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10214         (VALIDX): Likewise.
10215         (ADDRIDX): Likewise.
10217 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10219         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10221 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
10223         [BZ #11438]
10224         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10225         to global scope.
10226         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10227         addresses are in the same scope as 192.0.2/24.
10228         * posix/gai.conf: Document new scope table defaults.
10230 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10232         [BZ #5298]
10233         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10234         for ftell.  Compute offsets from write pointers instead.
10235         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10237 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10239         [BZ #14543]
10240         * libio/Makefile (tests): New test case tst-fseek.
10241         * libio/tst-fseek.c: New test case to verify that fseek/ftell
10242         combination works in wide mode.
10243         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10244         state when the external buffer state changes.
10246 2012-09-27  David S. Miller  <davem@davemloft.net>
10248         [BZ #14376]
10249         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10250         pass reloc->r_addend in as the 'high' argument to
10251         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10255 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10257         * rt/tst-aio2.c: Include <pthread.h>.
10258         * rt/tst-aio3.c: Likewise.
10260 2012-09-27  Steve Ellcey  <sellcey@mips.com>
10262         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10264 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10266         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10267         contents on [SHARED].
10269 2012-09-26  Marek Polacek  <polacek@redhat.com>
10271         [BZ #14530]
10272         [BZ #13741]
10273         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10274         for C++ and GCC <4.3 as well as for non GCC compilers.
10276 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10280 2012-09-25  Roland McGrath  <roland@hack.frob.com>
10282         * Makefile.in (all, install): Declare with .PHONY.
10283         Reported by Michael Hope <michael.hope@linaro.org>.
10285 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10287         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10288         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10289         system header.
10290         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10291         Likewise.
10292         (sydep_routines): Add the new and the internal functions.
10293         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10294         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10296         (GLIBC_2.17): Add the new function.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10298         (GLIBC_2.17): Likewise.
10299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10300         (GLIBC_2.17): Likewise.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10302         (GLIBC_2.17): Likewise.
10303         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10305 2012-09-25  Alan Modra  <amodra@gmail.com>
10307         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10308         Add release barrier before setting once_control to say
10309         initialisation is done.  Add hints on lwarx.  Use macro in
10310         place of isync.
10311         (clear_once_control): Add release barrier.
10313 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #13629]
10316         * math/s_clog.c (__clog): Handle more values close to |z| = 1
10317         specially.
10318         * math/s_clog10.c (__clog10): Likewise.
10319         * math/s_clog10f.c (__clog10f): Likewise.
10320         * math/s_clog10l.c (__clog10l): Likewise.
10321         * math/s_clogf.c (__clogf): Likewise.
10322         * math/s_clogl.c (__clogl): Likewise.
10323         * math/Makefile (libm-calls): Add x2y2m1.
10324         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10325         (__x2y2m1): Likewise.
10326         (__x2y2m1l): Likewise.
10327         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10328         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10329         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10330         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10331         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10332         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10333         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10334         * sysdeps/i386/fpu/libm-test-ulps: Update.
10335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337         [BZ #14621]
10338         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10339         int as type of variable DEPTH.
10340         (glob): Use size_t instead of int as type of variables NEWCOUNT
10341         and OLD_PATHC.
10343 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10345         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10346         Add s_sincosf-sse2.
10347         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10348         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10349         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10350         macros for using routine as __sincosf_ia32.
10351         Use macro for function declaration and weak_alias.
10352         * sysdeps/i386/fpu/libm-test-ulps: Update.
10354         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10357         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10358         subnormal argument.
10359         * math/s_cexpf.c (__cexpf): Likewise.
10360         * math/s_csinf.c (__csinf): Likewise.
10361         * math/s_csinhf.c (__csinhf): Likewise.
10362         * math/s_ctanf.c (__ctanf): Likewise.
10363         * math/s_ctanhf.c (__ctanhf): Likewise.
10364         * math/s_ccosh.c (__ccoshf): Likewise.
10365         * math/s_cexp.c (__cexpl): Likewise.
10366         * math/s_csin.c (__csin): Likewise.
10367         * math/s_csinh.c (__csinh): Likewise.
10368         * math/s_ctan.c (__ctan): Likewise.
10369         * math/s_ctanh.c (ctanh): Likewise.
10370         * math/s_ccoshl.c (__ccoshl): Likewise.
10371         * math/s_cexpl.c (__cexpl): Likewise.
10372         * math/s_csinl.c (__csinl): Likewise.
10373         * math/s_csinhl.c (__csinhl): Likewise.
10374         * math/s_ctanl.c (__ctanl): Likewise.
10375         * math/s_ctanhl.c (__ctanhl): Likewise.
10377 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
10379         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10380         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10381         (_IO_off_t): Define to __off_t, not _G_off_t.
10382         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10383         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10384         (_IO_wint_t): Define to wint_t, not _G_wint_t.
10385         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10386         type of __dummy and __dummy2 fields.
10387         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10388         (_G_ssize_t): Likewise.
10389         (_G_off_t): Likewise.
10390         (_G_pid_t): Likewise.
10391         (_G_uid_t): Likewise.
10392         (_G_wchar_t): Likewise.
10393         (_G_wint_t): Likewise.
10394         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10395         (_G_ssize_t): Likewise.
10396         (_G_off_t): Likewise.
10397         (_G_pid_t): Likewise.
10398         (_G_uid_t): Likewise.
10399         (_G_wchar_t): Likewise.
10400         (_G_wint_t): Likewise.
10401         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10402         (_G_ssize_t): Likewise.
10403         (_G_off_t): Likewise.
10404         (_G_pid_t): Likewise.
10405         (_G_uid_t): Likewise.
10406         (_G_wchar_t): Likewise.
10407         (_G_wint_t): Likewise.
10409 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10411         * malloc/arena.c: Include malloc-sysdep.h.
10412         (shrink_heap): Use check_may_shrink_heap to decide if madvise
10413         is sufficient to shrink the heap or an unmap is needed.
10414         * sysdeps/generic/malloc-sysdep.h: New file.  Define
10415         new function check_may_shrink_heap.
10416         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
10417         new function check_may_shrink_heap.
10419 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10421         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10422         comments.
10424 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
10426         * catgets/test-gencat.sh: Add "set -e".
10427         * elf/tst-pathopt.sh: Likewise.
10428         * grp/tst_fgetgrent.sh: Likewise.
10429         * iconvdata/run-iconv-test.sh: Likewise.
10430         * intl/tst-gettext.sh: Likewise.
10431         * intl/tst-gettext2.sh: Likewise.
10432         * intl/tst-gettext4.sh: Likewise.
10433         * intl/tst-gettext6.sh: Likewise.
10434         * intl/tst-translit.sh: Likewise.
10435         * io/ftwtest-sh: Likewise.
10436         * libio/test-freopen.sh: Likewise.
10437         * malloc/tst-mtrace.sh: Likewise.
10438         * posix/globtest.sh: Likewise.
10439         * posix/tst-getconf.sh: Likewise.
10440         * posix/wordexp-tst.sh: Likewise.
10441         * stdio-common/tst-printf.sh: Likewise.
10442         * stdio-common/tst-unbputc.sh: Likewise.
10443         * stdlib/tst-fmtmsg.sh: Likewise.
10444         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10445         * catgets/Makefile: Do not specify -e option when running
10446         testsuite shell scripts.
10447         * elf/Makefile: Likewise.
10448         * grp/Makefile: Likewise.
10449         * iconvdata/Makefile: Likewise.
10450         * intl/Makefile: Likewise.
10451         * io/Makefile: Likewise.
10452         * libio/Makefile: Likewise.
10453         * malloc/Makefile: Likewise.
10454         * posix/Makefile: Likewise.
10455         * stdio-common/Makefile: Likewise.
10456         * stdlib/Makefile: Likewise.
10457         * sysdeps/x86_64/Makefile: Likewise.
10459         * io/ftwtest-sh: Add copyright header.
10460         * posix/globtest.sh: Likewise.
10461         * posix/tst-getconf.sh: Likewise.
10462         * posix/wordexp-tst.sh: Likewise.
10463         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10465 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
10467         [BZ #13679]
10468         * Makeconfig (+link): Defined as $(+link-static) if
10469         $(build-shared) isn't yes.
10470         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10471         isn't yes.
10472         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10474         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10476         [BZ #14562]
10477         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10478         new chunk size with MALLOC_ALIGN_MASK.
10480 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
10482         [BZ #5044]
10483         * stdio-common/printf_fphex.c: Include <stdbool.h> and
10484         <rounding-mode.h>.
10485         (__printf_fphex): Determine rounding using get_rounding_mode and
10486         round_away.
10487         * stdio-common/tst-printf-round.c (struct hex_test): New
10488         structure.
10489         (hex_tests): New variable.
10490         (test_hex_in_one_mode): New function.
10491         (do_test): Also run tests for hex float output.
10493 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
10495         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10496         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10497         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10498         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10499         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10500         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10501         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10502         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10504 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
10506         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10507         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10508         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10509         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10511 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
10513         [BZ #14579]
10514         * elf/rtld.c (dl_main): Limit the check for self loading to normal
10515         mode only.
10516         * elf/tst-rtld-load-self.sh: New test.
10517         * elf/Makefile: Run it.
10519 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
10521         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10522         (tst-writev-ENV): Remove.
10523         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10525 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
10527         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10529 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
10531         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10532         unconditional.
10533         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10534         Likewise.
10535         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10536         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10537         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10538         Likewise.
10540 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10542         [BZ #14587]
10543         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10544         * config.make.in (have-cpp-asm-debuginfo): Removed.
10545         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10546         * configure: Regenerated.
10548 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
10550         [BZ #5044]
10551         * stdio-common/printf_fp.c: Include <stdbool.h> and
10552         <rounding-mode.h>.
10553         (___printf_fp): Determine rounding using get_rounding_mode and
10554         round_away.
10555         * stdio-common/tst-printf-round.c: New file.
10556         * stdio-common/Makefile (tests): Add tst-printf-round.
10557         (link-libm): New variable.
10558         ($(objpfx)tst-printf-round): Depend in $(link-libm).
10560 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
10562         [BZ #14576]
10563         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10564         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10565         Likewise.
10566         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10567         Likewise.
10569 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
10571         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10572         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10573         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10574         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10576 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
10578         [BZ #14518]
10579         * include/rounding-mode.h: New file.
10580         * sysdeps/generic/get-rounding-mode.h: Likewise.
10581         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10582         * stdlib/strtod_l.c: Include <rounding-mode.h>.
10583         (MAX_VALUE): New macro.
10584         (MIN_VALUE): Likewise.
10585         (overflow_value): New function.
10586         (underflow_value): Likewise.
10587         (round_and_return): Use overflow_value and underflow_value to
10588         determine return values in overflow and underflow cases.  Use
10589         round_away to determine rounding depending on rounding mode.
10590         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10591         determine return values in overflow and underflow cases.
10592         * stdlib/tst-strtod-round.c: Include <fenv.h>.
10593         (struct test_results): New structure.
10594         (struct test): Use struct test_results to store expected results
10595         for all rounding modes.
10596         (TEST): Include expected results for all rounding modes.
10597         (test_in_one_mode): New function.
10598         (do_test): Use test_in_one_mode to compute and check results.
10599         Check results for all rounding modes.
10600         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10601         $(link-libm).
10603 2012-12-09  Allan McRae  <allan@archlinux.org>
10605         * sysdeps/i386/fpu/libm-test-ulps: Update
10607 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
10609         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10610         (_G_int32_t): Likewise.
10611         (_G_uint16_t): Likewise.
10612         (_G_uint32_t): Likewise.
10613         (_G_HAVE_BOOL): Likewise.
10614         (_G_HAVE_ATEXIT): Likewise.
10615         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10616         (_G_HAVE_IO_FILE_OPEN): Likewise.
10617         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10618         (_G_int32_t): Likewise.
10619         (_G_uint16_t): Likewise.
10620         (_G_uint32_t): Likewise.
10621         (_G_HAVE_BOOL): Likewise.
10622         (_G_HAVE_ATEXIT): Likewise.
10623         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10624         (_G_HAVE_IO_FILE_OPEN): Likewise.
10625         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10626         (_G_int32_t): Likewise.
10627         (_G_uint16_t): Likewise.
10628         (_G_uint32_t): Likewise.
10629         (_G_HAVE_BOOL): Likewise.
10630         (_G_HAVE_ATEXIT): Likewise.
10631         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10632         (_G_HAVE_IO_FILE_OPEN): Likewise.
10634 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
10636         * csu/libc-tls.c: Update copyright years.
10638 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
10640         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10641         [!_G_USING_THUNKS]: Remove conditional code.
10642         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10643         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10645         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10646         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10647         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10648         (_G_VTABLE_LABEL_PREFIX): Likewise.
10649         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10650         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10651         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10652         (_G_VTABLE_LABEL_PREFIX): Likewise.
10653         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10654         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10655         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10656         (_G_VTABLE_LABEL_PREFIX): Likewise.
10657         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10659 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
10661         * libio/Makefile: Include ../Makeconfig before tests.
10662         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10663         only if $(build-shared) is yes.
10665         * iconv/gconv_db.c: Update copyright years.
10667 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10669         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10670         unwind info if defined PIC. Fix special cases description.
10671         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10673         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10674         DP_HI_MASK entry.
10675         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10677 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
10679         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10681         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10682         is NULL.
10684         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10685         (LDLIBS-tst-chk4): This.
10686         (LDFLAGS-tst-chk5): Renamed to ...
10687         (LDLIBS-tst-chk5): This.
10688         (LDFLAGS-tst-chk6): Renamed to ...
10689         (LDLIBS-tst-chk6): This.
10690         (LDFLAGS-tst-lfschk4): Renamed to ...
10691         (LDLIBS-tst-lfschk4): This.
10692         (LDFLAGS-tst-lfschk5): Renamed to ...
10693         (LDLIBS-tst-lfschk5): This.
10694         (LDFLAGS-tst-lfschk6): Renamed to ...
10695         (LDLIBS-tst-lfschk6): This.
10697         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10698         on $(common-objpfx)soversions.mk.
10700 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
10702         [BZ #10014]
10703         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10704         example host name.
10706 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10708         * malloc/arena.c (arena_get_retry): New function that gets
10709         another arena for the caller to try its request on.
10710         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10711         current arena cannot fulfill the request.
10712         (__libc_memalign): Likewise.
10713         (__libc_memalign): Likewise.
10714         (__libc_pvalloc): Likewise.
10715         (__libc_calloc): Likewise.
10717 2012-09-05  John Tobey  <john.tobey@gmail.com>
10719         [BZ #13542]
10720         * manual/arith.texi (Operations on Complex): Fix description
10721         of carg branch cut.
10723 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
10725         [BZ #10014]
10726         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10727         host name.
10729         [BZ #10038]
10730         * manual/memory.texi (Memory): Make order of menu items match
10731         order of sections.
10733 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10735         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10736         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
10737         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10739 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10741         * csu/libc-tls.c (static_dtv): Renamed to ...
10742         (_dl_static_dtv): This.  Make it global.
10743         (_dl_initial_dtv): Removed.
10744         (__libc_setup_tls): Updated.
10745         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10746         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10747         DL_INITIAL_DTV.
10749 2012-09-06  Petr Machata  <pmachata@redhat.com>
10751         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10752         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10753         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10754         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10756 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10758         [BZ #14545]
10759         * csu/libc-tls.c (_dl_initial_dtv): New variable.
10760         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10761         freeing dtv[-1].
10763 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10765         [BZ #14544]
10766         * Makeconfig (link-static-before-libc): Replace $(+prector)
10767         with $(+prectorT).
10768         (link-static-after-libc): Replace $(+postctor) with
10769         $(+postctorT).
10770         (link-bounded): Replace $(+prector)/$(+postctor) with
10771         $(+prectorT)/$(+postctorT).
10772         (+prectorT): New macro.
10773         (+postctorT): Likewise.
10775 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
10777         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10778         (round_str): Handle values above the maximum for IBM long double
10779         as inexact.
10780         * stdlib/tst-strtod-round.c (tests): Regenerated.
10782 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10784         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10785         assembler flag.
10786         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10787         zarch_nohighgprs around the zarch optimized routines.
10788         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10789         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10790         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10791         for zarch.
10793 2012-09-05  David S. Miller  <davem@davemloft.net>
10795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10797         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10798         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10799         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10800         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10801         entries.
10803 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
10805         * malloc/arena.c: Fold copyright years.
10806         * malloc/mcheck.c, malloc/memusage.c: Likewise.
10808 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
10810         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10812 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
10814         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
10816 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
10818         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10819         change internal state upon failure.
10821 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
10823         * malloc/mcheck.c (mcheck_check_all): Fix typo.
10824         * malloc/memusage.c (mmap): Likewise.
10825         (mmap64, mremap): Likewise.  Adjust name in comment.
10827 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10829         * libio/fileops.c: Fix typos in comments.
10830         * libio/oldfileops.c: Likewise.
10831         * libio/wfileops.c: Likewise.
10833 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10835         [BZ #1349]
10836         * malloc/Makefile (tests): Add tst-malloc-usable test case.
10837         (tst-malloc-usable-ENV): Set environment for test case.
10838         * malloc/hooks.c (malloc_check_get_size): New function to get
10839         requested size.
10840         * malloc/malloc.c (musable): Use malloc_check_get_size.
10841         * malloc/tst-malloc-usable.c: New test case.
10843 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
10845         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10847 2012-09-05  Allan McRae  <allan@archlinux.org>
10849         [BZ #13966]
10850         * configure.in (CXX_SYSINCLUDES): Use compiler output to
10851         determine header location.
10852         * configure: Regenerated.
10854 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
10856         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10857         float format.
10858         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10859         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10860         format.
10861         (test): Regenerate.
10863 2012-09-04  David S. Miller  <davem@davemloft.net>
10865         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10866         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10867         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10869 2012-09-04  Florian Weimer  <fweimer@redhat.com>
10871         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10872         failures.
10874         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10876 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
10878         [BZ #9914]
10879         * libio/iogetdelim.c: Include <limits.h>.
10880         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10881         + len + 1 would overflow.
10883 2012-09-03  Andreas Jaeger  <aj@suse.de>
10885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10886         * sysdeps/i386/fpu/libm-test-ulps: Update.
10888 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10890         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10891         Add s_sinf-sse2, s_conf-sse2.
10893         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10894         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10895         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10896         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10898         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10899         for using routine as __sinf_ia32.
10900         Use macro for function declaration and weak_alias.
10901         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10902         for using routine as __cosf_ia32.
10903         Use macro for function declaration and weak_alias.
10905         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10906         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10908         * sysdeps/x86_64/fpu/s_sinf.S: New file.
10909         * sysdeps/x86_64/fpu/s_cosf.S: New file.
10910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10912         * math/libm-test.inc (cos_test): Add more test cases.
10913         (sin_test): Likewise.
10914         (sincos_test): Likewise.
10916 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10918         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10919         (IFUNC_RESOLVE): Make pointers to the specialized implementations
10920         hidden.
10921         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10923 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
10925         [BZ #14538]
10926         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10927         first element of the GOT.
10928         (elf_machine_load_address): Return the difference between
10929         the runtime address of _DYNAMIC and elf_machine_dynamic ().
10931 2012-09-01  Allan McRae  <allan@archlinux.org>
10933         [BZ #13412]
10934         * configure.in (AWK): Require gawk version 3.0 or later.
10935         * configure: Regenerated.
10937 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
10939         * sysdeps/unix/sysv/linux/kernel-features.h
10940         (__ASSUME_POSIX_CPU_TIMERS): Remove.
10941         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10942         [__NR_clock_getres]: Make code unconditional.
10943         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10944         (clock_getcpuclockid): Remove code left unreachable by removal of
10945         conditionals.
10946         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10947         code unconditional.
10948         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10949         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10950         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10951         Make code unconditional.
10952         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10953         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10954         * sysdeps/unix/sysv/linux/clock_settime.c
10955         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10956         conditional code.
10957         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10958         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10960 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
10962         [BZ #14476]
10963         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10964         scripts/test-installation.pl.
10966         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10967         and $ld_so_version if it is set.
10969 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10971         [BZ #14516]
10972         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10973         failure if reading from procfs failed.
10974         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10976 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
10978         * sysdeps/unix/sysv/linux/kernel-features.h
10979         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10980         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10981         Remove conditional code.
10982         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10983         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10984         Remove conditional code.
10985         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10986         * sysdeps/unix/sysv/linux/i386/fxstat.c
10987         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10988         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10989         * sysdeps/unix/sysv/linux/i386/fxstatat.c
10990         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10991         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10992         * sysdeps/unix/sysv/linux/i386/lxstat.c
10993         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10994         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10995         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10996         Remove conditional code.
10997         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10998         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10999         Remove conditional code.
11000         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11001         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11002         <kernel-features.h>.
11003         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11004         Remove.
11005         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11006         Remove conditional code.
11007         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11008         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11009         Remove conditional.
11011 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
11013         [BZ #5400]
11014         * NEWS: Add fixed bug number.
11016 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
11018         [BZ #14519]
11019         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11020         underflowing exponent in case of negative sign.
11021         * stdlib/tst-strtod-round-data: Add more tests.
11022         * stdlib/tst-strtod-round.c (tests): Regenerated.
11024         [BZ #3479]
11025         * stdlib/strtod_l.c (NDIG): Remove.
11026         (HEXNDIG): Likewise.
11027         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11028         smallest representable value.
11029         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11030         lie within an exact representation of 1/2 ulp of the result.
11031         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11032         unconditionally.
11033         (TENS_P9_IDX): Define unconditionally.
11034         (TENS_P9_SIZE): Likewise.
11035         (TENS_P10_IDX): Likewise.
11036         (TENS_P10_SIZE): Likewise.
11037         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11038         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11039         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11040         entries for 10^2^13 and 10^2^14.
11041         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11042         (TENS_P13_IDX): Define.
11043         (TENS_P13_SIZE): Likewise.
11044         (TENS_P14_IDX): Likewise.
11045         (TENS_P14_SIZE): Likewise.
11046         (_fpioconst_pow10): Change array size to
11047         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
11048         unconditional.
11049         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11050         1024]: Add entries for 10^2^13 and 10^2^14.
11051         [LAST_POW10 > _LAST_POW10]: Remove #error.
11052         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11053         (_fpioconst_pow10): Change array size to
11054         FPIOCONST_POW10_ARRAY_SIZE.
11055         * stdlib/gen-fpioconst.c: New file.
11056         * stdlib/gen-tst-strtod-round.c: Likewise.
11057         * stdlib/tst-strtod-round-data: Likewise.
11058         * stdlib/tst-strtod-round.c: Likewise.
11059         * stdlib/Makefile (tests): Add tst-strtod-round.
11061         [BZ #14459]
11062         * stdlib/strtod_l.c: Include <stdint.h>.
11063         (NDEBUG): Do not define.
11064         (round_and_return): Change EXPONENT parameter to type intmax_t.
11065         Rearrange calculations to avoid internal overflow possibilities.
11066         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11067         Rearrange calculations to avoid internal overflow possibilities.
11068         Assert that number fits inside MPNSIZE limbs.
11069         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11070         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
11071         calculations and add assertions to avoid internal overflow
11072         possibilities.  Add casts to avoid signed/unsigned operations.
11073         * stdlib/tst-strtod-overflow.c: New file.
11074         * stdlib/Makefile (tests): Add tst-strtod-overflow.
11076 2012-08-25  Marek Polacek  <polacek@redhat.com>
11078         * time/time.h: Fix some typos in comments.
11080 2012-08-23  Roland McGrath  <roland@hack.frob.com>
11082         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11083         * posix/tst-rfc3484-2.c: Likewise.
11084         * posix/tst-rfc3484-3.c: Likewise.
11086 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
11088         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11089         (EF_ARM_ABI_FLOAT_HARD): Likewise.
11091 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
11093         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11094         #include of fxstatat64.c.
11096 2012-08-22  Roland McGrath  <roland@hack.frob.com>
11098         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11099         * shadow/getspent_r.c: Likewise.
11100         * shadow/getspnam.c: Likewise.
11101         * shadow/getspnam_r.c: Likewise.
11102         * gshadow/getsgent.c: Likewise.
11103         * gshadow/getsgent_r.c: Likewise.
11104         * gshadow/getsgnam.c: Likewise.
11105         * gshadow/getsgnam_r.c: Likewise.
11106         * inet/getnetbyad.c: Likewise.
11107         * inet/getnetbyad_r.c: Likewise.
11108         * inet/getnetbynm.c: Likewise.
11109         * inet/getnetbynm_r.c: Likewise.
11110         * inet/getnetent.c: Likewise.
11111         * inet/getnetent_r.c: Likewise.
11112         * inet/getproto.c: Likewise.
11113         * inet/getproto_r.c: Likewise.
11114         * inet/getprtent.c: Likewise.
11115         * inet/getprtent_r.c: Likewise.
11116         * inet/getprtname.c: Likewise.
11117         * inet/getprtname_r.c: Likewise.
11118         * inet/getrpcbyname.c: Likewise.
11119         * inet/getrpcbyname_r.c: Likewise.
11120         * inet/getrpcbynumber.c: Likewise.
11121         * inet/getrpcbynumber_r.c: Likewise.
11122         * inet/getrpcent.c: Likewise.
11123         * inet/getrpcent_r.c: Likewise.
11124         * inet/getaliasent.c: Likewise.
11125         * inet/getaliasent_r.c: Likewise.
11126         * inet/getaliasname.c: Likewise.
11127         * inet/getaliasname_r.c: Likewise.
11128         * nscd/getgrgid_r.c: Likewise.
11129         * nscd/getgrnam_r.c: Likewise.
11130         * nscd/gethstbyad_r.c: Likewise.
11131         * nscd/gethstbynm3_r.c: Likewise.
11132         * nscd/getpwnam_r.c: Likewise.
11133         * nscd/getpwuid_r.c: Likewise.
11134         * nscd/getsrvbynm_r.c: Likewise.
11135         * nscd/getsrvbypt_r.c: Likewise.
11136         * nscd/gai.c: Likewise.
11138         * configure.in (build_nscd): New substituted variable, set
11139         by --disable-build-nscd and defaults to $use_nscd.
11140         * configure: Regenerated.
11141         * config.make.in (build-nscd): New substituted variable.
11142         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11143         Change conditional to require [$(build-nscd) = yes] as well.
11144         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11146         [BZ# 13696]
11147         * configure.in (use_nscd): New substituted variable, set by
11148         --disable-nscd.  If enabled, define USE_NSCD.
11149         * configure: Regenerated.
11150         * config.h.in: Add USE_NSCD.
11151         * config.make.in (use-nscd): New substituted variable.
11152         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11153         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11154         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11155         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11156         (CFLAGS-getgrnam_r.c): Likewise.
11157         (CFLAGS-initgroups.c): Likewise.
11158         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11159         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11160         Variables removed.
11161         * inet/getnetgrent_r.c
11162         (nscd_setnetgrent): New function, broken out of ...
11163         (setnetgrent): ... here.  Call it.
11164         (innetgr): Conditionalize nscd bits on [USE_NSCD].
11165         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11166         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11167         * nscd/Makefile (routines, aux): Move definitions after include of
11168         Makeconfig.  Conditionalize on [$(use-nscd) != no].
11169         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11170         Conditionalize on [USE_NSCD].
11171         (is_nscd, nscd_init_cb): Likewise.
11172         (nss_load_library): Conditionalize init callback on [USE_NSCD].
11173         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11174         * nss/nss_db/db-init.c: Likewise.
11175         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11176         [USE_NSCD].
11177         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11178         (make_request): Use it.
11179         (cache_valid_p): New function.
11180         (__check_pf): Use it.
11181         * NEWS: Add item for --disable-nscd.
11183 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
11185         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11186         to support sed >= 4.2.1-20-ga9bf076.
11187         * configure: Regenerated.
11189 2012-08-22  Roland McGrath  <roland@hack.frob.com>
11191         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11192         Conditionalize whole body on [IREL].
11194 2012-08-22  Jeff Law <law@redhat.com>
11196         [BZ #14505]
11197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11198         if the family is PF_UNSPEC.
11200 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
11202         * Makerules (lib-version): Rename from V.
11203         (install-lib-nosubdir): Change V to lib-version.
11205 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
11207         [BZ #14252]
11208         * powerpc32/power6/wcschr.c: New file.
11209         * powerpc32/power6/wcscpy.c: New file.
11210         * powerpc32/power6/wcsrchr.c: New file.
11211         * powerpc64/power6/wcschr.c: New file.
11212         * powerpc64/power6/wcscpy.c: New file.
11213         * powerpc64/power6/wcsrchr.c: New file.
11215 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
11217         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11218         (two_way_short_needle): Use it.
11219         * string/strstr.c (AVAILABLE1_USES_J): Define.
11220         * string/strcasestr.c: Likewise.
11222         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11223         array references.
11224         * string/strcasestr.c (TOLOWER): Make side-effect safe.
11226         [BZ #11607]
11227         * NEWS: Add an entry.
11228         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11229         define their defaults.
11230         (two_way_short_needle): Detect end-of-string on-the-fly.
11231         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11232         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11233         * string/bug-strcasestr1.c: New test.
11234         * string/Makefile: Run it.
11236 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
11238         [BZ #11607]
11239         * string/str-two-way.h (two_way_short_needle): Optimize matching of
11240         the first character.
11242 2012-08-21  Roland McGrath  <roland@hack.frob.com>
11244         * csu/elf-init.c (__libc_csu_irel): Function removed.
11245         * csu/libc-start.c (apply_irel): New function.
11246         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11248 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
11250         * sysdeps/unix/sysv/linux/kernel-features.h
11251         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11252         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11253         <kernel-features.h>.
11254         [__NR_fadvise64_64]: Make code unconditional.
11255         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11256         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11257         !__NR_fadvise64_64)]: Likewise.
11258         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11259         !__NR_fadvise64_64))]: Likewise.
11260         [__NR_fadvise64]: Make code unconditional.
11261         [!__NR_fadvise64]: Remove conditional code.
11262         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11263         <kernel-features.h>.
11264         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11265         unconditional.
11266         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11267         conditional code.
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11269         not include <kernel-features.h>.
11270         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11271         unconditional.
11272         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11273         conditional code.
11274         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11275         include <kernel-features.h>.
11276         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11277         unconditional.
11278         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11279         conditional code.
11281 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
11283         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11284         slight instruction rearrangements per scrollpipe analysis.
11285         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11287 2012-08-20  Roland McGrath  <roland@hack.frob.com>
11289         * manual/syslog.texi (syslog; vsyslog, closelog):
11290         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11291         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11293         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11294         DSOCAPS to match condition on defining it.
11296 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
11298         * sysdeps/unix/sysv/linux/kernel-features.h
11299         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11301         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11302         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11304         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11305         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11307         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11308         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11310         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11311         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11313         * sysdeps/unix/sysv/linux/kernel-features.h
11314         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11315         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11316         unconditional.
11317         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11318         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11319         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11320         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11321         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11322         Make code unconditional.
11323         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11324         (__mmap64) [!__NR_mmap2]: Likewise.
11325         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11326         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11327         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11328         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11329         [__NR_mmap2]: Make code unconditional.
11330         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11331         (__mmap64) [!__NR_mmap2]: Likewise.
11333 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11335         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11337 2012-08-18  Andreas Jaeger  <aj@suse.de>
11339         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11341 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
11343         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11344         * include/unistd.h (__have_sock_cloexec): Likewise.
11345         (__have_pipe2): Likewise.
11346         (__have_dup3): Likewise.
11348 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
11350         [BZ #9685]
11351         * include/unistd.h (__have_pipe2): Change define into an extern int.
11352         (__have_dup3): Likewise.
11353         * socket/have_sock_cloexec.c: Include fcntl.h.
11354         (__have_pipe2): New variable.
11355         (__have_dup3): Likewise.
11357 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
11359         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11361 2012-08-17  Marek Polacek  <polacek@redhat.com>
11363         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11364         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11366 2012-08-17  Roland McGrath  <roland@hack.frob.com>
11368         * configure.in: Add AC_SUBST for sysheaders.
11369         * configure: Regenerated.
11370         * config.make.in (sysheaders): New substituted variable.
11372         * sysdeps/unix/mkfifo.c: Moved ...
11373         * sysdeps/posix/mkfifo.c: ... here.
11374         * sysdeps/unix/mkfifoat.c: Moved ...
11375         * sysdeps/posix/mkfifoat.c: ... here.
11377         * sysdeps/unix/utime.c: Moved ...
11378         * sysdeps/posix/utime.c: ... here.
11380         * sysdeps/unix/time.c: Moved ...
11381         * sysdeps/posix/time.c: ... here.
11382         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11383         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11385         * sysdeps/unix/nice.c: Moved ...
11386         * sysdeps/posix/nice.c: ... here.
11388         * sysdeps/unix/alarm.c: Moved ...
11389         * sysdeps/posix/alarm.c: ... here.
11391         * intl/Makefile ($(codeset_mo)): Depend on the input file.
11393 2012-08-17  Jeff Law <law@redhat.com>
11395         * intl/Makefile (codeset_mo): New variable.
11396         ($(codeset_mo)): New target.
11397         (tst-codeset.out): Depend on that.  Remove explicit rule.
11398         (tst-gettext3.out, tst-gettext5.out): Likewise.
11399         (LOCPATH-ENV, tst-codeset-ENV): New variables.
11400         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11401         * intl/tst-codeset.sh: Remove.
11402         * intl/tst-gettext3.sh: Likewise.
11403         * intl/tst-gettext5.sh: Likewise.
11405 2012-08-17  Roland McGrath  <roland@hack.frob.com>
11407         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
11408         * sysdeps/unix/syscalls.list: ... here.
11410         * sysdeps/posix/getaddrinfo.c
11411         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11412         (gaiconf_init, gaiconf_reload): Use them.
11413         [!_STATBUF_ST_NSEC]
11414         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11415         Define using time_t rather than struct timespec.
11417         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11418         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11419         Macros removed.
11420         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11421         [!NO_THREADS].
11422         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11423         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11424         Likewise.
11426         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11427         __libc_cleanup_push argument.
11429         * bits/param.h: New file.
11430         * misc/sys/param.h: New file.
11431         * include/sys/param.h: New file.
11432         * misc/Makefile (headers): Add bits/param.h.
11433         * sysdeps/generic/sys/param.h: File removed.
11434         * sysdeps/unix/sysv/linux/bits/param.h: New file.
11435         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11436         * sysdeps/mach/hurd/bits/param.h: New file.
11437         * sysdeps/mach/hurd/sys/param.h: File removed.
11439         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11440         last change.
11442         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11443         [_IO_MTSAFE_IO].
11444         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11445         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11446         New macros.
11448         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11449         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11450         rather than -D_IO_MTSAFE_IO conditionally.
11451         * stdio-common/Makefile (CPPFLAGS): Likewise.
11452         * wcsmbs/Makefile (CPPFLAGS): Likewise.
11453         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11454         Use $(libio-mtsafe).
11455         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11456         of -D_IO_MTSAFE_IO.
11457         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11458         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11459         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11460         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11461         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11462         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11463         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11464         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11465         (CFLAGS-fread_u_chk.c): Likewise.
11466         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11467         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11468         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11469         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11470         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11471         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11472         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11473         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11474         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11476         * libio/Makefile: Test [$(libc-reentrant) = yes]
11477         instead of [$(filter %REENTRANT, $(defines)) nonempty].
11479         * Makeconfig
11480         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11481         * sysdeps/pthread/configure: File removed.
11482         * sysdeps/pthread/Makeconfig: New file.
11483         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11484         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11486 2012-08-16  Gary Benson  <gbenson@redhat.com>
11488         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11489         unmapping the first object in a namespace.
11491 2012-08-16  Roland McGrath  <roland@hack.frob.com>
11493         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11494         (__internal_setnetgrent): ... this.  Add internal_function to
11495         definition.  Add libc_hidden_def.
11496         (setnetgrent): Update caller.
11497         (internal_endnetgrent): Renamed to ...
11498         (__internal_endnetgrent): ... this.  Add internal_function to
11499         definition.  Add libc_hidden_def.
11500         (endnetgrent): Update caller.
11501         (internal_getnetgrent_r): Renamed to ...
11502         (__internal_getnetgrent_r): ... this.  Add internal_function to
11503         definition.  Add libc_hidden_def.
11504         (__getnetgrent_r): Update caller.
11505         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
11507 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
11509         * stdlib/longlong.h: Update from GCC.
11511 2012-08-16  Roland McGrath  <roland@hack.frob.com>
11513         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11514         on _QL, which is set by umul_ppmm but never used.
11515         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11516         variables, which are set by GMP macros but never used.
11517         * stdio-common/_itowa.c (_itowa): Likewise.
11518         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11519         * stdlib/mod_1.c (mpn_mod_1): Likewise.
11521 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
11523         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11524         struct La_sh_regs is not constant.
11525         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11526         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11527         and struct La_sparc64_regs are not constant.
11529 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
11531         * sysdeps/unix/sysv/linux/kernel-features.h
11532         (__ASSUME_POSIX_TIMERS): Remove.
11533         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11534         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11535         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11536         Make code unconditional.
11537         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11538         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11539         Make code unconditional.
11540         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11541         * sysdeps/unix/sysv/linux/clock_nanosleep.c
11542         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11543         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11544         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11545         Make code unconditional.
11546         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11547         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11548         (__libc_missing_posix_timers): Remove.
11550 2012-08-15  Roland McGrath  <roland@hack.frob.com>
11552         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11553         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11555         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11557         * elf/dl-sym.c: Include <stdlib.h>.
11559         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11560         constants, which avoids warnings in 32-bit builds.
11562         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11563         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11565         * misc/lseek.c: File moved to ...
11566         * io/lseek.c: ... here.
11568         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11570         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11571         shifting LEN more than 31 bits at once.
11573 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11575         [BZ #14195]
11576         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11577         segmentation fault for a case of two empty input strings.
11578         * string/test-strncasecmp.c (check1): Renamed to...
11579         (bz12205): ...this.
11580         (bz14195): Add new testcase for two empty input strings and N > 0.
11581         (test_main): Call new testcase, adapt for renamed function.
11583 2012-08-15  Andreas Jaeger  <aj@suse.de>
11585         [BZ #14090]
11586         * crypt/md5test2.c: New test, based on test supplied by Serge
11587         Belyshev <belyshev@depni.sinp.msu.ru>.
11588         * crypt/Makefile (xtests): Add md5test-giant..
11589         * crypt/Makefile ($(objpfx)md5test-giant): Add.
11591 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
11593         [BZ #14090]
11594         * crypt/md5.c (md5_process_block): Don't assume the buffer
11595         length is less than 2**32.
11596         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11597         length is less than 2**64.
11599 2012-08-15  Roland McGrath  <roland@hack.frob.com>
11601         * string/str-two-way.h: Include <sys/param.h>.
11602         (MAX): Macro removed.
11604         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11605         Move #define and #undef of memmove to just before and after
11606         including <string.h>.
11608         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11609         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11610         and after including <string.h>.  Move declarations of
11611         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11612         to before #include "string/memmove.c".
11614         * include/dirent.h: Declare __getdirentries.
11616         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11617         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11619 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
11621         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11622         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11623         * sysdeps/i386/configure: Regenerated.
11624         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11625         STABS_CURRENT_FILE, and STABS_FUN.
11626         (END): Remove call to STABS_FUN_END.
11627         (STABS_CURRENT_FILE1): Delete.
11628         (STABS_CURRENT_FILE): Likewise.
11629         (STABS_FUN): Likewise.
11630         (STABS_FUN_END): Likewise.
11631         (STABS_FUN2): Likewise.
11632         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11633         * sysdeps/x86_64/configure: Regenerated.
11635 2012-08-14  Roland McGrath  <roland@hack.frob.com>
11637         * elf/dl-open.c: Include <atomic.h>.
11638         * elf/dl-lookup.c: Likewise.
11640 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
11642         * sysdeps/unix/sysv/linux/kernel-features.h
11643         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11644         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11645         unconditionally.
11646         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11647         unconditionally.
11648         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11649         condition on __ASSUME_CLONE_THREAD_FLAGS.
11651 2012-08-14  Andreas Jaeger  <aj@suse.de>
11653         * sysdeps/i386/fpu/libm-test-ulps: Update.
11655 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
11657         * include/atomic.h (atomic_exchange_and_add): Split into ...
11658         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11659         New atomic macros.
11661 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
11663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11665 2012-08-13  Jeff Law <law@redhat.com>
11667         * manual/stdio.texi (snprintf): Clarify handling of the trailing
11668         null byte in the output string.
11670 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
11672         * sysdeps/unix/sysv/linux/kernel-features.h
11673         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11674         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11675         (__ASSUME_ARG_MAX_STACK_BASED): Define.
11676         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11677         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11678         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
11679         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11681 2012-08-09  Jeff Law <law@redhat.com>
11683         [BZ #13939]
11684         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11685         When avoid_arena is set, don't retry in the that arena.  Pick the
11686         next one, whatever it might be.
11687         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11688         (arena_lock): Pass in new parameter to arena_get2.
11689         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11690         arena_get2.
11691         (__libc_malloc): Unify retrying after main arena failure with
11692         __libc_memalign version.
11693         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11695 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11697         [BZ #14166]
11698         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11699         to __redirect_strstr.
11700         (__strstr_sse42): Use typeof __redirect_strstr.
11701         (__strstr_ia32): Likewise.
11702         (__libc_strstr): New prototype.
11703         (strstr): Renamed to ...
11704         (__libc_strstr): This.
11705         (strstr): New strong alias of __libc_strstr.
11706         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11707         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11708         __redirect_time.
11709         Include <time.h>.
11710         (__libc_time): New prototype.
11711         (time_ifunc): Replace time with __libc_time.
11712         (time): New strong alias and hidden definition of __libc_time.
11713         (__GI_time): Remove strong alias.
11714         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11715         Include <stddef.h>.
11716         (memmove): Redefined to __redirect_memmove.
11717         (__memmove_sse2): Use typeof __redirect_memmove.
11718         (__memmove_ssse3): Likewise.
11719         (__memmove_ssse3_back): Likewise.
11720         (__libc_memmove): New prototype.
11721         (memmove): Renamed to ...
11722         (__libc_memmove): This.
11723         (memmove): New strong alias of __libc_memmove.
11725 2012-08-08  Mark Salter  <msalter@redhat.com>
11727         * elf/elf.h
11728         (R_MN10300_TLS_GD): Define.
11729         (R_MN10300_TLS_LD): Likewise.
11730         (R_MN10300_TLS_LDO): Likewise.
11731         (R_MN10300_TLS_GOTIE): Likewise.
11732         (R_MN10300_TLS_IE): Likewise.
11733         (R_MN10300_TLS_LE): Likewise.
11734         (R_MN10300_TLS_DTPMOD): Likewise.
11735         (R_MN10300_TLS_DTPOFF): Likewise.
11736         (R_MN10300_TLS_TPOFF): Likewise.
11737         (R_MN10300_SYM_DIFF): Likewise.
11738         (R_MN10300_ALIGN): Likewise.
11739         (R_MN10300_NUM): Update.
11741 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
11743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11744         Remove.
11746 2012-08-08  Roland McGrath  <roland@hack.frob.com>
11748         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11750         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11751         sysdeps/unix -> sysdeps/posix move.
11752         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11754 2012-08-07      Allan McRae     <allan@archlinux.org>
11756         [BZ #14303]
11757         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11758         (SUNOS_CPP): Likewise.
11759         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11760         not found.
11761         (open_input): Call CPP using execvp.
11763 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
11765         * sysdeps/unix/sysv/linux/kernel-features.h
11766         (__ASSUME_PROT_GROWSUPDOWN): Remove.
11767         (__ASSUME_NO_CLONE_DETACHED): Likewise.
11768         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11769         (__ASSUME_WAITID_SYSCALL): Likewise.
11770         * sysdeps/unix/sysv/linux/dl-execstack.c
11771         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11772         code unconditional.
11773         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11774         conditional code.
11775         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11776         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11777         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11778         code.
11779         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11780         unconditional.
11781         [__ASSUME_WAITID_SYSCALL]: Likewise.
11782         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11784 2012-08-07  Roland McGrath  <roland@hack.frob.com>
11786         * sysdeps/unix/closedir.c: Renamed to ...
11787         * sysdeps/posix/closedir.c: ... here.
11788         * sysdeps/unix/dirfd.c: Renamed to ...
11789         * sysdeps/posix/dirfd.c: ... here.
11790         * sysdeps/unix/dirstream.h: Renamed to ...
11791         * sysdeps/posix/dirstream.h: ... here.
11792         * sysdeps/unix/fdopendir.c: Renamed to ...
11793         * sysdeps/posix/fdopendir.c: ... here.
11794         * sysdeps/unix/opendir.c: Renamed to ...
11795         * sysdeps/posix/opendir.c: ... here.
11796         * sysdeps/unix/readdir.c: Renamed to ...
11797         * sysdeps/posix/readdir.c: ... here.
11798         * sysdeps/unix/readdir_r.c: Renamed to ...
11799         * sysdeps/posix/readdir_r.c: ... here.
11800         * sysdeps/unix/rewinddir.c: Renamed to ...
11801         * sysdeps/posix/rewinddir.c: ... here.
11802         * sysdeps/unix/seekdir.c: Renamed to ...
11803         * sysdeps/posix/seekdir.c: ... here.
11804         * sysdeps/unix/telldir.c: Renamed to ...
11805         * sysdeps/posix/telldir.c: ... here.
11806         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11807         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11808         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11809         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11811         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11812         * bits/fcntl.h: ... here.
11814         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11815         not 0.
11816         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11817         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11818         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11819         (struct flock): Move l_start, l_len to the beginning.
11820         Use __pid_t for l_pid.
11821         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11822         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11823         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11824         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11825         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11826         [__USE_LARGEFILE64] (struct flock64): New type.
11827         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11829         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11830         * bits/dirent.h: ... here.
11832         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11833         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11835 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
11837         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11838         Change from 2.6.0 to 2.6.16.
11839         * sysdeps/unix/sysv/linux/configure: Regenerated.
11840         * sysdeps/unix/sysv/linux/kernel-features.h
11841         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11842         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11843         version.
11844         (__ASSUME_UTIMES): Likewise.
11845         (__ASSUME_CLONE_STOPPED): Remove.
11846         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11847         architectures, not kernel version.
11848         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11849         (__ASSUME_NO_CLONE_DETACHED): Likewise.
11850         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11851         (__ASSUME_WAITID_SYSCALL): Likewise.
11852         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11853         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11854         * README: State 2.6.16 as minimum Linux kernel version.  Do not
11855         refer to older versions.
11857 2012-08-06  Roland McGrath  <roland@hack.frob.com>
11859         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11860         Define alphasort64 as an alias.
11861         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11862         Define versionsort64 as an alias.
11863         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11864         Define scandir64 as an alias.
11865         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11866         Define scandirat64 as an alias.
11867         * dirent/alphasort64.c (alphasort64):
11868         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11869         * dirent/versionsort64.c: Likewise.
11870         * dirent/scandir64.c: Likewise.
11871         * dirent/scandirat64.c: Likewise.
11872         * sysdeps/wordsize-64/alphasort.c: File removed.
11873         * sysdeps/wordsize-64/alphasort64.c: File removed.
11874         * sysdeps/wordsize-64/scandir.c: File removed.
11875         * sysdeps/wordsize-64/scandir64.c: File removed.
11876         * sysdeps/wordsize-64/scandirat.c: File removed.
11877         * sysdeps/wordsize-64/scandirat64.c: File removed.
11878         * sysdeps/wordsize-64/versionsort.c: File removed.
11879         * sysdeps/wordsize-64/versionsort64.c: File removed.
11880         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11881         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11882         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11883         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11884         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11885         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11886         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11887         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11889         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11891         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11893         [defined __arch64__ || defined __sparcv9]
11894         (__INO_T_MATCHES_INO64_T): New macro.
11895         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11896         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11897         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11898         * sysdeps/unix/sysv/linux/bits/dirent.h
11899         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11900         (_DIRENT_MATCHES_DIRENT64): New macro.
11902         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11903         Define lockf64 as an alias.
11904         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11905         Define fseeko64 as an alias.
11906         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11907         Define ftello64 as an alias.
11908         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11909         Define _IO_fgetpos64 and fgetpos64 as aliases.
11910         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11911         Define _IO_fsetpos64 and fsetpos64 as aliases.
11912         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11913         Conditionalize body on this.
11914         * libio/fseeko64.c: Likewise.
11915         * libio/ftello64.c: Likewise.
11916         * libio/iofgetpos64.c: Likewise.
11917         * libio/iofsetpos64.c: Likewise.
11918         * sysdeps/wordsize-64/lockf.c: File removed.
11919         * sysdeps/wordsize-64/lockf64.c: File removed.
11920         * sysdeps/wordsize-64/fseeko.c: File removed.
11921         * sysdeps/wordsize-64/fseeko64.c: File removed.
11922         * sysdeps/wordsize-64/ftello.c: File removed.
11923         * sysdeps/wordsize-64/ftello64.c: File removed.
11924         * sysdeps/wordsize-64/iofgetpos.c: File removed.
11925         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11926         * sysdeps/wordsize-64/iofsetpos.c: File removed.
11927         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11928         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11929         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11930         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11931         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11932         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11933         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11934         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11935         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11936         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11937         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11939         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11941         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11943         [defined __arch64__ || defined __sparcv9]
11944         (__OFF_T_MATCHES_OFF64_T): New macro.
11945         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11946         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11948         (__OFF_T_MATCHES_OFF64_T): New macro.
11950 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
11952         * stdlib/secure-getenv.c (__secure_getenv): Replace
11953         GLIBC_2_16 with GLIBC_2_17.
11955 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
11957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11958         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11960 2012-08-03  David S. Miller  <davem@davemloft.net>
11962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11964 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
11966         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11967         Remove.
11968         (__ASSUME_CORRECT_SI_PID): Likewise.
11969         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11970         (__ASSUME_TMPFS_NAME): Likewise.
11971         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11972         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11973         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11974         (HAVE_AUX_SECURE): Make definition unconditional.
11975         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11976         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11978 2012-08-03  Roland McGrath  <roland@hack.frob.com>
11980         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11981         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11982         * sysdeps/mach/hurd/eloop-threshold.h: New file.
11983         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11984         __eloop_threshold instead of SYMLOOP_MAX.
11986         * sysdeps/generic/eloop-threshold.h: New file.
11987         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11988         of MAXSYMLINKS.
11989         * elf/chroot_canon.c (chroot_canon): Likewise.
11991 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
11993         [BZ #13717]
11994         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11995         Change to 2.6.0 everywhere.
11996         * sysdeps/unix/sysv/linux/configure: Regenerated.
11997         * sysdeps/unix/sysv/linux/kernel-features.h
11998         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11999         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12000         kernel versions.
12001         (__ASSUME_POSIX_TIMERS): Define unconditionally.
12002         (__ASSUME_FUTEX_REQUEUE): Remove.
12003         (__ASSUME_STATFS64): Define unconditionally.
12004         (__ASSUME_AT_SECURE): Likewise.
12005         (__ASSUME_CORRECT_SI_PID): Likewise.
12006         (__ASSUME_TGKILL): Define without depending on kernel version for
12007         i386.
12008         (__ASSUME_UTIMES): Likewise.
12009         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12010         kernel version.
12011         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12012         (__ASSUME_TMPFS_NAME): Likewise.
12013         * README: Update reference to Linux kernel versions.
12015 2012-08-02  Marek Polacek  <polacek@redhat.com>
12017         [BZ# 14150]
12018         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
12019         libc_cv_asm_type_prefix with %.
12020         * configure: Regenerated.
12021         * include/libc-symbols.h: Remove comment about
12022         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12023         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12024         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12025         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12026         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12027         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12028         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12029         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12030         * elf/tst-unique2mod1.c: Likewise.
12031         * elf/tst-unique1mod2.c: Likewise.
12032         * elf/tst-unique1mod1.c: Likewise.
12033         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12034         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12035         Replace ASM_TYPE_DIRECTIVE with .type.
12036         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12037         * sysdeps/i386/sysdep.h: Likewise.
12038         * sysdeps/x86_64/sysdep.h: Likewise.
12039         * sysdeps/sh/sysdep.h: Likewise.
12040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12041         Do not define ASM_TYPE_DIRECTIVE.
12042         * sysdeps/powerpc/sysdep.h: Likewise.
12043         * sysdeps/powerpc/powerpc32/sysdep.h:
12044         Replace ASM_TYPE_DIRECTIVE with .type.
12045         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12046         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12047         * sysdeps/i386/fpu/e_powf.S: Likewise.
12048         * sysdeps/i386/fpu/e_expl.S: Likewise.
12049         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12050         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12051         * sysdeps/i386/fpu/e_pow.S: Likewise.
12052         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12053         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12054         * sysdeps/i386/fpu/s_expm1.S: Likewise.
12055         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12056         * sysdeps/i386/fpu/e_log2.S: Likewise.
12057         * sysdeps/i386/fpu/e_log2l.S: Likewise.
12058         * sysdeps/i386/fpu/e_scalb.S: Likewise.
12059         * sysdeps/i386/fpu/e_powl.S: Likewise.
12060         * sysdeps/i386/fpu/e_log10f.S: Likewise.
12061         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12062         * sysdeps/i386/fpu/e_logl.S: Likewise.
12063         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12064         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12065         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12066         * sysdeps/i386/fpu/e_log2f.S: Likewise.
12067         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12068         * sysdeps/i386/fpu/e_log.S: Likewise.
12069         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12070         * sysdeps/i386/fpu/e_logf.S: Likewise.
12071         * sysdeps/i386/fpu/e_log10l.S: Likewise.
12072         * sysdeps/i386/fpu/e_atanh.S: Likewise.
12073         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12074         * sysdeps/i386/fpu/e_log10.S: Likewise.
12075         * sysdeps/i386/fpu/s_frexp.S: Likewise.
12076         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12077         * sysdeps/i386/fpu/s_asinh.S: Likewise.
12078         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12079         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12080         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12081         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12082         * sysdeps/i386/i686/strtok.S: Likewise.
12083         * sysdeps/i386/i386-mcount.S: Likewise.
12084         * sysdeps/i386/strtok.S: Likewise.
12085         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12086         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12087         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12088         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12089         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12090         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12091         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12092         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12093         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12094         * sysdeps/x86_64/_mcount.S: Likewise.
12095         * sysdeps/x86_64/strtok.S: Likewise.
12096         * sysdeps/sh/_mcount.S: Likewise.
12098 2012-08-01  Roland McGrath  <roland@hack.frob.com>
12100         * libio/iofopen.c: Include <fcntl.h>.
12101         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12102         (_IO_fopen64, fopen64): Define as aliases.
12103         * libio/iofopen64.c: Include <fcntl.h>.
12104         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12105         Conditionalize body on this.
12106         * sysdeps/wordsize-64/iofopen.c: File removed.
12107         * sysdeps/wordsize-64/iofopen64.c: File removed.
12109 2012-08-01  Marek Polacek  <polacek@redhat.com>
12111         * libc/Makeconfig: Use elf in place of binfmt-subdir.
12112         Use dlfcn directly instead of a variable.
12113         (binfmt-subdir): Do not define.
12114         (dlfcn): Likewise.
12116 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
12118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12119         Remove all definitions.
12120         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12121         <kernel-features.h>.
12122         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12123         (miss_F_GETOWN_EX): Remove all definitions.
12124         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12125         macro definition.
12126         [!__ASSUME_FCNTL64]: Remove conditional code.
12127         [__ASSUME_FCNTL64]: Make code unconditional.
12128         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12129         <kernel-features.h>.
12130         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12131         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12132         (lockf64) [__NR_fcntl64]: Make code unconditional.
12133         (lockf64) [__ASSUME_FCNTL64]: Likewise.
12135         * sysdeps/unix/sysv/linux/kernel-features.h
12136         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12137         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12138         Make code unconditional.
12139         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12140         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12142         [__NR_vfork]: Make code unconditional.
12143         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12144         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12146         [__NR_vfork]: Make code unconditional.
12147         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12148         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12150 2012-08-01  Roland McGrath  <roland@hack.frob.com>
12152         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12153         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12155         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12156         Define mkstemp64 as an alias.
12157         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12158         Define mkstemps64 as an alias.
12159         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12160         Define mkostemp64 as an alias.
12161         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12162         Define mkostemps64 as an alias.
12163         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12164         Conditionalize body on this.
12165         * misc/mkostemp64.c: Likewise.
12166         * misc/mkostemps64.c: Likewise.
12167         * misc/mkstemps64.c: Likewise.
12168         * sysdeps/wordsize-64/mkstemp64.c: File removed.
12169         * sysdeps/wordsize-64/mkostemp64.c: File removed.
12170         * sysdeps/wordsize-64/mkostemp.c: File removed.
12171         * sysdeps/wordsize-64/mkstemp.c: File removed.
12172         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12173         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12174         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12175         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12177         [BZ #14138]
12178         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12179         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12180         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12181         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12183         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12184         compat_symbol macros from <shlib-compat.h> rather than the underlying
12185         default_symbol_version and symbol_version macros, so that DEFAULT
12186         lines in shlib-versions are respected.
12187         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12189 2012-08-01  Florian Weimer  <fweimer@redhat.com>
12191         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12192         Declare with warn_unused_result.
12193         (setgid, setregid, setegid, setresgid): Likewise.
12194         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12195         Likewise.
12196         * WUR-REPORT: Remove set*id functions.
12198 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
12200         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12202 2012-07-31  Roland McGrath  <roland@hack.frob.com>
12204         [BZ #10191]
12205         * include/sys/socket.h (__libc_accept, __libc_accept4):
12206         Add attribute_hidden.
12207         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12209         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12210         use of PTR_MANGLE.
12211         * inet/getnetgrent_r.c (setup): Likewise.
12213         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12215 2012-07-31  David S. Miller  <davem@davemloft.net>
12217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12219 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
12221         [BZ #13629]
12222         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12223         value between 1.0 and 2.0 and smaller part has absolute value less
12224         than 1.0.
12225         * math/s_clog10.c (__clog10): Likewise.
12226         * math/s_clog10f.c (__clog10f): Likewise.
12227         * math/s_clog10l.c (__clog10l): Likewise.
12228         * math/s_clogf.c (__clogf): Likewise.
12229         * math/s_clogl.c (__clogl): Likewise.
12230         * math/libm-test.inc (clog_test): Add more tests.
12231         (clog10_test): Likewise.
12232         * sysdeps/i386/fpu/libm-test-ulps: Update.
12233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12235 2012-07-31  Florian Weimer  <fweimer@redhat.com>
12237         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12238         Exit with zero in case no suitable GID is found, and write a
12239         message to standard error.
12241 2012-07-30  Roland McGrath  <roland@hack.frob.com>
12243         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12244         rather than to 1.
12245         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12246         (MAXPATHLEN): Removed.
12247         (NOGROUP, NODEV): New macros.
12248         (setbit, clrbit, isset, isclr): New macros.
12249         (howmany, roundup, powerof2): New macros.
12250         (DEV_BSIZE): New macro.
12252         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12253         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12255         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12256         definition on [!__NO_LONG_DOUBLE_MATH].
12258         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12259         PTR_MANGLE and PTR_DEMANGLE.
12261         * socket/accept4.c (accept4): Rename to __libc_accept4.
12262         Define accept4 as a weak alias.
12264         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12265         on [_DIRENT_HAVE_D_TYPE].
12266         * io/ftw.c (ftw_dir): Likewise.
12268         * io/xmknod.c (__xmknod): Don't check PATH for being null.
12270         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12272         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12273         Use the BSD numbers rather than the arbitrary ones we had.
12274         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12275         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12276         (SIGXCPU, SIGXFSZ): New macros.
12277         (_NSIG): Now 32.
12279         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12280         initializer on [_LIBC_REENTRANT].
12282         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12283         definitions inside [_POSIX_MAPPED_FILES].
12285         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12287         * dirent/opendir.c: Include <fcntl.h>.
12289         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12290         (__libc_getspecific): Likewise.
12291         (__libc_key_create): Likewise.
12293         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12294         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12295         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12296         (tmpfile64): Define as alias.
12297         * sysdeps/wordsize-64/tmpfile.c: File removed.
12298         * sysdeps/wordsize-64/tmpfile64.c: File removed.
12299         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12300         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12302         * stdio-common/vfscanf.c: Include <stdbool.h>.
12303         * nss/makedb.c: Likewise.
12304         * stdio-common/_i18n_number.h: Likewise.
12305         * argp/argp-help.c: Likewise.
12306         * posix/wordexp.c: Likewise.
12307         * sysdeps/posix/spawni.c: Likewise.
12308         * nss/nss_files/files-initgroups.c: Likewise.
12309         * stdio-common/reg-modifier.c: Include <stdlib.h>.
12310         * nss/nss_files/files-initgroups.c: Likewise.
12311         * nss/nss_db/db-netgrp.c: Likewise.
12312         * nss/nss_db/db-initgroups.c: Likewise.
12313         * io/fchmodat.c: Include <sys/stat.h>.
12315         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12316         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12318         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12319         [HAVE_MMAP].
12321         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12322         Add multiple inclusion protection.
12324 2012-07-27  David S. Miller  <davem@davemloft.net>
12326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12328 2012-07-27  Gary Benson  <gbenson@redhat.com>
12330         [BZ #14298]
12331         * elf/rtld.c: Include <stap-probe.h>.
12332         (dl_main): Added static probes "init_start" and "init_complete".
12333         * elf/dl-load.c: Include <stap-probe.h>.
12334         (lose): Take new parameter "nsid".
12335         Added static probe "map_failed".
12336         (_dl_map_object_from_fd): Pass namespace id to lose.
12337         Added static probe "map_start".
12338         (open_verify): Pass namespace id to lose.
12339         * elf/dl-open.c: Include <stap-probe.h>.
12340         (dl_open_worker) Added static probes "map_complete", "reloc_start"
12341         and "reloc_complete".
12342         * elf/dl-close.c: Include <stap-probe.h>.
12343         (_dl_close_worker): Added static probes "unmap_start" and
12344         "unmap_complete".
12345         * elf/rtld-debugger-interface.txt: New file documenting the above.
12347 2012-07-26  Roland McGrath  <roland@hack.frob.com>
12349         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12350         rather than a string variable.
12351         * sunrpc/rpc_main.c (h_output): Likewise.
12352         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12354 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
12356         * inet/check_native.c: New file.
12358 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
12360         [BZ #13629]
12361         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12362         if larger part has absolute value 1.0.
12363         * math/s_clog10.c (__clog10): Likewise.
12364         * math/s_clog10f.c (__clog10f): Likewise.
12365         * math/s_clog10l.c (__clog10l): Likewise.
12366         * math/s_clogf.c (__clogf): Likewise.
12367         * math/s_clogl.c (__clogl): Likewise.
12368         * math/libm-test.inc (clog_test): Add more tests.
12369         (clog10_test): Likewise.
12370         * sysdeps/i386/fpu/libm-test-ulps: Update.
12371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12373         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12374         (pltexit): Likewise.
12375         (La_regs): Likewise.
12376         (La_retval): Likewise.
12377         (int_retval): Likewise.
12378         Update #error for removed macros to refer only to definitions in
12379         tst-audit.h.
12380         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12381         macro.
12382         (pltexit): Likewise.
12383         (La_regs): Likewise.
12384         (La_retval): Likewise.
12385         (int_retval): Likewise.
12386         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12387         macro.
12388         (pltexit): Likewise.
12389         (La_regs): Likewise.
12390         (La_retval): Likewise.
12391         (int_retval): Likewise.
12392         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12393         macro.
12394         (pltexit): Likewise.
12395         (La_regs): Likewise.
12396         (La_retval): Likewise.
12397         (int_retval): Likewise.
12398         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12399         macro.
12400         (pltexit): Likewise.
12401         (La_regs): Likewise.
12402         (La_retval): Likewise.
12403         (int_retval): Likewise.
12404         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12405         macro.
12406         (pltexit): Likewise.
12407         (La_regs): Likewise.
12408         (La_retval): Likewise.
12409         (int_retval): Likewise.
12410         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12411         macro.
12412         (pltexit): Likewise.
12413         (La_regs): Likewise.
12414         (La_retval): Likewise.
12415         (int_retval): Likewise.
12416         * sysdeps/generic/tst-audit.h: Update comment to refer only to
12417         macro definitions in tst-audit.h.
12418         * sysdeps/i386/tst-audit.h: New file.
12419         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12420         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12421         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12422         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12423         * sysdeps/sh/tst-audit.h: Likewise.
12424         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12425         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12426         * sysdeps/x86_64/tst-audit.h: Likewise.
12428 2012-07-26  Andreas Jaeger  <aj@suse.de>
12430         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12431         ptrace.
12433         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12434         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12435         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12436         PTRACE_O_MASK.
12437         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12438         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12441         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12442         value.
12444         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12445         _sigsys.
12446         (si_call_addr, si_syscall, si_arch): Define new macro.
12447         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12448         _sigsys.
12449         (si_call_addr, si_syscall, si_arch): Define new marcro.
12450         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12451         _sigsys.
12452         (si_call_addr, si_syscall, si_arch): Define new macro.
12453         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12454         _sigsys.
12455         (si_call_addr, si_syscall, si_arch): Define new macro.
12457 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
12459         [BZ #13717]
12460         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12461         Change to 2.4.21 where previously 2.4.1.
12462         * sysdeps/unix/sysv/linux/configure: Regenerated.
12463         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12464         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12465         Linux kernel version.
12466         (__ASSUME_STD_AUXV): Remove.
12467         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12468         kernel version.
12469         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12470         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12471         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12472         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12473         (__ASSUME_NETLINK_SUPPORT): Likewise.
12474         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12475         (__no_netlink_support): Remove conditional definition.
12476         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12477         Remove.
12478         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12479         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12480         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12481         (if_nameindex_ioctl): Remove.
12482         (if_nameindex_netlink): Do not handle __no_netlink_support.
12483         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12484         code.
12485         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12486         Remove conditional code.
12487         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12488         code.
12489         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12490         unconditional.
12491         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12492         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12493         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12494         Remove.
12495         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12496         [!__ASSUME_STD_AUXV]: Remove conditional code.
12497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12498         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12499         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12501         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12502         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12503         code.
12504         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12506         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12507         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12508         conditional code.
12509         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12511         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12512         code.
12513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12514         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12515         conditional code.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12517         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12518         code unconditional.
12519         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12520         conditional code.
12521         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12522         unconditional.
12523         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12524         conditional code.
12525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12526         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12527         unconditional.
12528         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12529         conditional code.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12531         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12532         code unconditional.
12533         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12534         conditional code.
12535         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12536         unconditional.
12537         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12538         conditional code.
12539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12540         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12541         code unconditional.
12542         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12543         conditional code.
12544         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12545         unconditional.
12546         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12547         conditional code.
12549 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
12551         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12552         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12553         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12554         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12555         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12556         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12557         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12558         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12559         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12560         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12561         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12562         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12563         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12564         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12565         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12566         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12567         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12568         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12569         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12571         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12572         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12573         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12575 2012-07-25  Florian Weimer  <fweimer@redhat.com>
12577         * Versions.def: Add GLIBC_2.17.
12578         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12579         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12580         Introduce __libc_secure_getenv.
12581         * stdlib/Versions (2.17): Add secure_getenv
12582         (GLIBC_PRIVATE): Add __libc_secure_getenv.
12583         * stdlib/secure-getenv.c: Rename __secure_getenv to
12584         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
12585         symbol __secure_getenv for GLIBC_2.0.
12586         * stdlib/tst-secure-getenv.c: New.
12587         * stdlib/Makefile (tests): Add testcase.
12588         * manual/startup.texi (Environment Access): Document
12589         secure_getenv.
12590         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12591         __libc_secure_getenv.
12592         * inet/ruserpass.c (ruserpass): Likewise.
12593         * malloc/mtrace.c (mtrace): Likewise.
12594         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
12595         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12596         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12597         * sysdeps/posix/tempname.c: Likewise.  Evaluate
12598         HAVE_SECURE_GETENV.
12599         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
12600         __secure_getenv to __libc_secure_getenv.
12601         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
12602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12603         Likewise.
12604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12605         Likewise.
12606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12614 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
12616         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12617         (struct La_i86_retval): Likewise.
12618         (struct La_x86_64_regs): Likewise.
12619         (struct La_x86_64_retval): Likewise.
12620         (struct La_x32_regs): Likewise.
12621         (struct La_x32_retval): Likewise.
12622         (struct La_ppc32_regs): Likewise.
12623         (struct La_ppc32_retval): Likewise.
12624         (struct La_ppc64_regs): Likewise.
12625         (struct La_ppc64_retval): Likewise.
12626         (struct La_sh_regs): Likewise.
12627         (struct La_sh_retval): Likewise.
12628         (struct La_s390_32_regs): Likewise.
12629         (struct La_s390_32_retval): Likewise.
12630         (struct La_s390_64_regs): Likewise.
12631         (struct La_s390_64_retval): Likewise.
12632         (struct La_sparc32_regs): Likewise.
12633         (struct La_sparc32_retval): Likewise.
12634         (struct La_sparc64_regs): Likewise.
12635         (struct La_sparc64_retval): Likewise.
12636         (struct audit_ifaces): Remove architecture-specific pltenter and
12637         pltexit members.
12638         * sysdeps/i386/ldsodefs.h: New file.
12639         * sysdeps/powerpc/ldsodefs.h: Likewise.
12640         * sysdeps/s390/ldsodefs.h: Likewise.
12641         * sysdeps/sh/ldsodefs.h: Likewise.
12642         * sysdeps/sparc/ldsodefs.h: Likewise.
12643         * sysdeps/x86_64/ldsodefs.h: Likewise.
12645 2012-07-25  Marek Polacek  <polacek@redhat.com>
12647         [BZ #6808]
12648         * math/libm-test.inc (yn_test): Add another test.
12649         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12650         to ERANGE when the result is +-Inf.
12651         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12652         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12653         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12654         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12656 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
12658         * conform/data/time.h-data (NULL): Use macro-constant.  Require
12659         equal to 0.
12660         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
12661         clock_t.
12662         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
12664 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
12666         * configure.in <sysdeps resolving>: Correct printing
12667         Implies_before.
12668         * configure: Regenerate.
12670 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
12672         * math/w_ilogb.c: Include <limits.h>.
12673         * math/w_ilogbl.c: Likewise.
12675 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
12677         * manual/lang.texi (__va_copy): Document primarily as ISO C99
12678         va_copy.  Document allowing for unavailable va_copy only as
12679         pre-C99 compatibility.
12680         * manual/string.texi (Copying and Concatenation): Use va_copy
12681         instead of __va_copy in concat example.
12683 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
12685         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12686         (__sendto): Use create_address_port.  Initialize APORT and deallocate
12687         it if not null.
12689         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12690         with O_NOLINK passed to __file_name_lookup.
12692         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12693         with O_NOLINK passed to __file_name_lookup.
12695         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12696         negative N or less than NGIDS.
12698         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12699         type to string_t.  Set ERANGE as errno and return it if NAME is not big
12700         enough.  Use memcpy instead of strncpy.
12702 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
12704         * elf/Makefile (check-data): Remove.
12705         (localplt.data): New vpath directive.
12706         ($(objpfx)check-localplt.out): Use localplt.data from vpath
12707         instead of $(check-data).
12708         * scripts/data/localplt-generic.data: Move to ...
12709         * sysdeps/generic/localplt.data: ... here.
12710         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12711         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12712         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12714         ... here.
12715         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12717         ... here.
12718         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12720         ... here.
12721         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12723         ... here.
12724         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12726         ... here.
12727         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12729         ... here.
12731 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12733         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12734         PPC32 and PPC64 files.
12735         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12736         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12738 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12740         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12741         __makecontext_ret to ...
12742         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12743         ... here and call exit if uc_link is NULL.  New file.
12744         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12745         __makecontext_ret.S.
12746         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12747         __makecontext_ret to ...
12748         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12749         ... here and call exit if uc_link is NULL.  New file.
12750         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12751         __makecontext_ret.S.
12753 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12755         * elf/elf.h (R_390_IRELATIVE): New definition.
12756         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12757         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
12758         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12759         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12760         (elf_machine_lazy_rel): Likewise.
12761         * sysdeps/s390/dl-irel.h: New file.
12762         * sysdeps/s390/s390-64/memcpy.S: New asm code.
12763         * sysdeps/s390/s390-64/memset.S: New asm code.
12764         * sysdeps/s390/s390-64/memcmp.S: New asm code.
12765         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12766         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12767         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12768         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12769         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12771         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12772         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12773         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12774         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12775         * sysdeps/s390/s390-32/memcpy.S: New asm code.
12776         * sysdeps/s390/s390-32/memset.S: New asm code.
12777         * sysdeps/s390/s390-32/memcmp.S: New asm code.
12779 2012-07-17  Marek Polacek  <polacek@redhat.com>
12781         [BZ #14349]
12782         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12783         * sysdeps/s390/s390-64/configure.in: Likewise.
12784         * sysdeps/sparc/configure.in: Likewise.
12785         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12786         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12787         * sysdeps/i386/configure.in: Likewise.
12788         * sysdeps/x86_64/configure.in: Likewise.
12789         * sysdeps/sh/configure.in: Likewise.
12790         * sysdeps/s390/s390-32/configure: Regenerated.
12791         * sysdeps/s390/s390-64/configure: Likewise.
12792         * sysdeps/x86_64/configure: Likewise.
12793         * sysdeps/sh/configure: Likewise.
12794         * sysdeps/powerpc/powerpc64/configure: Likewise.
12795         * sysdeps/powerpc/powerpc32/configure: Likewise.
12796         * sysdeps/sparc/configure: Likwise.
12797         * sysdeps/i386/configure: Likewise.
12799         * elf/dl-open.c: Comment fixes.
12801 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
12803         * Makefile [CXX] (check-data): Remove.
12804         [CXX] (c++-types.data): New vpath directive.
12805         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12806         vpath.  Do not allow for C++ type data being missing.
12807         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12808         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12809         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12810         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12811         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12812         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12813         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12815         ... here.
12816         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12818         ... here.
12819         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12821         ... here.
12822         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12824         ... here.
12825         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12827         ... here.
12828         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12830         ... here.
12831         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12833         ... here.
12834         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12837         * elf/tls-macros.h (TLS_LE): Move architecture-specific
12838         definitions to architecture-specific files.
12839         (TLS_IE): Likewise.
12840         (TLS_LD): Likewise.
12841         (TLS_GD): Likewise.
12842         * sysdeps/i386/tls-macros.h: New file.
12843         * sysdeps/powerpc/tls-macros.h: Likewise.
12844         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12845         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12846         * sysdeps/sh/tls-macros.h: Likewise.
12847         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12848         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12849         * sysdeps/x86_64/tls-macros.h: Likewise.
12851 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
12853         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12854         zero value for regular exit case.
12856         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12857         (__start_context): Preserve zero value for regular exit case.
12859 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
12860             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12862         * manual/setjmp.texi (setcontext): Clarify normal process
12863         termination when uc_link is the null pointer.
12864         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12865         exit call.
12867 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
12869         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12870         preprocessor.  Test for each exception mask separately.
12872 2012-07-16  Andreas Jaeger  <aj@suse.de>
12874         * po/ru.po: Update from translation team.
12876 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
12878         * conform/data/string.h-data (NULL): Use macro-constant.  Require
12879         equal to 0.
12880         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12881         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12882         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12883         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12884         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12886 2012-07-13  Andreas Jaeger  <aj@suse.de>
12888         * po/fr.po: Update from translation team.
12890 2012-07-12  Marek Polacek  <polacek@redhat.com>
12892         [BZ #14173]
12893         * math/libm-test.inc (yn_test): Add test for BZ #14173.
12894         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12895         loop condition.
12897 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
12899         [BZ #13717]
12900         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12901         Change to 2.4.1 where previously 2.4.0.
12902         * sysdeps/unix/sysv/linux/configure: Regenerated.
12903         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12904         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12905         version.
12906         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12907         (__ASSUME_AT_CLKTCK): Remove.
12908         (__ASSUME_AT_PAGESIZE): Likewise.
12909         (__ASSUME_AT_XID): Likewise.
12910         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12911         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12912         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12913         unconditionally.
12914         (HAVE_AUX_PAGESIZE): Likewise.
12915         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12916         [__ASSUME_AT_CLKTCK]: Make code unconditional.
12917         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12919 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
12921         [BZ #14307]
12922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12923         the temporary buffer used to invoke __gethostbyname2_r,
12924         __gethostbyaddr_r and gethostbyname4_r to make room for struct
12925         host_data / struct gaih_addrtuple.
12926         * resolv/nss_dns/dns-host.c (global scope): Move definition of
12927         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12928         header file nss/nsswitch.h.
12929         * nss/nsswitch.h (global scope): Add definition of implementation
12930         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12931         resolv/nss_dns/dns-host.c).
12933 2012-07-11  Andreas Jaeger  <aj@suse.de>
12935         * po/fr.po: Update from translation team.
12937         * po/sv.po: Update from translation team
12938         * po/fr.po: Another update from translation team.
12940 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12942         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12943         for subnormals or multiply small sinh result by itself.
12944         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12947 2012-07-11  David S. Miller  <davem@davemloft.net>
12949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12951 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
12953         [BZ #14347]
12954         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12955         (INTERNAL_MARK): Shift it here.
12957 2012-07-10  Marek Polacek  <polacek@redhat.com>
12959         [BZ #14151]
12960         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
12961         libc_cv_asm_global_directive with .globl.
12962         * configure: Regenerated.
12963         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12964         with .globl.
12965         * sysdeps/i386/configure: Regenerated.
12966         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12967         with .globl.
12968         * sysdeps/x86_64/configure: Regenerated.
12969         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12970         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12971         * elf/tst-unique2mod2.c: Likewise.
12972         * elf/tst-unique2mod1.c: Likewise.
12973         * elf/tst-unique1mod2.c: Likewise.
12974         * elf/tst-unique1mod1.c: Likewise.
12975         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12976         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12977         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12978         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12979         * sysdeps/mach/sysdep.h: Likewise.
12980         * sysdeps/i386/sysdep.h: Likewise.
12981         * sysdeps/i386/i386-mcount.S: Likewise.
12982         * sysdeps/x86_64/_mcount.S: Likewise.
12983         * sysdeps/x86_64/sysdep.h: Likewise.
12984         * sysdeps/sh/_mcount.S: Likewise.
12985         * sysdeps/sh/sysdep.h: Likewise.
12986         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12987         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12988         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12989         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12990         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12991         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12992         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12993         * locale/localeinfo.h: Likewise.
12994         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12995         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12997 2012-07-09  Roland McGrath  <roland@hack.frob.com>
12999         [BZ #14336]
13000         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13001         system".
13002         * manual/message.texi (The Uniforum approach): Likewise.
13003         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13004         (glibc iconv Implementation): Likewise.
13006 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
13008         [BZ #14337]
13009         * math/s_clog.c (__clog): Avoid scaling a value down where that
13010         could result in underflow.
13011         * math/s_clog10.c (__clog10): Likewise.
13012         * math/s_clog10f.c (__clog10f): Likewise.
13013         * math/s_clog10l.c (__clog10l): Likewise.
13014         * math/s_clogf.c (__clogf): Likewise.
13015         * math/s_clogl.c (__clogl): Likewise.
13016         * math/libm-test.inc (clog_test): Add more tests.
13017         (clog10_test): Likewise.
13018         * sysdeps/i386/fpu/libm-test-ulps: Update.
13019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13021 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
13023         [BZ #14283]
13024         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13025         by 7 not 8 to examine high bit of fractional part.
13027         [BZ #14042]
13028         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13029         for call to __mcount_internal.
13030         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13031         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13032         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13034 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
13036         [BZ #14154]
13037         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13038         approximation for values within 0x1p-13f of an odd multiple of
13039         pi/4.
13040         * math/libm-test.inc (tan_test): Do not allow spurious underflow
13041         exception.  Add more tests.
13042         * sysdeps/i386/fpu/libm-test-ulps: Update.
13044         [BZ #6778]
13045         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13046         inputs and return -1 for them.  Do not check for +Inf in case not
13047         reachable for +Inf.
13048         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13049         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13050         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13051         and return -1 for them.  Do not check for +Inf in case not
13052         reachable for +Inf.
13053         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13054         define.
13055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13056         and return -1 for them.  Do not check for +Inf in case not
13057         reachable for +Inf.
13058         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
13059         spurious underflow.
13060         * sysdeps/i386/fpu/libm-test-ulps: Update.
13061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
13065         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13067 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
13069         [BZ #14157]
13070         [BZ #14331]
13071         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13072         could result in spurious underflow.  Scale down values above
13073         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13074         * math/s_csqrtf.c (__csqrtf): Likewise.
13075         * math/s_csqrtl.c (__csqrtl): Likewise.
13076         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
13077         spurious underflow.
13078         * sysdeps/i386/fpu/libm-test-ulps: Update.
13079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13081 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13083         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13084         xopen-msg.sed.
13085         * catgets/xopen-msg.awk: New file.
13086         * catgets/xopen-msg.sed: Removed.
13088         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13089         po2text.sed.
13090         * intl/po2test.awk: New file.
13091         * intl/po2test.sed: Removed.
13093 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
13095         [BZ #14328]
13096         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13097         or multiply small sinh result by itself.
13098         * math/s_ctanf.c (__ctanf): Likewise.
13099         * math/s_ctanh.c (__ctanh): Likewise.
13100         * math/s_ctanhf.c (__ctanhf): Likewise.
13101         * math/s_ctanhl.c (__ctanhl): Likewise.
13102         * math/s_ctanl.c (__ctanl): Likewise.
13103         * math/libm-test.inc (ctan_test_tonearest): New function.
13104         (ctan_test_towardzero): Likewise.
13105         (ctan_test_downward): Likewise.
13106         (ctan_test_upward): Likewise.
13107         (ctanh_test_tonearest): Likewise.
13108         (ctanh_test_towardzero): Likewise.
13109         (ctanh_test_downward): Likewise.
13110         (ctanh_test_upward): Likewise.
13111         (main): Call these new functions.
13112         * sysdeps/i386/fpu/libm-test-ulps: Update.
13113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13115 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
13117         * .gitignore: Delete /ports entry.
13119 2012-07-03  Andreas Jaeger  <aj@suse.de>
13121         * po/bg.po: Update from translation team.
13122         * po/cs.po: Likewise.
13123         * po/de.po: Likewise.
13124         * po/hr.po: Likewise.
13125         * po/nl.pl: Likewise.
13126         * po/pl.po: Likewise.
13127         * po/vi.po: Likewise.
13129 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
13131         * Makeconfig [!+link] (+link-before-libc): New variable.
13132         [!+link] (+link-after-libc): Likewise.
13133         [!+link] (+link-tests): Likewise.
13134         [!+link] (+link): Define in terms of $(+link-before-libc) and
13135         $(+link-after-libc).
13136         [!+link-static] (+link-static-before-libc): New variable.
13137         [!+link-static] (+link-static-after-libc): Likewise.
13138         [!+link-static] (+link-static-tests): Likewise.
13139         [!+link-static] (+link-static): Define in terms of
13140         $(+link-static-before-libc) and $(+link-static-after-libc).
13141         [build-shared] (link-libc-before-gnulib): New variable.
13142         [build-shared] (link-libc-tests): Likewise.
13143         [build-shared] (link-libc): Define in terms of
13144         $(link-libc-before-gnulib).
13145         [!build-shared] (link-libc-tests): New variable.
13146         (link-libc-static-tests): New variable.
13147         [!gnulib] (gnulib-arch): New variable.
13148         [!gnulib] (gnulib-tests): Likewise.
13149         [!gnulib] (static-gnulib-arch): Likewise.
13150         [!gnulib] (static-gnulib-tests): Likewise.
13151         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
13152         Define with "=" instead of ":=".
13153         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
13154         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
13155         * Rules (binaries-all-notests): New variable.
13156         (binaries-all-tests): Likewise.
13157         (binaries-static-notests): Likewise.
13158         (binaries-static-tests): Likewise.
13159         (binaries-all): Define using $(binaries-all-notests) and
13160         $(binaries-all-tests).
13161         (binaries-static): Define using $(binaries-static-notests) and
13162         $(binaries-static-tests).
13163         (binaries-shared-tests): New variable.
13164         (binaries-shared-notests): Likewise.
13165         (binaries-shared): Remove variable.
13166         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13167         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13168         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13169         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13170         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13171         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13172         * elf/Makefile (sln-modules): New variable.
13173         (extra-objs): Add $(sln-modules:=.o).
13174         (ldconfig-modules): Add static-stubs.
13175         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13176         * elf/static-stubs.c: New file.
13178         [BZ #14283]
13179         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13180         by 7 not 8 to examine high bit of fractional part.  Use volatile
13181         variables when splitting into final array of floats if
13182         __FLT_EVAL_METHOD__ != 0.
13183         * math/libm-test.inc (cos_test): Add another test.
13184         (sin_test): Likewise.
13185         * sysdeps/i386/fpu/libm-test-ulps: Update.
13187         [BZ #14273]
13188         * math/libm-test.inc (cosh_test): Add more tests.
13190         * version.h (RELEASE): Set to "development".
13191         (VERSION): Set to "2.16.90".
13193 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
13195         * NEWS: Update copyright. Remove last-updated date.
13196         Mention math library bug fixes and timezone data changes.
13197         * README: Mention GNU/Hurd, x32, and HPPA support status.
13199 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
13201         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13203 2012-06-27  Andreas Jaeger  <aj@suse.de>
13205         * manual/contrib.texi (Contributors): Add Samuel Thibault.
13207 2012-06-25  Andreas Jaeger  <aj@suse.de>
13209         * sysdeps/s390/fpu/libm-test-ulps: Update.
13211 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
13212             Thomas Schwinge  <thomas@codesourcery.com>
13214         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13215         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13216         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13217         fanotify_mark.
13219 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
13221         * sysdeps/mach/start.c: Remove file.
13222         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13223         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13224         * sysdeps/sh/init-first.c: Likewise.
13226         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13227         registers for frame unwinding purposes, add CFI directives.
13228         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13229         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13230         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13231         Likewise.
13233         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13234         __fortify_fail returning.
13235         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13237         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13238         sysdeps/sh/____longjmp_chk.S.
13239         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13240         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13241         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13242         (gen-as-const-headers): Append sigaltstack-offsets.sym.
13244         * sysdeps/sh/abort-instr.h: New file.
13245         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13246         process in case exit returns.
13248         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13249         initialize the GOT register before use.
13251         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13252         calculation of ARGC > 4.
13254         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13255         meaningful names to some local labels.
13257 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13258             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13260         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13261         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13262         (__arch_compare_and_exchange_val_16_acq): Likewise.
13263         (__arch_compare_and_exchange_val_32_acq): Likewise.
13264         (atomic_exchange_and_add): Fix gUSA sequence.
13265         (atomic_add): Likewise.
13266         (atomic_add_negative): Likewise.
13267         (atomic_add_zero): Likewise.
13268         (atomic_bit_test_set): Likewise.
13270 2012-06-22  Andreas Schwab  <schwab@redhat.com>
13272         [BZ #13579]
13273         * include/link.h (struct link_map): Add l_free_initfini.
13274         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13275         l_initfini.
13276         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13277         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13278         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13279         set.
13281 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
13283         * configure.in: Use AC_LANG_SOURCE.
13284         * configure: Regenerate.
13286 2012-06-22  Roland McGrath  <roland@hack.frob.com>
13288         * configure.in (libc_cv_localstatedir): New substituted variable.
13289         * configure: Regenerated.
13290         * config.make.in (localstatedir): New variable, substituted from
13291         libc_cv_localstatedir.
13292         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13293         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13294         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13295         * sysdeps/gnu/configure: Regenerated.
13297 2012-06-21  Jeff Law  <law@redhat.com>
13299         [BZ #14277]
13300         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13301         free.  Simplify list management for _LIBC case.
13303 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
13305         [BZ #14273]
13306         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13307         Clear sign bit of 64-bit integer value before comparing against
13308         overflow value.
13310         * sysdeps/mach/configure: Regenerated.
13312 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
13314         [BZ #14278]
13315         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13317 2012-06-21  Jeff Law  <law@redhat.com>
13319         [BZ #13882]
13320         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
13321         uint16_t for elements in the "seen" array to avoid char overflows.
13322         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13323         * elf/dl-open.c (dl_open_worker): Likewise.
13325 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
13327         * scripts/list-sources.sh: Scan PORTS for translations.
13328         * po/libc.pot: Regenerated.
13330 2012-06-21  Andreas Jaeger  <aj@suse.de>
13332         [BZ #12194]
13333         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13334         warning.
13335         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13336         * bits/byteswap-16.h (__bswap_16): Likewise.
13337         * bits/byteswap.h (__bswap_constant_16): Likewise.
13339 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
13341         [BZ #14117]
13342         * sysdeps/i386/fpu_control.h: Removed.
13343         * sysdeps/x86_64/fpu_control.h: Moved to ...
13344         * sysdeps/x86/fpu_control.h: Here.
13346         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13347         (_FPU_SETCW): Likewise.
13349 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
13351         [BZ #14117]
13352         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13353         * sysdeps/x86/fpu/bits/mathinline.h: This.
13354         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13356         [BZ #14050]
13357         [BZ #14117]
13358         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13359         functions if __x86_64__ is defined.
13361 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
13363         * string/endian.h: Add !__ASSEMBLER__ condition for including
13364         conversion interfaces.
13366 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
13368         [BZ #14241]
13369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13370         of ABS(x) in calculating zero to negative powers other than odd
13371         integers.
13372         * math/libm-test.inc (pow_test): Add more tests.
13374 2012-06-15  Andreas Jaeger  <aj@suse.de>
13376         * manual/contrib.texi (Contributors): Update entry of Liubov
13377         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13378         Machado Filho.
13380 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
13382         * string/string.h: Add __wur to GNU version of strerror_r.
13384 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
13386         [BZ #14229]
13387         * string/Makefile (tests): Add tst-strtok_r.
13388         * string/tst-strtok_r.c: New file.
13389         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13390         RAX_LP/RDX_LP on SAVE_PTR.
13392 2012-06-14  Roland McGrath  <roland@hack.frob.com>
13394         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13396 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
13398         * libm_test.inc (csqrt_test): Allow more spurious underflow
13399         exceptions.
13400         (j0_test): Likewise.
13401         (j1_test): Likewise.
13402         (y0_test): Likewise.
13403         (y1_test): Likewise.
13405 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
13407         * po/Makefile (libc.pot): Use UTF-8 charset.
13409 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
13411         [BZ #14210]
13412         Suppress sign-conversion warning from FD_SET.
13413         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13414         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13415         not unsigned long int.
13416         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13418 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
13420         [BZ #14050]
13421         [BZ #14117]
13422         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13423         __extern_always_inline instead of __extern_inline.
13424         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13425         (__signbit): Likewise.
13426         (__signbitl): Support C++ namespace.
13427         (lrintf): New inline function.
13428         (lrint): Likewise.
13429         (llrintf): Likewise.
13430         (llrint): Likewise.
13431         (fmaxf): Likewise.
13432         (fmax): Likewise.
13433         (fminf): Likewise.
13434         (fmin): Likewise.
13435         (rint): Likewise.
13436         (rintf): Likewise.
13437         (ceil): Likewise.
13438         (ceilf): Likewise.
13439         (floor): Likewise.
13440         (floorf): Likewise.
13441         (nearbyint): Likewise.
13442         (nearbyintf): Likewise.
13444 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
13446         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13447         non-default versions.
13449 2012-06-11  Roland McGrath  <roland@hack.frob.com>
13451         [BZ #14218]
13452         * manual/argp.texi (Argp): Reword argp_parse description slightly.
13454 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
13456         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13457         (FE_UPWARD, FE_DOWNWARD): Don't define.
13458         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13459         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13461         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13462         reading it.
13463         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13464         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13466 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13468         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13469         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13470         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13471         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13473 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13475         [BZ #14117]
13476         * sysdeps/i386/fpu/bits/fenv.h: Removed.
13477         * sysdeps/i386/fpu/Implies: New file.
13478         * sysdeps/x86_64/fpu/Implies: Likewise.
13479         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13480         * sysdeps/x86/fpu/bits/fenv.h: This.
13482         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13483         __SSE_MATH__.
13485 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13487         [BZ #14134]
13488         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13489         character 0xffff that matches the last element of the
13490         conversion table.
13492 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13494         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13495         fmodl commit.
13497 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13499         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13500         values higher than 25.6283.
13502 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13504         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13505         subnormal exponent extraction and add some __builtin_expect.
13506         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13507         Fix for subnormal mantissa calculation.
13509 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
13511         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13512         cpu2 is -1 and errno is not ENOSYS.
13514 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
13516         [BZ #14117]
13517         * sysdeps/i386/i486/bits/string.h: Renamed to ...
13518         * sysdeps/x86/bits/string.h: This.
13519         * sysdeps/x86_64/bits/string.h: Removed.
13521         * sysdeps/i386/i486/bits/string.h: Define inline functions only
13522         if not compiling for x86-64, but compiling for >= i486.
13524         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13525         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13527         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13528         New macro from Linux kernel 3.4.0.
13529         (FP_XSTATE_MAGIC2): Likewise.
13530         (FP_XSTATE_MAGIC2_SIZE): Likewise.
13531         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13532         (struct _fpx_sw_bytes): New struct.
13533         (struct _xsave_hdr): Likewise.
13534         (struct _ymmh_state): Likewise.
13535         (struct _xstate): Likewise.
13537         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13538         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13539         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13540         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13541         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13542         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13544         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13545         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13546         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13547         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13548         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13549         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13551 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13553         [BZ #13743]
13554         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13555         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13556         (sysdep_headers): Include sys/platform/ppc.h.
13557         * sysdeps/powerpc/test-gettimebase.c: Test for
13558         __ppc_get_timebase() to catch future ISA opcode/insn changes.
13559         * manual/Makefile (appendices): Include platform.texi.
13560         * manual/contrib.texi (Contributors): Update @node pointers.
13561         * manual/maint.texi (Maintenance): Likewise.
13562         (Platform): New node.
13563         * manual/platform.texi: New file.  Document the new features.
13565 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13566             Jakub Jelinek  <jakub@redhat.com>
13568         [BZ #14188]
13569         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13570         where __builtin_expect is unavailable.
13572 2012-06-03  David S. Miller  <davem@davemloft.net>
13574         * stdlib/longlong.h: Updated from GCC.
13576 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
13578         [BZ #14042]
13579         * sysdeps/powerpc/powerpc32/mcount.c: New file.
13580         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13581         __mcount_internal.
13582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13583         (GLIBC_2.16): Likewise.
13585 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
13587         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13589 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
13591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13592         (default-abi): New variable.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13594         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13595         variable.
13596         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13597         Likewise.
13598         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13599         Likewise.
13600         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13601         Likewise.
13603         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13604         definition.  Document in comment.
13606 2012-06-01  David S. Miller  <davem@davemloft.net>
13608         * stdlib/longlong.h: Updated from GCC.
13610 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
13612         [BZ #14117]
13613         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13614         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13615         sys/debugreg.h sys/io.h here.
13616         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13617         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13618         sys/io.h.
13619         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13620         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13621         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13622         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13623         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13624         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13626         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13627         Define only if __x86_64__ is defined.
13629 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
13631         [BZ #14048]
13632         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13633         Use int64_t for variable i.
13634         * math/libm-test.inc (fmod_test): Add more tests.
13636         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13637         z computation is not scheduled after fetestexcept.
13638         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13639         Use math_force_eval instead of asm to ensure calculation scheduled
13640         before exception test.
13641         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13642         Ensure a1 + u.d computation is not scheduled after fetestexcept.
13644 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
13646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13647         computation is not scheduled after fetestexcept.
13649 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
13651         [BZ #14117]
13652         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13653         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13655 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13657         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13658         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13660 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
13662         [BZ #14117]
13663         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13664         <bits/wordsize.h>.
13665         (__WCHAR_MIN): Support __WORDSIZE == 64.
13666         (__WCHAR_MAX): Likewise.
13668         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13669         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13671         [BZ #14183]
13672         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13673         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13675         [BZ #14117]
13676         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13677         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13679         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13680         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13682         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13683         Defined to 1 if __x86_64__ isn't defined.
13684         (_STAT_VER_LINUX_OLD): New.
13685         (st_atime): Remove duplicate.
13686         (st_mtime): Likewise.
13687         (st_ctime): Likewise.
13689 2012-05-31  David S. Miller  <davem@davemloft.net>
13691         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13692         entries.
13694 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
13696         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13697         gen-libm-test.pl.
13699         [BZ #14132]
13700         * elf/dl-reloc.c: Include <_itoa.h>.
13701         (_dl_reloc_bad_type): Remove use of INTUSE.
13702         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13703         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13704         * stdio-common/psiginfo.c (psiginfo): Likewise.
13705         * stdio-common/psignal.c (psignal): Likewise.
13706         * string/strsignal.c (strsignal): Likewise.
13707         * include/signal.h (_sys_siglist): Declare hidden proto.
13708         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
13709         INTVARDEF with libc_hidden_data_def.
13710         * stdio-common/itoa-udigits.c: Likewise.
13711         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13712         (_itoa_lower_digits_internal): Remove declaration.
13713         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13714         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13715         (_sys_sigabbrev_internal): Remove aliases.
13716         (_sys_siglist): Define hidden alias.
13718 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
13720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13721         bits/sysctl.h.
13723 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
13725         [BZ #14117]
13726         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13727         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13729         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13730         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13731         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13732         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13733         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13734         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13736         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13737         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13738         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13740         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13741         with __addr.
13742         (insw): Likewise.
13743         (insl): Likewise.
13744         (outsb): Likewise.
13745         (outsw): Likewise.
13746         (outsl): Likewise.
13748         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13749         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13750         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13752         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13753         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13754         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13755         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13756         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13757         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13759         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13760         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13762         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13763         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13765         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13766         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13767         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13769         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13770         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13771         to ...
13772         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13774         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13775         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13776         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13778         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13779         for x86-64.
13780         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13782 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
13784         * math/math.h (M_El): Use two more decimal places.
13785         (M_LOG2El): Likewise.
13786         (M_LOG10El): Likewise.
13787         (M_LN2l): Likewise.
13788         (M_LN10l): Likewise.
13789         (M_PIl): Likewise.
13790         (M_PI_2l): Likewise.
13791         (M_PI_4l): Likewise.
13792         (M_1_PIl): Likewise.
13793         (M_2_PIl): Likewise.
13794         (M_2_SQRTPIl): Likewise.
13795         (M_SQRT2l): Likewise.
13796         (M_SQRT1_2l): Likewise.
13798 2012-05-31  David S. Miller  <davem@davemloft.net>
13800         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13801         values between float registers.
13802         * sysdeps/sparc/sparc64/memset.S: Likewise.
13803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13805 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
13807         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13808         -D_FORTIFY_SOURCE=1.
13809         (CPPFLAGS-tst-longjmp_chk.c): Define.
13810         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13811         (CPPFLAGS-tst-longjmp_chk2.c): Define.
13812         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13813         CFLAGS-tst-wchar-h.c.
13815 2012-05-31  Marek Polacek  <polacek@redhat.com>
13817         [BZ #14132]
13818         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13819         __endmntent_internal): Remove declaration.
13820         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13821         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13822         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13824 2012-05-30  David S. Miller  <davem@davemloft.net>
13826         * sysdeps/sparc/sparc32/soft-fp/q_util.c
13827         (___Q_simulate_exceptions): Use real FP ops rather than writing
13828         into the %fsr.
13829         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13830         Likewise.
13832 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
13834         [BZ #14117]
13835         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13836         * sysdeps/x86/bits/xtitypes.h: This.
13838         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13839         * sysdeps/x86/bits/wordsize.h: This.
13841         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13842         * sysdeps/x86/bits/huge_vall.h: This.
13844         * sysdeps/i386/bits/select.h: Removed.
13845         * sysdeps/x86_64/bits/select.h: Renamed to ...
13846         * sysdeps/x86/bits/select.h: This.
13848         * sysdeps/i386/bits/setjmp.h: Removed.
13849         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13850         * sysdeps/x86/bits/setjmp.h: This.
13852         * sysdeps/i386/bits/mathdef.h: Removed.
13853         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13854         * sysdeps/x86/bits/mathdef.h: This.
13856 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
13858         [BZ #14132]
13859         * include/sys/socket.h (__connect_internal)
13860         (__libc_sa_len_internal): Remove declaration.
13861         (__connect, __libc_sa_len): Declare hidden_proto.
13862         (SA_LEN): Remove use of INTUSE.
13863         * socket/connect.c: Add libc_hidden_def.
13864         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13865         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13866         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13867         alias.
13868         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13869         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13870         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13871         of adding _internal alias.
13873 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
13875         [BZ #14117]
13876         * sysdeps/i386/bits/link.h: Removed.
13877         * sysdeps/i386/bits/linkmap.h: Likewise.
13878         * sysdeps/x86_64/bits/link.h: Renamed to ...
13879         * sysdeps/x86/bits/link.h: This.
13880         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13881         * sysdeps/x86/bits/linkmap.h: This.
13883         * sysdeps/i386/bits/endian.h: Removed.
13884         * sysdeps/x86_64/bits/endian.h: Renamed to ...
13885         * sysdeps/x86/bits/endian.h: This.
13887         * sysdeps/i386/bits/byteswap.h: Removed.
13888         * sysdeps/i386/bits/byteswap-16.h: Likewise.
13889         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13890         * sysdeps/x86/bits/byteswap.h: This.
13891         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13892         * sysdeps/x86/bits/byteswap-16.h: This.
13893         * sysdeps/i386/Implies: Add x86.
13894         * sysdeps/x86_64/Implies: Likewise.
13896 2012-05-30  David S. Miller  <davem@davemloft.net>
13898         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13899         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13900         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13901         (FP_TRAPPING_EXCEPTIONS): Define.
13902         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13903         (FP_TRAPPING_EXCEPTIONS): Define.
13904         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13905         subnormals only when inexact has been signalled or underflow
13906         exceptions are enabled.
13907         (_FP_PACK_CANONICAL): Likewise.
13909 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
13911         [BZ #14183]
13912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13913         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13915 2012-05-30  Richard Henderson  <rth@twiddle.net>
13917         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13918         with #ifndef NOT_IN_libc.
13920         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
13921         marked to avoid plt entry.
13923 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
13925         [BZ #14112]
13926         * Makeconfig (default-abi): New macro.
13927         (abi-includes): Likewise.
13928         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
13929         $(abi-$(default-abi)-lib-soname) for soname if defined.
13930         ($(common-objpfx)gnu/lib-names.stmp): Generate from
13931         abi-variants.
13932         * Makefile (installed-stubs): Likewise.
13933         * include/stubs-biarch.h: Removed.
13934         * scripts/lib-names.awk: Only handle one library at a time.
13935         * scripts/soversions.awk: Remove WORDSIZE support.
13936         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13937         entries.
13938         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13939         Removed.
13940         (syscall-list-default-condition): Likewise.
13941         (syscall-list-default-condition): Likewise.
13942         (syscall-list-includes): Likewise.
13943         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13944         syscall-list-* with abi-*.  Handle undefined abi-variants.
13945         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13946         * sysdeps/unix/sysv/linux/i386/Implies: New file.
13947         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13948         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13949         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13950         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13951         Removed.
13952         (syscall-list-32-options): Likewise.
13953         (syscall-list-32-condition): Likewise.
13954         (syscall-list-64-options): Likewise.
13955         (syscall-list-64-condition): Likewise.
13956         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13957         macro.
13958         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13959         Renamed to ...
13960         (abi-*): This.
13961         (abi-64-ld-soname): New macro.
13962         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13963         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13964         Renamed to ...
13965         (abi-*): This.
13966         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13967         * sysdeps/x86_64/x32/shlib-versions: Likewise.
13969 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
13971         * sysdeps/unix/sysv/linux/kernel-features.h
13972         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13973         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13974         include <kernel-features.h>.
13975         [!__NR_ftruncate64]: Remove conditional code.
13976         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13977         [__NR_ftruncate64]: Make code unconditional.
13978         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13979         * sysdeps/unix/sysv/linux/truncate64.c: Do not
13980         include <kernel-features.h>.
13981         [!__NR_ftruncate64]: Remove conditional code.
13982         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13983         [__NR_ftruncate64]: Make code unconditional.
13984         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13986         include <kernel-features.h>.
13987         [!__NR_ftruncate64]: Remove conditional code.
13988         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13989         [__NR_ftruncate64]: Make code unconditional.
13990         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13992         include <kernel-features.h>.
13993         [!__NR_ftruncate64]: Remove conditional code.
13994         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13995         [__NR_ftruncate64]: Make code unconditional.
13996         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13998         * configure.in (libc_cv_fpie): Weaken to a compile test using
13999         LIBC_TRY_CC_OPTION.
14000         * configure: Regenerated.
14002 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14008         Refreshed.
14009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14015         Refreshed.
14017 2012-05-27  David S. Miller  <davem@davemloft.net>
14019         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14020         (___Q_zero): New.
14021         (__Q_simulate_exceptions): Return void.  Change to simulate
14022         exceptions by writing into the %fsr.
14023         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14024         (__Qp_handle_exceptions): Likewise.
14025         (numbers): Delete.
14026         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14027         __Qp_handle_exceptions.
14028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14029         __Qp_handle_exceptions.
14030         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14031         as unused and give dummy FP_RND_NEAREST initializer.
14032         (FP_INHIBIT_RESULTS): Define.
14033         (___Q_simulate_exceptions): Update declaration.
14034         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14035         formatting.
14036         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14037         as unused and give dummy FP_RND_NEAREST initializer.
14038         (__Qp_handle_exceptions): Update declaration.
14039         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14040         formatting.
14042 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
14044         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14045         the temporary FPU control word.
14046         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14047         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14048         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14049         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14050         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14051         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14052         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14053         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14054         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14055         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14056         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14058 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14060         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14061         fields.
14063 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
14065         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14066         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14067         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14068         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14069         Likewise.
14070         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14071         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14072         Likewise.
14074 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
14076         * po/h.po: Update from translation team.
14078 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
14080         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14082         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14083         handling of denormals.
14084         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14085         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14086         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14087         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14088         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14089         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14090         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14091         Likewise.
14093 2012-05-26  Marek Polacek  <polacek@redhat.com>
14095         [BZ #14152]
14096         * math/libm-test.inc (fma_test): Don't always expect underflow
14097         exception.
14099 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14101         [BZ #12416]
14102         * elf/tst-execstack.c: Include stackinfo.h.
14103         (do_test): Adjust test case to ensure that pthread_getattr_np
14104         behaviour remains the same after marking stack executable.
14106 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
14108         * sysdeps/unix/sysv/linux/kernel-features.h
14109         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14110         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14111         kernel-features.h.
14112         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14113         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14114         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14115         kernel-features.h.
14116         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14117         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14119 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
14121         * configure.in: Define the default includes to being none.
14122         * configure: Regenerated.
14124 2012-05-25  Roland McGrath  <roland@hack.frob.com>
14126         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14127         * sysdeps/x86_64/setjmp.S: Likewise.
14128         * sysdeps/i386/bsd-setjmp.S: Likewise.
14129         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14130         * sysdeps/i386/setjmp.S: Likewise.
14131         * sysdeps/i386/__longjmp.S: Likewise.
14132         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14133         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14135         * include/stap-probe.h: New file.
14136         * configure.in: Handle --enable-systemtap.
14137         * configure: Regenerated.
14138         * config.h.in (USE_STAP_PROBE): New #undef.
14139         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14140         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14141         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14143 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
14145         [BZ #13717]
14146         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14147         to 2.4.0 where earlier.
14148         * sysdeps/unix/sysv/linux/configure: Regenerated.
14149         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14150         <kernel-features.h>.
14151         [__ASSUME_32BITUIDS]: Make code unconditional.
14152         [!__ASSUME_32BITUIDS]: Remove conditional code.
14153         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14154         <kernel-features.h>.
14155         [__ASSUME_32BITUIDS]: Make code unconditional.
14156         [!__ASSUME_32BITUIDS]: Remove conditional code.
14157         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14158         [__ASSUME_32BITUIDS]: Make code unconditional.
14159         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14160         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14161         <kernel-features.h>.
14162         [__ASSUME_32BITUIDS]: Make code unconditional.
14163         [!__ASSUME_32BITUIDS]: Remove conditional code.
14164         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14165         <kernel-features.h>.
14166         [__ASSUME_32BITUIDS]: Make code unconditional.
14167         [!__ASSUME_32BITUIDS]: Remove conditional code.
14168         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14169         <kernel-features.h>.
14170         [__ASSUME_32BITUIDS]: Make code unconditional.
14171         [!__ASSUME_32BITUIDS]: Remove conditional code.
14172         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14173         <kernel-features.h>.
14174         [__ASSUME_32BITUIDS]: Make code unconditional.
14175         [!__ASSUME_32BITUIDS]: Remove conditional code.
14176         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14177         <kernel-features.h>.
14178         [__ASSUME_32BITUIDS]: Make code unconditional.
14179         [!__ASSUME_32BITUIDS]: Remove conditional code.
14180         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14181         <kernel-features.h>.
14182         [__ASSUME_32BITUIDS]: Make code unconditional.
14183         [!__ASSUME_32BITUIDS]: Remove conditional code.
14184         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14185         <kernel-features.h>.
14186         [__ASSUME_32BITUIDS]: Make code unconditional.
14187         [!__ASSUME_32BITUIDS]: Remove conditional code.
14188         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14189         <kernel-features.h>.
14190         [__ASSUME_32BITUIDS]: Make code unconditional.
14191         [!__ASSUME_32BITUIDS]: Remove conditional code.
14192         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14193         <kernel-features.h>.
14194         [__ASSUME_32BITUIDS]: Make code unconditional.
14195         [!__ASSUME_32BITUIDS]: Remove conditional code.
14196         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14197         <kernel-features.h>.
14198         [__ASSUME_32BITUIDS]: Make code unconditional.
14199         [!__ASSUME_32BITUIDS]: Remove conditional code.
14200         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14201         <kernel-features.h>.
14202         [__NR_setresgid] (__setresgid): Do not declare.
14203         [__ASSUME_32BITUIDS]: Make code unconditional.
14204         [!__ASSUME_32BITUIDS]: Remove conditional code.
14205         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14206         <kernel-features.h>.
14207         [__NR_setresuid] (__setresuid): Do not declare.
14208         [__ASSUME_32BITUIDS]: Make code unconditional.
14209         [!__ASSUME_32BITUIDS]: Remove conditional code.
14210         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14211         <kernel-features.h>.
14212         [__ASSUME_32BITUIDS]: Make code unconditional.
14213         [!__ASSUME_32BITUIDS]: Remove conditional code.
14214         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14215         <kernel-features.h>.
14216         [__ASSUME_32BITUIDS]: Make code unconditional.
14217         [!__ASSUME_32BITUIDS]: Remove conditional code.
14218         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14219         <kernel-features.h>.
14220         [__ASSUME_32BITUIDS]: Make code unconditional.
14221         [!__ASSUME_32BITUIDS]: Remove conditional code.
14222         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14223         <kernel-features.h>.
14224         [__ASSUME_32BITUIDS]: Make code unconditional.
14225         [!__ASSUME_32BITUIDS]: Remove conditional code.
14226         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14227         <kernel-features.h>.
14228         [__ASSUME_32BITUIDS]: Make code unconditional.
14229         [!__ASSUME_32BITUIDS]: Remove conditional code.
14230         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14231         <kernel-features.h>.
14232         [__ASSUME_32BITUIDS]: Make code unconditional.
14233         [!__ASSUME_32BITUIDS]: Remove conditional code.
14234         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14235         <kernel-features.h>.
14236         [__ASSUME_32BITUIDS]: Make code unconditional.
14237         [!__ASSUME_32BITUIDS]: Remove conditional code.
14238         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14239         <kernel-features.h>.
14240         [__ASSUME_32BITUIDS]: Make code unconditional.
14241         [!__ASSUME_32BITUIDS]: Remove conditional code.
14242         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14243         <kernel-features.h>.
14244         [__ASSUME_32BITUIDS]: Make code unconditional.
14245         [!__ASSUME_32BITUIDS]: Remove conditional code.
14246         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14247         <kernel-features.h>.
14248         [__ASSUME_32BITUIDS]: Make code unconditional.
14249         [!__ASSUME_32BITUIDS]: Remove conditional code.
14250         * sysdeps/unix/sysv/linux/kernel-features.h
14251         (__ASSUME_SETRESUID_SYSCALL): Remove.
14252         (__ASSUME_SETRESGID_SYSCALL): Likewise.
14253         (__ASSUME_32BITUIDS): Likewise.
14254         (__ASSUME_LDT_WORKS): Likewise.
14255         (__ASSUME_O_DIRECTORY): Likewise.
14256         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14257         architecture but not kernel version.
14258         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14259         (__ASSUME_MMAP2_SYSCALL): Likewise.
14260         (__ASSUME_STAT64_SYSCALL): Likewise.
14261         (__ASSUME_IPC64): Likewise.
14262         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14263         <kernel-features.h>.
14264         [__ASSUME_32BITUIDS]: Make code unconditional.
14265         [!__ASSUME_32BITUIDS]: Remove conditional code.
14266         * sysdeps/unix/sysv/linux/opendir.c: Do not include
14267         <kernel-features.h>.
14268         [__ASSUME_O_DIRECTORY]: Make code unconditional.
14269         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14270         132096]: Remove conditional code.
14271         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14272         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14273         <kernel-features.h>.
14274         [__ASSUME_32BITUIDS]: Make code unconditional.
14275         [!__ASSUME_32BITUIDS]: Remove conditional code.
14276         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14277         <kernel-features.h>.
14278         [__ASSUME_32BITUIDS]: Make code unconditional.
14279         [!__ASSUME_32BITUIDS]: Remove conditional code.
14280         * sysdeps/unix/sysv/linux/setegid.c: Do not include
14281         <kernel-features.h>.
14282         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14283         unconditional.
14284         (__setresgid): Do not declare.
14285         [__ASSUME_32BITUIDS]: Make code unconditional.
14286         [!__ASSUME_32BITUIDS]: Remove conditional code.
14287         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14288         <kernel-features.h>.
14289         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14290         unconditional.
14291         (__setresuid): Do not declare.
14292         [__ASSUME_32BITUIDS]: Make code unconditional.
14293         [!__ASSUME_32BITUIDS]: Remove conditional code.
14294         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14295         <kernel-features.h>.
14296         [__ASSUME_32BITUIDS]: Make code unconditional.
14297         [!__ASSUME_32BITUIDS]: Remove conditional code.
14298         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14299         <kernel-features.h>.
14300         [__ASSUME_32BITUIDS]: Make code unconditional.
14301         [!__ASSUME_32BITUIDS]: Remove conditional code.
14303 2012-05-25  Richard Henderson  <rth@twiddle.net>
14305         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14306         dl_hwcap to ifunc resolver.
14307         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14308         elf_ifunc_invoke.
14309         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14310         dl_hwcap to ifunc resolver.
14311         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14313 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
14315         [BZ #14153]
14316         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14317         for |x| <= 2**-26, not 2**-57.
14318         * math/libm-test.inc (acos_test): Do not allow spurious underflow
14319         exception.
14321 2012-05-24  Jeff Law  <law@redhat.com>
14323         * stdio-common/Makefile (tests): Add bug25.
14324         * stdio-common/bug25.c: New test.
14326 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14328         [BZ #13576]
14329         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14330         multiple of MALLOC_ALIGNMENT in size.
14331         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14333 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
14335         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14336         Require >= 256.
14337         (FILENAME_MAX): Use macro-int-constant.
14338         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
14339         (_IOFBF): Use macro-int-constant.
14340         (_IOLBF): Likewise.
14341         (_IONBF): Likewise.
14342         (SEEK_CUR): Likewise.
14343         (SEEK_END): Likewise.
14344         (SEEK_SET): Likewise.
14345         (TMP_MAX): Likewise.
14346         (EOF): Use macro-int-constant.  Require < 0.
14347         (NULL): Use macro-constant.  Require == 0.
14348         (stdin): Require type to be FILE *.
14349         (stdout): Likewise.
14350         (stderr): Likewise.
14351         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14352         macro-int-constant.
14353         (EXIT_SUCCESS): Likewise.
14354         (NULL): Use macro-constant.  Require == 0.
14355         (RAND_MAX): Use macro-int-constant.
14356         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14357         [C99-based standards] (strtof): Require function.
14358         [C99-based standards] (strtold): Likewise.
14359         [C99-based standards] (strtoll): Likewise.
14360         [C99-based standards] (strtoull): Likewise.
14361         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14362         [ISO || ISO99 || ISO11] (limits.h): Likewise.
14363         [ISO || ISO99 || ISO11] (math.h): Likewise.
14364         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14365         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14368 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
14370         [BZ #14132]
14371         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14372         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14373         * intl/dgettext.c (DCGETTEXT): Likewise.
14374         * intl/gettext.c (DCGETTEXT): Likewise.
14375         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14376         * posix/regex_internal.h (gettext): Likewise.
14377         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14378         Remove declaration.
14379         * include/argz.h (__argz_count_internal)
14380         (__argz_stringify_internal): Remove declaration.
14381         (__argz_count, __argz_stringify): Declare hidden proto.
14382         * intl/dcgettext.c: Remove use of INTDEF.
14383         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14384         * string/argz-stringify.c: Likewise.
14385         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14386         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14387         Declare hidden proto.
14388         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14389         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14390         Declare hidden proto.
14391         * include/stdio.h (__asprintf_internal): Don't declare.
14392         (__asprintf): Don't define as macro.  Declare hidden proto.
14393         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14394         (__fsetlocking): Declare hidden proto.
14395         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14396         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14397         hidden proto.
14398         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14399         (_IO_setlinebuf): Remove use of INTUSE.
14400         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14401         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14402         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14403         Remove declaration.
14404         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14405         (_IO_do_flush): Remove use of INTUSE.
14406         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14407         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14408         (_IO_adjust_column, _IO_least_wmarker)
14409         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14410         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14411         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14412         (_IO_default_doallocate, _IO_wdefault_doallocate)
14413         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14414         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14415         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14416         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14417         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14418         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14419         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14420         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14421         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14422         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14423         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14424         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14425         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14426         proto.
14427         (_IO_flush_all_internal, _IO_adjust_column_internal)
14428         (_IO_default_uflow_internal, _IO_default_finish_internal)
14429         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14430         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14431         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14432         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14433         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14434         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14435         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14436         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14437         (_IO_file_close_internal, _IO_file_close_it_internal)
14438         (_IO_file_underflow_internal, _IO_file_overflow_internal)
14439         (_IO_file_init_internal, _IO_file_attach_internal)
14440         (_IO_file_fopen_internal, _IO_file_read_internal)
14441         (_IO_file_sync_internal, _IO_file_seek_internal)
14442         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14443         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14444         (_IO_str_underflow_internal, _IO_str_overflow_internal)
14445         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14446         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14447         (_IO_list_all_internal, _IO_link_in_internal)
14448         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14449         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14450         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14451         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14452         (_IO_do_write_internal, _IO_padn_internal)
14453         (_IO_getline_info_internal, _IO_getline_internal)
14454         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14455         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14456         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14457         (_IO_vfscanf_internal, _IO_vfprintf_internal)
14458         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14459         (_IO_init_internal, _IO_un_link_internal): Don't declare.
14460         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14461         with libc_hidden_ver, remove use of INTUSE.
14462         * libio/genops.c: Likewise.
14463         * libio/freopen.c: Likewise.
14464         * libio/freopen64.c: Likewise.
14465         * libio/iofclose.c: Likewise.
14466         * libio/iofdopen.c: Likewise.
14467         * libio/iofflush.c: Likewise.
14468         * libio/iofflush_u.c: Likewise.
14469         * libio/iofgets.c: Likewise.
14470         * libio/iofgets_u.c: Likewise.
14471         * libio/iofopen.c: Likewise.
14472         * libio/iofopncook.c: Likewise.
14473         * libio/iofread.c: Likewise.
14474         * libio/iofread_u.c: Likewise.
14475         * libio/ioftell.c: Likewise.
14476         * libio/iofwrite.c: Likewise.
14477         * libio/iogetline.c: Likewise.
14478         * libio/iogets.c: Likewise.
14479         * libio/iogetwline.c: Likewise.
14480         * libio/iopadn.c: Likewise.
14481         * libio/iopopen.c: Likewise.
14482         * libio/ioseekoff.c: Likewise.
14483         * libio/ioseekpos.c: Likewise.
14484         * libio/iosetbuffer.c: Likewise.
14485         * libio/iosetvbuf.c: Likewise.
14486         * libio/ioungetc.c: Likewise.
14487         * libio/ioungetwc.c: Likewise.
14488         * libio/iovdprintf.c: Likewise.
14489         * libio/iovsprintf.c: Likewise.
14490         * libio/iovsscanf.c: Likewise.
14491         * libio/memstream.c: Likewise.
14492         * libio/obprintf.c: Likewise.
14493         * libio/oldfileops.c: Likewise.
14494         * libio/oldiofclose.c: Likewise.
14495         * libio/oldiofdopen.c: Likewise.
14496         * libio/oldiofopen.c: Likewise.
14497         * libio/oldiopopen.c: Likewise.
14498         * libio/oldstdfiles.c: Likewise.
14499         * libio/putc.c: Likewise.
14500         * libio/setbuf.c: Likewise.
14501         * libio/setlinebuf.c: Likewise.
14502         * libio/stdfiles.c: Likewise.
14503         * libio/strops.c: Likewise.
14504         * libio/vasprintf.c: Likewise.
14505         * libio/vscanf.c: Likewise.
14506         * libio/vsnprintf.c: Likewise.
14507         * libio/vswprintf.c: Likewise.
14508         * libio/wfiledoalloc.c: Likewise.
14509         * libio/wfileops.c: Likewise.
14510         * libio/wgenops.c: Likewise.
14511         * libio/wmemstream.c: Likewise.
14512         * libio/wstrops.c: Likewise.
14513         * libio/__fpurge.c: Likewise.
14514         * libio/__fsetlocking.c: Likewise.
14515         * assert/assert.c: Likewise.
14516         * debug/fgets_chk.c: Likewise.
14517         * debug/fgets_u_chk.c: Likewise.
14518         * debug/fread_chk.c: Likewise.
14519         * debug/fread_u_chk.c: Likewise.
14520         * debug/gets_chk.c: Likewise.
14521         * debug/obprintf_chk.c: Likewise.
14522         * debug/vasprintf_chk.c: Likewise.
14523         * debug/vdprintf_chk.c: Likewise.
14524         * debug/vsnprintf_chk.c: Likewise.
14525         * debug/vsprintf_chk.c: Likewise.
14526         * malloc/mtrace.c: Likewise.
14527         * misc/error.c: Likewise.
14528         * misc/syslog.c: Likewise.
14529         * stdio-common/asprintf.c: Likewise.
14530         * stdio-common/fxprintf.c: Likewise.
14531         * stdio-common/getw.c: Likewise.
14532         * stdio-common/isoc99_fscanf.c: Likewise.
14533         * stdio-common/isoc99_scanf.c: Likewise.
14534         * stdio-common/isoc99_vfscanf.c: Likewise.
14535         * stdio-common/isoc99_vscanf.c: Likewise.
14536         * stdio-common/isoc99_vsscanf.c: Likewise.
14537         * stdio-common/printf-prs.c: Likewise.
14538         * stdio-common/printf_fp.c: Likewise.
14539         * stdio-common/printf_fphex.c: Likewise.
14540         * stdio-common/printf_size.c: Likewise.
14541         * stdio-common/putw.c: Likewise.
14542         * stdio-common/scanf.c: Likewise.
14543         * stdio-common/sprintf.c: Likewise.
14544         * stdio-common/tmpfile.c: Likewise.
14545         * stdio-common/vfprintf.c: Likewise.
14546         * stdio-common/vfscanf.c: Likewise.
14547         * stdlib/strfmon_l.c: Likewise.
14548         * sunrpc/openchild.c: Likewise.
14549         * sunrpc/xdr_stdio.c: Likewise.
14550         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14551         * sysdeps/mach/hurd/tmpfile.c: Likewise.
14553 2012-05-24  Roland McGrath  <roland@hack.frob.com>
14555         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14557         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14558         in the third column, to generate for the shared library an IFUNC
14559         that uses _dl_vdso_vsym.
14560         * Makerules (COMPILE.c, compile-stdin.c): New variables.
14561         * Makeconfig (object-suffixes-noshared): New variable.
14563         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14564         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14565         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14566         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14568         [BZ #14132]
14569         * include/sys/time.h (__gettimeofday): Remove macro.
14570         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14571         * time/gettimeofday.c (__gettimeofday): Remove #undef.
14572         Remove INTDEF.
14573         (__gettimeofday): Add libc_hidden_def.
14574         (gettimeofday): Add libc_hidden_weak.
14575         * sysdeps/mach/gettimeofday.c: Likewise.
14576         * sysdeps/posix/gettimeofday.c: Likewise.
14577         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14578         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14579         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14580         (__gettimeofday_internal): Remove strong_alias.
14581         (__gettimeofday): Add libc_hidden_def.
14582         (gettimeofday): Add libc_hidden_weak.
14583         * sysdeps/unix/syscalls.list (gettimeofday):
14584         Remove __gettimeofday_internal alias.
14586 2012-05-24  Daniel Jacobowitz  <drow@false.org>
14587             H.J. Lu  <hongjiu.lu@intel.com>
14589         [BZ #12495]
14590         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14591         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14592         (largebin_index_32_big): New.
14593         (largebin_index): Use it for 16-byte alignment.
14594         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
14595         correction with front_misalign.
14597 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14601         Likewise.
14602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14603         Likewise.
14604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14605         Likewise.
14606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14607         Likewise.
14608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14609         Likewise.
14610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14611         Likewise.
14612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14613         Likewise.
14614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14615         Likewise.
14616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14617         Likewise.
14618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14619         Likewise.
14620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14621         Likewise.
14622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14623         Likewise.
14625         * scripts/data/c++-types-x32-linux-gnu.data: New file.
14626         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14628 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
14630         [BZ #10846]
14631         [BZ #14036]
14632         * math/libm-test.inc (exp_test): Add test from bug 14036.
14633         (pow_test): Add test from bug 10846.
14635         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14636         and other flags.
14637         (special_function): Do not include flags in test name.
14638         (parse_args): Likewise.
14639         * sysdeps/i386/fpu/libm-test-ulps: Update.
14640         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14641         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14642         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14645         * math/gen-libm-test.pl (%beautify): Add entries for underflow
14646         exceptions.
14647         * math/libm-test.inc ("Philosophy"): Update comment about
14648         exception testing.
14649         (UNDERFLOW_EXCEPTION): New macro.
14650         (UNDERFLOW_EXCEPTION_OK): Likewise.
14651         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14652         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14653         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14654         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14655         (INVALID_EXCEPTION_OK): Update value.
14656         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14657         (OVERFLOW_EXCEPTION_OK): Likewise.
14658         (IGNORE_ZERO_INF_SIGN): Likewise.
14659         (test_exceptions): Handle underflow exceptions.
14660         (acos_test): Update for underflow exception expectations.
14661         (cexp_test): Likewise.
14662         (clog_test): Likewise.
14663         (clog10_test): Likewise.
14664         (csqrt_test): Likewise.
14665         (ctan_test): Likewise.
14666         (ctanh_test): Likewise.
14667         (exp_test): Likewise.
14668         (exp10_test): Likewise.
14669         (exp2_test): Likewise.
14670         (expm1_test): Likewise.
14671         (fma_test): Likewise.
14672         (j0_test): Likewise.
14673         (jn_test): Likewise.
14674         (nexttoward_test): Likewise.
14675         (pow_test): Likewise.
14676         (scalbn_test): Likewise.
14677         (scalbln_test): Likewise.
14678         (tan_test): Likewise.
14679         (y1_test): Likewise.
14680         * sysdeps/i386/fpu/libm-test-ulps: Update.
14681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14683 2012-05-23  David S. Miller  <davem@davemloft.net>
14685         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14686         (__libc_sigaction): Remove unused local variables.
14688 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
14690         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14692 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
14694         mktime: avoid signed integer overflow
14695         * time/mktime.c (__mktime_internal): Do not mishandle the case
14696         where diff == INT_MIN.
14698         mktime: simplify computation of average
14699         * time/mktime.c (ranged_convert): Use new time_t_avg function
14700         instead of rolling our own (probably-slower) code.
14702         mktime: do not assume signed right shift propagates sign bit
14703         * time/mktime.c (isdst_differ): New static function.
14704         (__mktime_internal): No need to normalize tm_isdst now.
14705         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14706         tm_isdst values.
14708         mktime: merge another wrapv change from gnulib
14709         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14710         from some compilers.
14712         mktime: remove incorrect attempt at unusual arithmetics
14713         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14714         The code didn't really work on such machines anyway.
14715         (TYPE_MINIMUM): Assume two's complement.
14716         (twos_complement_arithmetic): Verify that long_int and time_t
14717         are two's complement (or unsigned, in the latter case).
14719         mktime: check signed shifts on long_int and time_t, too
14720         * time/mktime.c (SHR): Check that shifts work as desired
14721         on the types long_int and time_t too, as SHR is used on
14722         such types.
14724         mktime: do not assume 'long' is wide enough
14725         * time/mktime.c (verify): Move decl up.
14726         (long_int): New type.
14727         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14728         to remove assumption in the code that 'long' is wide enough to
14729         store year values.  This assumption is not true on x32 and on
14730         some non-glibc platforms.
14732         mktime: merge wrapv change from gnulib
14733         * time/mktime.c (WRAPV): New macro.
14734         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14735         (guess_time_tm, __mktime_internal): Do not assume that signed
14736         integer overflow wraps around; modern compilers generate code
14737         where this assumption is no longer valid.
14739 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
14741         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14742         Replace "jmp L(pseudo_end)" with "ret".
14743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14744         Likewise.
14746 2012-05-23  Andreas Jaeger  <aj@suse.de>
14748         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14749         * sysdeps/unix/sysv/linux/poll.c: Remove file.
14751 2012-05-23  Andreas Jaeger  <aj@suse.de>
14752             Maximilian Attems  <max@stro.at>
14754         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14755         New macros.
14757 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
14759         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14760         code so that pseudo_end is just ret and the stack pointer is
14761         correct also for static library in error case.
14763 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
14765         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14766         move to syscalls.list.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14772         * manual/install.texi (Running make install): Do not mention Linux
14773         kernel version for which pt_chown is not needed.
14774         (Linux): Do not mention problems with nscd with 2.0 kernels.
14775         * INSTALL: Regenerated.
14777 2012-05-23  Andreas Jaeger  <aj@suse.de>
14779         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14780         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14781         macro.
14782         * sysdeps/unix/sysv/linux/s390/bits/mman.h
14783         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14784         * sysdeps/unix/sysv/linux/sh/bits/mman.h
14785         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14786         * sysdeps/unix/sysv/linux/i386/bits/mman.h
14787         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14788         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14789         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14790         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14791         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14792         * sysdeps/unix/sysv/linux/bits/in.h
14793         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14795 2012-05-22  Roland McGrath  <roland@hack.frob.com>
14797         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14798         (PREPARE_VERSION): Just use assert instead, it will be elided
14799         under [NDEBUG] anyway.
14801 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14803         * sysdeps/unix/sysv/linux/Makefile: Include
14804         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14805         (sysdep_routines): Remove sysctl.
14806         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14807         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14808         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14809         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14810         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14812 2012-05-22  Andreas Jaeger  <aj@suse.de>
14814         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14815         that pseudo_end is just ret and the stack pointer is correct also
14816         for static library in error case.
14818 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14820         [BZ #14122]
14821         * nss/nsswitch.c (defconfig_entries): New variable.
14822         (__nss_database_lookup): Don't leak defconfig entries.
14823         (nss_parse_service_list): Don't leak on error paths.
14824         (free_database_entries): New function.
14825         (free_defconfig): New function.
14826         (free_mem): Move common code to free_database_entries.
14828 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14830         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14831         Add arch_prctl.
14832         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14834         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14835         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14837         New macro.
14838         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14839         (INTERNAL_SYSCALL_TYPES): Likewise.
14840         (LOAD_ARGS_TYPES_[1-6]): Likewise.
14841         (LOAD_REGS_TYPES_[1-6]): Likewise.
14842         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14843         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14845 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14847         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14848         copysignl for GLIBC_2_0.
14849         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14850         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14851         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14852         logbl for GLIBC_2_0.
14853         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14854         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14856 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14858         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14859         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
14861         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14862         Use "neg %eax".
14864         * time/mktime.c: Update copyright years.
14866 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14868         mktime: merge comment-quoting-style change from gnulib
14869         * time/mktime.c: Quote 'like this' in comments.
14870         The GNU coding standards suggest that we no longer quote `like this',
14871         as "`" and "'" are typically rendered asymmetrically nowadays.
14872         The typical gnulib style is to quote 'like this' when quoting
14873         code, and "like this" when quoting English.
14875         * time/mktime.c (compile-command): Add "-I.".
14877         mktime: merge mktime-internal.h change from gnulib
14878         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14880         mktime: merge time_r change from gnulib
14881         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14883         mktime: merge DEBUG change from gnulib
14884         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14885         case system <time.h> has a #define.
14887         mktime: merge <sys/types.h> change from gnulib
14888         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14889         since <time.t> is now guaranteed to define time_t.
14891         mktime: merge HAVE_CONFIG_H change from gnulib
14892         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14894 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14897         Use "neg %eax".
14899         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14900         __rlim_t cast.
14901         (struct rusage): Use anonymous union to pad each field to
14902         __syscall_slong_t.
14904 2012-05-21  David S. Miller  <davem@davemloft.net>
14906         * Makefules (o-iterator): Remove .s cases.
14907         (compile-command.s): Delete.
14908         (COMPILE.s): Delete.
14909         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14911 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
14913         * configure.in (libc_cv_predef_stack_protector): Only consider
14914         "foobar" and "__stack_chk_fail" lines in libc_undefs.
14915         * configure: Regenerated.
14917 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14920         New macro.  Use R*LP on int and pointer.
14921         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14922         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14923         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14924         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14926         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14927         [__WORDSIZE_TIME64_COMPAT32] instead of
14928         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14929         (struct utmp): Likewise.
14930         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14931         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14932         Renamed to ...
14933         (__WORDSIZE_TIME64_COMPAT32): This.
14934         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14935         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14936         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14937         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14938         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14939         (__WORDSIZE_TIME64_COMPAT32): New macro.
14941 2012-05-21  Andreas Jaeger  <aj@suse.de>
14943         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14944         only if [SHARED]. Add prototype for __wcschr_ia32.
14946 2012-05-21  Roland McGrath  <roland@hack.frob.com>
14948         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14949         of %rbp unmolested in the jmp_buf while mangling the low bits.
14950         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14951         unmolested high bits of %rbp while demangling the low bits.
14952         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14954 2012-05-21  Andreas Jaeger  <aj@suse.de>
14956         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14957         * sunrpc/svc_simple.c: Use it for registerrpc.
14958         * sunrpc/xcrypt.c: Use it for passwd2des.
14960         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14962 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14964         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14965         Don't define if [__SYSCALL_WORDSIZE != 32].
14966         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14967         New macro.
14969 2012-05-21  Bruno Haible  <bruno@clisp.org>
14970             Andreas Jaeger  <aj@suse.de>
14972         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14973         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14974         inptr and inend for must_buffer_ch.
14975         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14976         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14977         * stdio-common/Makefile (tests): Remove bug15.
14978         (bug15-ENV): Remove macro.
14979         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14980         anymore.
14982 2012-05-19  Andreas Jaeger  <aj@suse.de>
14983             Roland McGrath  <roland@hack.frob.com>
14985         * manual/contrib.texi: Completely rewritten. It contains now an
14986         alphabetical list of contributors and their contributions.
14988 2012-05-21  Richard Henderson  <rth@twiddle.net>
14990         * misc/getauxval.c (__getauxval): Use unsigned long int.
14991         * misc/sys/auxv.h: Include <sys/cdefs.h>.
14992         (getauxval): Use unsigned long int.
14994 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
14996         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14998 2012-05-21  Roland McGrath  <roland@hack.frob.com>
15000         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15001         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15002         __alignof__ (long double).
15004 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15008 2012-05-20  Richard Henderson  <rth@twiddle.net>
15010         * misc/getauxval.c: New file.
15011         * misc/sys/auxv.h: New file.
15012         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15013         (routines): Add getauxval.
15014         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15015         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15016         * elf/dl-sysdep.c (_dl_auxv): Remove.
15017         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15018         * elf/dl-support.c (_dl_auxv): New variable.
15019         (_dl_aux_init): Initialize it.
15020         * manual/startup.texi (Auxiliary Vector): New node.
15021         * sysdeps/generic/bits/hwcap.h: New file.
15022         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15023         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
15024         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15025         * sysdeps/sparc/sysdep.h: ... here.  Include it.
15026         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15027         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15029         Update.
15030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15039 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15043 2012-05-19  David S. Miller  <davem@davemloft.net>
15045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15047 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
15049         [BZ #14123]
15050         * math/s_ccosh.c: Include <float.h>
15051         (__ccosh): Avoid internal overflow calculating sinh and cosh
15052         values before multiplying by sin and cos values.
15053         * math/s_ccoshf.c: Likewise.
15054         * math/s_ccoshl.c: Likewise.
15055         * math/s_csin.c: Likewise.
15056         * math/s_csinf.c: Likewise.
15057         * math/s_csinl.c: Likewise.
15058         * math/s_csinh.c: Likewise.
15059         * math/s_csinhf.c: Likewise.
15060         * math/s_csinhl.c: Likewise.
15061         * math/libm-test.inc (ccos_test): Add more tests.
15062         (ccosh_test): Likewise.
15063         (csin_test): Likewise.
15064         (csinh_test): Likewise.
15065         * sysdeps/i386/fpu/libm-test-ulps: Update.
15066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15068 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15070         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15071         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15073         * sysdeps/x86_64/x32/_itoa.h: Add comment.
15075 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
15077         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15078         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15079         * sysdeps/powerpc/soft-fp/Versions: Likewise.
15080         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15081         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15082         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15083         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15084         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15085         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15086         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15087         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15088         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15089         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15090         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15091         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15092         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15093         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15094         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15095         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15096         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15097         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15098         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15099         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15100         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15101         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15102         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15103         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15104         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15105         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15106         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15107         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15109 2012-05-18  Andreas Jaeger  <aj@suse.de>
15111         * csu/.gitignore: Delete.
15113 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15115         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15116         (timex): Use __syscall_slong_t.
15118 2012-05-18  Andreas Jaeger  <aj@suse.de>
15119             Carlos O'Donell  <carlos_odonell@mentor.com>
15121         * manual/install.texi (Configuring and compiling): Update
15122         description about files modified in the source directory.
15123         * INSTALL: Regenerated.
15125 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15127         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15128         value.  Use "or" to set return value to -1.
15129         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15130         negate return value.
15132 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15134         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15135         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15136         failure if the compiler has Graphite support disabled.
15137         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15138         Likewise.
15139         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15140         CFLAGS-memmove.c): Likewise.
15141         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15142         Likewise.
15144 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15146         * sysdeps/x86_64/x32/_itoa.h: New file.
15148         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15149         getdents system call only if kernel and user dirents have the
15150         same d_ino and d_off.
15152         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15153         LLONG_MAX != LONG_MAX.
15154         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15155         (_fitoa_word): Likewise.
15157         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15158         years.
15159         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15160         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15161         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15163         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15164         include <bits/wordsize.h>.  Check __x86_64__ instead of
15165         __WORDSIZE.
15166         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15167         if __x86_64__ is defined.  Use anonymous union on fpstate.
15169         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15170         anonymous union.
15172 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
15174         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15175         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15176         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15177         Refer to _rtld_local_ro instead of _rtld_global_ro.
15178         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15179         Likewise.
15180         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15181         Likewise.
15182         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15183         Likewise.
15184         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15185         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15186         of _rtld_global, and rtld_progname instead of _dl_argv[0].
15188         * sysdeps/powerpc/powerpc32/dl-machine.c
15189         (__elf_machine_runtime_setup) [PROF]: Don't reference
15190         _dl_prof_resolve.
15192 2012-05-18  Andreas Jaeger  <aj@suse.de>
15194         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15195         function only available for GCCs before 3.4 since GCC 3.4
15196         introduced a builtin.
15197         (lrint): Likewise.
15198         (llrintf): Likewise.
15199         (llrint): Likewise.
15200         (fmaxf): Likewise.
15201         (fmax): Likewise.
15202         (fminf): Likewise.
15203         (fmin): Likewise.
15204         (rint): Likewise.
15205         (rintf): Likewise.
15206         (nearbyint): Likewise.
15207         (nearbyintf): Likewise.
15208         (ceil): Likewise.
15209         (ceilf): Likewise.
15210         (floor): Likewise.
15211         (floorf): Likewise.
15213 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15215         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15216         on both fields and cast pointer to __syscall_ulong_t.
15218         * bits/types.h (__fsword_t): New type.
15219         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15220         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15221         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15222         (__FSWORD_T_TYPE): Likewise.
15223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15224         (__FSWORD_T_TYPE): Likewise.
15225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15226         (__FSWORD_T_TYPE): Likewise.
15227         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15228         (__FSWORD_T_TYPE): Likewise.
15229         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15230         __SWORD_TYPE with __fsword_t.
15231         (statfs64): Likewise.
15233 2012-05-17  David S. Miller  <davem@davemloft.net>
15235         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15237 2012-05-17  Andreas Jaeger  <aj@suse.de>
15239         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15240         warning.
15242 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15244         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15246 2012-05-17  Andreas Jaeger  <aj@suse.de>
15248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15249         when it is used.
15251 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
15253         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15255 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15257         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15258         * sysdeps/x86_64/tst-mallocalign1.c: New file.
15260 2012-05-17  Andreas Jaeger  <aj@suse.de>
15261             Carlos O'Donell  <carlos_odonell@mentor.com>
15263         [BZ #14059]
15264         * sysdeps/x86_64/multiarch/init-arch.h
15265         (bit_YMM_Usable): Rename to...
15266         (bit_AVX_Usable): ... this.
15267         (bit_FMA4_Usable): New macro.
15268         (bit_XMM_state): New macro.
15269         (bit_YMM_state): New macro.
15270         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15271         [__ASSEMBLER__] (index_AVX_Usable): ... this.
15272         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15273         (CPUID_OSXSAVE): New macro.
15274         (CPUID_AVX): New macro.
15275         (CPUID_FMA4): New macro.
15276         (index_YMM_Usable): Rename to...
15277         (index_AVX_Usable): ... this.
15278         (HAS_AVX): Use HAS_ARCH_FEATURE.
15279         (HAS_FMA4): Likewise.
15280         (HAS_YMM_USABLE): Remove.
15281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15282         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15283         are present.
15284         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15285         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15286         * sysdeps/x86_64/multiarch/Makefile: Likewise.
15287         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15288         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15290 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
15292         * math/libm-test.c: Support platforms without multiple rounding modes.
15293         * math/bug-nextafter.c: Support platforms without FP exceptions.
15294         * math/bug-nexttoward.c: Likewise.
15295         * math/test-fenv.c: Likewise.
15296         * math/test-misc.c: Likewise.
15297         * stdlib/bug-getcontext.c: Likewise.
15299 2012-05-17  Andreas Jaeger  <aj@suse.de>
15301         * manual/examples/search.c (critter_cmp): Change signature to
15302         avoid warnings.
15303         * manual/string.texi (Collation Functions): Likewise.
15305 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15307         * bits/types.h: Fold copyright years.
15308         * bits/typesizes.h: Likewise.
15309         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15310         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15313         * time/time.h: Likewise.
15315 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
15317         [BZ #208]
15318         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15319         in instead of returning them.  Return void.
15320         (__libc_mallinfo): Accumulate over all arenas.
15321         (__malloc_stats): Adjust for change in int_mallinfo interface.
15323 2012-05-16  Roland McGrath  <roland@hack.frob.com>
15325         [BZ #10375]
15326         * configure.in (NM): Add AC_CHECK_TOOL for it.
15327         (libc_extra_cflags): New substituted variable.
15328         Check for -fstack-protector being used implicitly.
15329         * configure: Regenerated.
15330         * config.make.in (config-extra-cflags): New variable,
15331         gets @libc_extra_cflags@.
15332         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15334         [BZ #10375]
15335         * configure.in: Check for _FORTIFY_SOURCE being predefined.
15336         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15337         * configure: Regenerated.
15338         * config.make.in (CPPUNDEFS): New substituted variable.
15339         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15340         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15341         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15343 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15345         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15346         (mq_attr): Use __syscall_slong_t.
15348 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15350         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15351         Check __x86_64__ instead of __WORDSIZE.
15352         (_STAT_VER_LINUX): Likewise.
15353         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
15354         __syscall_ulong_t and __syscall_slong_t.
15355         (stat64): Likewise.
15357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15359         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15361 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15363         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15365 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15367         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15368         __syscall_ulong_t.
15370         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15371         include <bits/wordsize.h>.  Check __x86_64__ instead of
15372         __WORDSIZE.
15373         (greg_t): Use "__extension__ long long int" if __x86_64__ is
15374         defined.
15375         (mcontext_t): Replace "unsigned long" with "unsigned long long".
15377         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15378         include <bits/wordsize.h>.  Check __x86_64__ instead of
15379         __WORDSIZE.
15380         (user_regs_struct): Use "__extension__ unsigned long long"
15381         instead of "unsigned long" if __x86_64__ is defined.
15382         (user): Likewise.  Pad after pointer field if __ILP32__ is
15383         defined.
15385 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
15387         * configure.in (makeinfo): Require version 4.5 or later.  Allow
15388         versions 5 to 9.
15389         * configure: Regenerated.
15390         * manual/install.texi (texinfo): Increase version requirement to
15391         4.5 or later.
15392         * INSTALL: Regenerated.
15394         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15396 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15398         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15400         * sysdeps/x86_64/x32/ffs.c: New file.
15402         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15403         __syscall_ulong_t.
15404         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15405         defined.  Use __syscall_ulong_t.
15406         (shminfo): Use __syscall_ulong_t.
15407         (shm_info): Likewise.
15409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15410         __syscall_ulong_t.
15412         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15413         <bits/wordsize.h>.
15414         (msgqnum_t): Use __syscall_ulong_t.
15415         (msglen_t): Likewise.
15416         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
15417         __syscall_ulong_t.
15419         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15420         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
15422         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15424         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15425         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15427         * sysvipc/sys/msg.h (msgbuf): Replace long int with
15428         __syscall_slong_t.
15430         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15431         include <bits/wordsize.h>.  Check __x86_64__ instead of
15432         __WORDSIZE.
15434         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15435         "unsigned long long int" if __x86_64__ is defined.
15436         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15438         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15439         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
15440         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15442         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15443         <stdint.h>.
15444         (GET_PC): Cast to uintptr_t first.
15445         (GET_FRAME): Likewise.
15446         (GET_STACK): Likewise.
15448         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15449         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15450         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15451         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15452         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15453         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15454         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15455         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15456         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15457         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15458         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15459         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15460         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15461         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15462         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15463         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15464         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15465         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15466         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15467         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15468         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15469         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15470         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15471         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15472         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15473         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15474         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15475         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15476         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15478 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
15480         * Makerules (+depfiles): Also collect depfiles from .oS in
15481         $(extra-objs).
15482         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15483         .oS, $(libnldbl-routines)).
15485         * Makerules (native-compile-mkdep-flags): Define.
15486         * sunrpc/Makefile (extra-objs): Add $(addprefix
15487         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15488         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15489         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
15490         calling $(make-target-directory).
15492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15494         * bits/types.h (__snseconds_t): Removed.
15495         * time/time.h (struct timespec): Replace __snseconds_t with
15496         __syscall_slong_t.
15497         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15498         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15499         Likewise.
15500         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15501         (__SNSECONDS_T_TYPE): Likewise.
15502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15503         (__SNSECONDS_T_TYPE): Likewise.
15504         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15505         (__SNSECONDS_T_TYPE): Likewise.
15507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15509         * sysdeps/mach/hurd/bits/typesizes.h
15510         (__SYSCALL_SLONG_TYPE): New macro.
15511         (__SYSCALL_ULONG_TYPE): Likewise.
15513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15515         * bits/types.h (__syscall_slong_t): New type.
15516         (__syscall_ulong_t): Likewise.
15518         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15519         (__SYSCALL_ULONG_TYPE): Likewise.
15520         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15521         (__SYSCALL_SLONG_TYPE): Likewise.
15522         (__SYSCALL_ULONG_TYPE): Likewise.
15523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15524         (__SYSCALL_SLONG_TYPE): Likewise.
15525         (__SYSCALL_ULONG_TYPE): Likewise.
15526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15527         (__SYSCALL_SLONG_TYPE): Likewise.
15528         (__SYSCALL_ULONG_TYPE): Likewise.
15530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15532         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15533         Add sigaltstack-offsets.sym.
15534         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15535         <sigaltstack-offsets.h>.
15536         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
15537         longjmp_msg pointer.
15538         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
15539         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15540         signal stack.
15541         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15543 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
15545         * elf/stackguard-macros.h: Remove file.
15546         * sysdeps/generic/stackguard-macros.h: New file.
15547         * sysdeps/i386/stackguard-macros.h: Likewise.
15548         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15549         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15550         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15551         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15552         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15553         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15554         * sysdeps/x86_64/stackguard-macros.h: Likewise.
15555         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15556         <elf/stackguard-macros.h>.
15558         [BZ #14109]
15559         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15560         __aligned__ in attribute.
15561         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15562         (gregset_t): Likewise.
15564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15566         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15567         * sysdeps/x86_64/64/Implies-after: Here.  New file.
15568         * sysdeps/x86_64/x32/Implies-after: New file.
15570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15572         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15573         and access return value for _dl_profile_fixup.  Use R10_LP to
15574         load frame size.
15576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15578         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15582         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15583         * sysdeps/x86_64/x32/sysdep.h: New file.
15585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15587         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15588         * sysdeps/x86_64/setjmp.S: Likewise.
15590 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15592         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15593         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15594         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15596         remove unused global constant.
15598 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
15600         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15601         include of <not-cancel.h>.
15603 2012-05-15  Roland McGrath  <roland@hack.frob.com>
15605         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15607 2012-05-15  Jeff Law  <law@redhat.com>
15608             Andreas Jaeger  <aj@suse.de>
15610         [BZ #13594]
15611         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15612         out from...
15613         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15614         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15615         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15616         code changing __hst_map_handle.map.
15618 2012-05-15  Roland McGrath  <roland@hack.frob.com>
15620         * configure.in (sysnames): Look for Implies-before and Implies-after
15621         files.
15622         * configure: Regenerated.
15624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15626         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15627         8-byte data alignment with LP_SIZE alignment.
15629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15631         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15632         into R10_LP.
15634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15636         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15640         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15641         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15642         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15643         Likewise.
15644         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15648         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15649         (stackinfo_sub_sp): Likewise.
15651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15653         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15654         RAX_LP.
15656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15658         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15659         into R*_LP.
15661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15663         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15664         sizes into R*_LP.
15666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15668         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15672         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15673         into R11_LP and load __x86_64_shared_cache_size_half into
15674         R8_LP.
15676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15679         R8_LP.
15681 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15684         logb for POWER7.
15685         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15686         logbf for POWER7.
15687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15688         logbl for POWER7.
15689         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15690         powerpc32/power7/fpu/s_logb.c via #include.
15691         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15692         powerpc32/power7/fpu/s_logbf.c via #include.
15693         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15694         powerpc32/power7/fpu/s_logbl.c via #include.
15696 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
15698         * README.libm: Remove file.
15700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15702         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15703         count for x32.  Use R*_LP and omit operand-size suffix.
15705 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15707         * shlib-versions: Move x86_64-.*-linux.* entries to ...
15708         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
15709         * sysdeps/x86_64/x32/shlib-versions: New file.
15711 2012-05-14  Roland McGrath  <roland@hack.frob.com>
15713         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15714         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15715         Use _dl_fatal_printf instead.
15717 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
15719         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15720         set if not set by the user.  Do not allow for being unset.
15721         * sysdeps/unix/sysv/linux/configure: Regenerated.
15723 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15725         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15726         the `q' suffix from lea and replace .quad with ASM_ADDR.
15728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15731         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
15732         instead of $17.
15733         (PTR_DEMANGLE): Likewise.
15735 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15737         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15738         (LP_OP): Likewise.
15739         (ASM_ADDR): Likewise.
15740         (RAX_LP): Likewise.
15741         (RBP_LP): Likewise.
15742         (RBX_LP): Likewise.
15743         (RCX_LP): Likewise.
15744         (RDI_LP): Likewise.
15745         (RSI_LP): Likewise.
15746         (RSP_LP): Likewise.
15747         (R8_LP): Likewise.
15748         (R9_LP): Likewise.
15749         (R10_LP): Likewise.
15750         (R10_LP): Likewise.
15751         (R11_LP): Likewise.
15752         (R12_LP): Likewise.
15753         (R13_LP): Likewise.
15754         (R14_LP): Likewise.
15755         (R15_LP): Likewise.
15757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15759         * sysdeps/x86_64/x32/dl-machine.h: New file.
15761 2012-05-14  Andreas Jaeger  <aj@suse.de>
15763         * manual/Makefile (subdir): Remove export of subdir.
15764         (all): Remove target.
15765         (.PHONY): Remove all from list.
15766         (mkinstalldirs): Remove.
15767         (.PHONY): Remove installdirs from list.
15768         ($(inst_infodir)/libc.info): Use make-target-directory.
15769         (installdirs): Remove.
15770         (subdir_%): Remove.
15771         (glibc-targets): Remove.
15772         (lib): Remove.
15773         (stubs): Remove.
15774         ($(objpfx)stubs ../po/manual.pot): Remove.
15775         ($(objpfx)stamp%): Remove.
15776         (make-target-directory): Remove.
15777         (subdir_install): Remove.
15778         (routines): Remove.
15779         (aux): Remove.
15780         (sources): Remove.
15781         (objects): Remove.
15782         (headers): Remove.
15784         [BZ #13750]
15785         * manual/.gitignore: Remove, it's not needed anymore.
15786         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15787         all files in it.
15788         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15789         directory.
15790         (texis): Renamed to $(objpfx)texis.
15791         (texis-path): New, contains path to generated files.
15792         (chapters.%): Use texis-path for complete path, add extra argument
15793         libc-texinfo.sh.
15794         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15795         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15796         (summary,texi, stamp-summary): Use complete path of
15797         files. Generate files in build dir.
15798         (dir-add.texi): Build in build dir.
15799         (libm-err.texi,stamp-libm-err): Likewise.
15800         (version.texi, stamp-version): Likewise.
15801         (.%c.texi): Likewise.
15802         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15803         (mostlyclean): Remove target.
15804         (realclean): Remove target.
15805         (generated): Add new variable with contents from mostlyclean and
15806         realclean, remove entries duplicated in common-mostlyclean, add
15807         stamp-libm-err and stamp-version.
15808         (generated-dirs): Add libc directory.
15809         ($(inst_infodir)/libc.info): Install files from build dir.
15811         * manual/install.texi (Configuring and compiling): Adjust since
15812         the info files are not part of the tar ball anymore.
15814 2012-05-14  Andreas Jaeger  <aj@suse.de>
15816         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15817         variable.
15819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
15821         [BZ #13717]
15822         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15823         to 2.2.0 where earlier.
15824         * sysdeps/unix/sysv/linux/configure: Regenerated.
15825         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15826         Remove conditional code.
15827         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15828         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15829         Remove conditional code.
15830         [!__NR_lchown]: Likewise.
15831         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15832         [__NR_lchown]: Likewise.
15833         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15834         comment referencing __ASSUME_LCHOWN_SYSCALL.
15835         * sysdeps/unix/sysv/linux/i386/sigaction.c
15836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15838         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15839         Remove conditional code.
15840         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15841         (__protocol_available): Remove #if 0 code.
15842         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15843         conditional code.
15844         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15845         * sysdeps/unix/sysv/linux/kernel-features.h
15846         (__ASSUME_GETCWD_SYSCALL): Don't define.
15847         (__ASSUME_REALTIME_SIGNALS): Likewise.
15848         (__ASSUME_PREAD_SYSCALL): Likewise.
15849         (__ASSUME_PWRITE_SYSCALL): Likewise.
15850         (__ASSUME_POLL_SYSCALL): Likewise.
15851         (__ASSUME_LCHOWN_SYSCALL): Likewise.
15852         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15853         non-SPARC.
15854         (__ASSUME_SIOCGIFNAME): Don't define.
15855         (__ASSUME_MSG_NOSIGNAL): Likewise.
15856         (__ASSUME_SENDFILE): Define unconditionally.
15857         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15858         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15859         conditional code.
15860         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15861         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15862         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15863         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15864         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15865         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15866         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15868         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15869         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15871         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15872         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15874         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15877         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15878         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15880         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15883         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15884         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15886         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15889         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15890         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15891         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15892         Remove conditional code.
15893         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15894         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15895         Remove conditional code.
15896         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15897         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15898         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15899         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15900         Remove conditional code.
15901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15902         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15903         Remove conditional code.
15904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15905         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15906         Remove conditional code.
15907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15908         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15909         Remove conditional code.
15910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15911         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15912         Remove conditional code.
15913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15914         * sysdeps/unix/sysv/linux/sh/pwrite64.c
15915         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15917         * sysdeps/unix/sysv/linux/sigaction.c
15918         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15919         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15920         * sysdeps/unix/sysv/linux/sigpending.c
15921         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15922         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15923         * sysdeps/unix/sysv/linux/sigprocmask.c
15924         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15925         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15926         * sysdeps/unix/sysv/linux/sigsuspend.c
15927         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15928         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15929         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15930         (__libc_missing_rt_sigs): Remove.
15931         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15932         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15933         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15934         Remove conditional code.
15935         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15936         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15937         return 1.
15938         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15939         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15940         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15941         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15943 2012-05-14  Andreas Jaeger  <aj@suse.de>
15945         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15946         it's not used in glibc.
15947         (__coshm1): Likewise.
15948         (__acosh1p): Likewise.
15949         (__sgn): Likewise.
15951         * manual/string.texi (Copying and Concatenation): Add missing
15952         variable in concat example.
15953         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15957         [BZ #14103]
15958         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15959         __builtin_clzl with __builtin_clzll.
15961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15963         [BZ #14104]
15964         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15965         libc_freeres_ptr.
15967 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15969         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15970         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15971         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15972         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15974 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
15976         * NEWS: Update ia64 info.
15978 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
15980         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15981         used as bcopy.
15983 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
15985         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15986         * sysdeps/unix/syscalls.list (dup3): Likewise.
15987         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15988         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15990 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15992         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15993         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15995 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15997         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15998         thread pointer.
15999         (TLS_IE): Use mov/add instead of movq/addq to load thread
16000         pointer.
16001         (TLS_GD_PREFIX): New.
16002         (TLS_GD): Use it.
16004 2012-05-11  David S. Miller  <davem@davemloft.net>
16006         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16007         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16008         (_FPU_SETCW): Likewise.
16010 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16012         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16013         is 32-byte aligned.
16015 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
16017         [BZ #11837]
16018         * iconvdata/gb18030.c: Update tables.
16019         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
16020         characters specially.
16021         (BODY for TO_LOOP): Add encoding of missing ranges.
16023 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
16025         [BZ #13673]
16026         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16027         * sysdeps/mach/hurd/dup3.c: Likewise.
16028         * sysdeps/mach/hurd/readlinkat.c: Likewise.
16029         * sysdeps/powerpc/memmove.c:: Likewise.
16031 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16034         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16036 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16038         * elf/elf.h (R_X86_64_RELATIVE64): New.
16039         (R_X86_64_NUM): Updated.
16040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16041         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
16042         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16043         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16044         tst-quad1pie tst-quad2pie
16045         (modules-names): Add tst-quadmod1 tst-quadmod2.
16046         ($(objpfx)tst-quad1): New dependency.
16047         ($(objpfx)tst-quad2): Likewise.
16048         ($(objpfx)tst-quad1pie): Likewise.
16049         ($(objpfx)tst-quad2pie): Likewise.
16050         * sysdeps/x86_64/tst-quad1.c: New file.
16051         * sysdeps/x86_64/tst-quad1pie.c: New file.
16052         * sysdeps/x86_64/tst-quad2.c: Likewise.
16053         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16054         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16055         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16056         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16057         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16059 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16061         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16062         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16063         * streams/stropts.h (t_scalar_t): Define type.
16065         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16066         (_PATH_PRESERVE): Set to "/var/lib".
16067         (_PATH_RWHODIR): Set to "/var/spool/rwho".
16069         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16070         instead of int.
16072         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16073         if __dir_mkfile succeeded.
16075         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16076         checking for _hurd_dtablesize.  Unlock it right after having
16077         finished _hurd_dtable allocation.
16079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16081         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16082         * sysdeps/mach/hurd/configure: Regenerated.
16083         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16084         special-casing to...
16085         * sysdeps/gnu/configure.in: ... this new file.
16086         * sysdeps/unix/sysv/linux/configure: Regenerated.
16087         * sysdeps/gnu/configure: New generated file.
16089         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16090         for Linux: use nsec instead of usec, as well as:
16091         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16092         members of type struct timespec.
16093         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16094         New macros.
16095         (struct stat64): Likewise.
16096         (_STATBUF_ST_NSEC): New macro.
16097         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16099         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16100         __strtoul_internal rather than strtoul.
16102 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16104         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16105         and reject them.
16107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16109         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16110         which preserves existing values.
16111         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16113 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16115         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16116         TIMEOUT values.  Return EINVAL for NFDS values either negative or
16117         greater than FD_SETSIZE.
16119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16121         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16122         allocated, call __vm_protect to finish enabling the existing space, and
16123         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16124         allocate the remainder.
16126 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16128         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16129         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
16131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16133         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16134         sysdeps/mach/hurd/readlink.c.
16136         * posix/tst-sysconf.c (posix_options): Only use
16137         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16138         _POSIX_SYNCHRONIZED_IO when they are defined
16139         * sysdeps/mach/hurd/bits/posix_opt.h:
16140         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16141         (_XOPEN_REALTIME): Undefine macro.
16142         (_XOPEN_REALTIME_THREADS): Undefine macro.
16143         (_XOPEN_SHM): Undefine macro.
16144         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16145         macro to -1.
16146         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16147         macro to -1.
16148         (_POSIX_ASYNC_IO): Undefine macro.
16149         (_POSIX_PRIORITIZED_IO): Undefine macro.
16150         (_POSIX_SPIN_LOCKS): Define macro to -1.
16152         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16153         SA_NODEFER, SA_RESETHAND.
16154         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16155         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16156         F_DUPFD_CLOEXEC.
16158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16160         * elf/Makefile (pldd-modules): Define unconditionally.
16162 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16164         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16168         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16169         Return ENOENT when name is empty.
16170         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16174         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16176         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16180         Fix mlock in all cases except non-readable pages.
16181         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16182         instead of VM_PROT_ALL as parameter to __vm_wire function.
16184         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16185         (__mkdir): When path is `/', just fail with EEXIST.
16186         * sysdeps/mach/hurd/mkdirat.c: Likewise.
16188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16190         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16191         <sys/uio.h> (for writev).
16192         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16193         and <sys/param.h> (for MIN).
16195 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16197         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16198         REQUESTED_TIME.  Properly set the remaining time and return EINTR
16199         if interrupted.
16201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16203         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16204         Depend on against $(link-rpcuserlibs).
16206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16208         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16209         (__libc_stack_end): Do not use attribute_relro.
16210         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16211         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16212         to libthread-provided value.
16213         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16214         attribute_relro.
16216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16218         [BZ #3748]
16219         * bits/libc-lock.h (__libc_once_get): New macro.
16220         * sysdeps/mach/bits/libc-lock.h: Likewise.
16221         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16222         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16223         instead of using implementation details.
16225         * libio/fileops.c: Unconditionally include <kernel-features.h>.
16226         * libio/freopen.c: Likewise.
16227         * libio/freopen64.c: Likewise.
16228         * misc/syslog.c: Likewise.
16229         * nscd/connections.c: Likewise.
16230         * nscd/netgroupcache.c: Likewise.
16231         * sysdeps/posix/getcwd.c: Likewise.
16233 2012-05-10  Roland McGrath  <roland@hack.frob.com>
16235         * math/w_ilogbf.c: Add #include <limits.h>.
16237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16239         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16240         path instead of returning without unlocking.
16242         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16243         immediate-write ioctls.
16244         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16248         * sysdeps/mach/hurd/i386/init-first.c (init): Use
16249         __builtin_frame_address instead of making assumptions about the
16250         location of the return address relative to DATA.  Force early load of
16251         the return address.
16252         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16253         __builtin_frame_address.
16255         dup3 for GNU Hurd.
16256         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16257         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
16258         implement dup3 and do some further code clean-ups.
16259         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16260         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16264         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16266         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16267         HURD_CRITICAL_END around holding _hurd_dtable_lock.
16268         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16269         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16270         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16271         d->port.lock.
16273         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16274         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
16275         when handler == SIG_ERR, not when handler != SIG_ERR.
16277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16279         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16280         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16281         definitions.
16283         accept4 for GNU Hurd.
16284         * include/sys/socket.h (__libc_accept4): New prototype.
16285         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
16286         to implement __libc_accept4.
16287         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16288         __libc_accept4.
16289         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16291         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16292         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16293         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16294         signal-defines.sym.
16296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16298         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16302         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16303         assertion on O_CLOEXEC flag.
16304         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16305         * hurd/intern-fd.c: Likewise.
16306         * hurd/port2fd.c: Likewise.
16308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16310         [BZ #3906]
16311         * bits/in.h (IPV6_PKTINFO): Define new macro.
16312         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16314 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16316         [BZ #13954]
16317         [BZ #13955]
16318         [BZ #13956]
16319         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16321         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16322         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16323         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16324         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16325         * math/libm-test.inc (logb_test) : Additional logb tests.
16327 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
16328             Andreas Jaeger  <aj@suse.de>
16330         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16331         * configure: Regenerated.
16332         * config.h.in (LINK_OBSOLETE_RPC): New macro.
16333         * config.make.in (link-obsolete-rpc): New substituted variable.
16334         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16335         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16336         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16337         (shared-only-routines): Don't set it under [link-obsolete-rpc],
16338         so that libc.a contains the symbols.
16339         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16340         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16341         * sunrpc/auth_none.c: Likewise.
16342         * sunrpc/auth_unix.c: Likewise.
16343         * sunrpc/authdes_prot.c: Likewise.
16344         * sunrpc/authuxprot.c: Likewise.
16345         * sunrpc/clnt_gen.c: Likewise.
16346         * sunrpc/clnt_perr.c: Likewise.
16347         * sunrpc/clnt_raw.c: Likewise.
16348         * sunrpc/clnt_simp.c: Likewise.
16349         * sunrpc/clnt_tcp.c: Likewise.
16350         * sunrpc/clnt_udp.c: Likewise.
16351         * sunrpc/clnt_unix.c: Likewise.
16352         * sunrpc/des_crypt.c: Likewise.
16353         * sunrpc/des_soft.c: Likewise.
16354         * sunrpc/get_myaddr.c: Likewise.
16355         * sunrpc/key_call.c: Likewise.
16356         * sunrpc/key_prot.c: Likewise.
16357         * sunrpc/netname.c: Likewise.
16358         * sunrpc/pm_getmaps.c: Likewise.
16359         * sunrpc/pm_getport.c: Likewise.
16360         * sunrpc/pmap_clnt.c: Likewise.
16361         * sunrpc/pmap_prot.c: Likewise.
16362         * sunrpc/pmap_prot2.c: Likewise.
16363         * sunrpc/pmap_rmt.c: Likewise.
16364         * sunrpc/publickey.c: Likewise.
16365         * sunrpc/rpc_cmsg.c: Likewise.
16366         * sunrpc/rpc_common.c: Likewise.
16367         * sunrpc/rpc_dtable.c: Likewise.
16368         * sunrpc/rpc_prot.c: Likewise.
16369         * sunrpc/rpc_thread.c: Likewise.
16370         * sunrpc/rtime.c: Likewise.
16371         * sunrpc/svc.c: Likewise.
16372         * sunrpc/svc_auth.c: Likewise.
16373         * sunrpc/svc_raw.c: Likewise.
16374         * sunrpc/svc_run.c: Likewise.
16375         * sunrpc/svc_tcp.c: Likewise.
16376         * sunrpc/svc_udp.c: Likewise.
16377         * sunrpc/svc_unix.c: Likewise.
16378         * sunrpc/svcauth_des.c: Likewise.
16379         * sunrpc/xcrypt.c: Likewise.
16380         * sunrpc/xdr.c: Likewise.
16381         * sunrpc/xdr_array.c: Likewise.
16382         * sunrpc/xdr_float.c: Likewise.
16383         * sunrpc/xdr_intXX_t.c: Likewise.
16384         * sunrpc/xdr_mem.c: Likewise.
16385         * sunrpc/xdr_rec.c: Likewise.
16386         * sunrpc/xdr_ref.c: Likewise.
16387         * sunrpc/xdr_sizeof.c: Likewise.
16388         * sunrpc/xdr_stdio.c: Likewise.
16390 2012-05-10  Roland McGrath  <roland@hack.frob.com>
16392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16393         change.  Update copyright years.
16395 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
16397         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16399 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
16400             Joseph Myers  <joseph@codesourcery.com>
16401             Paul Pluzhnikov  <ppluzhnikov@google.com>
16403         [BZ #14012]
16404         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16405         requiring rpcgen.
16406         [cross-compiling] (extra-libs): Likewise.
16407         [cross-compiling] (extra-libs-others): Likewise.
16408         [cross-compiling] (librpcsvc-routines): Likewise.
16409         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16410         [cross-compiling] (omit-deps): Likewise.
16411         (sunrpc-CPPFLAGS): New variable.
16412         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16413         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16414         (cross-rpcgen-objs): New variable.
16415         (extra-objs): Append $(cross-rpcgen-objs).
16416         ($(cross-rpcgen-objs)): New rule.
16417         ($(objpfx)cross-rpcgen): Likewise.
16418         (rpcgen-cmd): Define to use $(built-program-file).  Expand
16419         comment.
16420         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16421         ($(objpfx)x%.stmp): Likewise.
16422         * sunrpc/proto.h [IS_IN_build] (_): Define.
16423         [IS_IN_build] (_libc_intl_domainname): Likewise.
16425 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16427         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16428         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16429         and R_X86_64_TPOFF64.
16431 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
16433         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16434         sysdeps/unix/sysv/syscalls.list.
16435         (stime): Likewise.
16436         (utime): Likewise.
16437         * sysdeps/unix/sysv/syscalls.list: Remove file.
16439 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
16441         [BZ #3440]
16442         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16443         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16444         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16445         (__LC_IDENTIFICATION): Make these macros useful in #if
16446         expressions, as required by C99.
16448 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
16450         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16451         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
16452         after this.
16454 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
16456         * stdlib/longlong.h: Updated from GCC.
16458 2012-05-09  Andreas Jaeger  <aj@suse.de>
16460         * nscd/nscd.c (run_modes): Make named enum, reorder so that
16461         default is first entry.
16462         (run_mode): Set type.
16463         (main): Remove informal message about syslog.
16464         (options): Fix typo.
16466         [BZ #14053]
16467         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
16468         to asm.
16469         (lrint): Likewise.
16470         (llrintf): Likewise.
16471         (llrint): Likewise.
16472         (rint): Likewise.
16473         (rintf): Likewise.
16474         (nearbyint): Likewise.
16475         (nearbyintf): Likewise.
16477 2012-05-09  Andreas Jaeger  <aj@suse.de>
16478             Pedro Alves  <palves@redhat.com>
16480         * nscd/nscd.c (run_mode): Use enum.
16481         (main): Cleanup coding style issue.
16483 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
16484             Andreas Jaeger  <aj@suse.de>
16486         * nscd/nscd.c (go_background): Replaced with...
16487         (run_mode): ... this.
16488         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
16489         (options): Add -F --foreground.
16490         (main): Implement it.
16491         (parse_opt): Parse it.
16493 2012-05-09  Andreas Jaeger  <aj@suse.de>
16495         [BZ #14083]
16496         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16497         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16498         -Wconversion warning.
16499         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16500         Likewise.
16502 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
16504         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
16505         == 0.
16506         (LC_ALL): Use macro-int-constant.
16507         (LC_COLLATE): Likewise.
16508         (LC_CTYPE): Likewise.
16509         (LC_MESSAGES): Likewise.
16510         (LC_MONETARY): Likewise.
16511         (LC_NUMERIC): Likewise.
16512         (LC_TIME): Likewise.
16513         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16514         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16515         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16516         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16517         Specify type.
16518         [C99-based standards] (float_t): Expect type.
16519         [C99-based standards] (double_t): Expect type.
16520         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
16521         type.
16522         [C99-based standards] (HUGE_VALL): Likewise.
16523         [C99-based standards] (INFINITY): Likewise.
16524         [C99-based standards] (NAN): Likewise.
16525         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16526         [C99-based standards] (FP_NAN): Likewise.
16527         [C99-based standards] (FP_NORMAL): Likewise.
16528         [C99-based standards] (FP_SUBNORMAL): Likewise.
16529         [C99-based standards] (FP_ZERO): Likewise.
16530         [C99-based standards] (FP_FAST_FMA): Use
16531         optional-macro-int-constant.  Specify type.  Require == 1.
16532         [C99-based standards] (FP_FAST_FMAF): Likewise.
16533         [C99-based standards] (FP_FAST_FMAL): Likewise.
16534         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16535         [C99-based standards] (FP_ILOGBNAN): Likewise.
16536         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16537         Specify type.
16538         [C99-based standards] (MATH_ERREXCEPT): Likewise.
16539         [C99-based standards] (math_errhandling): Specify type.
16540         [ISO99 || ISO11] (signgam): Do not allow.
16541         [non-C99-based standards] (copysignf): Do not allow.
16542         [non-C99-based standards] (exp2f): Likewise.
16543         [non-C99-based standards] (log2f): Likewise.
16544         [non-C99-based standards] (modff): Allow.
16545         [non-C99-based standards] (erff): Do not allow.
16546         [non-C99-based standards] (erfcf): Likewise.
16547         [non-C99-based standards] (gammaf): Likewise.
16548         [non-C99-based standards] (hypotf): Likewise.
16549         [non-C99-based standards] (j0f): Likewise.
16550         [non-C99-based standards] (j1f): Likewise.
16551         [non-C99-based standards] (jnf): Likewise.
16552         [non-C99-based standards] (lgammaf): Likewise.
16553         [non-C99-based standards] (tgammaf): Likewise.
16554         [non-C99-based standards] (y0f): Likewise.
16555         [non-C99-based standards] (y1f): Likewise.
16556         [non-C99-based standards] (ynf): Likewise.
16557         [non-C99-based standards] (isnanf): Likewise.
16558         [non-C99-based standards] (acoshf): Likewise.
16559         [non-C99-based standards] (asinhf): Likewise.
16560         [non-C99-based standards] (atanhf): Likewise.
16561         [non-C99-based standards] (cbrtf): Likewise.
16562         [non-C99-based standards] (expm1f): Likewise.
16563         [non-C99-based standards] (ilogbf): Likewise.
16564         [non-C99-based standards] (log1pf): Likewise.
16565         [non-C99-based standards] (logbf): Likewise.
16566         [non-C99-based standards] (nextafterf): Likewise.
16567         [non-C99-based standards] (remainderf): Likewise.
16568         [non-C99-based standards] (rintf): Likewise.
16569         [non-C99-based standards] (scalbf): Likewise.
16570         [non-C99-based standards] (copysignl): Likewise.
16571         [non-C99-based standards] (exp2l): Likewise.
16572         [non-C99-based standards] (log2l): Likewise.
16573         [non-C99-based standards] (modfl): Allow.
16574         [non-C99-based standards] (erfl): Do not allow.
16575         [non-C99-based standards] (erfcl): Likewise.
16576         [non-C99-based standards] (gammal): Likewise.
16577         [non-C99-based standards] (hypotl): Likewise.
16578         [non-C99-based standards] (j0l): Likewise.
16579         [non-C99-based standards] (j1l): Likewise.
16580         [non-C99-based standards] (jnl): Likewise.
16581         [non-C99-based standards] (lgammal): Likewise.
16582         [non-C99-based standards] (tgammal): Likewise.
16583         [non-C99-based standards] (y0l): Likewise.
16584         [non-C99-based standards] (y1l): Likewise.
16585         [non-C99-based standards] (ynl): Likewise.
16586         [non-C99-based standards] (isnanl): Likewise.
16587         [non-C99-based standards] (acoshl): Likewise.
16588         [non-C99-based standards] (asinhl): Likewise.
16589         [non-C99-based standards] (atanhl): Likewise.
16590         [non-C99-based standards] (cbrtl): Likewise.
16591         [non-C99-based standards] (expm1l): Likewise.
16592         [non-C99-based standards] (ilogbl): Likewise.
16593         [non-C99-based standards] (log1pl): Likewise.
16594         [non-C99-based standards] (logbl): Likewise.
16595         [non-C99-based standards] (nextafterl): Likewise.
16596         [non-C99-based standards] (remainderl): Likewise.
16597         [non-C99-based standards] (rintl): Likewise.
16598         [non-C99-based standards] (scalbl): Likewise.
16599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16600         [non-C99-based standards] (FP_*): Do not allow.
16601         [C99-based standards] (FP_*): Change to
16602         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16603         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16604         allow.
16605         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16606         (SIG_ERR): Likewise.
16607         [X/Open-based standards] (SIG_HOLD): Likewise.
16608         (SIG_IGN): Likewise.
16609         (SIGABRT): Use macro-int-constant.  Specify type.  Require
16610         positive value.
16611         (SIGFPE): Likewise.
16612         (SIGILL): Likewise.
16613         (SIGINT): Likewise.
16614         (SIGSEGV): Likewise.
16615         (SIGTER): Likewise.
16616         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16617         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16618         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16619         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16620         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16621         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16622         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16623         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16624         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16625         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16626         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16627         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16628         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16629         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16630         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16631         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16632         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16633         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16634         [X/Open-based standards] (SIGTRAP): Likewise.
16635         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16636         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16637         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16638         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16639         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16640         allow.
16642 2012-05-08  Ian Wienand  <ianw@vmware.com>
16644         [BZ #14080]
16645         * time/tzset.c (__tzset_parse_tz): Update default rules for
16646         daylight time changes in the Energy Policy Act of 2005.
16648 2012-05-09  Andreas Jaeger  <aj@suse.de>
16650         [BZ #13983]
16651         * elf/ldconfig.c (parse_conf): Change string to make clear that
16652         ldconfig only issued a warning if ld.so.conf does not exist.
16654 2012-05-08  David S. Miller  <davem@davemloft.net>
16656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16657         movxtod instead of popping the value on the stack.
16659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16661 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
16663         * config.h.in: Add HAVE_ARM_PCS_VFP.
16665 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
16667         [BZ #13979]
16668         * include/features.h: Warn if user requests __FORTIFY_SOURCE
16669         checking but the checks are disabled for any reason.
16671 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16673         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16674         and ELF64_R_TYPE with ELFW(R_TYPE).
16676 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
16678         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16679         (ulimit): Likewise.
16681         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16682         (settimeofday): Likewise.
16684 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
16686         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
16687         a struct th_u2 inside the union, and move tu_block/tu_code into
16688         a new th_u3 union of tu_block/tu_code inside of that.  Move
16689         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
16690         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
16691         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16692         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16693         (th_stuff): Change to th_u1.tu_stuff.
16694         (th_data): Define.
16695         (th_msg): Change to th_u1.th_u2.tu_data.
16697 2012-05-07  David S. Miller  <davem@davemloft.net>
16699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16701         [BZ #14074]
16702         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16703         (SETUP_PIC_REG): Use it.
16704         (SETUP_PIC_REG_LEAF): Use it.
16706 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
16708         [BZ #13885]
16709         [BZ #13923]
16710         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16711         USE_AS_EXPM1L.
16712         (EXPL_FINITE): Likewise.
16713         (FLDLOG): Likewise.
16714         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16715         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16716         e_expl.S.
16717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16718         USE_AS_EXPM1L.
16719         (EXPL_FINITE): Likewise.
16720         (FLDLOG): Likewise.
16721         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16722         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16723         e_expl.S.
16724         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
16725         test of -max_value argument for long double.
16726         * sysdeps/i386/fpu/libm-test-ulps: Update.
16727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16729 2012-05-06  David S. Miller  <davem@davemloft.net>
16731         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16732         quad soft-float symbols whose references which are compiler
16733         generated.
16734         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16736 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
16738         [BZ #13884]
16739         [BZ #13914]
16740         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16741         USE_AS_EXP10L.
16742         (EXPL_FINITE): Likewise.
16743         (FLDLOG): Likewise.
16744         (c0): Likewise.
16745         (c1): Likewise.
16746         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
16747         Adjust comments for base varying.
16748         (__expl_finite): Change alias to EXPL_FINITE.
16749         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16750         e_expl.S.
16751         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16752         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16753         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16754         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16755         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16756         USE_AS_EXP10L.
16757         (EXPL_FINITE): Likewise.
16758         (FLDLOG): Likewise.
16759         (c0): Likewise.
16760         (c1): Likewise.
16761         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
16762         Adjust comments for base varying.
16763         (__expl_finite): Change alias to EXPL_FINITE.
16764         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
16765         tests for bugs.
16766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16768         [BZ #14064]
16769         * math/libm-test.inc (check_float_internal): Correct ulp
16770         calculation for subnormal expected results.
16772 2012-05-06  Andreas Jaeger  <aj@suse.de>
16774         * Makeconfig (+math-flags): New, set to -frounding-math.
16775         (+cflags): Add +math-flags so that all of glibc gets compiled with
16776         it.
16778         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16780 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
16782         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16783         Disable one test.
16785         [BZ #13787]
16786         [BZ #13922]
16787         [BZ #14036]
16788         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16789         (__ieee754_expl): Allow for and saturate large arguments.
16790         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16791         (u_threshold): Likewise.
16792         (__exp): Call __ieee754_exp before checking for overflow and
16793         underflow.
16794         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16795         (u_threshold): Likewise.
16796         (__expf): Call __ieee754_expf before checking for overflow and
16797         underflow.
16798         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16799         (u_threshold): Likewise.
16800         (__expl): Call __ieee754_expl before checking for overflow and
16801         underflow.
16802         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16803         (__ieee754_expl): Allow for and saturate large arguments.
16804         * math/libm-test.inc (exp_test): Add another test.  Do not allow
16805         missing overflow exception on overflow.
16806         (expm1_test): Do not allow missing overflow exception on overflow.
16808         * sysdeps/i386/fpu/e_expl.c: Move to ...
16809         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
16810         rather than using inline asm.
16811         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16812         * sysdeps/x86_64/fpu/e_expl.S: Copy from
16813         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16815         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16816         (nice): Likewise.
16817         (poll): Likewise.
16818         (signal): Likewise.
16819         (time): Likewise.
16820         (times): Likewise.
16822 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
16824         * sysdeps/unix/syscalls.list (adjtime): Add entry from
16825         sysdeps/unix/common/syscalls.list.
16826         (fchmod): Likewise.
16827         (fchown): Likewise.
16828         (ftruncate): Likewise.
16829         (getrusage): Likewise.
16830         (gettimeofday): Likewise.
16831         (setpgid): Likewise.
16832         (setregid): Likewise.
16833         (setreuid): Likewise.
16834         (sigaction): Likewise.
16835         (truncate): Likewise.
16836         (vhangup): Likewise.
16837         * sysdeps/unix/common/syscalls.list: Remove file.
16838         * sysdeps/unix/bsd/Implies: Don't include unix/common.
16839         * sysdeps/unix/sysv/linux/Implies: Likewise.
16841 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
16843         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16845         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16846         Moved to ...
16847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16848         Here.
16849         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16850         to ...
16851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16852         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16853         to ...
16854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16855         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16856         to ...
16857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16858         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16859         to ...
16860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16861         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16862         to ...
16863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16864         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16865         to ...
16866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16867         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16868         to ...
16869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16870         Here.
16871         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16872         to ...
16873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16874         Here.
16875         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16876         to ...
16877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16878         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16879         Moved to ...
16880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16881         Here.
16882         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16883         to ...
16884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16886 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
16888         * sysdeps/unix/common/bits/dirent.h: Remove file.
16889         * sysdeps/unix/common/bits/fcntl.h: Likewise.
16891         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16892         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16893         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16894         * sysdeps/unix/bsd/isatty.c: Likewise.
16895         * sysdeps/unix/bsd/tcdrain.c: Likewise.
16896         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16897         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16899 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16901         [BZ #13563]
16902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16903         long double comparison inaccuracies.
16904         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16907 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
16909         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16910         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16912 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
16914         [BZ #14049]
16915         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16916         nonzero digits before rounding a hex value.
16917         * stdlib/tst-strtod.c (tests): Add another test.
16919 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16921         * sysdeps/s390/fpu/libm-test-ulps: Update.
16923 2012-05-03  Andreas Jaeger  <aj@suse.de>
16925         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16926         does not get optimized out.
16927         (malloc_opt_barrier): New.
16929 2012-05-03  Andreas Jaeger  <aj@suse.de>
16930             Roland McGrath  <roland@hack.frob.com>
16932         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16933         intermediate file deletion.
16934         (generated): Add .symlist files.
16936 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
16938         [BZ #13775]
16939         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16940         Redirect under this condition.
16941         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16942         [__USE_GNU] (__dprintf_chk): Not under this condition.
16943         [__USE_GNU] (__vdprintf_chk): Likewise.
16944         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16945         under this condition.
16946         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16947         [__USE_XOPEN2K8] (dprintf): Define under this condition.
16948         [__USE_XOPEN2K8] (vdprintf): Likewise.
16949         [__USE_GNU] (__dprintf_chk): Not under this condition.
16950         [__USE_GNU] (__vdprintf_chk): Likewise.
16951         [__USE_GNU] (dprintf): Likewise.
16952         [__USE_GNU] (vdprintf): Likewise.
16954 2012-05-03  Roland McGrath  <roland@hack.frob.com>
16956         * elf/Makefile (common-generated): Set this instead of generated for
16957         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
16958         $(all-built-dso)-derived lists.
16960 2012-05-03  Andreas Jaeger  <aj@suse.de>
16962         * sysdeps/i386/fpu/libm-test-ulps: Update.
16964         * FAQ: Removed.
16965         * FAQ.in: Likewise.
16966         * scripts/gen-FAQ.pl: Likewise.
16967         * manual/install.texi (Installation): Point to online location of
16968         FAQ.
16969         * Makefile (files-for-dist): Remove FAQ.
16970         (FAQ): Remove.
16972 2012-05-02  Allan McRae  <allan@archlinux.org>
16974         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16975         (LDFLAGS-reldepmod5.so): Likewise.
16976         (LDFLAGS-reldep6mod1.so): Likewise.
16977         (LDFLAGS-reldep6mod4.so): Likewise.
16978         (LDFLAGS-reldep8mod3.so): Likewise.
16979         (LDFLAGS-unload4mod1.so): Likewise.
16980         (LDFLAGS-unload4mod2.so): Likewise.
16981         (LDFLAGS-tst-initorder): Likewise.
16982         (LDFLAGS-tst-initordera2.so): Likewise.
16983         (LDFLAGS-tst-initordera3.so): Likewise.
16984         (LDFLAGS-tst-initordera4.so): Likewise.
16985         (LDFLAGS-tst-initorderb2.so): Likewise.
16986         (LDFLAGS-noload): Likewise.
16987         (LDFLAGS-next): Likewise.
16988         (LDFLAGS-order2mod1.so): Likewise.
16989         (LDFLAGS-order2mod2.so): Likewise.
16990         (LDFLAGS-tst-initorder2): Likewise.
16991         (LDFLAGS-tst-initorder2a.so): Likewise.
16992         (LDFLAGS-tst-initorder2b.so): Likewise.
16993         (LDFLAGS-tst-initorder2c.so): Likewise.
16994         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16996 2012-05-02  David S. Miller  <davem@davemloft.net>
16998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17000 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17002         [BZ #14055]
17003         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17005 2012-05-02  Andreas Jaeger  <aj@suse.de>
17007         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17008         since we manipulate rounding mode.
17009         (CPPFLAGS-test-idouble.c): Likewise.
17010         (CPPFLAGS-test-ifloat.c): Likewise.
17011         (CFLAGS-test-ldouble.c): Likewise.
17012         (CFLAGS-test-double.c): Likewise.
17013         (CFLAGS-test-float.c): Likewise.
17014         (CFLAGS-test-misc.c): Likewise.
17015         (CFLAGS-test-test-fenv.c): Likewise.
17017 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17019         [BZ #2550]
17020         [BZ #2570]
17021         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17022         comparisons to determine direction to adjust input.
17024 2012-05-01  Roland McGrath  <roland@hack.frob.com>
17026         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17027         output to the target.
17029         * scripts/localplt.awk: New file.
17030         * elf/Makefile ($(objpfx)check-localplt): Target removed.
17031         (check-localplt-CFLAGS): Variable removed.
17032         ($(all-built-dso:=.jmprel)): New static pattern rule.
17033         (generated): Add those targets.
17034         (localplt-built-dso): New variable.
17035         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17037         * elf/check-localplt.c: File removed.
17039         * scripts/check-execstack.awk: New file.
17040         * elf/Makefile ($(objpfx)check-execstack): Target removed.
17041         (check-execstack-CFLAGS): Variable removed.
17042         ($(objpfx)check-execstack.h): Target removed.
17043         ($(objpfx)execstack-default): New target.
17044         (generated): Add that instead of check-execstack.h.
17045         ($(all-built-dso:=.phdr)): New static pattern rule.
17046         (generated): Add those targets.
17047         * elf/check-execstack.c: File removed.
17049         * scripts/check-textrel.awk: New file.
17050         * elf/Makefile ($(objpfx)check-textrel): Target removed.
17051         (check-textrel-CFLAGS): Variable removed.
17052         (all-built-dso): Use := to define.o
17053         ($(all-built-dso:=.dyn)): New static pattern rule.
17054         (generated): Add those targets.
17055         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17056         * config.make.in (READELF): New substituted variable.
17057         * elf/check-textrel.c: File removed.
17059 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
17061         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17062         allow.
17063         * conform/data/ctype.h-data [C99-based standards] (isblank):
17064         Expect function.
17065         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17066         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17068         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17069         Specify type.  Require positive value.
17070         (EILSEQ): Likewise.
17071         (ERANGE): Likewise.
17072         [ISO || POSIX] (EILSEQ): Do not expect.
17073         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17074         Specify type.  Require positive value.
17075         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17076         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17077         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17078         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17079         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17080         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17081         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17082         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17083         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17084         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17085         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17086         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17087         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17088         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17089         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17090         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17091         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17092         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17093         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17094         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17095         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17096         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17097         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17098         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17099         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17100         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17101         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17102         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17103         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17104         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17105         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17106         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17107         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17108         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17109         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17110         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17111         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17112         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17113         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17114         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17115         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17116         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17117         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17118         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17119         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17120         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17121         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17122         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17123         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17124         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17125         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17126         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17127         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17128         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17129         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17130         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17131         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17132         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17133         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17134         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17135         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17136         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17137         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17138         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17139         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17140         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17141         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17142         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17143         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17144         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17145         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17146         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17147         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17148         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17149         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17150         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17151         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17152         Require >= 2.
17153         (FLT_ROUNDS): Expect as macro, not constant.
17154         (FLT_MANT_DIG): Use macro-int-constant.
17155         (DBL_MANT_DIG): Likewise.
17156         (LDBL_MANT_DIG): Likewise.
17157         (FLT_DIG): Likewise.
17158         (DBL_DIG): Likewise.
17159         (LDBL_DIG): Likewise.
17160         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
17161         (DBL_MIN_EXP): Likewise.
17162         (LDBL_MIN_EXP): Likewise.
17163         (FLT_MAX_EXP): Use macro-int-constant.
17164         (DBL_MAX_EXP): Likewise.
17165         (LDBL_MAX_EXP): Likewise.
17166         (FLT_MAX_10_EXP): Likewise.
17167         (DBL_MAX_10_EXP): Likewise.
17168         (LDBL_MAX_10_EXP): Likewise.
17169         (FLT_MAX): Use macro-constant.
17170         (DBL_MAX): Likewise.
17171         (LDBL_MAX): Likewise.
17172         (FLT_EPSILON): Use macro-constant.  Give upper bound.
17173         (DBL_EPSILON): Likewise.
17174         (LDBL_EPSILON): Likewise.
17175         (FLT_MIN): Likewise.
17176         (DBL_MIN): Likewise.
17177         (LDBL_MIN): Likewise.
17178         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17179         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17180         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17181         [ISO11] (FLT_HAS_SUBNORM): Likewise.
17182         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17183         [ISO11] (DBL_DECIMAL_DIG): Likewise.
17184         [ISO11] (FLT_DECIMAL_DIG): Likewise.
17185         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17186         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17187         [ISO11] (FLT_TRUE_MIN): Likewise.
17188         [ISO11] (LDBL_TRUE_MIN): Likewise.
17189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17190         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17191         (SCHAR_MIN): Use macro-int-constant.  Specify type.
17192         (SCHAR_MAX): Likewise.
17193         (UCHAR_MAX): Likewise.
17194         (CHAR_MIN): Likewise.
17195         (CHAR_MAX): Likewise.
17196         (MB_LEN_MAX): Use macro-int-constant.
17197         (SHRT_MIN): Use macro-int-constant.  Specify type.
17198         (SHRT_MAX): Likewise.
17199         (USHRT_MAX): Likewise.
17200         (INT_MAX): Likewise.
17201         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
17202         bound negative.
17203         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17204         bound with "U".
17205         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17206         bound with "L".
17207         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
17208         bound negative.  Suffix upper bound with "L".
17209         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17210         bound with "UL".
17211         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17212         Specify type.
17213         [C99-based standards] (LLONG_MAX): Likewise.
17214         [C99-based standards] (ULLONG_MAX): Likewise.
17215         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
17216         == 0.
17217         [ISO11] (max_align_t): Require type.
17218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17220         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17221         from $CFLAGS, without defining away __attribute__ calls.
17222         (checknamespace): Use $CFLAGS_namespace.
17224         * conform/conformtest.pl (@keywords): Only include C99 keywords
17225         for standards based on C99 or C11.
17227         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17228         Disable tests.
17229         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17230         UNIX98]: Likewise.
17232         * conform/conformtest.pl: Handle "macro-int-constant" and test for
17233         usability of symbols in #if.
17235         * conform/conformtest.pl: If macro or constant types start
17236         "promoted:", expect the symbol to be of the following type
17237         promoted by the integer promotions.
17239         * conform/conformtest.pl: Parse all "constant" and "macro" lines
17240         in one place.  Also handle "macro-constant".
17242         * conform/conformtest.pl: Only accept expected macro values with
17243         "==".  Parse all "macro" lines in one place.
17244         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17246         * conform/conformtest.pl: Handle braced types on "constant" lines
17247         instead of handling "typed-constant".
17248         * conform/data/signal.h-data: Use "constant" instead of
17249         "typed-constant".
17251         * conform/conformtest.pl: Handle "optional-" at start of lines in
17252         one place rather than duplicating several cases.  Handle each
17253         format of "macro" line with initial "optional-".
17255         * conform/conformtest.pl: Only accept expected constant or
17256         optional-constant values with "==".  Parse all "constant" lines in
17257         one place.  Parse all "optional-constant" lines in one place.
17258         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17259         * conform/data/fmtmsg.h-data: Likewise.
17260         * conform/data/netinet/in.h-data: Likewise.
17261         * conform/data/tar.h-data: Likewise.
17262         * conform/data/limits.h-data: Use "==" form on "constant" and
17263         "optional-constant" lines.
17265         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17266         Use -std=c99 for XOPEN2K.
17267         (@knownproblems): Remove.
17268         (newtoken): Don't check %isknown.
17270         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17271         Do not expect macro.
17272         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17273         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17274         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17275         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17276         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17277         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17278         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17279         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17280         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17281         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17282         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17283         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17284         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17285         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17286         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17287         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17288         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17289         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17290         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17291         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17292         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17293         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17294         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17295         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17296         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17297         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17298         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17299         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17300         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17301         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17302         [XPG3] (acosh): Likewise.
17303         [XPG3] (asinh): Likewise.
17304         [XPG3] (atanh): Likewise.
17305         [XPG3] (cbrt): Likewise.
17306         [XPG3] (expm1): Likewise.
17307         [XPG3] (ilogb): Likewise.
17308         [XPG3] (log1p): Likewise.
17309         [XPG3] (logb): Likewise.
17310         [XPG3] (nextafter): Likewise.
17311         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17312         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17313         [XPG3] (remainder): Likewise.
17314         [XPG3] (rint): Likewise.
17315         [XPG3 || XPG4 || UNIX98] (round): Likewise.
17316         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17317         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17318         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17319         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17320         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17321         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17322         [UNIX98 || XOPEN2K] (scalb): Expect.
17323         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17324         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17325         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17326         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17327         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17328         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17329         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17330         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17331         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17332         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17333         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17334         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17335         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17336         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17337         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17338         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17339         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17340         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17341         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17342         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17343         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17344         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17345         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17346         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17347         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17348         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17349         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17350         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17351         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17352         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17353         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17354         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17355         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17356         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17357         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17358         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17359         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17360         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17361         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17362         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17363         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17364         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17365         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17366         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17367         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17368         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17369         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17370         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17371         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17372         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17373         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17374         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17375         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17376         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17377         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17378         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17379         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17380         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17381         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17382         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17383         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17384         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17385         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17386         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17387         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17388         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17389         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17390         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17391         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17392         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17393         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17394         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17395         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17396         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17397         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17398         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17399         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17400         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17401         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17402         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17403         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17404         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17405         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17406         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17407         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17408         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17409         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17410         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17411         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17412         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17413         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17414         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17415         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17416         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17417         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17418         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17419         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17420         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17421         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17422         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17423         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17424         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17425         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17426         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17427         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17428         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17429         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17430         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17431         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17432         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17433         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17434         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17435         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17436         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17437         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17438         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17439         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17440         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17441         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17442         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17443         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17444         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17445         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17446         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17447         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17448         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17449         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17450         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17451         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17452         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17453         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17454         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17455         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17456         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17457         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17458         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17459         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17461         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17462         _XOPEN_SOURCE_EXTENDED for XPG4.
17464         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17466         * Makeconfig (localtime): Remove variable.
17467         (inst_localtime-file): Likewise.
17469 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17472         Update.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17474         Update.
17475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17476         Update.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17478         Update.
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17480         Update.
17481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17482         Update.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17484         Update.
17485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17486         Update.
17487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17488         Update.
17490 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
17492         [BZ #2550]
17493         [BZ #2570]
17494         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17495         comparisons to determine direction to adjust input.
17496         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17497         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17498         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17499         Likewise.
17500         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17501         Likewise.
17502         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17503         Likewise.
17504         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17506         Likewise.
17507         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17508         Likewise.
17509         * math/libm-test.inc (nexttoward_test): Add more tests.
17511 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17513         [BZ #14040]
17514         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17515         in version GLIBC_2.1, not GLIBC_2.0.
17516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17517         Likewise.
17519 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
17521         [BZ #13942]
17522         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17523         (1 - x) * (1 + x).
17524         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17525         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17526         * math/libm-test.inc (acos_test): Add more tests.
17527         (asin_test): Likewise.
17528         * sysdeps/i386/fpu/libm-test-ulps: Update.
17529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17531         [BZ #14034]
17532         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17533         of square root.
17534         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17535         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17536         * math/libm-test.inc (acos_test_tonearest): New function.
17537         (acos_test_towardzero): Likewise.
17538         (acos_test_downward): Likewise.
17539         (acos_test_upward): Likewise.
17540         (asin_test_tonearest): Likewise.
17541         (asin_test_towardzero): Likewise.
17542         (asin_test_downward): Likewise.
17543         (asin_test_upward): Likewise.
17544         (main): Call the new functions.
17545         * sysdeps/i386/fpu/libm-test-ulps: Update.
17546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17548         [BZ #13884]
17549         [BZ #13924]
17550         * math/e_exp10.c: Include <float.h>.
17551         (__ieee754_exp10): Handle underflow here rather than multiplying
17552         large negative argument by M_LN10.
17553         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17554         of __ieee754_expf.
17555         * math/e_exp10l.c: Include <float.h>.
17556         (__ieee754_exp10l): Handle underflow here rather than multiplying
17557         large negative argument by M_LN10l.
17558         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
17559         spurious overflow exception on underflow.
17561 2012-04-29  Marek Polacek  <polacek@redhat.com>
17563         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17564         (__fortify_function): New macro.
17565         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17566         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17567         __extern_always_inline.
17568         * libio/bits/stdio2.h: Likewise.
17569         * libio/bits/stdio.h: Likewise.
17570         * string/string.h: Likewise.
17571         * string/bits/string3.h: Likewise.
17572         * include/stdio.h: Likewise.
17573         * stdlib/bits/stdlib.h: Likewise.
17574         * stdlib/stdlib.h: Likewise.
17575         * rt/bits/mqueue2.h: Likewise.
17576         * rt/mqueue.h: Likewise.
17577         * posix/bits/unistd.h: Likewise.
17578         * posix/unistd.h: Likewise.
17579         * io/bits/poll2.h: Likewise.
17580         * io/bits/fcntl2.h: Likewise.
17581         * io/fcntl.h: Likewise.
17582         * io/sys/poll.h: Likewise.
17583         * misc/bits/syslog.h: Likewise.
17584         * misc/bits/syslog-ldbl.h: Likewise.
17585         * misc/sys/syslog.h: Likewise.
17586         * socket/bits/socket2.h: Likewise.
17587         * socket/sys/socket.h: Likewise.
17588         * debug/tst-chk1.c: Likewise.
17589         * wcsmbs/bits/wchar2.h: Likewise.
17590         * wcsmbs/bits/wchar-ldbl.h: Likewise.
17591         * wcsmbs/wchar.h: Likewise.
17593 2012-04-29  Andreas Jaeger  <aj@suse.de>
17595         * Makerules (tests): Remove enable-check-abi protection.
17596         (check-abi-warn): Remove.
17597         (check-abi-%): Remove check-abi-warn usage.
17599         * configure.in: Remove check-abi configure option.
17600         * configure: Regenerated.
17601         * config.make.in (enable-check-abi): Remove.
17603 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
17605         [BZ #14033]
17606         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17607         double functions to double *_finite functions.
17609         [BZ #13941]
17610         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17611         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17612         LDBL_MIN_EXP.
17613         * stdio-common/Makefile (tests): Add tst-sprintf3.
17614         * stdio-common/tst-sprintf3.c: New file.
17616         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17617         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17619 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
17621         * conform/conformtest.pl: Remove duplicate typed-constant
17622         handling.
17624 2012-04-28  David S. Miller  <davem@davemloft.net>
17626         * Makerules (%.abilist): Add vpath on sysdep_dirs.
17627         (check-abi-%): Remove AWK script prerequisite and explicit
17628         abilist directory.
17629         (check-abi): Rewrite to just diff the symlist with the abilist.
17630         (config-tls, config-abi-config): Delete, no longer used.
17631         (update-abi-%): Remove AWK script and explicit abilist directory.
17632         (update-abi): Rewrite to simply compare and conditionally copy the
17633         symlist and the sysdep abilist file.  Remove update-abi-config
17634         checks.
17635         * abilist/ld.abilist: Remove.
17636         * abilist/libBrokenLocale.abilist: Remove.
17637         * abilist/libanl.abilist: Remove.
17638         * abilist/libcrypt.abilist: Remove.
17639         * abilist/libdl.abilist: Remove.
17640         * abilist/librt.abilist: Remove.
17641         * abilist/libthread_db.abilist: Remove.
17642         * abilist/libutil.abilist: Remove.
17643         * scripts/extract-abilist.awk: Remove.
17644         * scripts/merge-abilist.awk: Remove.
17645         * sysdeps/generic/libcidn.abilist: New file.
17646         * sysdeps/generic/libnss_compat.abilist: New file.
17647         * sysdeps/generic/libnss_db.abilist: New file.
17648         * sysdeps/generic/libnss_dns.abilist: New file.
17649         * sysdeps/generic/libnss_files.abilist: New file.
17650         * sysdeps/generic/libnss_hesiod.abilist: New file.
17651         * sysdeps/generic/libnss_nis.abilist: New file.
17652         * sysdeps/generic/libnss_nisplus.abilist: New file.
17653         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17654         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17655         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17656         file.
17657         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17658         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17659         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17660         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17661         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17662         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17663         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17664         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17665         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17666         file.
17667         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17668         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17669         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17670         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17671         file.
17672         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17673         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17674         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17675         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17676         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17677         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17678         file.
17679         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17680         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17681         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17682         file.
17683         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17685         New file.
17686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17687         New file.
17688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17689         New file.
17690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17691         New file.
17692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17693         New file.
17694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17695         New file.
17696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17697         New file.
17698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17699         New file.
17700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17701         New file.
17702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17703         New file.
17704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17705         New file.
17706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17707         New file.
17708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17709         New file.
17710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17711         file.
17712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17713         New file.
17714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17715         New file.
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17717         file.
17718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17719         New file.
17720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17721         New file.
17722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17723         file.
17724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17725         New file.
17726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17727         New file.
17728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17729         New file.
17730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17731         New file.
17732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17733         New file.
17734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17735         New file.
17736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17738         file.
17739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17740         New file.
17741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17742         file.
17743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17744         file.
17745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17746         file.
17747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17748         file.
17749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17750         file.
17751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17752         New file.
17753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17754         file.
17755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17756         file.
17757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17758         New file.
17759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17760         file.
17761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17763         file.
17764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17765         New file.
17766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17767         file.
17768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17769         file.
17770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17771         file.
17772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17773         file.
17774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17775         file.
17776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17777         New file.
17778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17779         file.
17780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17781         file.
17782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17783         New file.
17784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17785         file.
17786         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17787         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17788         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17789         file.
17790         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17791         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17792         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17793         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17794         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17795         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17796         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17797         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17798         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17799         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17802         file.
17803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17804         New file.
17805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17806         file.
17807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17808         file.
17809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17810         file.
17811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17812         file.
17813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17814         file.
17815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17816         New file.
17817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17818         New file.
17819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17820         file.
17821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17822         New file.
17823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17824         file.
17825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17827         file.
17828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17829         New file.
17830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17831         file.
17832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17833         file.
17834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17835         file.
17836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17837         file.
17838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17839         file.
17840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17841         New file.
17842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17843         New file.
17844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17845         file.
17846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17847         New file.
17848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17849         file.
17851 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
17853         * conform/conformtest.pl: Fix typo in handling typed-constant from
17854         allow-header.
17856 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
17858         * README: Cut down references to pre-2.6 Linux kernels and
17859         Linuxthreads.  Update lists of configurations in libc and ports
17860         and sort alphabetically.  Say "or newer" with Linux kernel version
17861         requirements.
17863         * config.h.in [IS_IN_build]: Allow compiling without optimization.
17865 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17867         [BZ #887]
17868         * math/libm-test.inc (logb_test_downward): New test to expose
17869         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17870         rounding mode.
17872 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
17874         [BZ #14027]
17875         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17876         to be done.
17877         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17878         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17880 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
17882         * sysdeps/unix/i386/brk.S: Remove file.
17883         * sysdeps/unix/i386/dl-brk.S: Likewise.
17884         * sysdeps/unix/i386/pipe.S: Likewise.
17885         * sysdeps/unix/i386/sigreturn.S: Likewise.
17886         * sysdeps/unix/i386/syscall.S: Likewise.
17887         * sysdeps/unix/i386/vfork.S: Likewise.
17888         * sysdeps/unix/i386/wait.S: Likewise.
17890         * sysdeps/unix/common/tcsendbrk.c: Move to ...
17891         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17893         * configure.in (arm*-none*): Do not allow without
17894         --enable-hacker-mode.
17895         (netbsd*): Remove case setting base_os.
17896         (386bsd*): Likewise.
17897         (freebsd*): Likewise.
17898         (bsdi*): Likewise.
17899         (osf*): Likewise.
17900         (sunos*): Likewise.
17901         (ultrix*): Likewise.
17902         (newsos*): Likewise.
17903         (dynix*): Likewise.
17904         (*bsd*): Likewise.
17905         (sysv*): Likewise.
17906         (isc*): Likewise.
17907         (esix*): Likewise.
17908         (sco*): Likewise.
17909         (minix*): Likewise.
17910         (irix4*): Likewise.
17911         (irix6*): Likewise.
17912         (solaris[2-9]*): Likewise.
17913         (none): Likewise.
17914         * configure: Regenerated.
17916 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17918         [BZ #11521]
17919         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17920         overflow or cancellation in calculating denominator.
17921         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17923         down expression to avoid unexpected rounding in newer GCCs.
17924         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17926 2012-04-26  David S. Miller  <davem@davemloft.net>
17928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17929         long-double compat symbols.
17930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17944 2012-04-25  David S. Miller  <davem@davemloft.net>
17946         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17947         HWCAP_* values only after the memory barriers have been defined.
17948         (atomic_full_barrier): Define.
17949         (atomic_read_barrier): Define.
17950         (atomic_write_barrier): Define.
17952 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17954         * shlib-versions: Add libgcc_s version information.
17955         * sysdeps/generic/libgcc_s.h: Remove.
17956         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17957         libgcc_s.h.
17958         * sysdeps/gnu/unwind-resume.c: Likewise.
17959         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17961 2012-04-25  David S. Miller  <davem@davemloft.net>
17963         * sysdeps/unix/sparc/brk.S: Delete.
17964         * sysdeps/unix/sparc/dl-brk.S: Delete.
17965         * sysdeps/unix/sparc/pipe.S: Delete.
17966         * sysdeps/unix/sparc/sysdep.S: Delete.
17967         * sysdeps/unix/sparc/sysdep.h: Delete.
17968         * sysdeps/unix/sparc/vfork.S: Delete.
17969         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17970         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17971         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17972         ret_ERRVAL, r0, r1, MOVE): Define.
17973         (JUMPTARGET): Remove.
17974         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17975         sysdeps/unix/sparc/sysdep.h
17976         (ENTRY, END): Remove.
17977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17979 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
17981         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17982         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17983         -DIS_IN_build.
17985         * timezone/README: Update upstream location and email address for
17986         tzcode and tzdata.
17987         * timezone/zdump.c: Update from tzcode 2012b.
17988         * timezone/zic.c: Likewise.
17990         * configure.in (libc_cv_as_needed): Remove test.
17991         * configure: Regenerated.
17992         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17993         conditional definition.
17994         [$(have-as-needed) != yes] (no-as-needed): Likewise.
17995         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17996         * config.make.in (have-as-needed): Remove variable.
17998 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17999             Paul Pluzhnikov  <ppluzhnikov@google.com>
18001         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18002         strings correctly.
18004 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18006         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18007         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18008         * sysdeps/sh/strlen.S: Likewise.
18010 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18012         * sysdeps/unix/fork.S: Remove file.
18013         * sysdeps/unix/i386/fork.S: Likewise.
18014         * sysdeps/unix/sparc/fork.S: Likewise.
18016         * sysdeps/unix/system.c: Remove file.
18017         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18019         * sysdeps/unix/getegid.S: Remove file.
18020         * sysdeps/unix/geteuid.S: Likewise.
18022 2012-04-24  Roland McGrath  <roland@hack.frob.com>
18024         * scripts/check-localplt.awk: New file.
18025         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18026         of diff.
18027         * scripts/data/localplt-generic.data: Add a comment.
18029         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18030         NODE when __dir_mkfile failed.
18031         * sysdeps/mach/hurd/symlinkat.c: Likewise.
18032         Reported by Ludovic Courtès <ludo@gnu.org>.
18034 2012-04-24  Andreas Jaeger  <aj@suse.de>
18036         * Makerules (common-clean): Also remove gen-as-const-headers
18037         files.
18039 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18041         * Makerules (native-compile): Do not change working directory for
18042         build.  Use $(OUTPUT_OPTION) in command.
18043         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18045 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18047         [BZ #13886]
18048         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18049         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18050         * math/libm-test.inc (floor_test): Add more tests.
18051         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18053 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18055         * sysdeps/unix/getdents.c: Remove file.
18056         * sysdeps/unix/sysv/getdents.c: Likewise.
18057         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18059         * sysdeps/unix/syscalls.list (madvise): Add syscall from
18060         sysdeps/unix/mman/syscalls.list.
18061         (mmap): Likewise.
18062         (mprotect): Likewise.
18063         (msync): Likewise.
18064         (munmap): Likewise.
18065         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18066         * sysdeps/unix/mman/syscalls.list: Remove.
18067         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18069         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18070         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18071         * configure: Regenerated.
18072         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18073         $(libgcc_s_suffix).
18074         * config.make.in (libgcc_s_suffix): Remove variable.
18076 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
18078         * sysdeps/unix/sysv/gethostname.c: Move to ...
18079         * sysdeps/posix/gethostname.c: ... here.
18081         * sysdeps/unix/execve.S: Remove file.
18083         * sysdeps/unix/_exit.S: Remove file.
18085 2012-04-23  Andreas Jaeger  <aj@suse.de>
18087         [BZ #13739]
18088         * manual/Makefile: Remove make dist support, there's no
18089         need for a stand-alone documentation tar ball.
18090         (TEXI2DVI): Define always, it's not in Makeconfig.
18091         (dist): Removed.
18092         (tar-it): Removed.
18093         (edition): Removed.
18094         (glibc-doc-$(edition).tar): Removed
18095         (%.Z): Removed.
18096         (%.gz): Removed.
18097         (%.uu): Removed.
18098         (ETAGS): Remove, it's in Makeconfig.
18099         (move-if-change): Remove, it's in Makeconfig.
18101 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
18103         [BZ #13970]
18104         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18105         (strtod, strtof, strtold, strtol, strtoul, strtoq)
18106         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18107         (strtod_l, strtof_l, strtold_l): Remove __wur.
18108         It is not necessarily an error to ignore strtol's return value.
18109         One can reliably look at the stored endptr to decide whether
18110         the number had valid syntax.
18112 2012-04-21  Andreas Jaeger  <aj@suse.de>
18114         [BZ #13739]
18115         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18117 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
18119         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18120         * sysdeps/unix/sysv/Versions: Remove file.
18122 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
18124         [BZ #13927]
18125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18127 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
18129         [BZ #7064]
18130         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18131         version from __vm86.
18133 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
18135         * sysdeps/unix/common/lxstat.c: Remove file.
18136         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18138         * sysdeps/unix/sysv/Makefile: Remove file.
18140         * sysdeps/unix/sysv/direct.h: Remove file.
18142         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18143         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18144         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18145         * sysdeps/unix/sysv/bits/signum.h: Likewise.
18146         * sysdeps/unix/sysv/bits/stat.h: Likewise.
18147         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18148         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18150         * sysdeps/unix/sysv/setrlimit.c: Remove file.
18152         * sysdeps/unix/xmknod.c: Remove file.
18153         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18155         * sysdeps/unix/sysv/settimeofday.c: Remove file.
18157         * sysdeps/unix/sysv/i386/time.S: Remove file.
18159         * sysdeps/unix/fxstat.c: Remove file.
18160         * sysdeps/unix/xstat.c: Likewise.
18161         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18163         * sysdeps/unix/sysv/sigaction.c: Remove file.
18165         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18166         (sysdep_headers): Remove variable.
18167         [termio.h not in sysdep_headers] (generated): Likewise.
18168         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18169         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18170         * sysdeps/unix/sysv/tcdrain.c: Likewise.
18171         * sysdeps/unix/sysv/tcflow.c: Likewise.
18172         * sysdeps/unix/sysv/tcflush.c: Likewise.
18173         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18174         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18175         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18176         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18177         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18179         * sysdeps/unix/siglist.c: Remove file.
18181         * sysdeps/unix/getppid.S: Remove file.
18183         * sysdeps/unix/mkdir.c: Remove file.
18184         * sysdeps/unix/rmdir.c: Likewise.
18186 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
18188         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18189         ERR_MAX value.
18190         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18191         errlist-compat value.
18193 2012-04-18  David S. Miller  <davem@davemloft.net>
18195         * sysdeps/generic/memcopy.h (reg_char): Delete.
18196         * debug/strcat_chk.c: Use char, not reg_char.
18197         * debug/strcpy_chk.c: Likewise.
18198         * debug/strncat_chk.c: Likewise.
18199         * debug/strncpy_chk.c: Likewise.
18200         * string/memchr.c: Likewise.
18201         * string/memrchr.c: Likewise.
18202         * string/rawmemchr.c: Likewise.
18203         * string/strcat.c: Likewise.
18204         * string/strchr.c: Likewise.
18205         * string/strchrnul.c: Likewise.
18206         * string/strcmp.c: Likewise.
18207         * string/strcpy.c: Likewise.
18208         * string/strncat.c: Likewise.
18209         * string/strncmp.c: Likewise.
18210         * string/strncpy.c: Likewise.
18212 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18214         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18215         __builtin_memcopy is called when src and dest ranges are known to not
18216         overlap.
18218 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18220         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18221         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18222         fwd_align_merge macro call.
18223         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18224         bwd_align_merge macro call.
18225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18227 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18229         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18230         bwd_align_merge macros.
18231         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18232         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18233         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18235 2012-04-18  David S. Miller  <davem@davemloft.net>
18237         * sysdeps/sparc/sparc64/memcopy.h: Delete.
18239 2012-04-18  Andreas Jaeger  <aj@suse.de>
18241         [BZ# 6794]
18242         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18243         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18244         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18246         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18247         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18248         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18250         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18251         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18252         Adjust for changed ldbl-128 files.
18254         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18255         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18256         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18258 2012-04-17  David S. Miller  <davem@davemloft.net>
18260         * sysdeps/sparc/sparc32/memcopy.h: Delete.
18262 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
18264         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18265         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18266         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18267         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18268         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18269         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18271 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18273         [BZ #6794]
18274         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18275         * math/libm-test.inc: Add ilogb errno and exception tests.
18276         * math/w_ilogb.c: New file: ilogb wrapper.
18277         * math/w_ilogbf.c: New file: ilogbf wrapper.
18278         * math/w_ilogbl.c: New file: ilogbl wrapper.
18279         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18280         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18281         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18282         exception being thrown with 0.0 as argument.
18283         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18284         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18285         exception being thrown with 0.0 as argument.
18286         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18287         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18288         exception being thrown with 0.0 as argument.
18289         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18290         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18291         exception being thrown with 0.0 as argument.
18292         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18293         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18294         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18295         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18296         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18297         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18298         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18299         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18300         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18302 2012-04-17  Petr Baudis  <pasky@ucw.cz>
18304         * include/sys/uio.h: Change __vector to __iovec to avoid clash
18305         with altivec.
18307 2012-04-16  Marek Polacek  <polacek@redhat.com>
18309         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18311 2012-04-16  Marek Polacek  <polacek@redhat.com>
18313         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18314         operands of fdivp instruction.
18316 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
18318         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18319         * elf/tst-auditmod3b.c: Likewise.
18320         * elf/tst-auditmod4b.c: Likewise.
18321         * elf/tst-auditmod5b.c: Likewise.
18322         * elf/tst-auditmod6b.c: Likewise.
18323         * elf/tst-auditmod6c.c: Likewise.
18324         * elf/tst-auditmod7b.c: Likewise.
18325         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18326         * sysdeps/x86_64/preconfigure.in: Likewise.
18327         * sysdeps/x86_64/preconfigure: Regenerated.
18329 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
18331         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18332         __ILP32__.
18334 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
18336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18337         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18339 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
18341         [BZ #13973]
18342         * locale/iso-639.def: Fix gl language name. Spotted by
18343         Yaron Shahrabani.
18345 2012-04-12  Roland McGrath  <roland@hack.frob.com>
18347         [BZ #2074]
18348         * libio/libio.h (__io_write_fn): Update comment.
18350 2012-04-12  Petr Baudis  <pasky@ucw.cz>
18352         [BZ #2074]
18353         * stdio.texi (Hook Functions): The user provided writer function
18354         is not allowed to return -1.
18356 2012-04-11  David S. Miller  <davem@davemloft.net>
18358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18360 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
18362         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18363         Add a leading slash to rtkaio.
18365 2012-04-11  Jim Meyering  <meyering@redhat.com>
18367         [BZ #11959]
18368         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18369         It is not necessarily an error to ignore fwrite's return
18370         value.  One can reliably use ferror to test for errors after
18371         the fact.
18373 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
18375         * bits/types.h (__snseconds_t): New type.
18376         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18378         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18379         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18380         (__SNSECONDS_T_TYPE): Likewise.
18381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18382         (__SNSECONDS_T_TYPE): Likewise.
18383         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18384         (__SNSECONDS_T_TYPE): Likewise.
18386 2012-04-10  Andreas Jaeger  <aj@suse.de>
18388         [BZ #2636]
18389         * manual/time.texi (Processor Time): Return type of times is
18390         elapsed real time since an arbitrary point in the past.
18391         (CPU Time): Move CLK_TCK from here...
18392         (Processor Time): ...to here.  Correct description.
18393         * manual/conf.texi (Constants for Sysconf): Correct description of
18394         _SC_CLK_TCK.
18396 2012-04-10  David S. Miller  <davem@davemloft.net>
18398         [BZ #13967]
18399         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18400         where the is a gap between DT_REL(A) and DT_JMPREL.
18402 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
18404         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18405         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18406         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18408 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18410         * elf/dl-support.c (_dl_inhibit_cache): New variable.
18411         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18412         (dl_main): Handle --inhibit-cache.
18413         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18414         _dl_inhibit_cache.
18415         * elf/dl-load.c (_dl_map_object): Use it.
18416         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18418 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
18420         [BZ #13872]
18421         * sysdeps/i386/fpu/e_powl.S (p78): New object.
18422         (__ieee754_powl): Saturate large exponents rather than testing for
18423         overflow of y*log2(x).
18424         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18425         * math/libm-test.inc (pow_test): Do not permit spurious overflow
18426         exceptions.
18428         [BZ #11521]
18429         * math/s_ctan.c: Include <float.h>.
18430         (__ctan): Avoid internal overflow or cancellation in calculating
18431         denominator.
18432         * math/s_ctanf.c: Likewise.
18433         * math/s_ctanl.c: Likewise.
18434         * math/s_ctanh.c: Likewise.
18435         * math/s_ctanhf.c: Likewise.
18436         * math/s_ctanhl.c: Likewise.
18437         * math/libm-test.inc (ctan_test): Add more tests.
18438         (ctanh_test): Likewise.
18439         * sysdeps/i386/fpu/libm-test-ulps: Update.
18440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18442 2012-04-09  Andreas Jaeger  <aj@suse.de>
18444         [BZ #6894]
18445         * manual/filesys.texi (Directory Entries): Mention that d_namlen
18446         is an optional BSD extension.
18448         [BZ #10254]
18449         * manual/stdio.texi (Opening Streams): Document additional fopen
18450         parameters.
18452 2012-04-09  Roland McGrath  <roland@hack.frob.com>
18454         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18455         %eax without telling the compiler.
18457 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
18459         [BZ # 13963]
18460         * manual/install.texi: Use sourceware.org.
18462 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
18464         [BZ #13873]
18465         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18466         (__ieee754_pow): Generate overflow and underflow using huge*huge
18467         and tiny*tiny rather than just returning constant infinity or zero
18468         for large exponents.
18469         * math/libm-test.inc (pow_test): Require overflow exceptions for
18470         applicable cases of large exponents.
18472         [BZ #706]
18473         * sysdeps/i386/fpu/e_pow.S (p10): New object.
18474         (__ieee754_pow): Use iterative multiplication algorithm only for
18475         integer exponents with absolute value below 1024.  Check for odd
18476         integer exponents when using algorithm for real exponents.
18477         * math/libm-test.inc (pow_test): Add more tests.
18478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18480 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
18482         [BZ #13705]
18483         * math/libm-test.inc (exp_test): Do not allow overflow exception
18484         on underflow test.
18486 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
18488         [BZ #13705]
18489         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18490         instead of __kernel_standard_f.
18492 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
18494         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18495         * sysdeps/x86_64/memset_chk.S: Likewise.
18497 2012-04-08  Andreas Jaeger  <aj@suse.de>
18499         [BZ #10153]
18500         * manual/startup.texi (Environment Access): Describe return value
18501         for putenv and setenv.
18503         [BZ #6895]
18504         * manual/filesys.texi (Directory Entries): Add description for
18505         DT_LNK.
18507         [BZ #6890]
18508         * manual/filesys.texi (Directory Entries): Clarify that it's file
18509         system not operating system in the description of DT_UNKNOWN.
18511         [BZ #6578]
18512         * manual/syslog.texi (closelog): Fix reference, it's openlog.
18514 2012-04-08  Stephen Compall  <s11@member.fsf.org>
18516         [BZ #6649]
18517         * manual/llio.texi (Opening and Closing Files): Add cross
18518         reference to explain mode argument.
18520 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
18522         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18523         * sysdeps/x86_64/memset_chk.S: Likewise.
18525 2012-04-07  David S. Miller  <davem@davemloft.net>
18527         * elf/elf.h (R_SPARC_WDISP10): Define.
18528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18529         R_SPARC_SIZE32.
18530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18531         R_SPARC_SIZE64 and R_SPARC_H34.
18533 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
18535         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18536         conditions and remove no longer applicable assertion.
18538 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
18540         * bits/byteswap.h: Include <features.h>.
18541         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18542         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18544 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
18546         * bits/byteswap.h (__bswap_16): Removed.
18547         Include <bits/byteswap-16.h> to get __bswap_16.
18548         * sysdeps/i386/bits/byteswap.h: Likewise.
18549         * sysdeps/s390/bits/byteswap.h: Likewise.
18550         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18551         * bits/byteswap-16.h: New file.
18552         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18553         * sysdeps/s390/bits/byteswap-16.h: Likewise.
18554         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18555         * string/Makefile (headers): Add bits/byteswap-16.h.
18557 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18559         [BZ #13895]
18560         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18561         extra indirection.
18562         * nss/Makefile (tests-static, tests): Add tst-nss-static.
18563         * nss/tst-nss-static.c: New.
18565 2012-04-06  Robert Millan  <rmh@gnu.org>
18567         [BZ #6486]
18568         * manual/llio.texi (File Position Primitive): lseek
18569         refers to WHENCE when it really means OFFSET.
18571 2012-04-06  Andreas Jaeger  <aj@suse.de>
18573         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18574         strncmp declarations.
18576         * abilist/libc.abilist: Add __poll and __ppoll.
18578 2012-04-05  David S. Miller  <davem@davemloft.net>
18580         * scripts/check-local-headers.sh: Accept a host triplet in the
18581         path matched by the exclude regexp.
18583         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18584         definition.
18585         * sysdeps/powerpc/powerpc32/dl-machine.h
18586         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18587         * sysdeps/s390/s390-32/dl-machine.h
18588         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18589         * sysdeps/sparc/sparc32/dl-machine.h
18590         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18591         * sysdeps/sparc/sparc64/dl-machine.h
18592         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18594         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18595         lazy binding.
18596         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
18597         undefined symbol errors.
18599         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
18600         DT_NEEDED entries.
18602 2012-04-05  Michael Matz  <matz@suse.de>
18604         [BZ #13592]
18605         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18607 2012-04-05  Andreas Jaeger  <aj@suse.de>
18609         [BZ #13908]
18610         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18611         comment.
18613 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18615         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18616         which ROUND is no valid rounding mode.
18618 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18620         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18621         read again.
18622         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18624 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18626         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18627         an exception using FPU order intentionally.
18629 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18631         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18632         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18633         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18634         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18636 2012-04-05  Simon Josefsson  <simon@josefsson.org>
18638         [BZ #12340]
18639         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18640         EINVAL when BUFLEN is too smal.
18642 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18644         [BZ #13553]
18645         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18646         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18648 2012-04-03  Andreas Jaeger  <aj@suse.de>
18650         [BZ #13938]
18651         * manual/setjmp.texi (System V contexts): Fix sentence.
18653         [BZ #13926]
18654         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18655         New macro for this case.
18656         [!__GNUC__] (__bswap_64): New inline function for this case.
18657         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18658         * bits/byteswap.h: Likewise.
18659         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18660         ull, guard with __GLIBC_HAVE_LONG_LONG.
18662         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18663         __GLIBC_HAVE_LONG_LONG.
18665         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18666         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18668 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18670         [BZ #13691]
18671         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18672         inptr and inend, rather than using last_ch.
18674 2012-04-02  David S. Miller  <davem@davemloft.net>
18676         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18677         * stdio-common/printf-parse.h (read_int): Change return type to
18678         'int', return -1 on INT_MAX overflow.
18679         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18680         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
18681         overflows INT_MAX.  Check for overflow of in-format-string precision
18682         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
18683         SIZE_MAX not INT_MAX for integer overflow test.
18684         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18685         skip the construct in the format string but do not record anything.
18686         * stdio-common/bug22.c: Adjust to test both width/prevision
18687         INT_MAX overflow as well as total length INT_MAX overflow.  Check
18688         explicitly for proper errno values.
18690 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18692         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18693         CHAR_MAX.
18694         * string/test-strcmp.c [! WIDE]: Likewise.
18695         * time/tst-mktime2.c: Likewise for INT_MAX.
18696         * string/test-string.h: #include <sys/param.h> for MIN.
18698         * csu/init-first.c (__libc_init_first): Call __ctype_init.
18699         * sysdeps/i386/init-first.c (init): Likewise.
18700         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18701         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18702         * sysdeps/sh/init-first.c (init): Likewise.
18704 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
18706         * po/ru.po: Update from translation team.
18707         * po/vi.po: Likewise.
18709 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18711         * resolv/nss_dns/dns-host.c: Merge copyright years.
18713 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18716         Optimize memcpy with prefetch if
18717         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
18718         src, dst pointers have unequal 16 byte alignments.
18720 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18722         [BZ #13928]
18723         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18724         from a CNAME entry and return the minimum ttl for the query.
18725         (gaih_getanswer_slice): Likewise.
18727 2012-03-30  Jeff Law  <law@redhat.com>
18729         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18730         due to long keys.
18731         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18732         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18734         * resolv/nss_dns/dns-host.c: Update copyright year.
18736 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
18738         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18739         requests to save a system call.  Fix check that all bytes are sent.
18741         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18742         comments for sendmmsg.
18744 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18746         [BZ #13691]
18747         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18748         with only 1 character between 0x0041 and 0x01b0.
18749         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18750         * wcsmbs/tst-mbsnrtowcs.c: New file.
18752 2012-03-29  David S. Miller  <davem@davemloft.net>
18754         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18755         small copies by hand.
18757 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18759         [BZ #13761]
18760         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18761         _nss_compat_initgroups_dyn): Fall back to malloc/free
18762         for large group memberships.
18764 2012-03-28  David S. Miller  <davem@davemloft.net>
18766         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18767         that branches into memcpy.
18768         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18769         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18771         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18773         bits.
18774         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18775         implementation too.
18776         * sysdeps/sparc/mempcpy.S: New file.
18778         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18779         the IFUNC routine in the libc case.
18780         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18782         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18783         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18784         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18785         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18786         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18787         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18788         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18789         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18791         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18792         loop to 256 bytes instead of 64 bytes and fix test signedness.
18794         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18795         * sysdeps/sparc/sparc32/Makefile: rather than here...
18796         * sysdeps/sparc/sparc64/Makefile: and here.
18798 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
18800         * malloc/mallocbug.c: Avoid warnings about unused variables.
18802 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18804         [BZ #13760]
18805         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18806         in the right place. Discard and retry query if response is
18807         larger than input buffer size.
18809 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
18811         [BZ #369]
18812         [BZ #2678]
18813         [BZ #3866]
18814         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18815         x for large integer exponent.
18816         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18817         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
18818         sign of result as needed afterwards.
18819         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18820         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18821         result for underflowing pow the same as for overflow.
18822         (__kernel_standard_l): Handle powl overflow and underflow here
18823         rather than calling __kernel_standard.
18824         * math/libm-test.inc (pow_test): Add more tests.
18826         [BZ #3868]
18827         [BZ #13879]
18828         [BZ #13910]
18829         [BZ #13911]
18830         [BZ #13912]
18831         [BZ #13913]
18832         [BZ #13915]
18833         [BZ #13916]
18834         [BZ #13917]
18835         [BZ #13918]
18836         [BZ #13919]
18837         [BZ #13920]
18838         [BZ #13921]
18839         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18840         * sysdeps/ieee754/k_standard.c: Include <float.h>.
18841         (__kernel_standard_l): New function.
18842         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18843         __kernel_standard.
18844         * math/w_acosl.c (__acosl): Likewise.
18845         * math/w_asinl.c (__asinl): Likewise.
18846         * math/w_atan2l.c (__atan2l): Likewise.
18847         * math/w_atanhl.c (__atanhl): Likewise.
18848         * math/w_coshl.c (__coshl): Likewise.
18849         * math/w_exp10l.c (__exp10l): Likewise.
18850         * math/w_exp2l.c (__exp2l): Likewise.
18851         * math/w_fmodl.c (__fmodl): Likewise.
18852         * math/w_hypotl.c (__hypotl): Likewise.
18853         * math/w_j0l.c (__j0l, __y0l): Likewise.
18854         * math/w_j1l.c (__j1l, __y1l): Likewise.
18855         * math/w_jnl.c (__jnl, __ynl): Likewise.
18856         * math/w_lgammal.c (__lgammal): Likewise.
18857         * math/w_log10l.c (__log10l): Likewise.
18858         * math/w_log2l.c (__log2l): Likewise.
18859         * math/w_logl.c (__logl): Likewise.
18860         * math/w_powl.c (__powl): Likewise.
18861         * math/w_remainderl.c (__remainderl): Likewise.
18862         * math/w_scalbl.c (sysv_scalbl): Likewise.
18863         * math/w_sinhl.c (__sinhl): Likewise.
18864         * math/w_sqrtl.c (__sqrtl): Likewise.
18865         * math/w_tgammal.c (__tgammal): Likewise.
18866         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18867         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18868         * math/libm-test.inc (acos_test): Add more tests.
18869         (acosh_test): Likewise.
18870         (asin_test): Likewise.
18871         (atanh_test): Likewise.
18872         (exp_test): Likewise.
18873         (exp10_test): Likewise.
18874         (exp2_test): Likewise.
18875         (expm1_test): Likewise.
18876         (lgamma_test): Likewise.
18877         (log_test): Likewise.
18878         (log10_test): Likewise.
18879         (log1p_test): Likewise.
18880         (log2_test): Likewise.
18881         (pow_test): Do not allow some spurious overflow exceptions.
18882         (sqrt_test): Add more tests.
18883         (tgamma_test): Likewise.
18884         (y0_test): Likewise.
18885         (y1_test): Likewise.
18886         (yn_test): Likewise.
18888 2012-03-27  Anton Blanchard  <anton@samba.org>
18890         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18891         MAP_HUGETLB.
18892         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18893         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18894         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18896 2012-03-27  David S. Miller  <davem@davemloft.net>
18898         * conform/Makefile: Run run-conformtest.sh using $(BASH).
18900         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18901         have-as-vis3 check.
18903 2012-03-27  Andreas Jaeger  <aj@suse.de>
18905         * sysdeps/x86_64/elf/configure.in: Moved to ...
18906         * sysdeps/x86_64/configure.in: ... here.
18907         * sysdeps/x86_64/elf/start.S: Moved to ...
18908         * sysdeps/x86_64/start.S: ... here.
18909         * sysdeps/x86_64/elf/configure: Delete.
18911         * sysdeps/x86_64/configure.in: Merge contents from
18912         sysdeps/i386/configure.in (without i686 check).
18914         * sysdeps/i386/elf/Versions: Merge into ...
18915         * sysdeps/i386/Versions: ... this.
18916         * sysdeps/i386/elf/Versions: Delete file.
18917         * sysdeps/i386/elf/start.S: Moved to ...
18918         * sysdeps/i386/start.S: ...here.
18919         * sysdeps/i386/elf/configure.in: Merge into...
18920         * sysdeps/i386/configure.in: ...here.
18921         * sysdeps/i386/elf/configure.in: Delete file.
18922         * sysdeps/i386/elf/configure: Delete file.
18924         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18925         * debug/backtracesyms.c: ... here.
18926         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18927         * debug/backtracesymsfd.c: ... here.
18928         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18929         * sysdeps/generic/ifunc-sel.h: ... here.
18931         * sysdeps/unix/i386/start.c: Delete file.
18932         * sysdeps/unix/sparc/start.c: Delete file.
18933         * sysdeps/unix/start.c: Delete file.
18935         * sysdeps/sh/elf/configure.in: Moved to ...
18936         * sysdeps/sh/configure.in: ... here.
18937         * sysdeps/sh/elf/start.S: Moved to ...
18938         * sysdeps/sh/start.S: ... here.
18939         * sysdeps/sh/elf/configure: Delete file.
18941         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18942         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18943         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18944         * sysdeps/powerpc/powerpc64/entry.h: ... here.
18945         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18946         * sysdeps/powerpc/powerpc64/start.S: here.
18947         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18948         * sysdeps/powerpc/powerpc64/Makefile: ... this.
18949         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18950         * sysdeps/powerpc/powerpc64/configure.in: ... this.
18951         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18953         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18954         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18955         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18956         * sysdeps/powerpc/powerpc32/start.S: ... here.
18957         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18958         * sysdeps/powerpc/powerpc32/configure.in: ... this.
18959         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18961         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18962         * sysdeps/powerpc/ifunc-sel.h: ... here.
18963         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18964         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18966         * sysdeps/sparc/elf/configure.in: Moved to ...
18967         * sysdeps/sparc/configure.in: ... here.
18968         * sysdeps/sparc/elf/configure: Delete file.
18969         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18970         * sysdeps/sparc/sparc32/start.S: ... here.
18971         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18972         * sysdeps/sparc/sparc64/start.S: ... here.
18973         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18974         * sysdeps/sparc/sparc32/Makefile: ... this.
18975         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18976         * sysdeps/sparc/sparc64/Makefile: ... this.
18978         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18979         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18980         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18981         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18982         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18983         * sysdeps/s390/s390-32/setjmp.S: ... here.
18984         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18985         * sysdeps/s390/s390-32/configure.in: ... here.
18986         * sysdeps/s390/s390-32/elf/configure: Delete file.
18987         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18988         * sysdeps/s390/s390-32/start.S: ... here.
18990         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18991         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18992         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18993         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18994         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18995         * sysdeps/s390/s390-64/setjmp.S: ... here.
18996         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18997         * sysdeps/s390/s390-64/configure.in: ... here
18998         * sysdeps/s390/s390-64/elf/configure: Delete file.
18999         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19000         * sysdeps/s390/s390-64/start.S: ... here.
19001         * sysdeps/s390/s390-64/elf/configure: Delete.
19003         * configure.in: Remove support for elf directories in sysdeps.
19005         * configure: Regenerated.
19006         * sysdeps/i386/configure: Regenerated.
19007         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19008         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19009         * sysdeps/s390/s390-32/configure: Regenerated.
19010         * sysdeps/s390/s390-64/configure: Regenerated.
19011         * sysdeps/sh/configure: Regenerated.
19012         * sysdeps/sparc/configure: Regenerated.
19013         * sysdeps/x86_64/configure: Regenerated.
19015 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
19017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19020         denormal result into account.
19022 2012-03-25  Roland McGrath  <roland@hack.frob.com>
19024         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19025         Reported by Allan McRae <allan@archlinux.org>.
19027 2012-03-23  Jeff Law  <law@redhat.com>
19029         * nss/getnssent.c (__nss_getent): Fix typo.
19031 2012-03-23  David S. Miller  <davem@davemloft.net>
19033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19035 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
19037         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19038         to pad to uint64_t for each field.
19039         (dl_tls_index): Replace unsigned long with uint64_t.
19041 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
19042         Paul Pluzhnikov  <ppluzhnikov@google.com>
19044         [BZ #6528]
19045         * grp/Makefile (otherlibs): Don't set it.
19046         * inet/Makefile (otherlibs): Likewise.
19047         * login/Makefile (otherlibs): Likewise.
19048         * nscd/Makefile (otherlibs): Likewise.
19049         * posix/Makefile (otherlibs): Likewise.
19050         * pwd/Makefile (otherlibs): Likewise.
19051         * rt/Makefile (otherlibs): Likewise.
19052         * sunrpc/Makefile (otherlibs): Likewise.
19053         * nss/Makefile (otherlibs): Likewise.
19054         Add libnss_files to routines and static-only-routines.
19055         ($(objpfx)getent): Remove rule.
19056         * resolv/Makefile: Add libnss_dns and libresolv to routines and
19057         static-only-routines.
19059 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
19061         [BZ #13892]
19062         * math/s_cexp.c: Include <float.h>.
19063         (__cexp): Handle exp result overflowing not necessarily
19064         overflowing both real and imaginary parts of result.
19065         * math/s_cexpf.c: Likewise.
19066         * math/s_cexpl.c: Likewise.
19067         * math/libm-test.inc (cexp_test): Add more tests.
19068         * sysdeps/i386/fpu/libm-test-ulps: Update.
19069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19071 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19073         * include/link.h (ELFW): New macro.
19074         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19075         Replace ELF64_R_TYPE with ELFW(R_TYPE).
19077 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19079         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19080         with uint64_t.
19082 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19084         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19085         declaration.
19086         (struct La_x32_retval): Likewise.
19088 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19090         * sysdeps/x86_64/preconfigure.in: New file.
19091         * sysdeps/x86_64/preconfigure: New generated file.
19093 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
19095         [BZ #13824]
19096         * math/e_exp2l.c: Include <float.h>.
19097         (__ieee754_exp2l): Handle overflow and underflow cases
19098         separately.  Only pass fractional part of argument to
19099         __ieee754_expl.
19100         * math/libm-test.inc (exp2_test): Add more tests.
19102         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19103         negating x to take absolute value.
19104         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19105         Likewise.
19106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19108         Likewise.
19109         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19110         computing low part if x was negated.
19111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19113 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19115         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19116         la_x32_gnu_pltexit.
19117         (pltexit): Cast int_retval to ptrdiff_t.
19118         * elf/tst-auditmod3b.c: Likewise.
19119         * elf/tst-auditmod4b.c: Likewise.
19120         * elf/tst-auditmod5b.c: Likewise.
19121         * elf/tst-auditmod6b.c: Likewise.
19122         * elf/tst-auditmod6c.c: Likewise.
19123         * elf/tst-auditmod7b.c: Likewise.
19125         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19126         and x32_gnu_pltexit.
19128         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19129         __ELF_NATIVE_CLASS.
19130         (La_x32_regs): New macro.
19131         (La_x32_retval): Likewise.
19132         (la_x32_gnu_pltenter): New function prototype.
19133         (la_x32_gnu_pltexit): Likewise.
19135 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
19137         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19138         exponent.
19140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19142         * configure.in (libc_cv_cc_nofma): Check for option to disable
19143         generation of FMA instructions.
19144         * configure: Regenerate.
19145         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19146         * sysdeps/ieee754/dbl-64/Makefile: New file.
19147         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19148         Remove brandred-fma4.
19149         (CFLAGS-brandred-fma4.c): Remove.
19150         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19151         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19152         define.
19153         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19154         define.
19156 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19158         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19159         LLONG_MAX != LONG_MAX.
19160         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19161         (_fitoa_word): Likewise.
19162         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19163         LLONG_MAX != LONG_MAX.
19164         * stdio-common/_itowa.h: Include <_itoa.h>.
19165         (_itowa_word): Use _ITOA_WORD_TYPE on value.
19166         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
19167         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
19168         only if not defined.
19169         (_ITOA_WORD_TYPE): Likewise.
19170         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19171         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19173 2012-03-21  David S. Miller  <davem@davemloft.net>
19175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19177 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19179         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19180         of x86_64 when setting libc_cv_slibdir, libdir and
19181         libc_cv_localedir.
19182         * sysdeps/unix/sysv/linux/configure: Regenerated.
19184 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19186         * manual/lang.texi (Old Varargs): Remove section.
19187         (How Variadic): Update menu.
19188         (va_start): Do not mention varargs.h.
19190 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19191             Joseph Myers  <joseph@codesourcery.com>
19193         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19194         link test.
19195         * configure: Regenerated.
19197 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19199         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19200         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19201         conformtest.pl
19203 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19205         * NOTES: Remove.
19206         * Makefile (files-for-dist): Remove NOTES.
19207         (NOTES): Remove rule.
19208         * README: Don't refer to NOTES.
19209         * manual/creature.texi: Don't include macros.texi.
19210         * manual/intro.texi (creature.texi): Remove comment referring to
19211         NOTES.
19213         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19214         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19215         * configure: Regenerated.
19216         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19217         LIBC_TRY_CC_OPTION.
19218         (libc_cv_as_i686): Likewise.
19219         (libc_cv_cc_avx): Likewise.
19220         (libc_cv_cc_sse2avx): Likewise.
19221         (libc_cv_cc_fma4): Likewise.
19222         (libc_cv_cc_novzeroupper): Likewise.
19223         * sysdeps/i386/configure: Regenerated.
19225         [BZ #13883]
19226         * sysdeps/i386/fpu/s_cexp.S: Remove.
19227         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19228         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19229         * math/libm-test.inc (cexp_test): Add more tests.
19230         * sysdeps/i386/fpu/libm-test-ulps: Update.
19231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19233 2012-03-21  Allan McRae  <allan@archlinux.org>
19235         * timezone/Makefile: Do not install iso3166.tab and zone.tab
19237 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19239         [BZ #13871]
19240         * math/w_exp2.c: Do not include <float.h>.
19241         (o_threshold, u_threshold): Remove.
19242         (__exp2): Calculate result before checking finiteness and calling
19243         __kernel_standard.
19244         * math/w_exp2f.c: Likewise.
19245         * math/w_exp2l.c: Likewise.
19246         * math/libm-test.inc (exp2_test): Require overflow exception for
19247         1e6 input.
19249         [BZ #3866]
19250         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19251         range of signed 64-bit integers before using fistpll.  Remove
19252         checks for whether integers fit in mantissa bits.
19253         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19254         the range of signed 32-bit integers before using fistpl.  Remove
19255         checks for whether integers fit in mantissa bits.
19256         * sysdeps/i386/fpu/e_powl.S (p64): New object.
19257         (__ieee754_powl): Test for y outside the range of signed 64-bit
19258         integers before using fistpll.  Reduce 64-bit values to 63-bit
19259         ones as needed.
19260         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19261         divide-by-zero is raised for zero to large negative powers.
19262         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19263         (__ieee754_powl): Test for y outside the range of signed 64-bit
19264         integers before using fistpll.  Reduce 64-bit values to 63-bit
19265         ones as needed.
19266         * math/libm-test.inc (pow_test): Add more tests.
19268 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19270         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19271         <stdio-common/_itoa.h>.
19272         * debug/segfault.c: Likewise.
19273         * elf/dl-cache.c: Likewise.
19274         * elf/dl-minimal.c: Likewise.
19275         * elf/dl-misc.c: Likewise.
19276         * elf/dl-sysdep.c: Likewise.
19277         * elf/dl-version.c: Likewise.
19278         * elf/rtld.c: Likewise.
19279         * hurd/hurdsock.c: Likewise.
19280         * hurd/lookup-retry.c: Likewise.
19281         * malloc/malloc.c: Likewise.
19282         * malloc/mtrace.c: Likewise.
19283         * nscd/nscd_getgr_r.c: Likewise.
19284         * nscd/nscd_getpw_r.c: Likewise.
19285         * nscd/nscd_getserv_r.c: Likewise.
19286         * posix/getopt_init.c: Likewise.
19287         * posix/wordexp.c: Likewise.
19288         * stdio-common/_itoa.c: Likewise.
19289         * stdio-common/printf_fphex.c: Likewise.
19290         * stdio-common/vfprintf.c: Likewise.
19291         * string/_strerror.c: Likewise.
19292         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19293         * sysdeps/i386/i686/hp-timing.h: Likewise.
19294         * sysdeps/mach/_strerror.c: Likewise.
19295         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19296         * sysdeps/mach/hurd/sethostid.c: Likewise.
19297         * sysdeps/mach/hurd/xmknodat.c: Likewise.
19298         * sysdeps/mach/xpg-strerror.c: Likewise.
19299         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19300         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19301         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19302         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19303         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19304         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19305         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19306         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19307         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19308         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19309         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19310         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19311         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19312         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19313         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19314         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19315         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19316         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19317         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19318         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19319         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19321         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19323         * stdio-common/_itoa.h: Moved to ...
19324         * sysdeps/generic/_itoa.h: Here.
19326         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19328         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19329         instead of "_itoa.h" and "_itowa.h".
19330         * stdio-common/vfprintf.: Likewise.
19332 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19334         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19335         <bits/wordsize.h>.
19336         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19337         (__signbit): Likwise.
19338         (llrintf): Likwise.
19339         (llrint): Likwise.
19341 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19343         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19344         __WORDSIZE != 64.
19346 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
19348         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19349         OVERFLOW_EXCEPTION_OK.
19350         * math/libm-test.inc ("Philosophy"): Update comment about
19351         exception testing.
19352         (OVERFLOW_EXCEPTION): Define.
19353         (OVERFLOW_EXCEPTION_OK): Likewise.
19354         (INVALID_EXCEPTION_OK): Renumber.
19355         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19356         (IGNORE_ZERO_INF_SIGN): Likewise.
19357         (test_exceptions): Handle FE_OVERFLOW.
19358         (exp10_test): Expect overflow exceptions.
19359         (exp2_test): Likewise.
19360         (expm1_test): Likewise.
19361         (nextafter_test): Likewise.
19362         (pow_test): Likewise.
19363         (scalbn_test): Likewise.
19364         (scalbln_test): Likewise.
19366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19368         * sysdeps/x86_64/bits/atomic.h
19369         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19370         64bit integer.
19371         (atomic_exchange_acq): Likewise.
19372         (__arch_exchange_and_add_body): Likewise.
19373         (__arch_add_body): Likewise.
19374         (atomic_add_negative): Likewise.
19375         (atomic_add_zero): Likewise.
19377 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19379         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19380         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19382 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19384         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19385         Check __x86_64__ instead of __WORDSIZE.
19387 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19389         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19391 2012-03-19  David S. Miller  <davem@davemloft.net>
19393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19395         * sysdeps/sparc/fpu/fenv_private.h: New file.
19396         * sysdeps/sparc/fpu/math_private.h: Use it.
19397         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19398         Remove.
19399         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19400         (libc_feholdexcept_setroundl): Remove.
19401         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19402         Remove.
19403         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19404         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19406 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19408         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19409         int64_t instead of long int.
19410         (INSERT_WORDS64): Likwise.
19412 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19414         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19415         _Unwind_GetCFA return to _Unwind_Ptr first.
19417 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
19419         [BZ #13629]
19420         * math/s_clog.c: Include <float.h>.
19421         (__clog): Scale large or subnormal inputs.
19422         * math/s_clogf.c: Likewise.
19423         * math/s_clogl.c: Likewise.
19424         * math/s_clog10.c: Include <float.h>.
19425         (M_LOG10_2): Define.
19426         (__clog10): Scale large or subnormal inputs.
19427         * math/s_clog10f.c: Likewise.
19428         * math/s_clog10l.c: Likewise.
19429         * math/libm-test.inc (clog_test): Add more tests.
19430         (clog10_test): Likewise.
19431         * sysdeps/i386/fpu/libm-test-ulps: Update.
19432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19434         [BZ #11451]
19435         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19436         x and y.
19437         * math/libm-test.inc (atan2_test): Add another test.
19439         * Makerules (common-objdir-compile): Remove.
19440         * sysdeps/unix/Makefile (config-generated): Do not add
19441         $(unix-generated) to variable.
19442         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19443         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19444         Remove rule.
19445         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19446         Likewise.
19447         [generic bits/local_lim.h] (before-compile): Do not append to
19448         variable.
19449         [generic bits/local_lim.h] (common-generated): Likewise.
19450         [generic sys/param.h] (before-compile): Do not append to variable.
19451         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19452         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19453         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19454         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19455         include.
19456         [generic sys/param.h] (sys/param.h-includes): Remove variable.
19457         [generic sys/param.h] (sys/param.h-includes): Remove rule.
19458         [generic sys/param.h] ($(addprefix
19459         $(common-objpfx),$(sys/param.h-includes))): Likewise.
19460         [generic sys/param.h] (common-generated): Do not append to
19461         variable.
19462         [generic sys/param.h] (sysdep_headers): Likewise.
19463         [generic bits/errno.h] (before-compile): Do not append to
19464         variable.
19465         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19466         rule.
19467         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19468         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19469         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19470         [generic bits/errno.h] (common-generated): Do not append to
19471         variable.
19472         [generic bits/ioctls.h] (before-compile): Do not append to
19473         variable.
19474         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19475         rule.
19476         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19477         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19478         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19479         rule.
19480         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19481         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19482         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19483         [generic bits/ioctls.h] (common-generated): Do not append to
19484         variable.
19485         [generic sys/syscall.h] (syscall.h): Remove variable.
19486         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19487         rule.
19488         [generic sys/syscall.h] (before-compile): Do not append to
19489         variable.
19490         [generic sys/syscall.h] (common-generated): Likewise.
19491         * sysdeps/unix/errnos-tmpl.c: Remove file.
19492         * sysdeps/unix/errnos.awk: Likewise.
19493         * sysdeps/unix/ioctls-tmpl.c: Likewise.
19494         * sysdeps/unix/ioctls.awk: Likewise.
19495         * sysdeps/unix/mk-local_lim.c: Likewise.
19496         * sysdeps/unix/snarf-ioctls: Likewise.
19498 2012-03-19  Richard Henderson  <rth@twiddle.net>
19500         * sysdeps/i386/fpu/fenv_private.h: New file.
19501         * sysdeps/i386/fpu/math_private.h: Use it.
19502         (math_opt_barrier, math_force_eval): Remove.
19503         (libc_feholdexcept_setround_53bit): Remove.
19504         (libc_feupdateenv_53bit): Remove.
19505         * sysdeps/x86_64/fpu/math_private.h: Likewise.
19506         (math_opt_barrier, math_force_eval): Remove.
19507         (libc_feholdexcept): Remove.
19508         (libc_feholdexcept_setround): Remove.
19509         (libc_fetestexcept, libc_fesetenv): Remove.
19510         (libc_feupdateenv_test): Remove.
19511         (libc_feupdateenv, libc_feholdsetround): Remove.
19512         (libc_feresetround): Remove.
19514         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19515         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19517         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19518         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19519         (libc_feupdateenv_testl): New.
19520         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19521         (libc_feupdateenv_testf): New.
19522         (libc_feupdateenv): Use libc_feupdateenv_test.
19523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19524         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19526         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19527         (libc_feholdsetroundf, libc_feholdsetroundl): New.
19528         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19529         (libc_feresetround_noex): New.
19530         (libc_feresetround_noexf): New.
19531         (libc_feresetround_noexl): New.
19532         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19533         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19534         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19535         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19536         SET_RESTORE_ROUND.
19537         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19539         (__cos): Likewise.
19540         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19541         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19542         SET_RESTORE_ROUND_NOEX.
19543         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19544         SET_RESTORE_ROUND_NOEXF.
19545         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19546         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19547         (libc_feholdsetroundf): New.
19548         (libc_feresetround, libc_feresetroundf): New.
19550         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19551         (libc_feholdexcept_setround_53bit): Convert from macro to function.
19552         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
19554         * sysdeps/generic/math_private.h: Include <fenv.h>.
19555         (default_libc_feholdexcept): New.
19556         (default_libc_feholdexcept_setround): New.
19557         (default_libc_fesetenv, default_libc_feupdateenv): New.
19558         (libc_feholdexcept): Only define if undefined.
19559         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19560         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19561         (libc_feholdexcept_setroundl): Likewise.
19562         (libc_feholdexcept_setround_53bit): Likewise.
19563         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19564         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19565         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19566         (libc_feupdateenv_53bit): Likewise.
19567         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19568         (libc_feholdexcept): Convert from macro to inline function.
19569         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19570         (libc_fesetenv, libc_feupdateenv): Likewise.
19572         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19573         not previously defined.
19574         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19575         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19576         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19577         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19578         * sysdeps/ieee754/flt-32/math_private.h: New file.
19579         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19580         math_private.h below SET_FLOAT_WORD.
19581         (__isnan, __isinf_ns, __finite): Remove.
19582         (__isnanf, __isinf_nsf, __finitef): Remove.
19584 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
19586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19588 2012-03-17  David S. Miller  <davem@davemloft.net>
19590         [BZ #6471]
19591         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19592         for 2.16.
19594 2012-03-16  David S. Miller  <davem@davemloft.net>
19596         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19597         warnings.
19599         [BZ #6471]
19600         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19601         properly.
19602         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19603         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19604         sysdep_routines when subdir is sysvipc.
19605         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19606         __getshmlba helper.
19608         * sysdeps/sparc/fpu/libm-test/ulps: Update.
19610 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19612         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19613         [__LP64__].
19615 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19617         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19618         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19619         (__lround): Renamed to ...
19620         (__llround): This.  Replace long int with long long int.
19621         Define lround functions as aliases of llround functions.
19622         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19626         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19627         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
19628         adresses to uintptr_t.  Replace "long int" and "unsigned long
19629         int" with "greg_t" on va_arg.
19631 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19633         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19634         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19636         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19637         Move e_machine check before EI_CLASS check.  Handle x32
19638         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19639         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19640         SKIP_EM_IA_64 and include
19641         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19643         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19644         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19645         (add_system_dir): New macro.
19647         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19648         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19650 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
19652         [BZ #2551]
19653         [BZ #2552]
19654         [BZ #2553]
19655         [BZ #2554]
19656         [BZ #2562]
19657         [BZ #2563]
19658         [BZ #2565]
19659         [BZ #2566]
19660         [BZ #2576]
19661         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19662         (y0): Likewise.
19663         * math/w_j0f.c (j0f): Likewise.
19664         (y0f): Likewise.
19665         * math/w_j0l.c (__j0l): Likewise.
19666         (__y0l): Likewise.
19667         * math/w_j1.c (j1): Likewise.
19668         (y1): Likewise.
19669         * math/w_j1f.c (j1f): Likewise.
19670         (y1f): Likewise.
19671         * math/w_j1l.c (__j1l): Likewise.
19672         (__y1l): Likewise.
19673         * math/w_jn.c (jn): Likewise.
19674         (yn): Likewise.
19675         * math/w_jnf.c (jnf): Likewise.
19676         (ynf): Likewise.
19677         * math/w_jnl.c (__jnl): Likewise.
19678         (__ynl): Likewise.
19679         * math/libm-test.inc (j0_test): Add more tests.
19680         (j1_test): Likewise.
19681         (jn_test): Likewise.  Add trailing semicolon to existing test.
19682         (y0_test): Likewise.
19683         (y1_test): Likewise.
19684         * sysdeps/i386/fpu/libm-test-ulps: Update.
19685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19687         [BZ #13851]
19688         [BZ #13854]
19689         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19690         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19691         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19692         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19693         (__tanl): Set errno for infinite argument.
19694         * sysdeps/i386/fpu/mptan.c: Remove.
19695         * sysdeps/i386/fpu/s_tan.S: Likewise.
19696         * sysdeps/i386/fpu/s_tanl.S: Likewise.
19697         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19698         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19699         * math/libm-test.inc (tan_test): Add more tests and enable more
19700         tests for double and long double.
19701         * sysdeps/i386/fpu/libm-test-ulps: Update.
19702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19704 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
19706         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19707         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19709 2012-03-16  Roland McGrath  <roland@hack.frob.com>
19711         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19712         * configure.in: Use it for both main tree and add-ons.
19713         * configure: Regenerated.
19715 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19717         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19719 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
19721         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19722         in comment.
19724         [BZ #13851]
19725         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19726         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19727         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19728         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19729         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19730         infinite argument.
19731         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19733         != 0 for prec == 2.
19734         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19735         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19736         * sysdeps/i386/fpu/s_cosl.S: Likewise.
19737         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19738         * sysdeps/i386/fpu/s_sinl.S: Likewise.
19739         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19740         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19741         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19742         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19743         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19744         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19745         * math/libm-test.inc (cos_test): Add more tests and enable more
19746         tests for long double.
19747         (sin_test): Likewise.
19748         (sincos_test): Likewise.
19749         * sysdeps/i386/fpu/libm-test-ulps: Update.
19750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19752 2012-03-16  David S. Miller  <davem@davemloft.net>
19754         * sysdeps/sparc/fpu/math_private.h: New file.
19756 2012-03-15  David S. Miller  <davem@davemloft.net>
19758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19759         file.
19760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19762         file.
19763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19768         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19769         sysdep routines.
19770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19772         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19773         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19775         * sysdeps/sparc/sparc-ifunc.h: New file.
19776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19777         sparc-ifunc.h
19778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19780         Likewise.
19781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19782         Likewise.
19783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19787         Likewise.
19788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19793         Likewise.
19794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19795         Likewise.
19796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19802         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19814         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19815         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19816         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19817         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19818         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19819         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19821 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
19823         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19824         scaling.
19825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19827 2012-03-15  Andreas Jaeger  <aj@suse.de>
19829         [BZ #13852]
19830         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19831         ieee754/flt-32 implementation for sin, cos and sincos.
19832         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19833         * sysdeps/i386/fpu/s_cosf.S: Likewise.
19834         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19835         * sysdeps/i386/fpu/s_sinf.S: Likewise.
19836         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19837         ieee754/flt-32 implementation for tan.
19839         * math/libm-test.inc (cos_test): Enable some large input tests for
19840         float as well
19841         (sin_test): Likewise.
19842         (sincos_test): Likewise.
19843         (tan_test): Add tests for large input.
19845         * sysdeps/i386/fpu/libm-test-ulps: Update.
19847 2012-03-15  Andreas Jaeger  <aj@suse.de>
19849         [BZ #13658]
19850         * math/libm-test.inc (cos_test): Add more test cases.
19851         (sin_test): Likewise.
19852         (sincos_test): Likewise.
19854 2012-03-15  Andreas Jaeger  <aj@suse.de>
19856         [BZ #13837]
19857         * math/libm-test.inc (cos_test): Add a test case for large input
19858         value.
19859         (sin_test): Likewise.
19860         (sincos_test): Likewise.
19862 2012-03-15  Andreas Jaeger  <aj@suse.de>,
19863         Joseph Myers  <joseph@codesourcery.com>
19865         [BZ #13658]
19866         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19867         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19868         * sysdeps/i386/fpu/branred.c: Likewise.
19869         * sysdeps/i386/fpu/dosincos.c: Likewise.
19870         * sysdeps/i386/fpu/mpa.c: Likewise.
19871         * sysdeps/i386/fpu/s_cos.S: Likewise.
19872         * sysdeps/i386/fpu/s_sin.S: Likewise.
19873         * sysdeps/i386/fpu/s_sincos.S: Likewise.
19874         * sysdeps/i386/fpu/sincos32.c: Likewise.
19876         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19877         Define.
19878         (libc_feupdateenv_53bit): Define.
19879         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19880         Define.
19881         (libc_feupdateenv_53bit): Define.
19883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19884         53 bit (without extend i386 double precision).
19886         * math/libm-test.inc (sincos_test): Add tests for large input.
19887         (sin): Likewise.
19888         (cos): Likewise.
19890         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19892 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
19894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19896 2012-03-15  David S. Miller  <davem@davemloft.net>
19898         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19899         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19900         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19901         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19914         file.
19915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19917         file.
19918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19920         file.
19921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19923         file.
19924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19925         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19926         fmin/fmax sysdep routines.
19927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19929 2012-03-14  David S. Miller  <davem@davemloft.net>
19931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19935         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19936         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19937         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19938         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19943         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19944         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19945         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19946         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19951         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19952         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19953         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19955         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19956         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19957         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19958         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19960         routines.
19961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19962         file.
19963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19965         file.
19966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19968         file.
19969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19971         file.
19972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19974         file.
19975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19977         file.
19978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19979         file.
19980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19981         file.
19982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19983         file.
19984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19985         New file.
19986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19987         file.
19988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19989         file.
19990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19992         file.
19993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19995         file.
19996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19998         file.
19999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20001         VIS3 routines.
20003         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20004         New file.
20006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20008         * sysdeps/sparc/configure.in: New file.
20009         * sysdeps/sparc/configure: Generate.
20010         * configure.in (libc_cv_sparc_as_vis3): Substitute.
20011         * configure: Regenerate.
20012         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20013         * config.make.in (have-as-vis3): New.
20014         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20015         available use -Av9d instead of -Av9a.
20016         * sysdeps/sparc/sparc64/Makefile: Likewise.
20017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20019         New file.
20020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20021         file.
20022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20023         New file.
20024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20025         file.
20026         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20027         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20028         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20029         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20032         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20033         fzeros/fnegs to load 0x80000000 into a float register instead of
20034         using the stack.
20035         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20037 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
20039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20040         bits/syscall.h.
20041         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20042         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20043         ($(inst_includedir)/bits/syscall.h): Remove rule.
20044         ($(objpfx)bits/syscall.d): Include instead of
20045         $(objpfx)syscall-list.d.
20046         (generated): Change syscall-list.h and syscall-list.d to
20047         bits/syscall.h and bits/syscall.d.
20049 2012-03-14  Roland McGrath  <roland@hack.frob.com>
20051         [BZ #13846]
20052         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20054 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
20056         [BZ #13841]
20057         * math/s_csqrt.c: Include <float.h>.
20058         (__csqrt): Scale large or subnormal inputs.
20059         * math/s_csqrtf.c: Likewise.
20060         * math/s_csqrtl.c: Likewise.
20061         * math/libm-test.inc (csqrt_test): Add more tests.
20062         * sysdeps/i386/fpu/libm-test-ulps: Update.
20063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20065         [BZ #13840]
20066         * math/libm-test.inc (hypot_test): Add more tests.
20068 2012-03-13  David S. Miller  <davem@davemloft.net>
20070         [BZ #13840]
20071         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20072         double-precision for the calculation instead of scaling.
20074 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
20076         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20077         manipulate bits before adding and subtracting TWO52[sx].
20078         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20079         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20080         Likewise.
20081         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20083 2012-03-13  David S. Miller  <davem@davemloft.net>
20085         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20086         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20088         rtld-global-offsets.h
20089         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20091         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20092         large parameters.
20094         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20096         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20097         'err' in the ifdef scope in which it is actually used.
20099         * nss/nss_db/db-init.c: Include string.h
20101 2012-03-12  David S. Miller  <davem@davemloft.net>
20103         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20104         masking out of the most significant byte of random value used.
20105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20106         Fix coding style in previous change.
20108         * sysdeps/unix/sysv/linux/kernel-features.h
20109         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20110         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20111         expression.
20112         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20113         later.
20115 2012-03-11  David S. Miller  <davem@davemloft.net>
20117         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20118         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20119         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20120         for 'resultvar' otherwise things get truncated on 64-bit.
20122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20123         Fix masking out of the most significant byte of random value used.
20125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20127 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
20129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20131 2012-03-09  David S. Miller  <davem@davemloft.net>
20133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20134         variables with appropriate CPP guards.
20135         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20136         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
20137         on resulting framesize and the management of the outregs buffer for pltexit.
20138         Preserve floating point return values across _dl_call_pltexit call.
20139         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20140         framesize and the management of the outregs buffer for pltexit.
20141         Preserve floating point return values across _dl_call_pltexit
20142         call.
20143         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20144         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20145         (print_exit): Fix format string for return register value.
20147 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
20149         * sunrpc/Makefile (others): Add rpcgen.
20150         ($(objpfx)rpcgen): Remove special build rule and dependency on
20151         libc.
20152         * sunrpc/rpcgen.c: New file.
20154 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
20156         [BZ #13673]
20157         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20158         * stdio-common/bug-vfprintf-nargs.c: Likewise.
20159         * sysdeps/i386/crti.S: Likewise.
20160         * sysdeps/i386/crtn.S: Likewise.
20161         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20162         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20163         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20164         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20165         * sysdeps/sh/crti.S: Likewise.
20166         * sysdeps/sh/crtn.S: Likewise.
20167         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20169         [BZ #13673]
20170         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20171         with URL.
20172         * locale/programs/locfile-kw.gperf: Likewise.
20173         * locale/programs/charmap-kw.h: Regenerated.
20174         * locale/programs/locfile-kw.h: Likewise.
20176         [BZ #13673]
20177         * intl/plural.y: Replace FSF snail mail address with URL.
20178         * intl/plural.c: Regenerated.
20180 2012-03-09  Richard Henderson  <rth@twiddle.net>
20182         * include/math_private.h: Remove file.
20183         * math/math_private.h: Move file ...
20184         * sysdeps/generic/math_private.h: ... here.
20186         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20187         * sysdeps/powerpc/fpu/math_private.h: Likewise.
20188         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20190         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20191         and <math_private.h>.
20192         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20193         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20194         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20195         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20196         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20197         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20198         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20199         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20200         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20201         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20202         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20203         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20204         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20205         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20206         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20207         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20208         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20209         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20210         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20211         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20213         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20214         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20215         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20216         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20217         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20218         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20219         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20220         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20221         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20222         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20223         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20224         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20225         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20226         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20227         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20228         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20229         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20230         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20231         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20232         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20233         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20234         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20235         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20236         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20237         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20238         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20239         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20240         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20241         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20242         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20243         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20244         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20245         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20246         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20247         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20248         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20249         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20250         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20251         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20252         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20253         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20254         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20255         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20256         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20257         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20258         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20259         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20260         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20261         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20262         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20263         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20264         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20265         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20266         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20267         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20268         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20269         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20270         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20271         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20272         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20273         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20274         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20275         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20276         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20277         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20278         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20279         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20280         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20281         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20282         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20283         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20284         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20285         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20286         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20287         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20288         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20289         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20290         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20291         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20292         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20293         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20294         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20295         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20296         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20297         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20298         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20299         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20300         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20301         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20302         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20303         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20304         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20305         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20306         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20307         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20308         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20309         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20310         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20311         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20312         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20313         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20314         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20315         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20316         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20317         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20318         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20319         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20320         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20321         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20322         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20323         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20324         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20325         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20326         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20327         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20328         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20329         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20330         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20331         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20332         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20333         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20334         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20335         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20336         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20337         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20338         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20339         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20340         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20341         * sysdeps/ieee754/k_standard.c: Likewise.
20342         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20343         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20344         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20345         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20346         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20347         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20348         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20349         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20350         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20351         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20352         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20353         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20354         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20355         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20356         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20357         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20358         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20359         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20360         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20361         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20362         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20363         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20364         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20365         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20366         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20367         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20368         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20369         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20370         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20371         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20372         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20373         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20374         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20375         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20376         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20377         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20378         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20379         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20380         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20381         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20382         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20383         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20384         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20385         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20386         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20387         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20388         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20389         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20390         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20391         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20392         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20393         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20394         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20395         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20396         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20397         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20398         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20399         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20400         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20401         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20402         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20403         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20404         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20405         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20406         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20407         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20408         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20409         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20410         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20411         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20412         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20414         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20415         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20416         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20417         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20418         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20419         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20420         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20421         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20422         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20423         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20424         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20425         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20426         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20427         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20428         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20429         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20432         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20433         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20434         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20435         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20436         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20437         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20438         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20439         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20440         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20441         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20442         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20443         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20444         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20445         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20446         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20447         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20449         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20450         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20451         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20452         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20453         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20454         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20455         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20456         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20457         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20458         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20459         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20460         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20461         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20462         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20464         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20465         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20466         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20467         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20468         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20469         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20472         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20474         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20475         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20476         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20477         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20478         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20479         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20480         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20481         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20482         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20483         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20484         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20485         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20486         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20487         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20488         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20489         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20490         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20491         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20492         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20493         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20494         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20495         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20496         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20497         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20498         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20499         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20500         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20501         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20502         * sysdeps/ieee754/s_lib_version.c: Likewise.
20503         * sysdeps/ieee754/s_matherr.c: Likewise.
20504         * sysdeps/ieee754/s_signgam.c: Likewise.
20505         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20506         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20507         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20508         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20509         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20510         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20511         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20512         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20513         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20514         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20515         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20516         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20517         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20518         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20519         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20520         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20521         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20522         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20523         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20524         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20525         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20527 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
20529         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20530         * sunrpc/rpc_main.c: Likewise.
20531         * sunrpc/rpc_svcout.c: Likewise.
20533 2012-03-09  David S. Miller  <davem@davemloft.net>
20535         * include/math_private.h: New file.
20537 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
20539         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20540         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20541         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20542         from <bits/socket_type.h>.
20543         (enum __socket_type): Don't define here.
20544         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20546         bits/socket_type.h.
20548         [BZ #13566]
20549         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20550         checking __USE_GNU.
20552         * Makerules ($(inst_includedir)/%.h): New rule.
20553         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20554         (install-others): Remove variable setting.
20555         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20557 2012-03-08  Richard Henderson  <rth@twiddle.net>
20559         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20560         from macro to inline function; merge with the
20561         !__LIBC_INTERNAL_MATH_INLINES version.
20562         (__ieee754_sqrtf): Likewise.
20564         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20565         to inline function.
20566         (__rintf, __floor, __floorf): Likewise.
20568         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20569         macro to inline function.
20570         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20572         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20573         not <math/math_private.h>.
20575 2012-03-08  David S. Miller  <davem@davemloft.net>
20577         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20578         copyright year.
20579         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20581 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
20583         * resolv/gai_misc.c (handle_requests): Fix struct timespec
20584         normalization.
20585         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20586         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20588 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
20590         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
20591         be defined individually, they must be defined as a block.  Define
20592         S for printing a string instead of hidint the different by using a
20593         macro for adding the 'l'.
20594         * stdio-common/tst-fphex-wide.c: Adjust.
20596 2012-03-07  Marek Polacek  <polacek@redhat.com>
20598         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20600 2012-03-08  Marek Polacek  <polacek@redhat.com>
20602         [BZ #13806]
20603         * stdio-common/Makefile (tests): Add tst-fphex-wide.
20604         * stdio-common/tst-fphex.c: Define a few macros to make the
20605         test reusable.  Use them.
20606         * stdio-common/tst-fphex-wide.c: New file.
20608 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
20610         [BZ #6911]
20611         * manual/macros.texi (gnusystems): New macro.
20612         (nongnusystems): Likewise.
20613         (gnulinuxhurdsystems): Likewise.
20614         (gnuhurdsystems): Likewise..
20615         (gnulinuxsystems): Likewise.
20616         * manual/charset.texi: Use new macros or @theglibc{} to refer to
20617         variants of the GNU system, not "GNU system".
20618         * manual/conf.texi: Likewise.
20619         * manual/errno.texi: Likewise.  Update example of errno macro
20620         expansion.
20621         * manual/filesys.texi: Likewise.
20622         (getumask): Document as specific to GNU/Hurd.
20623         * manual/install.texi: Likewise.  Reword some references to
20624         GNU/Linux.
20625         * manual/intro.texi: Likewise.
20626         * manual/io.texi: Likewise.
20627         (File Name Portability): Detail which constraints are inapplicable
20628         to all GNU systems and which are only inapplicable to GNU/Hurd.
20629         * manual/job.texi: Likewise.
20630         * manual/llio.texi: Likewise.
20631         (O_NOCTTY): Document as present on GNU/Linux.
20632         * manual/maint.texi: Likewise.
20633         * manual/memory.texi: Likewise.
20634         * manual/pattern.texi: Likewise.
20635         * manual/pipe.texi: Likewise.
20636         * manual/process.texi: Likewise.
20637         * manual/resource.texi: Likewise.
20638         (RUSAGE_CHILDREN): Remove statement about specifying a particular
20639         child on GNU/Hurd.
20640         * manual/setjmp.texi: Likewise.
20641         * manual/signal.texi: Likewise.
20642         * manual/startup.texi: Likewise.
20643         * manual/stdio.texi: Likewise.
20644         * manual/terminal.texi: Likewise.
20645         (ONLCR): Document as POSIX.
20646         (OXTABS): Document availability on GNU/Linux as XTABS.
20647         (ONOEOT): Document availability separately from other bits.
20648         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20649         * manual/time.texi: Likewise.
20650         * manual/users.texi: Likewise.
20651         * INSTALL: Regenerated.
20652         * sysdeps/gnu/errlist.c: Regenerated.
20654         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20655         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20656         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
20657         puts.
20658         * configure: Regenerated.
20660 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
20662         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20663         default includes instead of AC_HEADER_CHECK.
20664         * sysdeps/i386/configure: Regenerated.
20666         [BZ #10716]
20667         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20668         * math/s_cacoshf.c (__cacoshf): Likewise.
20669         * math/s_cacoshl.c (__cacoshl): Likewise.
20670         * math/s_casinh.c (__casinh): Set signs of result from argument.
20671         * math/s_casinhf.c (__casinhf): Likewise.
20672         * math/s_casinhl.c (__casinhl): Likewise.
20673         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20674         (casinh_test): Add more tests.
20675         * sysdeps/i386/fpu/libm-test-ulps: Update.
20676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20678 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
20680         * po/zh_TW.po: Update from translation team.
20682         * login/Makefile (distribute): Remove variable.
20683         * catgets/Makefile: Likewise.
20684         * mach/Makefile: Likewise.
20685         * malloc/Makefile: Likewise.
20686         * misc/Makefile: Likewise.
20687         * iconv/Makefile: Likewise.
20688         * nscd/Makefile: Likewise.
20689         * hurd/Makefile: Likewise.
20690         * manual/Makefile: Likewise.
20691         * locale/Makefile: Likewise.
20692         * intl/Makefile: Likewise.
20693         * conform/Makefile: Likewise.
20694         * nss/Makefile: Likewise.
20695         * time/Makefile: Likewise.
20696         * soft-fp/Makefile: Likewise.
20697         * dirent/Makefile: Likewise.
20698         * gmon/Makefile: Likewise.
20699         * po/Makefile: Likewise.
20700         * rt/Makefile: Likewise.
20701         * socket/Makefile: Likewise.
20702         * math/Makefile: Likewise.
20703         * signal/Makefile: Likewise.
20704         * debug/Makefile: Likewise.
20705         * elf/Makefile: Likewise.
20706         * timezone/Makefile: Likewise.
20707         * stdlib/Makefile: Likewise.
20708         * iconvdata/Makefile: Likewise.
20709         * sunrpc/Makefile: Likewise.
20710         * io/Makefile: Likewise.
20711         * argp/Makefile: Likewise.
20712         * inet/Makefile: Likewise.
20713         * hesiod/Makefile: Likewise.
20714         * grp/Makefile: Likewise.
20715         * csu/Makefile: Likewise.
20716         * wctype/Makefile: Likewise.
20717         * crypt/Makefile: Likewise.
20718         * libio/Makefile: Likewise.
20719         * string/Makefile: Likewise.
20720         * nis/Makefile: Likewise.
20721         * resolv/Makefile: Likewise.
20722         * stdio-common/Makefile: Likewise.
20723         * wcsmbs/Makefile: Likewise.
20724         * dlfcn/Makefile: Likewise.
20725         * posix/Makefile: Likewise.
20727         [BZ #6959]
20728         * timezone/Makefile: Don't install timezone files, just the programs
20729         and scripts.
20731 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
20733         * nss/databases.def: Add missing gshadow entry.
20735         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
20737 2012-03-06  Marek Polacek  <polacek@redhat.com>
20739         [BZ #13726]
20740         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20741         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20742         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20743         * stdio-common/tst-long-dbl-fphex.c: New file.
20745 2012-03-06  David S. Miller  <davem@davemloft.net>
20747         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20748         (set_obp_int): New function.
20749         (get_obp_int): New function.
20750         (__get_clockfreq_via_dev_openprom): Likewise.
20751         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20752         Avoid unused variable warnings on 'val' and use builtin_expect.
20753         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20754         __builtin_expect.
20755         (INLINE_CLONE_SYSCALL): Likewise.
20757 2012-03-05  David S. Miller  <davem@davemloft.net>
20759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20761 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
20763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20765         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20766         only for |x| >= 40.
20767         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20769 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20771         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20772         Replace gettimeofday with __vdso_gettimeofday.
20774         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20775         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20776         __vdso_clock_gettime and __vdso_getcpu.
20778         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20779         time with __vdso_time.
20781 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
20783         * manual/lang.texi (size_t): Note types to which size_t may be
20784         equivalent with the GNU C Library, but do not describe when
20785         differences between them are significant.
20787 2012-03-05  Andreas Jaeger  <aj@suse.de>
20789         * sysdeps/i386/fpu/libm-test-ulps: Update.
20791 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
20793         [BZ #3976]
20794         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20795         (__ieee754_pow): Save and restore rounding mode and use
20796         round-to-nearest for main computations.
20797         * math/libm-test.inc (pow_test_tonearest): New function.
20798         (pow_test_towardzero): Likewise.
20799         (pow_test_downward): Likewise.
20800         (pow_test_upward): Likewise.
20801         (main): Call the new functions.
20802         * sysdeps/i386/fpu/libm-test-ulps: Update.
20803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20805         [BZ #3976]
20806         * math/libm-test.inc (cosh_test_tonearest): New function.
20807         (cosh_test_towardzero): Likewise.
20808         (cosh_test_downward): Likewise.
20809         (cosh_test_upward): Likewise.
20810         (sinh_test_tonearest): Likewise.
20811         (sinh_test_towardzero): Likewise.
20812         (sinh_test_downward): Likewise.
20813         (sinh_test_upward): Likewise.
20814         (main): Call the new functions.
20815         * sysdeps/i386/fpu/libm-test-ulps: Update.
20816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20818 2012-03-05  Tom de Vries  <tom@codesourcery.com>
20820         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20821         default stack guard is set in last bytes.
20822         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20824 2012-03-05  Kees Cook  <keescook@chromium.org>
20826         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20828         [BZ #13656]
20829         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20830         possibly allocate from heap instead of stack.
20831         * stdio-common/bug-vfprintf-nargs.c: New file.
20832         * stdio-common/Makefile (tests): Add nargs overflow test.
20834 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
20836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20838 2012-03-03  Marek Polacek  <polacek@redhat.com>
20840         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20841         * math/math_private.h: Likewise.
20842         * stdlib/tst-strtod.c: Likewise.
20843         * sysdeps/i386/i486/bits/atomic.h: Likewise.
20844         * sysdeps/x86_64/bits/atomic.h: Likewise.
20846 2012-03-02  David S. Miller  <davem@davemloft.net>
20848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20852         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20853         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20854         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20855         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20857 2012-03-02  Roland McGrath  <roland@hack.frob.com>
20859         [BZ #13792]
20860         * manual/examples/README: New file, says the example source files
20861         can be used under GPL>=2.
20862         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20863         line containing just "*/".
20864         * manual/examples/add.c: Add copyright header (GPL>=2).
20865         * manual/examples/argp-ex1.c: Likewise.
20866         * manual/examples/argp-ex2.c: Likewise.
20867         * manual/examples/argp-ex3.c: Likewise.
20868         * manual/examples/argp-ex4.c: Likewise.
20869         * manual/examples/atexit.c: Likewise.
20870         * manual/examples/db.c: Likewise.
20871         * manual/examples/dir.c: Likewise.
20872         * manual/examples/dir2.c: Likewise.
20873         * manual/examples/execinfo.c: Likewise.
20874         * manual/examples/filecli.c: Likewise.
20875         * manual/examples/filesrv.c: Likewise.
20876         * manual/examples/fmtmsgexpl.c: Likewise.
20877         * manual/examples/genpass.c: Likewise.
20878         * manual/examples/inetcli.c: Likewise.
20879         * manual/examples/inetsrv.c: Likewise.
20880         * manual/examples/isockad.c: Likewise.
20881         * manual/examples/longopt.c: Likewise.
20882         * manual/examples/memopen.c: Likewise.
20883         * manual/examples/memstrm.c: Likewise.
20884         * manual/examples/mkfsock.c: Likewise.
20885         * manual/examples/mkisock.c: Likewise.
20886         * manual/examples/mygetpass.c: Likewise.
20887         * manual/examples/pipe.c: Likewise.
20888         * manual/examples/popen.c: Likewise.
20889         * manual/examples/rprintf.c: Likewise.
20890         * manual/examples/search.c: Likewise.
20891         * manual/examples/select.c: Likewise.
20892         * manual/examples/setjmp.c: Likewise.
20893         * manual/examples/sigh1.c: Likewise.
20894         * manual/examples/sigusr.c: Likewise.
20895         * manual/examples/stpcpy.c: Likewise.
20896         * manual/examples/strdupa.c: Likewise.
20897         * manual/examples/strftim.c: Likewise.
20898         * manual/examples/strncat.c: Likewise.
20899         * manual/examples/subopt.c: Likewise.
20900         * manual/examples/swapcontext.c: Likewise.
20901         * manual/examples/termios.c: Likewise.
20902         * manual/examples/testopt.c: Likewise.
20903         * manual/examples/testpass.c: Likewise.
20904         * manual/examples/timeval_subtract.c: Likewise.
20906         [BZ #13792]
20907         * manual/time.texi (Elapsed Time): Move timeval_subtract example
20908         function to ...
20909         * manual/timeval_subtract.c.texi: ... here, new file.
20911 2012-03-02  David S. Miller  <davem@davemloft.net>
20913         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20915 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
20917         [BZ #3976]
20918         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20919         (__sin): Save and restore rounding mode and use round-to-nearest
20920         for all computations.
20921         (__cos): Save and restore rounding mode and use round-to-nearest
20922         for all computations.
20923         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20924         <fenv.h>.
20925         (tan): Save and restore rounding mode and use round-to-nearest for
20926         all computations.
20927         * math/libm-test.inc (cos_test_tonearest): New function.
20928         (cos_test_towardzero): Likewise.
20929         (cos_test_downward): Likewise.
20930         (cos_test_upward): Likewise.
20931         (sin_test_tonearest): Likewise.
20932         (sin_test_towardzero): Likewise.
20933         (sin_test_downward): Likewise.
20934         (sin_test_upward): Likewise.
20935         (tan_test_tonearest): Likewise.
20936         (tan_test_towardzero): Likewise.
20937         (tan_test_downward): Likewise.
20938         (tan_test_upward): Likewise.
20939         (main): Call the new functions.
20940         * sysdeps/i386/fpu/libm-test-ulps: Update.
20941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20943         [BZ #10135]
20944         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20945         small n, then large n, before computing and testing k+n.
20946         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20948         Likewise.
20949         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20950         Likewise.
20951         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20952         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20953         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20954         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20955         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20956         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20957         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20958         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20959         * math/libm-test.inc (scalbn_test): Add more tests.
20960         (scalbln_test): Likewise.
20962         * manual/filesys.texi (mode_t): Describe constraints on size and
20963         signedness, not exact equivalence to a particular type.
20964         (ino_t): Likewise.
20965         (ino64_t): Likewise.
20966         (dev_t): Likewise.
20967         (nlink_t): Likewise.
20968         (blkcnt_t): Likewise.
20969         (blkcnt64_t): Likewise.
20970         * manual/llio.texi (off_t): Likewise.
20972         [BZ #3976]
20973         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20974         (__ieee754_exp): Save and restore rounding mode and use
20975         round-to-nearest for all computations.
20976         * math/libm-test.inc (exp_test_tonearest): New function.
20977         (exp_test_towardzero): Likewise.
20978         (exp_test_downward): Likewise.
20979         (exp_test_upward): Likewise.
20980         (main): Call the new functions.
20981         * sysdeps/i386/fpu/libm-test-ulps: Update.
20982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20984 2012-03-01  Chris Demetriou  <cgd@google.com>
20986         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20987         have predictable order.
20989 2012-03-01  David S. Miller  <davem@davemloft.net>
20991         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20993         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20994         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20995         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20996         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20998         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20999         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21000         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21002         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21003         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21004         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21005         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21006         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21010         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21011         * sysdeps/sparc/fpu/libm-test-ulps: to here.
21012         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21014         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21015         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21016         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21017         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21018         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21019         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21020         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21021         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21022         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21023         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21024         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21025         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21026         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21027         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21028         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21029         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21030         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21031         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21032         * sysdeps/sparc/elf/configure: Regenerated.
21034 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
21036         * configure.in (AS, LD): Require binutils 2.20 or later.
21037         * configure: Regenerated.
21038         * manual/install.texi (Tools for Compilation): Give binutils 2.20
21039         as required minimum version.
21040         * INSTALL: Regenerated.
21042         [BZ #2541]
21043         [BZ #4108]
21044         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21045         before squaring exponent.
21046         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21047         bottom long double and 27 bits of top long double before squaring
21048         exponent.
21049         * math/libm-test.inc (erfc_test): Add more tests.
21050         * sysdeps/i386/fpu/libm-test-ulps: Update.
21051         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21054 2012-03-01  Kai Tietz  <ktietz@redhat.com>
21056         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21057         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21058         containing bit-fields.
21059         * soft-fp/extended.h (_FP_UNION_E): Likewise.
21060         * soft-fp/single.h (_FP_UNION_S): Likewise.
21061         * soft-fp/double.h (_FP_UNION_D): Likewise.
21063 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
21065         [BZ #13786]
21066         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21067         not include ../strcmp.S.
21068         [USE_AS_STRNCASECMP_L]: Likewise.
21069         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21070         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21071         * sysdeps/i386/i686/multiarch/strncase_l-c.c
21072         (__strncasecmp_l_ia32): Define as alias to
21073         __strncasecmp_l_nonascii.
21075         [BZ #5794]
21076         * math/libm-test.inc (expm1_test): Add test for bug 5794.
21077         * sysdeps/i386/fpu/libm-test-ulps: Update.
21078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21080         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21083 2012-02-29  Jeff Law  <law@redhat.com>
21085         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21086         out of bounds read.
21088 2012-02-29  Marek Polacek  <polacek@redhat.com>
21090         [BZ #13706]
21091         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21092         * elf/Makefile: Add rules to run tst-unused-dep.out.
21094 2012-02-28  David S. Miller  <davem@davemloft.net>
21096         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21097         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21098         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21099         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21100         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21101         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21103 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
21105         * math/libm-test.inc (llround_test): Move one test from
21106         lround_test.  Use TEST_f_L in moved test.
21107         (lround_test): Move misplaced test to llround_test.  Add testcase
21108         from bug 2561.
21110 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
21112         * sysdeps/x86_64/fpu/e_expf.S: New file.
21113         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21115 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
21117         [BZ #13637]
21118         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21119         of remain_len that may cause incomplete multi-byte character and
21120         false match.
21121         * posix/bug-regex33.c: New file.
21122         * posix/Makefile (tests): Add bug-regex33.
21124 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
21126         * manual/macros.texi: New file.
21127         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21128         * manual/libc.texinfo: Include macros.texi.
21129         * manual/creatute.texi: Likewise.
21130         * manual/install.texi: Likewise.
21131         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21132         @glibcadj{} in references to the GNU C Library.
21133         * manual/charset.texi: Likewise.
21134         * manual/conf.texi: Likewise.
21135         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
21136         when not using those macros.
21137         * manual/creature.texi: Likewise.
21138         * manual/crypt.texi: Likewise.
21139         * manual/errno.texi: Likewise.
21140         * manual/filesys.texi: Likewise.
21141         * manual/header.texi: Likewise.
21142         * manual/install.texi: Likewise.
21143         * manual/intro.texi: Likewise.
21144         * manual/io.texi: Likewise.
21145         * manual/job.texi: Likewise.
21146         * manual/lang.texi: Likewise.
21147         * manual/libc.texiinfo: Likewise.
21148         * manual/llio.texi: Likewise.
21149         * manual/locale.texi: Likewise.
21150         * manual/maint.texi: Likewise.
21151         * manual/math.texi: Likewise.
21152         * manual/memory.texi: Likewise.
21153         * manual/message.texi: Likewise.
21154         * manual/nss.texi: Likewise.
21155         * manual/pattern.texi: Likewise.
21156         * manual/process.texi: Likewise.
21157         * manual/resource.texi: Likewise.
21158         * manual/search.texi: Likewise.
21159         * manual/setjmp.texi: Likewise.
21160         * manual/signal.texi: Likewise.
21161         * manual/socket.texi: Likewise.
21162         * manual/startup.texi: Likewise.
21163         * manual/stdio.texi: Likewise.
21164         * manual/string.texi: Likewise.
21165         * manual/sysinfo.texi: Likewise.
21166         * manual/syslog.texi: Likewise.
21167         * manual/terminal.texi: Likewise.
21168         * manual/time.texi: Likewise.
21169         * manual/users.texi: Likewise.
21170         * INSTALL: Regenerated.
21171         * NOTES: Regenerated.
21172         * sysdeps/gnu/errlist.c: Regenerated.
21174 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
21176         * include/dirent.h: Include <dirstream.h> before
21177         <dirent/dirent.h>.
21179 2012-02-28  David S. Miller  <davem@davemloft.net>
21181         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21182         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21183         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21184         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21186 2012-02-27  David S. Miller  <davem@davemloft.net>
21188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21190         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21191         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21194         frame pointer instead of stack pointer relative arg slot.
21195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21196         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21197         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21199 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
21201         [BZ #3992]
21202         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21204 2012-02-27  David S. Miller  <davem@davemloft.net>
21206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21210         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21211         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21212         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21213         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21215 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
21217         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21218         later.  Allow versions 5-9.
21219         * configure: Regenerated.
21220         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21221         required minimum version and 4.6 as recommended version.  Do not
21222         mention bugs in GCC 2.7 and 2.8.
21223         * INSTALL: Regenerated.
21225 2012-02-27  David S. Miller  <davem@davemloft.net>
21227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21231         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21232         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21233         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21234         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21236         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21237         manipulate bits before adding and subtracting TWO112[sx].
21238         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21240 2012-02-27  Roland McGrath  <roland@hack.frob.com>
21242         [BZ #13775]
21243         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21244         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21245         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21246         being in POSIX, because they are in 1003.1-2008.
21248         * rt/tst-aio.c: Include <fcntl.h>.
21249         * rt/tst-aio7.c: Likewise.
21250         * rt/tst-aio64.c: Likewise.
21252         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21254 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
21256         * manual/install.texi (--with-headers): Describe headers as
21257         interface headers, not private headers.
21258         (Specific advice for GNU/Linux systems): Describe use of headers
21259         from "make headers_install", not private headers from older
21260         kernels.
21261         * INSTALL: Regenerated.
21262         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21263         Change to 2.6.19.
21264         * sysdeps/unix/sysv/linux/configure: Regenerated.
21266         * manual/llio.texi (fclean): Remove documentation.
21268         * manual/Makefile (libc-texi-generated): New variable.  Include
21269         version.texi.
21270         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21271         $(libc-texi-generated), not duplicated list of files.
21272         (version.texi, stamp-version): New rules.
21273         (realclean): Remove $(libc-texi-generated), not individual files
21274         from that list.  Do not remove dir-add.texinfo.
21275         * manual/libc.texinfo: Comment out uses of edition numbers and
21276         references to printed manual.  Remove last-updated dates.
21277         (EDITION): Comment out.
21278         (ISBN): Likewise.
21279         (VERSION, UPDATED): Remove.
21280         (version.texi): Include.
21282 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
21284         * sysdeps/posix/spawni.c: Include <signal.h>.
21285         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21286         * sysdeps/pthread/aio_fsync.c: Likewise.
21288 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
21290         * conform/Makefile (tests): Run only when not cross-compiling and
21291         when fast-check is not defined.
21293         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21294         * conform/data/limits.h-data: Fixes for POSIX2008.
21295         * conform/run-conformtest.sh: Run all tests.
21296         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21297         headers.
21298         * include/bits/dlfcn.h: Likewise.
21299         * include/langinfo.h: Likewise.
21300         * include/monetary.h: Likewise.
21301         * include/sys/poll.h: Likewise.
21303         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21304         for __USE_GNU.
21305         * posix/spawn.h: Define __need_sigset_t.
21306         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21307         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21308         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
21309         to get sigevent_t only.
21310         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21311         only for __USE_GNU.
21312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21313         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21314         process_vm_writev only for __USE_GNU.
21315         * termios/termios.h: Declare tcgetsid also for POSIX2008.
21317         * conform/Makefile: For now ignore errors from run-conformtest.
21318         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
21319         POSIX to avoid namespace pollution.  Don't prepend headers.
21320         * conform/data/aio.h-data: Fixes for POSIX testing.
21321         * conform/data/fcntl.h-data: Likewise.
21322         * conform/data/glob.h-data: Likewise.
21323         * conform/data/grp.h-data: Likewise.
21324         * conform/data/pthread.h-data: Likewise.
21325         * conform/data/pwd.h-data: Likewise.
21326         * conform/data/signal.h-data: Likewise.
21327         * conform/data/spawn.h-data: Likewise.
21328         * conform/data/stdio.h-data: Likewise.
21329         * conform/data/stdlib.h-data: Likewise.
21330         * conform/data/stropts.h-data: Likewise.
21331         * conform/data/sys/mman.h-data: Likewise.
21332         * conform/data/sys/stat.h-data: Likewise.
21333         * conform/data/sys/types.h-data: Likewise.
21334         * conform/data/sys/wait.h-data: Likewise.
21335         * conform/data/time.h-data: Likewise.
21336         * conform/data/unistd.h-data: Likewise.
21337         * conform/data/utime.h-data: Likewise.
21339         * io/sys/stat.h: fchmod was always in POSIX.
21340         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21341         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21342         * rt/aio.h: Define __need_timespec before including <time.h>.
21343         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21344         struct.  Add forward declaration of pthread_attr_t and use it in
21345         sigevent.
21346         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21347         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21348         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21349         always remove CLK_TCK definition.
21351 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
21353         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21355 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
21357         * conform/run-conformtest.sh: New file.
21358         * conform/Makefile: Run run-conformtest for tests.
21359         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
21360         support.
21362         * conform/data/uchar.h-data: New file.
21363         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21364         * conform/data/arpa/inet.h-data: Likewise.
21365         * conform/data/assert.h-data: Likewise.
21366         * conform/data/complex.h-data: Likewise.
21367         * conform/data/cpio.h-data: Likewise.
21368         * conform/data/ctype.h-data: Likewise.
21369         * conform/data/dirent.h-data: Likewise.
21370         * conform/data/dlfcn.h-data: Likewise.
21371         * conform/data/errno.h-data: Likewise.
21372         * conform/data/fcntl.h-data: Likewise.
21373         * conform/data/float.h-data: Likewise.
21374         * conform/data/fmtmsg.h-data: Likewise.
21375         * conform/data/fnmatch.h-data: Likewise.
21376         * conform/data/ftw.h-data: Likewise.
21377         * conform/data/glob.h-data: Likewise.
21378         * conform/data/grp.h-data: Likewise.
21379         * conform/data/iconv.h-data: Likewise.
21380         * conform/data/inttypes.h-data: Likewise.
21381         * conform/data/langinfo.h-data: Likewise.
21382         * conform/data/libgen.h-data: Likewise.
21383         * conform/data/limits.h-data: Likewise.
21384         * conform/data/locale.h-data: Likewise.
21385         * conform/data/math.h-data: Likewise.
21386         * conform/data/monetary.h-data: Likewise.
21387         * conform/data/mqueue.h-data: Likewise.
21388         * conform/data/ndbm.h-data: Likewise.
21389         * conform/data/net/if.h-data: Likewise.
21390         * conform/data/netdb.h-data: Likewise.
21391         * conform/data/netinet/in.h-data: Likewise.
21392         * conform/data/nl_types.h-data: Likewise.
21393         * conform/data/poll.h-data: Likewise.
21394         * conform/data/pthread.h-data: Likewise.
21395         * conform/data/pwd.h-data: Likewise.
21396         * conform/data/regex.h-data: Likewise.
21397         * conform/data/sched.h-data: Likewise.
21398         * conform/data/search.h-data: Likewise.
21399         * conform/data/semaphore.h-data: Likewise.
21400         * conform/data/setjmp.h-data: Likewise.
21401         * conform/data/signal.h-data: Likewise.
21402         * conform/data/spawn.h-data: Likewise.
21403         * conform/data/stdarg.h-data: Likewise.
21404         * conform/data/stdio.h-data: Likewise.
21405         * conform/data/stdlib.h-data: Likewise.
21406         * conform/data/string.h-data: Likewise.
21407         * conform/data/strings.h-data: Likewise.
21408         * conform/data/stropts.h-data: Likewise.
21409         * conform/data/sys/ipc.h-data: Likewise.
21410         * conform/data/sys/mman.h-data: Likewise.
21411         * conform/data/sys/msg.h-data: Likewise.
21412         * conform/data/sys/resource.h-data: Likewise.
21413         * conform/data/sys/select.h-data: Likewise.
21414         * conform/data/sys/sem.h-data: Likewise.
21415         * conform/data/sys/shm.h-data: Likewise.
21416         * conform/data/sys/socket.h-data: Likewise.
21417         * conform/data/sys/stat.h-data: Likewise.
21418         * conform/data/sys/statvfs.h-data: Likewise.
21419         * conform/data/sys/time.h-data: Likewise.
21420         * conform/data/sys/timeb.h-data: Likewise.
21421         * conform/data/sys/times.h-data: Likewise.
21422         * conform/data/sys/types.h-data: Likewise.
21423         * conform/data/sys/uio.h-data: Likewise.
21424         * conform/data/sys/un.h-data: Likewise.
21425         * conform/data/sys/utsname.h-data: Likewise.
21426         * conform/data/sys/wait.h-data: Likewise.
21427         * conform/data/syslog.h-data: Likewise.
21428         * conform/data/tar.h-data: Likewise.
21429         * conform/data/termios.h-data: Likewise.
21430         * conform/data/utime.h-data: Likewise.
21431         * conform/data/utmpx.h-data: Likewise.
21432         * conform/data/varargs.h-data: Likewise.
21433         * conform/data/wchar.h-data: Likewise.
21434         * conform/data/wctype.h-data: Likewise.
21435         * conform/data/wordexp.h-data: Likewise.
21437         * include/stropts.h: New file.
21438         * include/uchar.h: New file.
21439         * include/aio.h: Changes to allow conformtest.pl to use the headers.
21440         * include/assert.h: Likewise.
21441         * include/ctype.h: Likewise.
21442         * include/dirent.h: Likewise.
21443         * include/dlfcn.h: Likewise.
21444         * include/fcntl.h: Likewise.
21445         * include/fnmatch.h: Likewise.
21446         * include/glob.h: Likewise.
21447         * include/grp.h: Likewise.
21448         * include/libio.h: Likewise.
21449         * include/locale.h: Likewise.
21450         * include/math.h: Likewise.
21451         * include/net/if.h: Likewise.
21452         * include/netdb.h: Likewise.
21453         * include/netinet/in.h: Likewise.
21454         * include/pthread.h: Likewise.
21455         * include/pwd.h: Likewise.
21456         * include/regex.h: Likewise.
21457         * include/sched.h: Likewise.
21458         * include/search.h: Likewise.
21459         * include/setjmp.h: Likewise.
21460         * include/signal.h: Likewise.
21461         * include/stdio.h: Likewise.
21462         * include/stdlib.h: Likewise.
21463         * include/string.h: Likewise.
21464         * include/sys/cdefs.h: Likewise.
21465         * include/sys/mman.h: Likewise.
21466         * include/sys/msg.h: Likewise.
21467         * include/sys/resource.h: Likewise.
21468         * include/sys/select.h: Likewise.
21469         * include/sys/socket.h: Likewise.
21470         * include/sys/stat.h: Likewise.
21471         * include/sys/statvfs.h: Likewise.
21472         * include/sys/time.h: Likewise.
21473         * include/sys/times.h: Likewise.
21474         * include/sys/uio.h: Likewise.
21475         * include/sys/utsname.h: Likewise.
21476         * include/sys/wait.h: Likewise.
21477         * include/termios.h: Likewise.
21478         * include/time.h: Likewise.
21479         * include/ulimit.h: Likewise.
21480         * include/unistd.h: Likewise.
21481         * include/utime.h: Likewise.
21482         * include/wchar.h: Likewise.
21483         * include/wctype.h: Likewise.
21484         * include/wordexp.h: Likewise.
21486         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21488         * time/time.h: TIME_UTC must be a macro.
21489         Make timespec_get available for ISO C11 only as well.
21491 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
21493         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21494         Reported by Peng Haitao <penght@cn.fujitsu.com>.
21496 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
21498         * configure.in: Use -o not -a in test for unsupported multi-arch.
21500 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
21502         * manual/texinfo.tex: Update to version 2012-01-19.16.
21504 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
21506         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21508 2012-02-24  Roland McGrath  <roland@hack.frob.com>
21510         [BZ #13738]
21511         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21512         * manual/fdl-1.3.texi: New file.
21513         * manual/fdl-1.1.texi: File removed.
21515         [BZ #13738]
21516         * manual/libc.texinfo (FDL_VERSION): New @set.
21517         Use it for mention of FDL in cover text.
21518         (Documentation License): Use it in @include file name.
21520 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21521             Roland McGrath  <roland@hack.frob.com>
21523         [BZ #5461]
21524         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21525         not LONG_LONG_MAX and LONG_LONG_MIN.
21526         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21527         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
21528         name.
21529         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21531 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21533         [BZ #2547]
21534         [BZ #11365]
21535         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21536         manipulate bits before adding and subtracting TWO23[sx].
21537         * math/libm-test.inc (nearbyint_test): Add more tests.
21539 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21541         [BZ #2548]
21542         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21543         bits before adding and subtracting TWO23[sx].
21544         * math/libm-test.inc (rint_test): Add more tests.
21545         (rint_test_tonearest): Likewise.
21546         (rint_test_towardzero): Likewise.
21547         (rint_test_downward): Likewise.
21548         (rint_test_upward: Likewise.
21550 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21552         [BZ #10110]
21553         * include/stdc-predef.h: New file.  Extracted from features.h.
21554         * include/features.h: Include stdc-predef.h.
21555         * Makefile (headers): Add stdc-predef.h.
21556         * CONFORMANCE (Compiler limitations): Update.
21558 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21560         * manual/libc.texinfo (VERSION, UPDATED): Revert.
21562 2012-02-21  David S. Miller  <davem@davemloft.net>
21564         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21565         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21567 2012-02-20  David S. Miller  <davem@davemloft.net>
21569         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21570         using a normal save/restore sequence, rather than allocating a
21571         dummy stack frame just to store a frame pointer and restore.
21572         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21574 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
21576         * manual/install.texi: Fix stray word in line-wrapped comment.
21578 2012-02-20  David S. Miller  <davem@davemloft.net>
21580         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21581         both binutils and gcc support GOTDATA.
21583         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21584         "rd %pc" in the PIC register setup sequences.
21586         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21587         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21588         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21589         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21590         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21591         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21592         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21593         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21595         (SYSCALL_ERROR_HANDLER): Likewise.
21596         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21597         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21598         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21599         (SYSCALL_ERROR_HANDLER): Likewise.
21601         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21602         (HAVE_GCC_GOTDATA): New.
21603         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21604         relocation support in both binutils and gcc.
21605         * sysdeps/sparc/elf/configure: Regenerate.
21607         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21608         * sysdeps/sparc/sparc32/elf/configure: Delete.
21609         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21610         * sysdeps/sparc/sparc64/elf/configure: Delete.
21611         * sysdeps/sparc/elf/configure.in: New file.
21612         * sysdeps/sparc/elf/configure: Generate.
21614         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21615         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21616         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21617         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21618         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21620 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
21622         * manual/install.texi: Do not mention specific glibc version
21623         numbers.
21624         * manual/libc.texinfo (VERSION, UPDATED): Update.
21625         (@copying): Use @copyright{} and range of years.
21627 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
21629         [BZ #13695]
21630         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21631         [crti.S not in sysdirs] (generated): Do not append.
21632         [crti.S not in sysdirs] (omit-deps): Likewise.
21633         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21634         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21635         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21636         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21637         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21638         Likewise.
21639         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21640         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21641         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21642         * csu/defs.awk: Remove file.
21643         * sysdeps/generic/initfini.c: Likewise.
21644         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21645         variable.
21646         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21647         Likewise.
21649 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
21651         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21652         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21653         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21654         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21655         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21656         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21657         <bits/epoll.h>.
21658         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21659         (__EPOLL_PACKED): Define to empty if not defined by
21660         <bits/epoll.h>.
21661         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21663         bits/epoll.h.
21665 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
21667         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21668         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21669         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21670         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21671         <bits/timerfd.h>.
21672         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21674         bits/timerfd.h.
21676 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
21678         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21679         in C locale.
21680         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21681         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21682         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21685 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
21687         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21688         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21690 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
21692         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21693         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21694         defined.
21695         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21696         Likewise.
21697         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21698         entry for 2.16.
21700 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
21702         * math/w_acos.c: Use non-signaling floating-point comparisons.
21703         * math/w_acosf.c: Likewise.
21704         * math/w_acosh.c: Likewise.
21705         * math/w_acoshf.c: Likewise.
21706         * math/w_acoshl.c: Likewise.
21707         * math/w_acosl.c: Likewise.
21708         * math/w_asin.c: Likewise.
21709         * math/w_asinf.c: Likewise.
21710         * math/w_asinl.c: Likewise.
21711         * math/w_atanh.c: Likewise.
21712         * math/w_atanhf.c: Likewise.
21713         * math/w_atanhl.c: Likewise.
21714         * math/w_exp2.c: Likewise.
21715         * math/w_exp2f.c: Likewise.
21716         * math/w_exp2l.c: Likewise.
21717         * math/w_j0.c: Likewise.
21718         * math/w_j0f.c: Likewise.
21719         * math/w_j0l.c: Likewise.
21720         * math/w_j1.c: Likewise.
21721         * math/w_j1f.c: Likewise.
21722         * math/w_j1l.c: Likewise.
21723         * math/w_jn.c: Likewise.
21724         * math/w_jnf.c: Likewise.
21725         * math/w_log.c: Likewise.
21726         * math/w_log10.c: Likewise.
21727         * math/w_log10f.c: Likewise.
21728         * math/w_log10l.c: Likewise.
21729         * math/w_log2.c: Likewise.
21730         * math/w_log2f.c: Likewise.
21731         * math/w_log2l.c: Likewise.
21732         * math/w_logf.c: Likewise.
21733         * math/w_logl.c: Likewise.
21734         * math/w_sqrt.c: Likewise.
21735         * math/w_sqrtf.c: Likewise.
21736         * math/w_sqrtl.c: Likewise.
21737         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21738         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21739         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21740         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21741         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21743 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
21745         [BZ #9739]
21746         * manual/string.texi (strnlen): Use correct parameter name in
21747         equivalent expression.
21749 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
21751         [BZ #11174]
21752         * manual/users.texi (seteuid): Consistently use neweuid for
21753         argument name.
21755 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
21757         [BZ #13704]
21758         * manual/nss.texi (Services in the NSS configuration): Correct
21759         list of services in example configuration file.
21761 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
21763         [BZ #11322]
21764         * manual/arith.texi: Remove statements about negative zero
21765         behaving identically to zero.
21767 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
21769         [BZ #5993]
21770         * manual/install.texi: Do not document upgrading from libc5.
21772 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
21774         [BZ #4596]
21775         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21777 2012-02-18  David S. Miller  <davem@davemloft.net>
21779         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21780         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21781         %o7 across the call.
21782         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21783         instead.
21784         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21785         SETUP_PIC_REG_LEAF.
21786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21787         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21788         * sysdeps/sparc/crtn.S: Likewise.
21790 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
21792         * aout/Makefile: Remove.
21794 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
21796         [BZ #13058]
21797         * manual/examples/argp-ex1.c (main): Format definition in GNU
21798         style.
21799         * manual/examples/argp-ex2.c (main): Likewise.
21800         * manual/examples/argp-ex3.c (main): Likewise.
21801         * manual/examples/argp-ex4.c (main): Likewise.
21802         * manual/examples/longopt.c (main): Use new-style prototype
21803         definition.
21804         * manual/examples/strncat.c (main): Specify return type and use
21805         (void) for arguments.
21806         * manual/examples/subopt.c (main): Use char **argv argument.
21808 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21810         [BZ #5077]
21811         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21812         rounding modes.
21814 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
21816         [BZ #6907]
21817         * manual/string.texi (strchr): Change when strchrnul is
21818         recommended.
21820 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
21822         [BZ #174]
21823         * manual/locale.texi (setlocale): Document LOCPATH.
21825 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21827         [BZ #10210]
21828         * manual/process.texi (execle): Move @dots{} before last argument.
21830 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
21832         [BZ #12047]
21833         * manual/charset.texi (Generic Charset Conversion): Fix typo
21834         (LC_TYPE -> LC_CTYPE).
21836 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
21838         [BZ #5805]
21839         * manual/arith.texi (scalbn): Use @var{} on parameter names.
21840         (scalbnf): Likewise.
21841         (scalbnl): Likewise.
21842         (scalbln): Likewise.
21843         (scalblnf): Likewise.
21844         (scalblnl): Likewise.
21845         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21846         (vwarnx): Likewise.
21847         (verr): Likewise.
21848         (verrx): Likewise.
21849         * manual/filesys.texi (telldir): Use braces around return type.
21850         * manual/llio.texi (mmap): Add space after comma.
21851         (mmap64): Likewise.
21852         * manual/math.texi (jn): Use @var{} on parameter names.
21853         (jnf): Likewise.
21854         (jnl): Likewise.
21855         (yn): Likewise.
21856         (ynf): Likewise.
21857         (ynl): Likewise.
21858         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21859         line.
21860         * manual/resource.texi (ulimit): Use @dots{} instead of literal
21861         "...".
21862         (sched_get_priority_min): Remove semicolon on @deftypefun line.
21863         (sched_get_priority_max): Likewise.
21864         * manual/signal.texi (sigvec): Add space after comma.
21865         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21866         names.
21867         (if_indextoname): Likewise.
21868         (if_freenameindex): Likewise.
21869         (sendto): Use ',' instead of '.' in prototype.
21870         * manual/startup.texi (syscall): Use @dots{} instead of literal
21871         "...".
21872         * manual/stdio.texi (__fpending): Separate initial words of
21873         paragraph from @deftypefun line.
21874         * manual/syslog.texi (syslog): Use @dots{} instead of literal
21875         "...".
21876         (vsyslog): Use @var{} on parameter names.
21877         * manual/terminal.texi (stty): Use @var{} on parameter names.
21878         * manual/users.texi (getutmp): Use @var{} on parameter names.
21879         (getutmpx): Likewise.
21881 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21883         [BZ #6884]
21884         * manual/stdio.texi (fopen): Fix typos in description of
21885         ",ccs=STRING".
21887 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
21889         [BZ #4026]
21890         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21891         get clock_id definition.
21893 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
21895         [BZ #4822]
21896         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21897         (madvise): Cast every argument to void on its own.
21899 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21901         [BZ #9902]
21902         * manual/startup.texi (Exit Status): Fix typo.
21904 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21906         [BZ #10140]
21907         * manual/examples/argp-ex1.c: Include <stdlib.h>.
21908         * manual/examples/argp-ex2.c: Likewise.
21909         * manual/examples/argp-ex3.c: Likewise.
21911 2012-02-16  Richard Henderson  <rth@redhat.com>
21913         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21914         * sysdeps/s390/s390-32/initfini.c: Remove.
21915         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21916         * sysdeps/s390/s390-64/initfini.c: Remove.
21918 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21920         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21921         compiler output for sysdeps/generic/initfini.c.
21922         * sysdeps/sh/elf/initfini.c: Remove file.
21924 2012-02-16  David S. Miller  <davem@davemloft.net>
21926         [BZ #11494]
21927         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21929         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21930         * sysdeps/sparc/crti.S: New file.
21931         * sysdeps/sparc/crtn.S: New file.
21932         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21933         * sysdeps/sparc/sparc64/Makefile: Likewise.
21935 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
21937         [BZ #3335]
21938         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21940 2012-02-15  Roland McGrath  <roland@hack.frob.com>
21942         [BZ #4822]
21943         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21945         * mach/devstream.c (cookie_io_functions_t): Macro removed.
21946         (write, read, close): Likewise.
21947         Patch by Aurelien Jarno <aurelien@aurel32.net>.
21949 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
21951         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21952         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21953         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21954         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21955         <bits/signalfd.h>.
21956         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21958         bits/signalfd.h.
21960 2012-02-14  Marek Polacek  <polacek@redhat.com>
21962         * sysdeps/x86_64/crti.S: New file.
21963         * sysdeps/x86_64/crtn.S: New file.
21964         * sysdeps/x86_64/elf/initfini.c: Remove file.
21966 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
21968         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21969         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21970         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21971         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21972         <bits/inotify.h>.
21973         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21975         bits/inotify.h.
21977 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
21979         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21980         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21981         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21982         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21983         <bits/eventfd.h>.
21984         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21986         bits/eventfd.h.
21988 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
21990         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21991         __feraiseexcept instead of feraiseexcept.
21993         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21994         nanosleep invocations.
21995         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21996         strings, and add error checking for a nanosleep invocations.
21998 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
22000         Replace FSF snail mail address with URLs, as per GNU coding standards.
22001         Most of the snail mail addresses were wrong anyway, and omitting
22002         them makes the source code easier to maintain.  Almost all of the
22003         changes are to license notices and to locale LC_IDENTIFICATION
22004         addresses, except for this one:
22005         * manual/libc.texinfo: In "Published by", give the FSF's URL,
22006         not its snail mail address.
22008 2012-02-09  Richard Henderson  <rth@twiddle.net>
22010         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22011         of kernel-features.h.
22013         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22015 2012-02-08  Marek Polacek  <polacek@redhat.com>
22017         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22018         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22019         * sysdeps/gnu/_G_config.h: Likewise.
22020         * sysdeps/generic/_G_config.h: Likewise.
22022 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
22024         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22025         tests.
22026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22028         * sysdeps/powerpc/powerpc32/crti.S: New file.
22029         * sysdeps/powerpc/powerpc32/crtn.S: New file.
22030         * sysdeps/powerpc/powerpc64/crti.S: New file.
22031         * sysdeps/powerpc/powerpc64/crtn.S: New file.
22033         * Makeconfig (have-initfini): Don't set.
22034         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22035         * configure.in (nopic_initfini): Don't substitute.
22036         * config.h.in (HAVE_INITFINI): Don't #undef.
22037         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22038         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22040 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
22042         Support crti.S and crtn.S provided directly by architectures.
22043         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22044         [crti.S in sysdirs] (omit-deps): Likewise.
22045         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22046         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22047         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22048         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22049         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22050         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22051         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22052         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22053         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22054         compiler output for sysdeps/generic/initfini.c.
22055         * sysdeps/i386/elf/Makefile: Remove file.
22056         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22058 2012-02-07  Marek Polacek  <polacek@redhat.com>
22060         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22061         * sysdeps/gnu/_G_config.h: Likewise.
22062         * sysdeps/mach/hurd/_G_config.h: Likewise.
22064 2012-02-07  Marek Polacek  <polacek@redhat.com>
22066         * math/Makefile (tests): Add tst-CMPLX2.
22067         * math/tst-CMPLX2.c: New file.
22069 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
22071         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22073         * math/libm-test.inc (jn_test): Add missing L suffix.
22075 2012-02-06  Marek Polacek  <polacek@redhat.com>
22077         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22078         * sysdeps/i386/fpu/e_powf.S: Likewise.
22079         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22080         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22081         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22082         * sysdeps/i386/fpu/e_pow.S: Likewise.
22083         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22084         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22085         * sysdeps/i386/fpu/s_expm1.S: Likewise.
22086         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22087         * sysdeps/i386/fpu/e_log2.S: Likewise.
22088         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22089         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22090         * sysdeps/i386/fpu/e_powl.S: Likewise.
22091         * sysdeps/i386/fpu/s_log1p.S: Likewise.
22092         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22093         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22094         * sysdeps/i386/fpu/e_logl.S: Likewise.
22095         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22096         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22097         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22098         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22099         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22100         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22101         * sysdeps/i386/fpu/e_log.S: Likewise.
22102         * sysdeps/i386/fpu/s_cexp.S: Likewise.
22103         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22104         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22105         * sysdeps/i386/fpu/e_logf.S: Likewise.
22106         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22107         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22108         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22109         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22110         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22111         * sysdeps/i386/fpu/e_log10.S: Likewise.
22112         * sysdeps/i386/fpu/s_frexp.S: Likewise.
22113         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22114         * sysdeps/i386/fpu/s_asinh.S: Likewise.
22115         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22116         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22117         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22118         * sysdeps/i386/asm-syntax.h: Likewise.
22119         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22120         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22121         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22122         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22123         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22124         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22125         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22126         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22127         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22128         * sysdeps/powerpc/sysdep.h: Likewise.
22129         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22130         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22132 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
22134         [BZ #411]
22135         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22137 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
22139         * sysdeps/i386/sysdep.h: Include <features.h>.
22140         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22141         version.
22143 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
22145         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22146         Define.
22147         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22148         LOAD_PIC_REG_STR.
22150 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22152         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22153         (SETUP_PIC_REG): Use GET_PC_THUNK.
22154         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22155         macro.
22157 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22159         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22160         for non-PIC compilation.
22161         (SETUP_PIC_REG): Add .p2align directive.
22162         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22163         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22164         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22165         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22166         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22167         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22168         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22169         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22170         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22171         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22172         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22173         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22174         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22175         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22176         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22177         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22178         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22179         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22180         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22181         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22182         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22183         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22184         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22185         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22186         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22187         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22188         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22189         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22190         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22191         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22192         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22193         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22194         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22195         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22196         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22197         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22198         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22199         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22200         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22201         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22202         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22204 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22206         * math/tst-CMPLX.c: Include <stdio.h>.
22208 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
22210         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22211         float.
22212         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22213         * sysdeps/sparc/bits/mathdef.h: Likewise.
22215 2012-01-31  Marek Polacek  <polacek@redhat.com>
22217         * libio/libio.h: Don't define _PARAMS.
22218         * locale/programs/config.h: Don't define PARAMS.
22219         * stdlib/strtol_l.c: Likewise.
22220         (__strtol_l): Remove PARAMS from the prototype.
22222 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
22224         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
22225         names.  Just use the correct names.  Remove unnecessary wrapper
22226         functions.
22227         * malloc/arena.c: Likewise.
22228         * malloc/hooks.c: Likewise.
22230         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22231         ARENA_TEST says not to.  Simplify test for creation of a new arena.
22232         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22234 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
22236         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22237         into tail calls.
22238         (update_get_addr): New function.
22239         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22240         GET_ADDR_MODULE parameter.
22242 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
22244         * crypt/cert.c: Remove __STDC__ conditionals.
22245         * crypt/crypt-entry.c: Likewise.
22246         * crypt/crypt_util.c: Likewise.
22247         * libio/filedoalloc.c: Likewise.
22248         * libio/fileops.c: Likewise.
22249         * libio/genops.c: Likewise.
22250         * libio/iofclose.c: Likewise.
22251         * libio/iofdopen.c: Likewise.
22252         * libio/iofopen.c: Likewise.
22253         * libio/iofopen64.c: Likewise.
22254         * libio/iogetdelim.c: Likewise.
22255         * libio/iopopen.c: Likewise.
22256         * libio/obprintf.c: Likewise.
22257         * libio/oldfileops.c: Likewise.
22258         * libio/oldiofclose.c: Likewise.
22259         * libio/oldiofdopen.c: Likewise.
22260         * libio/oldiofopen.c: Likewise.
22261         * libio/oldiopopen.c: Likewise.
22262         * libio/wfiledoalloc.c: Likewise.
22263         * libio/wgenops.c: Likewise.
22264         * locale/programs/xmalloc.c: Likewise.
22265         * misc/syslog.c: Likewise.
22266         * stdio-common/xbug.c: Likewise.
22267         * string/memchr.c: Likewise.
22268         * string/memcmp.c: Likewise.
22269         * string/memrchr.c: Likewise.
22270         * string/rawmemchr.c: Likewise.
22271         * sysdeps/posix/getcwd.c: Likewise.
22272         * time/strftime_l.c: Likewise.
22274 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
22276         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22277         * config.make.in (config-cflags-sse2avx): Define.
22278         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22279         Fix typo.
22281 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
22283         * scripts/config.guess: Update from upstream config git repository.
22284         * scripts/config.sub: Likewise.
22286 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
22288         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22289         (EM_NUM): Update.
22290         (R_TILEPRO_*, R_TILEGX_*): New macros.
22292         * scripts/firstversions.awk: Fix bug in version range handling.
22294         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22296         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22298         * include/sys/epoll.h: New file.
22299         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22300         libc_hidden_def.
22302 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
22304         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22305         Avoid unnecessary __WORDSIZE == 64 test.
22306         (fmaxf): Use VEX format if possible.
22307         (fmax): Likewise.
22308         (fminf): Likewise.
22309         (fmin): Likewise.
22311         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22312         * math/math_private.h: Remove libc_fegetround* and
22313         libc_fesetround*.
22314         * sysdeps/i386/configure.in: Check for -msse2avx.
22315         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22316         also if SSE2AVX is defined.
22317         Remove libc_fegetround* and libc_fesetround*.
22318         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22319         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
22320         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22321         of HAS_YMM_USABLE.
22322         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22323         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22324         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22325         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22326         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22328         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22330 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22332         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22333         size is not set.
22334         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22336 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
22338         [BZ #13618]
22339         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22340         relocation.
22341         * Makeconfig (libm): Define.
22342         * elf/Makefile: Add rules to build and run tst-relsort1.
22343         * elf/tst-relsort1.c: New file.
22344         * elf/tst-relsort1mod1.c: New file.
22345         * elf/tst-relsort1mod2.c: New file.
22347 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
22349         * math/s_ldexp.c: Remove __STDC__ conditionals.
22350         * math/s_ldexpf.c: Likewise.
22351         * math/s_ldexpl.c: Likewise.
22352         * math/s_nextafter.c: Likewise.
22353         * math/s_nexttowardf.c: Likewise.
22354         * math/s_significand.c: Likewise.
22355         * math/s_significandf.c: Likewise.
22356         * math/s_significandl.c: Likewise.
22357         * math/w_jnl.c: Likewise.
22358         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22359         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22360         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22361         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22362         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22363         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22364         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22366         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22367         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22368         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22369         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22370         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22371         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22372         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22373         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22374         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22375         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22376         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22377         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22378         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22379         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22380         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22381         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22382         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22383         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22384         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22385         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22386         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22387         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22388         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22389         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22390         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22391         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22392         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22393         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22394         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22395         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22396         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22397         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22398         * sysdeps/ieee754/k_standard.c: Likewise.
22399         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22400         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22401         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22402         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22403         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22404         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22405         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22406         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22407         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22408         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22409         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22410         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22411         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22412         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22413         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22414         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22415         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22416         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22417         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22418         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22419         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22420         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22421         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22422         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22423         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22424         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22426         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22427         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22428         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22429         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22430         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22431         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22432         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22434         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22435         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22436         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22437         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22438         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22439         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22440         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22441         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22442         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22443         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22444         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22445         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22446         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22447         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22448         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22449         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22450         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22451         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22452         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22453         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22454         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22455         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22456         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22457         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22458         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22459         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22460         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22461         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22462         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22463         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22464         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22465         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22466         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22467         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22468         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22469         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22470         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22471         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22472         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22473         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22474         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22475         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22476         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22477         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22478         * sysdeps/ieee754/s_matherr.c: Likewise.
22479         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22480         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22481         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22482         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22484 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
22486         * crypt/md5.h: Remove __STDC__ conditionals.
22487         * libio/libioP.h: Likewise.
22488         * locale/programs/config.h: Likewise.
22489         * sysdeps/generic/sysdep.h: Likewise.
22490         * sysdeps/i386/asm-syntax.h: Likewise.
22491         * sysdeps/s390/asm-syntax.h: Likewise.
22492         * sysdeps/unix/sysdep.h: Likewise.
22493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22496 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
22498         * libio/libio.h: Remove __STDC__ conditionals.
22499         * malloc/obstack.h: Likewise.
22500         * math/complex.h: Likewise.
22501         * math/math.h: Likewise.
22502         * sysdeps/generic/_G_config.h: Likewise.
22503         * sysdeps/gnu/_G_config.h: Likewise.
22504         * sysdeps/mach/hurd/_G_config.h: Likewise.
22505         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22506         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22507         * sysdeps/sparc/bits/mathdef.h: Likewise.
22509 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
22511         [BZ #13583]
22512         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
22513         Clean up HAS_* macros.
22514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
22515         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22516         possible.
22517         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22518         HAS_AVX.
22519         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22520         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22521         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22522         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22523         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22525 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
22527         * elf/tst-unique3.cc (gets): Remove declaration.
22528         * elf/tst-unique3lib.cc (gets): Likewise.
22529         * elf/tst-unique3lib2.cc (gets): Likewise.
22530         * elf/tst-unique4.cc (gets): Likewise.
22532 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
22534         * include/stdio.h: Add C++ protection.  Add gets declarations and
22535         definitions.
22536         * debug/tst-chk1.c: Don't declare gets here.
22537         * stdio-common/tst-gets.c: Likewise.
22539 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
22541         * posix/glob: Remove directory.
22543 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
22545         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22547 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
22549         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22550         of the non-standard EPFNOSUPPORT.
22552 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22554         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22555         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22556         ANYWHERE set to 1 only on KERN_NO_SPACE error.
22558 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
22560         * wcsmbs/uchar.h: Test __STDC_VERSION__.
22562 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
22564         * nscd/aicache.c (addhstaiX): Do not cache negative results of
22565         transient errors.
22566         * nscd/grpcache.c (cache_addgr): Likewise.
22567         * nscd/hstcache.c (cache_addhst): Likewise.
22568         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22569         * nscd/pwdcache.c (cache_addpw): Likewise.
22570         * nscd/servicescache.c (cache_addserv): Likewise.
22572 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
22574         * malloc/malloc.c: Various cleanups.
22575         * malloc/hooks.c: Likewise.
22577         * stdlib/Makefile (tests): Add bug-fmtmsg1.
22578         * stdlib/bug-fmtmsg1.c: New file.
22580         * stdlib/fmtmsg.c (init): Add missing unlock.
22581         Patch by Peng Haitao <penght@cn.fujitsu.com>.
22583 2012-01-12  Marek Polacek  <polacek@redhat.com>
22585         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22586         and _GNU_SOURCE.
22588 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22590         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22591         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22592         macro to ensure uniqueness of label name.
22593         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22594         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22596 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
22598         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22600         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22601         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22602         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22603         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22605 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
22607         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22609         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22610         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22611         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22613         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22615         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
22616         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22617         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
22620         * math/bits/math-finite.h: Add ldexp support.
22622 2012-01-10  Marek Polacek  <polacek@redhat.com>
22624         * locale/programs/localedef.h (show_archive_content): Add noreturn
22625         attribute.
22627 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
22629         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22631 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
22633         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22635         * io/Makefile (headers): Add bits/poll2.h.
22637 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
22639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22640         typo #include statement.
22642 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
22644         * include/sys/cdefs.h: Define __attribute_alloc_size.
22645         * catgets/gencat.c: Add alloc_size attribute and apply consistently
22646         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22647         * elf/pldd.c: Likewise.
22648         * iconv/iconv_charmap.c: Likewise.
22649         * iconv/iconvconfig.c: Likewise.
22650         * iconv/strtab.c: Likewise.
22651         * locale/programs/locale.c: Likewise.
22652         * locale/programs/localedef.h: Likewise.
22653         * locale/programs/simple-hash.c: Likewise.
22654         * nscd/nscd.h: Likewise.
22655         * nss/makedb.c: Likewise.
22656         * sysdeps/generic/ldconfig.h: Likewise.
22657         * locale/programs/localedef.c: Remove xmalloc prototype.
22658         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22660 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22662         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22663         appropriate.
22665 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
22667         * math/Makefile (tests): Add tst-CMPLX.
22668         * math/tst-CMPLX.c: New file.
22670         * math/complex.h (CMPLXL): Fix typo.
22672         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22673         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22674         GLIBC_2.16.
22675         * debug/tst-chk1.c: Add poll and ppoll tests.
22676         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22677         * include/sys/poll.h: Add hidden proto for ppoll.
22678         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22679         * sysdeps/mach/hurd/ppoll.c: Likewise.
22680         * io/ppoll.c: Likewise.
22681         * debug/poll_chk.c: New file.
22682         * debug/ppoll_chk.c: New file.
22683         * include/bits/poll2.h: New file.
22684         * io/bits/poll2.h: New file.
22686         [BZ #1350]
22687         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22689         * configure.in: static is always set to yes.  Remove.
22690         * config.make.in: Don't set build-static.
22691         * Makeconfig: Remove use of build-static.
22692         * dlfcn/Makefile: Likewise.
22693         * elf/Makefile: Likewise.
22694         * math/Makefile: Likewise.
22695         * misc/Makefile: Likewise.
22696         * nptl/Makefile: Likewise.
22697         * sysdeps/mach/hurd/Makefile: Likewise.
22699         * configure.in: PWD_P is not used anymore.
22700         * config.make.in: Remove PWD_P entry.
22702         * configure.in: Remove last remnants of RANLIB.
22703         No need to check for signed size_t anymore.
22704         Don't set libc_commonpagesize and libc_relro_required here for Alpha
22705         and IA-64.
22706         Remove __builtin_expect test because we require at least gcc 3.4.
22707         * aclocal.m4: Likewise.
22709         * wcsmbs/mbrtoc16.c: Implement using towc function.
22710         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22711         * wcsmbs/wcsmbsload.c: Likewise.
22712         * iconv/gconv_simple.c: Likewise.
22713         * iconv/gconv_int.h: Likewise.
22714         * iconv/gconv_builtin.h: Likewise.
22715         * iconv/iconv_prog.c: Remove CHAR16 handling.
22717         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22719         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22721         * configure.in: Remove --with-elf and --enable-bounded options.
22722         Dont set base_machine for ia64.  More non-ELF conditions removed.
22723         Remove testing and setting of leading underscore information.
22724         * config.make.in (build-bounded): Set to no.
22725         * config.h.in: Remove NO_UNDERSCORES entry.
22726         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
22727         them.
22728         * csu/start.c: Remove !NO_UNDERSCORE code.
22729         * locale/localeinfo.h: Likewise.
22730         * sysdeps/generic/machine-gmon.h: Likewise.
22731         * sysdeps/generic/sysdep.h: Likewise.
22732         * sysdeps/i386/sysdep.h: Likewise.
22733         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22734         * sysdeps/mach/sysdep.h: Likewise.
22735         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22736         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22737         * sysdeps/sh/sysdep.h: Likewise.
22738         * sysdeps/sparc/sparc32/alloca.S: Likewise.
22739         * sysdeps/unix/i386/sysdep.S: Likewise.
22740         * sysdeps/unix/sparc/start.c: Likewise.
22741         * sysdeps/unix/sparc/sysdep.S: Likewise.
22742         * sysdeps/unix/sparc/sysdep.h: Likewise.
22743         * sysdeps/unix/start.c: Likewise.
22744         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22745         * sysdeps/x86_64/sysdep.h: Likewise.
22747 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
22749         [BZ #13553]
22750         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22751         for non-gcc.
22752         * argp/argp-fmtstream.h: Use const instead __const.
22753         * argp/argp.h: Likewise.
22754         * assert/assert.h: Likewise.
22755         * bits/fenv.h: Likewise.
22756         * bits/sched.h: Likewise.
22757         * bits/sigset.h: Likewise.
22758         * bits/sigthread.h: Likewise.
22759         * catgets/nl_types.h: Likewise.
22760         * conform/data/pthread.h-data: Likewise.
22761         * crypt/crypt-private.h: Likewise.
22762         * crypt/crypt.h: Likewise.
22763         * crypt/crypt_util.c: Likewise.
22764         * ctype/ctype.h: Likewise.
22765         * debug/execinfo.h: Likewise.
22766         * debug/mbsnrtowcs_chk.c: Likewise.
22767         * debug/mbsrtowcs_chk.c: Likewise.
22768         * debug/wcsnrtombs_chk.c: Likewise.
22769         * debug/wcsrtombs_chk.c: Likewise.
22770         * debug/wcstombs_chk.c: Likewise.
22771         * dirent/dirent.h: Likewise.
22772         * dlfcn/dlfcn.h: Likewise.
22773         * elf/neededtest4.c: Likewise.
22774         * grp/grp.h: Likewise.
22775         * gshadow/gshadow.h: Likewise.
22776         * iconv/gconv.h: Likewise.
22777         * iconv/gconv_int.h: Likewise.
22778         * iconv/gconv_simple.c: Likewise.
22779         * iconv/iconv.h: Likewise.
22780         * iconv/loop.c: Likewise.
22781         * iconv/skeleton.c: Likewise.
22782         * include/aio.h: Likewise.
22783         * include/aliases.h: Likewise.
22784         * include/argz.h: Likewise.
22785         * include/arpa/inet.h: Likewise.
22786         * include/assert.h: Likewise.
22787         * include/dirent.h: Likewise.
22788         * include/dlfcn.h: Likewise.
22789         * include/execinfo.h: Likewise.
22790         * include/fcntl.h: Likewise.
22791         * include/fenv.h: Likewise.
22792         * include/glob.h: Likewise.
22793         * include/grp.h: Likewise.
22794         * include/libintl.h: Likewise.
22795         * include/mntent.h: Likewise.
22796         * include/netdb.h: Likewise.
22797         * include/pwd.h: Likewise.
22798         * include/rpc/netdb.h: Likewise.
22799         * include/sched.h: Likewise.
22800         * include/search.h: Likewise.
22801         * include/shadow.h: Likewise.
22802         * include/signal.h: Likewise.
22803         * include/stdio.h: Likewise.
22804         * include/stdlib.h: Likewise.
22805         * include/string.h: Likewise.
22806         * include/sys/socket.h: Likewise.
22807         * include/sys/stat.h: Likewise.
22808         * include/sys/statfs.h: Likewise.
22809         * include/sys/statvfs.h: Likewise.
22810         * include/sys/syslog.h: Likewise.
22811         * include/sys/time.h: Likewise.
22812         * include/sys/uio.h: Likewise.
22813         * include/time.h: Likewise.
22814         * include/unistd.h: Likewise.
22815         * include/utmp.h: Likewise.
22816         * include/wchar.h: Likewise.
22817         * include/wctype.h: Likewise.
22818         * inet/aliases.h: Likewise.
22819         * inet/arpa/inet.h: Likewise.
22820         * inet/netinet/ether.h: Likewise.
22821         * inet/netinet/in.h: Likewise.
22822         * intl/libintl.h: Likewise.
22823         * io/bits/fcntl2.h: Likewise.
22824         * io/fcntl.h: Likewise.
22825         * io/ftw.h: Likewise.
22826         * io/sys/poll.h: Likewise.
22827         * io/sys/stat.h: Likewise.
22828         * io/sys/statfs.h: Likewise.
22829         * io/sys/statvfs.h: Likewise.
22830         * io/utime.h: Likewise.
22831         * libio/bits/stdio.h: Likewise.
22832         * libio/bits/stdio2.h: Likewise.
22833         * libio/libio.h: Likewise.
22834         * libio/libioP.h: Likewise.
22835         * libio/stdio.h: Likewise.
22836         * locale/lc-ctype.c: Likewise.
22837         * locale/locale.h: Likewise.
22838         * login/utmp.h: Likewise.
22839         * malloc/arena.c: Likewise.
22840         * malloc/malloc.c: Likewise.
22841         * malloc/malloc.h: Likewise.
22842         * malloc/mcheck.c: Likewise.
22843         * malloc/mtrace.c: Likewise.
22844         * math/bits/mathcalls.h: Likewise.
22845         * math/fenv.h: Likewise.
22846         * math/math_private.h: Likewise.
22847         * misc/bits/error.h: Likewise.
22848         * misc/bits/syslog.h: Likewise.
22849         * misc/err.h: Likewise.
22850         * misc/error.h: Likewise.
22851         * misc/fstab.h: Likewise.
22852         * misc/mntent.h: Likewise.
22853         * misc/regexp.h: Likewise.
22854         * misc/search.h: Likewise.
22855         * misc/sgtty.h: Likewise.
22856         * misc/sys/mman.h: Likewise.
22857         * misc/sys/syslog.h: Likewise.
22858         * misc/sys/uio.h: Likewise.
22859         * misc/sys/xattr.h: Likewise.
22860         * misc/ttyent.h: Likewise.
22861         * nis/rpcsvc/ypclnt.h: Likewise.
22862         * nss/nss.h: Likewise.
22863         * posix/bits/unistd.h: Likewise.
22864         * posix/fnmatch.h: Likewise.
22865         * posix/glob.h: Likewise.
22866         * posix/sched.h: Likewise.
22867         * posix/spawn.h: Likewise.
22868         * posix/sys/wait.h: Likewise.
22869         * posix/unistd.h: Likewise.
22870         * posix/wordexp.h: Likewise.
22871         * pwd/pwd.h: Likewise.
22872         * resolv/netdb.h: Likewise.
22873         * resource/sys/resource.h: Likewise.
22874         * rt/aio.h: Likewise.
22875         * rt/bits/mqueue2.h: Likewise.
22876         * rt/mqueue.h: Likewise.
22877         * shadow/shadow.h: Likewise.
22878         * signal/signal.h: Likewise.
22879         * socket/send.c: Likewise.
22880         * socket/sendto.c: Likewise.
22881         * socket/sys/socket.h: Likewise.
22882         * stdio-common/printf.h: Likewise.
22883         * stdlib/bits/stdlib.h: Likewise.
22884         * stdlib/fmtmsg.h: Likewise.
22885         * stdlib/monetary.h: Likewise.
22886         * stdlib/stdlib.h: Likewise.
22887         * stdlib/ucontext.h: Likewise.
22888         * streams/stropts.h: Likewise.
22889         * string/argz.h: Likewise.
22890         * string/bits/string2.h: Likewise.
22891         * string/string.h: Likewise.
22892         * string/strings.h: Likewise.
22893         * sunrpc/rpc/auth.h: Likewise.
22894         * sunrpc/rpc/auth_des.h: Likewise.
22895         * sunrpc/rpc/clnt.h: Likewise.
22896         * sunrpc/rpc/netdb.h: Likewise.
22897         * sunrpc/rpc/pmap_clnt.h: Likewise.
22898         * sunrpc/rpc/xdr.h: Likewise.
22899         * sysdeps/generic/inttypes.h: Likewise.
22900         * sysdeps/generic/net/if.h: Likewise.
22901         * sysdeps/generic/sys/swap.h: Likewise.
22902         * sysdeps/gnu/net/if.h: Likewise.
22903         * sysdeps/gnu/utmpx.h: Likewise.
22904         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22905         * sysdeps/i386/i486/bits/string.h: Likewise.
22906         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22907         * sysdeps/s390/bits/string.h: Likewise.
22908         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22909         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22910         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22911         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22912         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22913         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22914         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22915         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22916         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22917         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22918         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22919         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22920         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22921         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22922         * sysdeps/unix/sysv/linux/readv.c: Likewise.
22923         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22924         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22926         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22927         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22928         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22929         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22930         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22931         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22932         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22933         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22934         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22935         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22936         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22937         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22938         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22939         * sysvipc/sys/ipc.h: Likewise.
22940         * sysvipc/sys/msg.h: Likewise.
22941         * sysvipc/sys/sem.h: Likewise.
22942         * sysvipc/sys/shm.h: Likewise.
22943         * termios/termios.h: Likewise.
22944         * time/sys/time.h: Likewise.
22945         * time/time.h: Likewise.
22946         * wcsmbs/bits/wchar2.h: Likewise.
22947         * wcsmbs/uchar.h: Likewise.
22948         * wcsmbs/wchar.h: Likewise.
22949         * wctype/wctype.h: Likewise.
22951         [BZ #13551]
22952         * Makeconfig: Remove all but ELF support including AIX support.
22953         * Makerules: Likewise.
22954         * config.h.in: Likewise.
22955         * config.make.in: Likewise.
22956         * configure: Likewise.
22957         * configure.in: Likewise.
22958         * csu/Makefile: Likewise.
22959         * csu/version.c: Likewise.
22960         * debug/Makefile: Likewise.
22961         * dlfcn/Makefile: Likewise.
22962         * elf/Makefile: Likewise.
22963         * extra-lib.mk: Likewise.
22964         * iconv/Makefile: Likewise.
22965         * include/libc-symbols.h: Likewise.
22966         * include/shlib-compat.h: Likewise.
22967         * resolv/Makefile: Likewise.
22968         * resolv/res_libc.c: Likewise.
22969         * rt/Makefile: Likewise.
22970         * sysdeps/i386/asm-syntax.h: Likewise.
22971         * sysdeps/i386/sysdep.h: Likewise.
22972         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22973         * sysdeps/mach/sysdep.h: Likewise.
22974         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22975         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22976         * sysdeps/s390/asm-syntax.h: Likewise.
22977         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22978         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22979         * sysdeps/sh/sysdep.h: Likewise.
22980         * sysdeps/unix/sparc/sysdep.h: Likewise.
22981         * sysdeps/wordsize-32/divdi3.c: Likewise.
22982         * sysdeps/x86_64/sysdep.h: Likewise.
22984         * argp/Versions: Remove _argp_unlock_xxx.
22986         [BZ #13559]
22987         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
22988         * abilist/libBrokenLocale.abilist: Likewise.
22989         * abilist/libanl.abilist: Likewise.
22990         * abilist/libc.abilist: Likewise.
22991         * abilist/libcrypt.abilist: Likewise.
22992         * abilist/libdl.abilist: Likewise.
22993         * abilist/libm.abilist: Likewise.
22994         * abilist/libnsl.abilist: Likewise.
22995         * abilist/libpthread.abilist: Likewise.
22996         * abilist/libresolv.abilist: Likewise.
22997         * abilist/librt.abilist: Likewise.
22998         * abilist/libthread_db.abilist: Likewise.
22999         * abilist/libutil.abilist: Likewise.
23000         * abilist/libnss_db.abilist: New file.
23002         * scripts/abilist.awk: Add support for indirect functions.
23004         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23006         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23008         * shlib-versions: Remove entries for ports architectures.
23010         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
23011         files in ports.
23012         * elf/stackguard-macros.h: Remove support for IA-64.
23013         * elf/tst-auditmod1.c: Likewise.
23014         * sysdeps/generic/ldsodefs.h: Likewise.
23016         * sysdeps/unix/sysv/linux/configure.in: Ports should define
23017         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23018         configure files.
23020         [BZ #13552]
23021         * configure.in: Remove --enable-omitfp support.
23022         * FAQ.in: Adjust.
23023         * config.make.in: Likewise.
23024         * Makeconfig: Likewise.
23025         * manual/install.texi: Likewise.
23027         In case anyone cares, the IA-64 architecture could move to ports.
23028         * sysdeps/ia64/*: Removed.
23029         * sysdeps/unix/sysv/linux/ia64/*: Removed.
23030         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23032         [BZ #13555]
23033         * configure.in: Remove entries for unsupported architectures.
23035         [BZ #13533]
23036         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23037         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
23038         routines.
23039         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23040         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23041         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
23042         fall back to using wcrtomb.
23043         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23044         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
23045         renaming.
23046         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23047         * wcsmbs/tst-c16c32-1.c: New file.
23049         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23050         local variable.
23052         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23054         * elf/tst-unique3.cc: Add explicit declaration of gets.
23055         * elf/tst-unique3lib.cc: Likewise.
23056         * elf/tst-unique3lib2.cc: Likewise.
23057         * elf/tst-unique4.cc: Likewise.
23059         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23061 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
23063         [BZ #13566]
23064         * assert/assert.h (static_assert): Don't define for C++.
23065         * libio/stdio.h (gets): Do declare for C++ <= C++11.
23066         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23068 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
23070         * iconv/loop.c (single loop): Fix assertion in storing of
23071         remaining bytes.
23073         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23075 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
23077         * posix/getconf.c: Update copyright year.
23078         * nss/getent.c: Likewise.
23079         * nss/makedb.c: Likewise.
23080         * iconv/iconvconfig.c: Likewise.
23081         * iconv/iconv_prog.c: Likewise.
23082         * elf/ldconfig.c: Likewise.
23083         * elf/pldd.c: Likewise.
23084         * elf/sotruss.ksh: Likewise.
23085         * catgets/gencat.c: Likewise.
23086         * csu/version.c: Likewise.
23087         * elf/ldd.bash.in: Likewise.
23088         * elf/sprof.c (print_version): Likewise.
23089         * locale/programs/locale.c: Likewise.
23090         * locale/programs/localedef.c: Likewise.
23091         * login/programs/pt_chown.c: Likewise.
23092         * nscd/nscd.c (print_version): Likewise.
23093         * debug/xtrace.sh: Likewise.
23094         * malloc/memusage.sh: Likewise.
23095         * malloc/mtrace.pl: Likewise.
23096         * debug/catchsegv.sh: Likewise.
23098 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
23100         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23101         pure attribute.
23103 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
23105         [BZ #13533]
23106         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23107         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23108         transformations.
23109         * iconv/gconv_int.h: Likewise.
23110         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23111         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23112         from libc for GLIBC_2.16.
23113         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23114         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23115         * wcsmbs/uchar.h: Really define mbstate_t.
23116         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23117         * wcsmbs/c16rtomb.c: New file.
23118         * wcsmbs/mbrtoc16.c: New file.
23119         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23120         for C/POSIX locale.
23121         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23122         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23124         * wcsmbs/wchar.h: Add missing __restrict.
23126 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
23128         [BZ #13532]
23129         * time/Makefile (routines): Add timespec_get.
23130         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23131         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
23132         timespec for ISO C11.
23133         * time/timespec_get.c: New file.
23134         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23135         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23137         [BZ #13531]
23138         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23139         * stdlib/stdlib.h: Declare aligned_alloc.
23140         * Versions.def: Add GLIBC_2.16 for libc.
23141         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23143         [BZ 13527]
23144         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23145         ISO C11.
23147         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23148         code.
23150         [BZ #13528]
23151         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23153         [BZ #13529]
23154         * assert/assert.h (static_assert): Define.
23156         * version.h: Update for 2.16 development version.
23158         [BZ #13526]
23159         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23160         _ISOC11_SOURCE.
23162         * version.h (RELEASE): Bump for 2.15 release.
23163         * include/features.h (__GLIBC_MINOR__): Bump to 15.
23165         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23166         Patch by Marek Polacek <mpolacek@redhat.com>.
23168         * bits/byteswap.h: Protect long long constants with __extension__.
23169         * sysdeps/i386/bits/byteswap.h: Likewise.
23170         * sysdeps/ia64/bits/byteswap.h: Likewise.
23171         * sysdeps/s390/bits/byteswap.h: Likewise.
23172         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23174 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23176         [BZ #13540]
23177         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23178         destination buffer.
23179         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23181 2011-12-23  Marek Polacek  <polacek@redhat.com>
23183         * elf/dl-addr.c (determine_info): Add inline keyword.
23184         * elf/tst-auditmod4b.c (check_avx): Likewise.
23185         * elf/tst-auditmod6b.c (check_avx): Likewise.
23186         * elf/tst-auditmod6c.c (check_avx): Likewise.
23187         * elf/tst-auditmod7b.c (check_avx): Likewise.
23189 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
23191         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23192         !__SSE_MATH__.
23194 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23196         [BZ #13540]
23197         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23198         processing for last bytes.
23200 2011-08-06  Bruno Haible  <bruno@clisp.org>
23202         [BZ #13061]
23203         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23204         U+0385, not to U+1FEE.
23206         [BZ #13062]
23207         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23208         entry for U+00A5 U+0301.
23210 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
23212         [BZ #13166]
23213         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23214         buffer for the output is too small.
23216         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23217         optimization.
23219         [BZ #13185]
23220         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23221         SSE flags if possible.
23223 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23225         [BZ #13540]
23226         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23227         processing for last bytes.
23229 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
23231         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23232         (syscall-list-default-options, syscall-list-default-condition)
23233         (syscall-list-includes): Define.
23234         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23235         list of ABIs and options and #if conditions for each ABI.  Do not
23236         handle common syscalls between ABIs specially.
23237         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23238         Remove.
23239         (syscall-list-variants, syscall-list-32bit-options)
23240         (syscall-list-32bit-condition, syscall-list-64bit-options)
23241         (syscall-list-64bit-condition): Define.
23242         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23243         (syscall-list-variants, syscall-list-32bit-options)
23244         (syscall-list-32bit-condition, syscall-list-64bit-options)
23245         (syscall-list-64bit-condition): Define.
23246         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23247         Remove.
23248         (syscall-list-variants, syscall-list-32bit-options)
23249         (syscall-list-32bit-condition, syscall-list-64bit-options)
23250         (syscall-list-64bit-condition): Define.
23251         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23252         Remove.
23253         (syscall-list-variants, syscall-list-32bit-options)
23254         (syscall-list-32bit-condition, syscall-list-64bit-options)
23255         (syscall-list-64bit-condition): Define.
23257 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
23259         * locale/iso-639.def: Add brx entry.
23261         [BZ #13328]
23262         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23263         Proposed by Mariusz_Cukr <marcukr@op.pl>.
23265         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23266         __feraiseexcept_renamed.
23268 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
23270         [BZ #13538]
23271         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23272         EPOLLET with unsigned values.
23273         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23274         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23276         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23277         to large cancellation.
23278         * math/s_cacoshf.c: Likewise.
23279         * math/s_cacoshl.c: Likewise.
23281 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
23283         [BZ #13305]
23284         [BZ #12786]
23285         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23286         * math/s_cacoshf.c: Likewise.
23287         * math/s_cacoshl.c: Likewise.
23289 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
23291         [BZ #13439]
23292         * iconv/gconv.h: Define __GCONV_SWAP.
23293         * iconvdata/unicode.c: The swap bit must be stored in __flags.
23294         * iconvdata/utf-16.c: Likewise.
23295         * iconvdata/utf-32.c: Likewise.
23297 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23299         [BZ #13524]
23300         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23301         numerator after shifting it by one limb.
23303 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
23305         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23306         under [__USE_EXTERN_INLINES].
23308 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
23310         [BZ #13446]
23311         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23313 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23315         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23316         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23317         optimized code.
23318         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23319         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23320         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23321         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23322         for strncasecmp/strncasecmp_l compilation.
23323         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23324         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23326 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
23328         [BZ #13484]
23329         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23330         of __asm__.
23332 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
23334         [BZ #13506]
23335         * time/tzfile.c (__tzfile_read): Check values from file header.
23337 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23339         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23340         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23341         * powerpc/powerpc32/dl-start.S: Likewise.
23342         * powerpc/powerpc32/elf/start.S: Likewise.
23343         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23344         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23345         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23346         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23347         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23348         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23349         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23350         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23351         * powerpc/powerpc32/fpu/s_round.S: Likewise.
23352         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23353         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23354         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23355         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23356         * powerpc/powerpc32/memset.S: Likewise.
23357         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23358         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23359         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23360         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23361         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23362         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23363         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23364         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23365         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23366         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23367         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23368         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23369         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23371 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23373         * math/libm-test.inc: Added more nearbyint tests.
23374         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23375         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23376         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23377         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23379 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
23381         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23382         FD_CLOEXEC.
23384 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23386         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23387         Add wcscpy-ssse3 wcscpy-c.
23388         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23389         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23390         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23391         * sysdeps/x86_64/wcschr.S: New file.
23392         * sysdeps/x86_64/wcsrchr.S: New file.
23393         * string/test-strcmp.c: Remove checking of wcscmp function for
23394         wrong alignments.
23395         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23396         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23397         wcsrchr-sse2 wcsrchr-c.
23398         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23399         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23400         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23401         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23402         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23403         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23404         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23405         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23406         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23407         * wcsmbc/wcschr.c (WCSCHR): New macro.
23409 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23411         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23412         * wcsmbs/test-wcsrchr.c: New file.
23413         * string/test-strrchr.c: Add wcsrchr support.
23414         (WIDE): New macro.
23415         * wcsmbs/test-wcscpy.c: New file.
23416         * string/test-strcpy.c: Add wcscpy support.
23417         (WIDE): New macro.
23419 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
23421         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23422         the inner loop.
23424 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
23426         [BZ #13472]
23427         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23429 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
23431         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
23432         Minor optimizations.
23434         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23435         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23436         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23438 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
23440         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23441         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23442         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23443         for gcc to avoid warnings.
23444         * inet/Makefile (tests): Add tst-checks.
23445         * inet/tst-checks.c: New file.
23447         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23448         warning.
23450         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23451         __wmemcmp_sse2.
23453         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23454         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23456         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23458 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
23460         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23461         problem.
23463         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23465 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
23467         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23468         conditional on GCC version.
23469         (__arch_compare_and_exchange_val_8_acq)
23470         (__arch_compare_and_exchange_val_16_acq)
23471         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23472         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23473         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23475 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
23477         * sysdeps/sh/backtrace.c: New file.
23479 2011-12-02  Andreas Schwab  <schwab@redhat.com>
23481         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
23482         parenthesis.
23484 2011-12-01  Andreas Schwab  <schwab@redhat.com>
23486         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23487         falling back to utime.
23489 2011-11-30  Andreas Schwab  <schwab@redhat.com>
23491         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23492         expectations for float.
23494 2011-11-29  Andreas Schwab  <schwab@redhat.com>
23496         * locale/weight.h (findidx): Add parameter len.
23497         * locale/weightwc.h (findidx): Likewise.
23498         * posix/fnmatch_loop.c (FCT): Adjust caller.
23499         * posix/regcomp.c (build_equiv_class): Likewise.
23500         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23501         * posix/regexec.c (check_node_accept_bytes): Likewise.
23502         * string/strcoll_l.c (STRCOLL): Likewise.
23503         * string/strxfrm_l.c (STRXFRM): Likewise.
23505 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
23507         * Makefile.in: Remove CVSOPT handling.
23508         * configure.in: Remove use of AC_REVISION.
23509         * iconvdata/Makefile (distribute): No need to filter out CVS.
23510         * scripts/list-sources.sh: Remove CVS, subversion and monotone
23511         handling.
23513 2011-11-16  Andreas Schwab  <schwab@redhat.com>
23515         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23516         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23517         [USE_AS_STRNCASECMP_L]: Likewise.
23518         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23519         NO_TLS_DIRECT_SEG_REFS.
23520         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23521         Fix argument offsets for non-PIC.
23522         [USE_AS_STRNCASECMP_L]: Likewise.
23523         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23524         NO_TLS_DIRECT_SEG_REFS.
23526 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
23528         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
23529         O_CLOEXEC.
23530         * locale/loadlocale.c (_nl_load_locale): Likewise.
23532 2011-11-15  Andreas Schwab  <schwab@redhat.com>
23534         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23535         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23536         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23537         (SYSCALL_GETTIME): Set errno on error.
23539         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23540         count references to noai6ai_cached.
23542 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
23544         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23546         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23547         FD_CLOEXEC for /proc/self/maps.
23549         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23550         FD_CLOEXEC for /proc/meminfo.
23552         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23553         gai.conf.
23555         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
23556         FD_CLOEXEC for given file.
23558         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23560         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23561         FD_CLOEXEC for /etc/hosts.
23562         (_gethtent): Likewise.
23564         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23566         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23567         cancellation and set FD_CLOEXEC for /etc/netgroup.
23569         * nss/nss_files/files-key.c (search): Don't allow cancellation when
23570         reading /etc/publickey.
23572         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23573         allow cancellation when reading /etc/group.
23575         * nss/nss_files/files-alias.c (internal_setent): Don't allow
23576         cancellation.
23577         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
23579         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23580         when using data file.
23582         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23584         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23585         (write_nis_obj): Use "c" and "e" in fopen.
23587         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23589         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23591         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23593         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23595         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23596         locale.alias.
23598         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23600         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23602         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23604         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23605         file parsing and set FD_CLOEXEC.
23607 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
23609         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23611 2011-11-14  Andreas Schwab  <schwab@redhat.com>
23613         * malloc/arena.c (arena_get2): Don't call reused_arena when
23614         _int_new_arena failed.
23616 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
23618         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23619         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23620         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23621         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23622         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23623         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23624         to compile strcasecmp and strncasecmp.
23625         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23626         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23628         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23630 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
23632         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23633         locale-defines.sym to gen-as-const-headers.
23634         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23635         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23636         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23637         to compile strcasecmp and strncasecmp.
23638         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23639         strcasecmp_l and strncasecmp_l.
23640         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23641         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23642         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23643         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23644         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23645         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23646         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23647         * sysdeps/i386/i686/multiarch/strncase.S: New file.
23648         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23649         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23650         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23652 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
23654         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23655         result of SYSDEP_GETTIME_CPU to retval.
23656         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23657         parameter list to macro.  Remove trailing semicolon.  Adjust users.
23659         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23660         variable.
23662         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23663         mantissa words.
23664         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23666         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23667         from unused variable.
23669         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23670         DWARF definitions.
23671         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23672         for assembling.
23674         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23675         over namespaces.
23677         * sunrpc/rpc_prot.c (rejected): Fix case value.
23679         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23680         unsigned long long int to avoid warnings in shift.
23682         * posix/regex_internal.c (re_string_reconstruct): Actually use result
23683         of use of trans.
23684         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23685         variable tmp.
23687         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23688         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23689         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23691         * nis/nis_table.c (nis_list): Use variable of correct type for
23692         result of __follow_path call.
23694 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23696         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23697         of math functions ceil, trunc, floor, round, and sqrt, when
23698         avaliable on the platform.
23699         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23700         name clash.
23701         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23702         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23703         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23705 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
23707         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23708         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23710 2011-11-11  Roland McGrath  <roland@hack.frob.com>
23712         * include/unistd.h: Fix __readlink return type.
23713         Reported by Chris Metcalf <cmetcalf@tilera.com>.
23715 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
23717         * stdlib/ucontext.h: Undo last change for makecontext.
23719 2011-11-11  Andreas Schwab  <schwab@redhat.com>
23721         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23723         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23724         * setjmp/setjmp.h: Mark functions as non-leaf.
23725         * setjmp/bits/setjmp2.h: Likewise.
23726         * stdlib/ucontext.h: Likewise.
23728 2011-11-10  Andreas Schwab  <schwab@redhat.com>
23730         * malloc/arena.c (_int_new_arena): Don't increment narenas.
23731         (reused_arena): Don't check arena limit.
23732         (arena_get2): Atomically check arena limit.
23734 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
23736         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23737         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23739         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23740         instructions.
23742 2011-11-07  Andreas Schwab  <schwab@redhat.com>
23744         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23745         handler when locking.
23747         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23748         Fix size of allocated buffer.
23750 2011-11-04  Andreas Schwab  <schwab@redhat.com>
23752         [BZ #10103]
23753         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23754         declarations for long double functions.
23755         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23757         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23759 2011-11-03  Andreas Schwab  <schwab@redhat.com>
23761         * nscd/nscd.c (main): Don't start AVC thread until credentials are
23762         installed.
23764         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23765         is disabled.
23767 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23769         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23771 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23773         * include/alloca.h (stackinfo_alloca_round): Define.
23774         (extend_alloca): Use it.
23775         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23776         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23777         here.
23779         * scripts/check-local-headers.sh: Ignore libaudit.h.
23781         * nscd/Makefile (extra-objs): Make recursively expanded.
23783 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
23785         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23786         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23788         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23789         * posix/tst-rfc3484-2.c: Likewise.
23790         * posix/tst-rfc3484-3.c: Likewise.
23792         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23793         process_vm_writev.
23794         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23795         process_vm_writev.
23796         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23797         process_vm_writev from libc using GLIBC_2.15 version.
23799         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23801 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
23803         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23804         stack usage.
23806 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
23808         [BZ #13367]
23809         * nss/getent.c (initgroups_keys): Show error message in case no group
23810         names are given.
23812         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23813         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23814         __bump_nl_timestamp.
23815         * nscd/connections (nscd_init): When host database is served open
23816         netlink socket and request notification about configuration changes.
23817         (main_loop_poll): Track netlink file descriptor and bump timestamp
23818         in case data becomes available.
23819         (main_loop_epoll): Likewise.
23820         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23821         (database_pers_head): Add extra_data fileds.
23822         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23823         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23824         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23825         Adjust caller.
23826         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23827         in6ai data, call __free_in6ai.
23828         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23829         Add -DHAVE_NETLINK.
23830         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
23831         interface information.  Reuse previous data if netlink timestamp
23832         is not changed.
23833         (__bump_nl_timestamp): New function.
23834         (__free_in6ai): New function.
23836 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
23838         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23839         close_not_cancel_no_status here.
23840         (__check_pf): Reorganize code a bit to not call close twice if OOM.
23842 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
23844         [BZ #13276]
23845         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23846         return value.
23848         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23849         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23850         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23852 2011-07-03  Andreas Jaeger  <aj@suse.de>
23854         [BZ #10709]
23855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23856         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23857         * math/libm-test.inc (sin_test): Add test case.
23859 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
23861         [BZ #13337]
23862         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23863         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23865         * elf/chroot_canon.c (chroot_canon): Cleanups.
23867         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23869         [BZ #13335]
23870         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23871         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23873         * string/test-strchr.c: Make usable for strchrnul testing.
23874         * string/test-strchrnul.c: New file.
23875         * string/Makefile (strop-tests): Add strchrnul.
23877         * po/it.po: Update from translation team.
23878         * po/es.po: Likewise.
23880 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
23882         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23883         the three constants needed as parameters.  Drop the others.
23884         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23885         __m128i_strloadu_tolower.
23886         Create and initialize variable zero and use it in all the places
23887         where _mm_setzero_si128 was used.
23889         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23890         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23891         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23892         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23893         anymore.
23894         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23895         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23896         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23897         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23898         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23899         __mpranred, __mptan.
23900         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23901         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23902         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23903         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23904         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23905         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23906         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23907         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23908         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23910 2011-10-28  Andreas Schwab  <schwab@redhat.com>
23912         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23913         redefine if SHARED.
23914         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23916         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23917         wide char related routines to wcsmbs subdir.
23919 2011-10-27  Andreas Schwab  <schwab@redhat.com>
23921         [BZ #13344]
23922         * misc/sys/cdefs.h (__THROWNL): Define.
23923         * posix/unistd.h: Use __THREADNL instead of __THREAD
23924         for memory synchronization functions.
23926 2011-10-26  Roland McGrath  <roland@hack.frob.com>
23928         [BZ #13349]
23929         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23930         doesn't exist.
23931         * manual/stdio.texi (Obstack Streams): Node removed.
23933 2011-10-26  Andreas Schwab  <schwab@redhat.com>
23935         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23936         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23937         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23939         * math/math_private.h (math_force_eval): Allow non-addressable
23940         arguments.
23941         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23943 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23945         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23946         file is not needed.
23948         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23949         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23950         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23951         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23952         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23953         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23954         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23955         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23956         Add AVX variants.
23957         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23958         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23959         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23960         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23961         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23962         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23963         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23964         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23965         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23966         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23967         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23968         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23969         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23970         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23971         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23972         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23973         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23974         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23975         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23977         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23978         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
23980         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23981         place.  Use VEX encoding when compiling for AVX.
23983 2011-10-25  Andreas Schwab  <schwab@redhat.com>
23985         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23986         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23988         * string/test-strchr.c (do_test): Don't generate NUL bytes.
23990 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
23992         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23993         useless if() expression.
23994         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23995         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23996         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23997         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23998         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23999         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24000         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24001         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24002         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24003         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24004         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24005         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24006         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24007         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24008         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24009         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24010         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24011         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24012         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24014         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24016 2011-10-25  Andreas Schwab  <schwab@redhat.com>
24018         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24019         condition.
24020         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24022 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24024         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24025         .text section.  Avoid duplicate constants.
24026         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24027         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24028         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24029         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24030         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24031         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24032         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24033         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24034         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24035         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24036         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24037         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24038         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24039         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24040         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24041         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24042         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24043         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24044         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24045         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24046         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24047         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24048         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24049         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24050         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24051         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24052         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24053         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24054         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24055         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24056         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24057         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24058         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24059         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24060         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24061         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24062         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24063         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24064         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24065         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24066         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24067         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24068         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24069         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24070         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24072 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
24074         * sysdeps/x86_64/dla.h: Move to ...
24075         * sysdeps/x86_64/fpu/dla.h: ...here.
24076         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24077         situations.  Use __builtin_fma only for gcc 4.6 and up.
24079         * config.make.in: Add have-mfma4 entry.
24080         * configure.in: Substitute libc_cv_cc_fma4.
24081         * math/Makefile (dbl-only-routines): Add sincostab.
24082         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24083         Use __sincostab not sincos.
24084         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24085         name is a macro.
24086         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24087         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24088         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24089         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
24090         using __copysign.
24091         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
24092         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
24093         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24094         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24095         and __inv.
24096         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24097         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24098         __copysign.
24099         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
24100         define aliases when function name is a macro.
24101         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24102         sysdeps/ieee754/dbl-64/sincos.tbl.
24103         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24104         fma4-enabled routines.
24105         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24106         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24107         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24108         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24109         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24110         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24111         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24112         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24113         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24114         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24115         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24116         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24117         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24118         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24119         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24120         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24121         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24122         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24123         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24124         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24125         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24126         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24127         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24128         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24129         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24130         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24131         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24132         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24133         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24134         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24136         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24137         rename.
24138         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24139         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24140         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24141         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24142         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24143         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24145         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24147 2011-10-24  Andreas Schwab  <schwab@redhat.com>
24149         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24151 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24153         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24155         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24156         prediction.
24157         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24159         * string/strnlen.c: Don't define STRNLEN, reverse logic.
24160         Remove unused variable magic_bits.
24161         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24163         * string/strnlen.c: Define and use STRNLEN macro.
24164         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24165         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24166         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24167         * wcsmbs/wcslen.c: Define and use WCSLEN.
24168         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24169         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24170         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24171         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24172         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24173         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24174         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24176 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24179         strnlen-sse2-no-bsf.
24180         Rename strlen-no-bsf to strlen-sse2-no-bsf.
24181         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24182         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24183         Add strnlen support.
24184         (USE_AS_STRNLEN): New macro.
24185         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24186         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24187         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24188         * sysdeps/x86_64/wcslen.S: New file.
24190 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
24192         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24193         XMM-moves are used for copying on small sizes.
24195 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24197         * wcsmbs/Makefile (strop-tests): Add wcschr.
24198         * wcsmbs/test-wcschr.c: New file.
24199         * string/test-strchr.c: Update.
24200         Add wcschr support.
24201         (WIDE): New macro.
24203 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24205         * wcsmbs/Makefile (strop-tests): Add wcslen.
24206         * wcsmbs/test-wcslen.c: New file.
24207         * string/test-strlen.c: Update.
24208         Add wcslen support.
24209         (WIDE): New macro.
24211 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24213         * po/it.po: Update from translation team.
24215 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24217         * sysdeps/x86_64/wcscmp.S: Update.
24218         Fix wrong comparison semantics.
24219         wcscmp shall use signed comparison not unsigned.
24220         Don't use substraction to avoid overflow bug.
24221         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24222         * wcsmbc/wcscmp.c: Likewise.
24223         * string/test-strcmp.c: Likewise.
24224         Add new tests to check cases with negative values.
24226 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24228         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24229         * sysdeps/x86_64/dla.h: ...here.  New file.
24230         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24231         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24232         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24234         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24235         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24236         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24237         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24238         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24240 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
24242         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24243         __ynl_finite aliases.
24245 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
24247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24249         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24250         define DLA_FMA.
24251         [DLA_FMA] (EMULV): Use DLA_FMA.
24252         [DLA_FMA] (MUL12): Use EMULV.
24253         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24254         that are not needed.
24255         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24258         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24259         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24260         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24263 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
24265         * math/s_nan.c: Undef __nan.
24266         * math/s_nanf.c: Undef __nanf.
24267         * math/s_nanl.c: Undef __nanl.
24268         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24269         "math_private.h".
24271 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
24273         * math/s_catan.c: Add branch predictions.
24274         * math/s_catanf.c: Likewise.
24275         * math/s_catanh.c: Likewise.
24276         * math/s_catanhf.c: Likewise.
24277         * math/s_catanhl.c: Likewise.
24278         * math/s_catanl.c: Likewise.
24279         * math/s_cexp.c: Likewise.
24280         * math/s_cexpf.c: Likewise.
24281         * math/s_cexpl.c: Likewise.
24282         * math/s_clog.c: Likewise.
24283         * math/s_clog10.c: Likewise.
24284         * math/s_clog10f.c: Likewise.
24285         * math/s_clog10l.c: Likewise.
24286         * math/s_clogf.c: Likewise.
24287         * math/s_clogl.c: Likewise.
24288         * math/s_csqrt.c: Likewise.
24289         * math/s_csqrtf.c: Likewise.
24290         * math/s_csqrtl.c: Likewise.
24291         * math/s_ctanf.c: Likewise.
24292         * math/s_ctanh.c: Likewise.
24293         * math/s_ctanhf.c: Likewise.
24294         * math/s_ctanhl.c: Likewise.
24295         * math/s_ctanl.c: Likewise.
24297         * math/math_private.h: Define __nan, __nanf, __nanl.
24298         * math/s_cacosh.c: Include <math_private.h>.
24299         * math/s_cacoshl.c: Likewise.
24300         * math/s_casinh.c: Likewise.
24301         * math/s_casinhf.c: Likewise.
24302         * math/s_casinhl.c: Likewise.
24303         * math/s_ccos.c: Rely entire on ccosh.
24304         * math/s_ccosf.c: Rely entire on ccoshf.
24305         * math/s_ccosl.c: Rely entirely on ccoshl.
24306         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
24307         Remove tests for FE_INVALID.
24308         * math/s_ccoshf.c: Likewise.
24309         * math/s_ccoshl.c: Likewise.
24310         * math/s_csin.c: Likewise.
24311         * math/s_csinf.c: Likewise.
24312         * math/s_csinh.c Likewise.
24313         * math/s_csinhf.c: Likewise.
24314         * math/s_csinhl.c: Likewise.
24315         * math/s_csinl.c: Likewise.
24316         * math/s_ctan.c: Likewise.
24317         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24318         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24319         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24321 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
24323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24324         compilation problems.
24326         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24327         __builtin_expect.
24329 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
24331         * sysdeps/i386/configure.in: Test for -mfma4 option.
24332         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24333         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24334         COMMON_CPUID_INDEX_80000001.
24335         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24336         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24337         use it if FMA3 is not supported.
24338         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24340         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24341         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24343 2011-10-20  Andreas Schwab  <schwab@redhat.com>
24345         [BZ #12892]
24346         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24347         it would create a cycle with a link time dependency.
24349 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
24351         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24352         instruction.
24353         * string/Makefile (strop-tests): Add rawmemchr.
24354         * string/test-rawmemchr.c: New file.
24356         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24357         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
24358         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
24359         when compiling str{,n}casecmp and when AVX is available.  Hook up
24360         new optimized code in initializers.
24362 2011-10-19  Andreas Schwab  <schwab@redhat.com>
24364         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24365         __feraiseexcept instead of feraiseexcept.
24367 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
24369         * math/math_private.h: Define defaults for libc_fetestexcept and
24370         libc_feupdateenv.
24371         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24372         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24373         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24374         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24375         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24376         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24377         libc_fetestexcept and libc_feupdateenv.
24379         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24380         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24381         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24382         * sysdeps/x86_64/fpu/math_private.h: Define special version of
24383         libc_feholdexcept_setround.
24385         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24386         Add s_nearbyint-c and s_nearbyintf-c.
24387         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24388         nearbyintf inlines.
24389         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24390         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24391         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24392         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24394         * math/math_private.h: Define defaults for libc_fegetround,
24395         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24396         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24397         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24398         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24399         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24400         standard functions.
24401         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24402         Remove comments and hacks for old compiler versions.
24403         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24404         libc_fegetround, libc_fesetround, libc_feholdexcept, and
24405         libc_feholdexceptl.
24407 2011-10-18  Andreas Schwab  <schwab@redhat.com>
24409         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24410         (__feraiseexcept_renamed): Add __NTH.
24411         (feraiseexcept): Add __NTH.  Rename local variables to fix
24412         namespace violations.
24414 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
24416         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24418         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24420         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24421         recently added interfaces.
24422         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24424         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24425         about macro parameter expansion.
24427         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24428         __NO_MATH_INLINES is defined.  Cleanups.
24430         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24431         and __floorf is target has SSE4.1.
24432         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24433         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24434         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24435         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24437         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24438         name.
24439         (floorf): Likewise.
24441         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24443 2011-10-17  Andreas Schwab  <schwab@redhat.com>
24445         * misc/sys/cdefs.h: Fix last change.
24447         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24448         database lookup.
24450 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
24452         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24454         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24455         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24456         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24457         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24458         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24459         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24460         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24461         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24462         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24463         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24464         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24465         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24466         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24467         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24468         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24469         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24470         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24471         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24472         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24473         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24474         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24475         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24477         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24478         ceil, ceilf, floor, floorf.
24480         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24481         Perform IRELATIVE relocations last.
24483         * elf/do-rel.h: Add another parameter nrelative, replacing the
24484         local variable with the same name.  Change name of the function
24485         to end in Rel or Rela (uppercase).
24486         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24487         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
24488         elf_dynamic_do_##reloc function.
24490 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
24492         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24493         is sufficient, at least on modern CPUs.
24495         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24497         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24498         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24500         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24501         __expl_finite.
24502         * math/bits/math-finite.h: Add entries for exp.
24503         * math/e_expl.c: Add __*_finite alias.
24504         * sysdeps/i386/fpu/e_exp.S: Likewise.
24505         * sysdeps/i386/fpu/e_expf.S: Likewise.
24506         * sysdeps/i386/fpu/e_expl.c: Likewise.
24507         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24508         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24509         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24510         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24511         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24512         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24513         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24515         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24516         is sufficient, at least on modern CPUs.
24518         * ctype/ctype-info.c (__ctype_init): Define.
24519         * include/ctype.h (__ctype_init): Declare.
24520         (__ctype_b_loc): The variable is always initialized.
24521         (__ctype_toupper_loc): Likewise.
24522         (__ctype_tolower_loc): Likewise.
24523         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24524         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24526 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
24528         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24530         * configure.in: Also look in $cxxmachine/include for C++ system
24531         headers.
24533 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24535         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24536         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24537         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24538         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
24539         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24540         (USE_AS_WMEMCMP): New macro.
24541         Fixing indents.
24542         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24543         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24544         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24545         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24546         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24547         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24548         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24549         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24550         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24551         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24552         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24553         (USE_AS_WMEMCMP): New macro.
24554         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24555         * sysdeps/string/test-memcmp.c: Update.
24556         Fix simple_wmemcmp.
24557         Add new tests.
24558         * wcsmbs/wmemcmp.c: Update.
24559         (WMEMCMP): New macro.
24560         Fix overflow bug.
24562 2011-10-12  Andreas Jaeger  <aj@suse.de>
24564         [BZ #13268]
24565         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24567 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
24569         * libio/iofwide.c (do_length): Avoid warning.
24571         * ctype/ctype.h (__isctype_f): Add missing __THROW.
24573 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
24575         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24577         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24578         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24579         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24580         * sysdeps/i386/i686/fpu/e_log.S: New file.
24581         * sysdeps/i386/i686/fpu/e_logf.S: New file.
24582         * sysdeps/i386/i686/fpu/e_logl.S: New file.
24584         * ctype/ctype.h: Add support for inlined isXXX functions when
24585         compiling C++ code.
24587 2011-10-14  Andreas Schwab  <schwab@redhat.com>
24589         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24591         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24593 2011-10-13  Roland McGrath  <roland@hack.frob.com>
24595         [BZ #13291]
24596         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24598 2011-10-13  Andreas Schwab  <schwab@redhat.com>
24600         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24601         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24602         feraiseexcept.
24604         * sysdeps/x86_64/memrchr.S: Check for zero size.
24606         * string/stratcliff.c: Add memrchr tests.
24608 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24610         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24611         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24612         rawmemchr-sse2 rawmemchr-sse2-bsf.
24613         * sysdeps/i386/i686/multiarch/memchr.S: New file.
24614         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24615         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24616         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24617         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24618         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24619         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24620         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24621         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24622         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24623         * string/memrchr.c (MEMRCHR): New macro.
24625 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
24627         Add integration with gcc's -ffinite-math-only and optimize wrapper
24628         functions in libm.
24629         * Versions.def: Define GLIBC_2.15 version for libm.
24630         * math/Makefile (headers): Add bits/math-finite.h.
24631         * math/bits/math-finite.h: New file.
24632         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24633         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24634         * math/e_acoshl.c: Add __*_finite alias.
24635         * math/e_acosl.c: Likewise.
24636         * math/e_asinl.c: Likewise.
24637         * math/e_atan2l.c: Likewise.
24638         * math/e_atanhl.c: Likewise.
24639         * math/e_coshl.c: Likewise.
24640         * math/e_exp10.c: Likewise.
24641         * math/e_exp10f.c: Likewise.
24642         * math/e_exp10l.c: Likewise.
24643         * math/e_exp2l.c: Likewise.
24644         * math/e_fmodl.c: Likewise.
24645         * math/e_gammal_r.c: Likewise.
24646         * math/e_hypotl.c: Likewise.
24647         * math/e_j0l.c: Likewise.
24648         * math/e_j1l.c: Likewise.
24649         * math/e_jnl.c: Likewise.
24650         * math/e_lgammal_r.c: Likewise.
24651         * math/e_log10l.c: Likewise.
24652         * math/e_log2l.c: Likewise.
24653         * math/e_logl.c: Likewise.
24654         * math/e_powl.c: Likewise.
24655         * math/e_sinhl.c: Likewise.
24656         * math/e_sqrtl.c: Likewise.
24657         * math/e_scalb.c: Completely rewritten and optimized.
24658         * math/e_scalbf.c: Likewise.
24659         * math/e_scalbl.c: Likewise.
24660         * math/w_acos.c: Likewise.
24661         * math/w_acosf.c: Likewise.
24662         * math/w_acosl.c: Likewise.
24663         * math/w_acosh.c: Likewise.
24664         * math/w_acoshf.c: Likewise.
24665         * math/w_acoshl.c: Likewise.
24666         * math/w_asin.c: Likewise.
24667         * math/w_asinf.c: Likewise.
24668         * math/w_asinl.c: Likewise.
24669         * math/w_atan2.c: Likewise.
24670         * math/w_atan2f.c: Likewise.
24671         * math/w_atan2l.c: Likewise.
24672         * math/w_atanh.c: Likewise.
24673         * math/w_atanhf.c: Likewise.
24674         * math/w_atanhl.c: Likewise.
24675         * math/w_exp10.c: Likewise.
24676         * math/w_exp10f.c: Likewise.
24677         * math/w_exp10l.c: Likewise.
24678         * math/w_fmod.c: Likewise.
24679         * math/w_fmodf.c: Likewise.
24680         * math/w_fmodl.c: Likewise.
24681         * math/w_j0.c: Likewise.
24682         * math/w_j0f.c: Likewise.
24683         * math/w_j0l.c: Likewise.
24684         * math/w_j1.c: Likewise.
24685         * math/w_j1f.c: Likewise.
24686         * math/w_j1l.c: Likewise.
24687         * math/w_jn.c: Likewise.
24688         * math/w_jnf.c: Likewise.
24689         * math/w_log.c: Likewise.
24690         * math/w_logf.c: Likewise.
24691         * math/w_logl.c: Likewise.
24692         * math/w_log10.c: Likewise.
24693         * math/w_log10f.c: Likewise.
24694         * math/w_log10l.c: Likewise.
24695         * math/w_log2.c: Likewise.
24696         * math/w_log2f.c: Likewise.
24697         * math/w_log2l.c: Likewise.
24698         * math/w_pow.c: Likewise.
24699         * math/w_powf.c: Likewise.
24700         * math/w_powl.c: Likewise.
24701         * math/w_remainder.c: Likewise.
24702         * math/w_remainderf.c: Likewise.
24703         * math/w_remainderl.c: Likewise.
24704         * math/w_scalb.c: Likewise.
24705         * math/w_scalbf.c: Likewise.
24706         * math/w_scalbl.c: Likewise.
24707         * math/w_sqrt.c: Likewise.
24708         * math/w_sqrtf.c: Likewise.
24709         * math/w_sqrtl.c: Likewise.
24710         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24711         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
24712         used.
24713         * math/math_private.h: Declare __kernel_standard_f.
24714         * math/w_cosh.c: Remove cruft and optimize a bit.
24715         * math/w_coshf.c: Likewise.
24716         * math/w_coshl.c: Likewise.
24717         * math/w_exp2.c: Likewise.
24718         * math/w_exp2f.c: Likewise.
24719         * math/w_exp2l.c: Likewise.
24720         * math/w_hypot.c: Likewise.
24721         * math/w_hypotf.c: Likewise.
24722         * math/w_hypotl.c: Likewise.
24723         * math/w_lgamma.c: Likewise.
24724         * math/w_lgamma_r.c: Likewise.
24725         * math/w_lgammaf.c: Likewise.
24726         * math/w_lgammaf_r.c: Likewise.
24727         * math/w_lgammal.c: Likewise.
24728         * math/w_lgammal_r.c: Likewise.
24729         * math/w_sinh.c: Likewise.
24730         * math/w_sinhf.c: Likewise.
24731         * math/w_sinhl.c: Likewise.
24732         * math/w_tgamma.c: Likewise.
24733         * math/w_tgammaf.c: Likewise.
24734         * math/w_tgammal.c: Likewise.
24735         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24736         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24737         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24738         Minor optimizations.  Pretty printing.  Remove cruft.
24739         * sysdeps/i386/fpu/e_acosf.S: Likewise.
24740         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24741         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24742         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24743         * sysdeps/i386/fpu/e_acosl.c: Likewise.
24744         * sysdeps/i386/fpu/e_asin.S: Likewise.
24745         * sysdeps/i386/fpu/e_asinf.S: Likewise.
24746         * sysdeps/i386/fpu/e_atan2.S: Likewise.
24747         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24748         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24749         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24750         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24751         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24752         * sysdeps/i386/fpu/e_exp10.S: Likewise.
24753         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24754         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24755         * sysdeps/i386/fpu/e_exp2.S: Likewise.
24756         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24757         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24758         * sysdeps/i386/fpu/e_fmod.S: Likewise.
24759         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24760         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24761         * sysdeps/i386/fpu/e_hypot.S: Likewise.
24762         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24763         * sysdeps/i386/fpu/e_log.S: Likewise.
24764         * sysdeps/i386/fpu/e_log10.S: Likewise.
24765         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24766         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24767         * sysdeps/i386/fpu/e_log2.S: Likewise.
24768         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24769         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24770         * sysdeps/i386/fpu/e_logf.S: Likewise.
24771         * sysdeps/i386/fpu/e_logl.S: Likewise.
24772         * sysdeps/i386/fpu/e_pow.S: Likewise.
24773         * sysdeps/i386/fpu/e_powf.S: Likewise.
24774         * sysdeps/i386/fpu/e_powl.S: Likewise.
24775         * sysdeps/i386/fpu/e_remainder.S: Likewise.
24776         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24777         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24778         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24779         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24780         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24781         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24782         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24783         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24784         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24785         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24786         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24787         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24788         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24789         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24790         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24791         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24792         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24793         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24794         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24795         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24796         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24797         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24798         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24799         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24800         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24801         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24802         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24803         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24804         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24805         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24806         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24807         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24808         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24809         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24810         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24811         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24812         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24813         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24814         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24815         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24816         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24817         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24818         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24819         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24820         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24821         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24822         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24823         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24824         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24825         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24826         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24827         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24828         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24829         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24830         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24831         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24832         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24833         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24834         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24835         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24836         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24837         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24839         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24840         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24841         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24842         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24843         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24844         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24845         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24846         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24847         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24848         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24850         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24851         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24852         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24853         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24854         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24856         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24857         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24858         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24859         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24860         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24861         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24862         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24863         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24864         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24865         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24866         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24867         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24868         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24869         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24870         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24871         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24872         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24873         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24874         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24875         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24876         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24877         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24878         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24879         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24880         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24881         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24882         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24883         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24884         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24885         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24886         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24887         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24888         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24889         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24890         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24891         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24892         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24893         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24894         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
24895         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24896         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24897         (__isnanf): Likewise.
24898         (__isinf_ns): Likewise.
24899         (__isinf_nsf): Likewise.
24900         (__finite): Likewise.
24901         (__finitef): Likewise.
24902         (__ieee754_sqrt): Define as macro.
24903         (__ieee754_sqrtf): Define as macro.
24904         (__ieee754_sqrtl): Define as macro.
24905         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24906         inlined copy.
24907         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24908         __FINITE_MATH_ONLY__ consistent.
24909         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24911 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
24913         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24914         of rawmemchr.
24916         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24918 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
24920         * po/ja.po: Update from translation team.
24922 2011-10-08  Roland McGrath  <roland@hack.frob.com>
24924         * locale/programs/locarchive.c (prepare_address_space): New function.
24925         (create_archive, enlarge_archive, open_archive): Use it.
24927         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24928         inside [SHARED], where it is used.
24930         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24932         * nss/getent.c (netgroup_keys): Remove unused variable.
24933         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24935 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
24937         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24938         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24939         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24940         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24941         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24942         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24943         * math/Makefile (libm-calls): Add s_isinf_ns.
24944         * math/divtc3.c: Use __isinf_nsl instead of isinf.
24945         * math/multc3.c: Likewise.
24946         * math/s_casin.c: Likewise.
24947         * math/s_casinf.c: Likewise.
24948         * math/s_casinl.c: Likewise.
24949         * math/s_ccos.c: Likewise.
24950         * math/s_ccosf.c: Likewise.
24951         * math/s_ccosl.c: Likewise.
24952         * math/s_ctan.c: Likewise.
24953         * math/s_ctanf.c: Likewise.
24954         * math/s_ctanh.c: Likewise.
24955         * math/s_ctanhf.c: Likewise.
24956         * math/s_ctanhl.c: Likewise.
24957         * math/s_ctanl.c: Likewise.
24958         * math/w_fmod.c: Likewise.
24959         * math/w_fmodf.c: Likewise.
24960         * math/w_fmodl.c: Likewise.
24961         * math/w_remainder.c: Likewise.
24962         * math/w_remainderf.c: Likewise.
24963         * math/w_remainderl.c: Likewise.
24964         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24965         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24966         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24967         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24968         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24969         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24970         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24971         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24973         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24974         of the number.
24975         * stdio-common/printf_fphex.c: Likewise.
24976         * stdio-common/printf_size.c: Likewise.
24978         * math/e_exp10.c: Include math_private.h using <...> not "...".
24979         * math/e_exp10f.c: Likewise.
24980         * math/e_exp10l.c: Likewise.
24981         * math/e_exp2l.c: Likewise.
24982         * math/e_j0l.c: Likewise.
24983         * math/e_j1l.c: Likewise.
24984         * math/e_jnl.c: Likewise.
24985         * math/e_lgammal_r.c: Likewise.
24986         * math/e_rem_pio2l.c: Likewise.
24987         * math/e_scalb.c: Likewise.
24988         * math/e_scalbf.c: Likewise.
24989         * math/e_scalbl.c: Likewise.
24990         * math/k_cosl.c: Likewise.
24991         * math/k_sinl.c: Likewise.
24992         * math/k_tanl.c: Likewise.
24993         * math/s_cacoshf.c: Likewise.
24994         * math/s_catan.c: Likewise.
24995         * math/s_catanf.c: Likewise.
24996         * math/s_catanh.c: Likewise.
24997         * math/s_catanhf.c: Likewise.
24998         * math/s_catanhl.c: Likewise.
24999         * math/s_catanl.c: Likewise.
25000         * math/s_ccosh.c: Likewise.
25001         * math/s_ccoshf.c: Likewise.
25002         * math/s_ccoshl.c: Likewise.
25003         * math/s_cexp.c: Likewise.
25004         * math/s_cexpf.c: Likewise.
25005         * math/s_cexpl.c: Likewise.
25006         * math/s_clog.c: Likewise.
25007         * math/s_clog10.c: Likewise.
25008         * math/s_clog10f.c: Likewise.
25009         * math/s_clog10l.c: Likewise.
25010         * math/s_clogf.c: Likewise.
25011         * math/s_clogl.c: Likewise.
25012         * math/s_csin.c: Likewise.
25013         * math/s_csinf.c: Likewise.
25014         * math/s_csinh.c: Likewise.
25015         * math/s_csinhf.c: Likewise.
25016         * math/s_csinhl.c: Likewise.
25017         * math/s_csinl.c: Likewise.
25018         * math/s_csqrt.c: Likewise.
25019         * math/s_csqrtf.c: Likewise.
25020         * math/s_csqrtl.c: Likewise.
25021         * math/s_ctan.c: Likewise.
25022         * math/s_ctanf.c: Likewise.
25023         * math/s_ctanh.c: Likewise.
25024         * math/s_ctanhf.c: Likewise.
25025         * math/s_ctanhl.c: Likewise.
25026         * math/s_ctanl.c: Likewise.
25027         * math/s_ldexp.c: Likewise.
25028         * math/s_ldexpf.c: Likewise.
25029         * math/s_ldexpl.c: Likewise.
25030         * math/s_significand.c: Likewise.
25031         * math/s_significandf.c: Likewise.
25032         * math/s_significandl.c: Likewise.
25033         * math/w_acos.c: Likewise.
25034         * math/w_acosf.c: Likewise.
25035         * math/w_acosh.c: Likewise.
25036         * math/w_acoshf.c: Likewise.
25037         * math/w_acoshl.c: Likewise.
25038         * math/w_acosl.c: Likewise.
25039         * math/w_asin.c: Likewise.
25040         * math/w_asinf.c: Likewise.
25041         * math/w_asinl.c: Likewise.
25042         * math/w_atan2.c: Likewise.
25043         * math/w_atan2f.c: Likewise.
25044         * math/w_atan2l.c: Likewise.
25045         * math/w_atanh.c: Likewise.
25046         * math/w_atanhf.c: Likewise.
25047         * math/w_atanhl.c: Likewise.
25048         * math/w_cosh.c: Likewise.
25049         * math/w_coshf.c: Likewise.
25050         * math/w_coshl.c: Likewise.
25051         * math/w_dremf.c: Likewise.
25052         * math/w_exp10.c: Likewise.
25053         * math/w_exp10f.c: Likewise.
25054         * math/w_exp10l.c: Likewise.
25055         * math/w_exp2.c: Likewise.
25056         * math/w_exp2f.c: Likewise.
25057         * math/w_fmod.c: Likewise.
25058         * math/w_fmodf.c: Likewise.
25059         * math/w_fmodl.c: Likewise.
25060         * math/w_hypot.c: Likewise.
25061         * math/w_hypotf.c: Likewise.
25062         * math/w_hypotl.c: Likewise.
25063         * math/w_j0.c: Likewise.
25064         * math/w_j0f.c: Likewise.
25065         * math/w_j0l.c: Likewise.
25066         * math/w_j1.c: Likewise.
25067         * math/w_j1f.c: Likewise.
25068         * math/w_j1l.c: Likewise.
25069         * math/w_jn.c: Likewise.
25070         * math/w_jnf.c: Likewise.
25071         * math/w_jnl.c: Likewise.
25072         * math/w_lgamma.c: Likewise.
25073         * math/w_lgamma_r.c: Likewise.
25074         * math/w_lgammaf.c: Likewise.
25075         * math/w_lgammaf_r.c: Likewise.
25076         * math/w_lgammal.c: Likewise.
25077         * math/w_lgammal_r.c: Likewise.
25078         * math/w_log.c: Likewise.
25079         * math/w_log10.c: Likewise.
25080         * math/w_log10f.c: Likewise.
25081         * math/w_log10l.c: Likewise.
25082         * math/w_log2.c: Likewise.
25083         * math/w_log2f.c: Likewise.
25084         * math/w_log2l.c: Likewise.
25085         * math/w_logf.c: Likewise.
25086         * math/w_logl.c: Likewise.
25087         * math/w_pow.c: Likewise.
25088         * math/w_powf.c: Likewise.
25089         * math/w_powl.c: Likewise.
25090         * math/w_remainder.c: Likewise.
25091         * math/w_remainderf.c: Likewise.
25092         * math/w_remainderl.c: Likewise.
25093         * math/w_scalb.c: Likewise.
25094         * math/w_scalbf.c: Likewise.
25095         * math/w_scalbl.c: Likewise.
25096         * math/w_sinh.c: Likewise.
25097         * math/w_sinhf.c: Likewise.
25098         * math/w_sinhl.c: Likewise.
25099         * math/w_sqrt.c: Likewise.
25100         * math/w_sqrtf.c: Likewise.
25101         * math/w_sqrtl.c: Likewise.
25102         * math/w_tgamma.c: Likewise.
25103         * math/w_tgammaf.c: Likewise.
25104         * math/w_tgammal.c: Likewise.
25106         * po/ja.po: Update from translation team.
25108 2011-09-29  Andreas Jaeger  <aj@suse.de>
25110         [BZ #13179]
25111         * sunrpc/netname.c (netname2host): Fix logic.
25113         [BZ #6779]
25114         [BZ #6783]
25115         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25116         correctly.
25117         * math/w_remainder.c (__remainder): Likewise.
25118         * math/w_remainderf.c (__remainderf): Likewise.
25119         * math/libm-test.inc (remainder_test): Add test cases.
25121 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25123         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
25124         sdiv_qrnnd.
25126 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
25128         * string/test-memcmp.c: Avoid unncessary #defines.
25129         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25131 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25133         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25134         Use new sse2 version for core i3 - i7 as it's faster
25135         than sse42 version.
25136         (bit_Prefer_PMINUB_for_stringop): New.
25137         * sysdeps/x86_64/rawmemchr.S: Update.
25138         Replace with faster SSE2 version.
25139         * sysdeps/x86_64/memrchr.S: New file.
25140         * sysdeps/x86_64/memchr.S: Update.
25141         Replace with faster SSE2 version.
25143 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
25145         * elf/dl-load.c (lose): Add cast to avoid warning.
25147 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
25149         * po/ca.po: Update from translation team.
25151         * inet/getnetgrent_r.c: Hook up nscd.
25152         * nscd/Makefile (routines): Add nscd_netgroup.
25153         (nscd-modules): Add netgroupcache.
25154         (CFLAGS-netgroupcache.c): Define.
25155         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25156         (cache_search): Add const to second parameter.
25157         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25158         INNETGR.
25159         (dbs): Add netgrdb entry.
25160         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25161         (verify_persistent_db): Handle netgrdb.
25162         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25163         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25164         GETFDNETGR.
25165         (netgroup_response_header): Define.
25166         (innetgroup_response_header): Define.
25167         (datahead): Add netgroup_response_header and innetgroup_response_header
25168         elements.
25169         * nscd/nscd.conf: Add entries for netgroup cache.
25170         * nscd/nscd.h (dbtype): Add netgrdb.
25171         (_PATH_NSCD_NETGROUP_DB): Define.
25172         (netgroup_iov_disabled): Declare.
25173         (xmalloc, xcalloc, xrealloc): Move declarations here.
25174         (cache_search): Adjust prototype.
25175         Add netgroup-related prototypes.
25176         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25177         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25178         (__nscd_innetgr): Declare.
25179         * nscd/selinux.c (perms): Use access_vector_t as element type and
25180         add netgroup-related initializers.
25181         * nscd/netgroupcache.c: New file.
25182         * nscd/nscd_netgroup.c: New file.
25183         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25184         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25185         For four parameters use innetgr.
25186         * nss/nss_files/files-init.c: Add definition and callback for netgr.
25187         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25188         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25189         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25191         * nscd/connections.c (register_traced_file): Don't register file
25192         for disabled databases.
25194 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
25196         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25198         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25199         from tree and freeing node.
25201 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
25203         * nss/nsswitch.c (__nss_database_lookup): Handle
25204         nss_parse_service_list out of memory case.
25206 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
25208         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25209         out of memory case.
25211 2011-10-04  Andreas Schwab  <schwab@redhat.com>
25213         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25214         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25215         pass it down.
25216         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25217         elf_machine_rela, elf_machine_lazy_rel.
25218         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25219         (ELF_DYNAMIC_DO_REL): Likewise.
25220         (ELF_DYNAMIC_DO_RELA): Likewise.
25221         (ELF_DYNAMIC_RELOCATE): Likewise.
25222         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25223         to ELF_DYNAMIC_DO_REL.
25224         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25225         (dl_main): In trace mode always set __RTLD_NOIFUNC.
25226         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25227         elf_machine_rela.
25228         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25229         skip_ifunc, don't call ifunc function if non-zero.
25230         (elf_machine_rela): Likewise.
25231         (elf_machine_lazy_rel): Likewise.
25232         (elf_machine_lazy_rela): Likewise.
25233         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25234         (elf_machine_lazy_rel): Likewise.
25235         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25236         Likewise.
25237         (elf_machine_lazy_rel): Likewise.
25238         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25239         Likewise.
25240         (elf_machine_lazy_rel): Likewise.
25241         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25242         (elf_machine_lazy_rel): Likewise.
25243         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25244         (elf_machine_lazy_rel): Likewise.
25245         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25246         (elf_machine_lazy_rel): Likewise.
25247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25248         (elf_machine_lazy_rel): Likewise.
25249         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25250         (elf_machine_lazy_rel): Likewise.
25251         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25252         (elf_machine_lazy_rel): Likewise.
25254 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
25256         * nss/nss_files/files-init.c (_nss_files_init): Use static
25257         initialization for all the *_traced_file variables.
25259 2011-09-28  Andreas Schwab  <schwab@redhat.com>
25261         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25263 2011-09-27  Roland McGrath  <roland@hack.frob.com>
25265         [BZ #13226]
25266         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25268 2011-09-27  Andreas Schwab  <schwab@redhat.com>
25270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25271         Reread the line before reparsing it.
25273 2011-09-26  Andreas Schwab  <schwab@redhat.com>
25275         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25277 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
25278             Maxim Kuvyrkov  <maxim@codesourcery.com>
25279             Joseph Myers  <joseph@codesourcery.com>
25281         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25282         if needed for __stack_chk_guard.
25284 2011-09-19  Roland McGrath  <roland@hack.frob.com>
25286         * sysdeps/posix/spawni.c (script_execute): Always define it.
25287         It will be optimized away if unused.
25288         (maybe_script_execute): New function.
25289         (__spawni): Call it.
25291         * Makerules: Don't include tls.make.
25292         (config-tls): Always set to thread.
25293         * tls.make.c: File removed.
25295 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
25297         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25298         * config.make.in (CPPFLAGS-config): New substituted variable.
25300 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
25302         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25304         [BZ #13192]
25305         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25306         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25308 2011-09-15  Roland McGrath  <roland@hack.frob.com>
25310         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25311         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25312         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25313         (CALL_FAIL): Likewise.
25314         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25315         (CALL_FAIL): Macro removed.
25316         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25318 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
25320         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25321         for __FINITE_MATH_ONLY__ == 1.
25323 2011-09-15  Andreas Schwab  <schwab@redhat.com>
25325         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25326         __ieee754_sqrt instead of sqrt.
25327         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25328         __ieee754_sqrtf instead of sqrtf.
25329         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25330         __floorf instead of floorf.
25331         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25332         __floorf, __truncf instead of floorf, truncf.
25334 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
25336         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25338         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25339         __extern_always_inline.
25340         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25341         32-bit.
25343 2011-09-14  Andreas Schwab  <schwab@redhat.com>
25345         * elf/rtld.c (dl_main): Also relocate in dependency order when
25346         doing symbol dependency testing.
25348 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
25350         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25351         Always define `refsym'.
25353 2011-09-13  Andreas Schwab  <schwab@redhat.com>
25355         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25356         (__FD_ELT): Renamed from __FDELT.
25357         * misc/bits/select2.h (__FD_ELT): Likewise.
25358         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25359         __FD_MASK instead of __FDELT, __FDMASK.
25360         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25361         Likewise.
25362         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25363         Likewise.
25365         * elf/Makefile (gen-ldd): Fix pattern.
25367         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25368         (init_tls): Likewise.
25370 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
25372         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25374 2011-09-12  Andreas Schwab  <schwab@redhat.com>
25376         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25377         `struct cmsghdr *' instead of `void *'.
25378         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25379         Likewise.
25381 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
25383         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25384         if non-absolute.
25385         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25386         ldd_rewrite_script.
25388 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
25390         * configure.in: Remove --with-tls option.
25391         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25392         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25393         out in case it is missing.
25394         * sysdeps/ia64/elf/configure.in: Likewise.
25395         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25396         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25397         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25398         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25399         * sysdeps/sh/elf/configure.in: Likewise.
25400         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25401         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25402         * sysdeps/x86_64/elf/configure.in: Likewise.
25403         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25404         * sysdeps/mach/hurd/tls.h: Likewise.
25406         [BZ #13067]
25407         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25409         [BZ #13090]
25410         * configure.in: Fix use of AC_INIT.
25412         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25414 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
25416         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25417         __set_errno.
25418         * malloc/hooks.c: Likewise.
25420         [BZ #11929]
25421         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
25422         variables statically.
25423         (narenas): Initialize.
25424         (list_lock): Initialize.
25425         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
25426         initializtion of main_arena and list_lock.  Small cleanups.
25427         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25428         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
25429         Add initializers to main_arena and mp_.
25430         (malloc_state): Remove pagesize member.  Change all users to use
25431         GLRO(dl_pagesize).
25433         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25434         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
25435         is always initialized.
25437         * malloc/malloc.c: Removed unused configurations and dead code.
25438         * malloc/arena.c: Likewise.
25439         * malloc/hooks.c: Likewise.
25440         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
25442         * include/tls.h: Removed.  USE___THREAD must always be defined.
25443         * bits/libc-tsd.h: Don't handle !USE___THREAD.
25444         * elf/dl-libc.c: Likewise.
25445         * elf/dl-tsd.c: Likewise.
25446         * include/errno.h: Likewise.
25447         * include/netdb.h: Likewise.
25448         * include/resolv.h: Likewise.
25449         * inet/herrno-loc.c: Likewise.
25450         * inet/herrno.c: Likewise.
25451         * malloc/arena.c: Likewise.
25452         * malloc/hooks.c: Likewise.
25453         * malloc/malloc.c: Likewise.
25454         * resolv/res-state.c: Likewise.
25455         * resolv/res_libc.c: Likewise.
25456         * sysdeps/i386/dl-machine.h: Likewise.
25457         * sysdeps/ia64/dl-machine.h: Likewise.
25458         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25459         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25460         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25461         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25462         * sysdeps/sh/dl-machine.h: Likewise.
25463         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25464         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25465         * sysdeps/unix/i386/sysdep.S: Likewise.
25466         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25467         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25469         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25471         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25472         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25473         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25474         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25476         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25477         * sysdeps/x86_64/dl-machine.h: Likewise.
25478         * tls.make.c: Likewise.
25480         * configure.in: Remove --with-__thread option.  Make tests for
25481         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25482         tls_model attribute fail if no support is available.  Remove
25483         USE_IN_LIBIO.
25484         * Makeconfig: Adjust for dropped configure option.  All features are
25485         now mandatory.
25486         * Makerules: Likewise.
25487         * Versions.def: Likewise.
25488         * argp/argp-fmtstream.c: Likewise.
25489         * argp/argp-fmtstream.h: Likewise.
25490         * argp/argp-help.c: Likewise.
25491         * assert/assert.c: Likewise.
25492         * config.h.in: Likewise.
25493         * config.make.in: Likewise.
25494         * configure: Likewise.
25495         * configure.in: Likewise.
25496         * csu/Versions: Likewise.
25497         * csu/init.c: Likewise.
25498         * elf/tst-audit2.c: Likewise.
25499         * elf/tst-tls10.c: Likewise.
25500         * elf/tst-tls10.h: Likewise.
25501         * elf/tst-tls11.c: Likewise.
25502         * elf/tst-tls12.c: Likewise.
25503         * elf/tst-tls14.c: Likewise.
25504         * elf/tst-tlsmod11.c: Likewise.
25505         * elf/tst-tlsmod12.c: Likewise.
25506         * elf/tst-tlsmod13.c: Likewise.
25507         * elf/tst-tlsmod13a.c: Likewise.
25508         * elf/tst-tlsmod14a.c: Likewise.
25509         * elf/tst-tlsmod15b.c: Likewise.
25510         * elf/tst-tlsmod16a.c: Likewise.
25511         * elf/tst-tlsmod16b.c: Likewise.
25512         * elf/tst-tlsmod7.c: Likewise.
25513         * elf/tst-tlsmod8.c: Likewise.
25514         * elf/tst-tlsmod9.c: Likewise.
25515         * gmon/gmon.c: Likewise.
25516         * grp/fgetgrent_r.c: Likewise.
25517         * grp/putgrent.c: Likewise.
25518         * hurd/fopenport.c: Likewise.
25519         * include/libc-symbols.h: Likewise.
25520         * include/tls.h: Likewise.
25521         * intl/gettextP.h: Likewise.
25522         * intl/loadinfo.h: Likewise.
25523         * locale/global-locale.c: Likewise.
25524         * locale/localeinfo.h: Likewise.
25525         * mach/devstream.c: Likewise.
25526         * malloc/arena.c: Likewise.
25527         * malloc/set-freeres.c: Likewise.
25528         * misc/err.c: Likewise.
25529         * misc/getttyent.c: Likewise.
25530         * misc/mntent_r.c: Likewise.
25531         * posix/getopt.c: Likewise.
25532         * posix/wordexp.c: Likewise.
25533         * pwd/fgetpwent_r.c: Likewise.
25534         * resolv/Versions: Likewise.
25535         * resolv/res_hconf.c: Likewise.
25536         * shadow/fgetspent_r.c: Likewise.
25537         * shadow/putspent.c: Likewise.
25538         * stdio-common/printf_fphex.c: Likewise.
25539         * stdio-common/tmpfile.c: Likewise.
25540         * stdlib/abort.c: Likewise.
25541         * stdlib/fmtmsg.c: Likewise.
25542         * sunrpc/auth_unix.c: Likewise.
25543         * sunrpc/clnt_perr.c: Likewise.
25544         * sunrpc/clnt_tcp.c: Likewise.
25545         * sunrpc/clnt_udp.c: Likewise.
25546         * sunrpc/clnt_unix.c: Likewise.
25547         * sunrpc/openchild.c: Likewise.
25548         * sunrpc/svc_simple.c: Likewise.
25549         * sunrpc/svc_tcp.c: Likewise.
25550         * sunrpc/svc_udp.c: Likewise.
25551         * sunrpc/svc_unix.c: Likewise.
25552         * sunrpc/xdr.c: Likewise.
25553         * sunrpc/xdr_array.c: Likewise.
25554         * sunrpc/xdr_rec.c: Likewise.
25555         * sunrpc/xdr_ref.c: Likewise.
25556         * sunrpc/xdr_stdio.c: Likewise.
25558 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
25560         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25562 2011-07-03  Andreas Jaeger  <aj@suse.de>
25564         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25565         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25566         regenerate with gen-libm-tests.pl.
25568 2010-05-12  Petr Baudis  <pasky@suse.cz>
25570         [BZ #11589]
25571         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25572         around j0() zero points by switching to j1().
25573         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25574         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25575         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25576         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25578 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
25580         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25581         instead of 0.
25582         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
25583         instead of 0.
25584         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25585         Patch in part by Pavel Roskin <proski@gnu.org>.
25587         [BZ #13138]
25588         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25589         realloc.
25590         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
25591         Free memory block if necessary.
25593         [BZ #12847]
25594         * libio/genops.c (INTDEF): For string streams the _lock pointer can
25595         be NULL.  Don't lock in this case.
25597 2011-09-09  Roland McGrath  <roland@hack.frob.com>
25599         * elf/elf.h (ELFOSABI_GNU): New macro.
25600         (ELFOSABI_LINUX): Define to that.
25602 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
25604         * string/strncat.c (strncat): Undef the symbol in case it has been
25605         defined in bits/string.h.
25607 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
25609         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25611         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
25612         link map.
25614 2011-08-17  Andreas Jaeger  <aj@suse.de>
25616         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25618 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25619             Ian Lance Taylor  <iant@google.com>
25621         * math/libm-test.inc (lround_test): New testcase.
25622         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25624 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
25626         * Makefile: Remove support for automatic cvs check-ins.
25627         * Makerules: Likewise.
25628         * config.make.in: Likewise.
25629         * configure.in: Likewise.
25630         * intl/Makefile: Likewise.
25631         * locale/Makefile: Likewise.
25632         * po/Makefile: Likewise.
25633         * posix/Makefile: Likewise.
25634         * sysdeps/gnu/Makefile: Likewise.
25635         * sysdeps/mach/hurd/Makefile: Likewise.
25636         * sysdeps/sparc/sparc32/Makefile: Likewise.
25638         [BZ #13118]
25639         * posix/Makefile (bug-regex32-ENV): Define.
25640         Patch by John Stanley <jpsinthemix@verizon.net>.
25642         * misc/Makefile (headers): Add bits/select2.h.
25643         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25644         * misc/bits/select2.h: New file.
25645         * include/bits/select2.h: New file.
25646         * debug/Makefile (routines): Add fdelt_chk.
25647         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25648         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25649         FD_ISSET.
25650         * debug/fdelt_chk.c: New file.
25652         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
25653         * wcsmbs/test-wmemcmp.c: Likewise.
25654         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25655         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25657 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25659         * string/Makefile (strop-tests): Add memcmp.
25660         * string/test-wmemcmp.c: New file.
25661         * string/test-memcmp.c: Add wmemcmp support.
25663 2011-09-08  Roland McGrath  <roland@hack.frob.com>
25665         [BZ #13153]
25666         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25667         2011-07-19 change.
25669         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25670         garbage value in a __mach_port_mod_refs call in the cases of the
25671         task-self and thread-self ports.
25673 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25675         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25677 2011-09-08  Andreas Schwab  <schwab@redhat.com>
25679         * elf/dl-load.c (lose): Check for non-null L.
25681 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
25683         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25685         * elf/dl-libc.c (dlerror_run): Pass back error code from
25686         dl_catch_error.
25688         [BZ #13123]
25689         * elf/dl-load.c (lose): Free l_origin if it is valid.
25691         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25692         names.
25693         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25694         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25695         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25696         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25697         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25698         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25700 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25702         * sysdeps/powerpc/fpu/e_hypot.c: New file.
25703         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25704         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25705         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25706         * sysdeps/powerpc/fpu/k_cosf.c: New file.
25707         * sysdeps/powerpc/fpu/k_sinf.c: New file.
25708         * sysdeps/powerpc/fpu/s_cosf.c: New file.
25709         * sysdeps/powerpc/fpu/s_sinf.c: New file.
25710         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25711         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25713 2011-08-15  Alan Modra  <amodra@gmail.com>
25715         [BZ #13092]
25716         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25717         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25718         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
25719         ppc_mcount to static-only-routines.
25720         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25721         __mcount_internal.
25722         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25723         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
25725 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
25727         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25728         for finite and infinity parameters.
25730 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
25732         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25733         and add nop instructions for throughput optimization.
25734         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25736 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
25738         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25739         aligned copy for power7 with vector-scalar instructions.
25740         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25742 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
25744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25745         AVX check.
25747 2011-09-07  Andreas Schwab  <schwab@redhat.com>
25749         [BZ #13144]
25750         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25751         last change.
25753 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
25755         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25756         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25757         syscall wrapper around clock_gettime in __vdso_clock_gettime.
25758         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25759         clock_gettime.
25761 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
25763         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25764         Forgot to demangle the pointer.
25766         * sysdeps/i386/sysdep.h: Define atom_text_section.
25767         * sysdeps/x86_64/sysdep.h: Likewise.
25768         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25769         section with atom_text_section.
25770         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25771         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25772         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25773         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25774         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25776         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25777         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25778         already be defined.  Change to take two parameters and don't assign
25779         result to variable.  Adjust all users.
25780         Define INTERNAL_GETTIME if not already defined.
25781         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25782         call.
25783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25784         HAVE_CLOCK_GETTIME_VSYSCALL.
25785         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25788         gettimeofday vsyscall, just use time.
25790 2011-09-06  Andreas Schwab  <schwab@redhat.com>
25792         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25793         <errno.h>.
25795 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
25797         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25798         syscall on x86-64.
25799         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25800         syscall.
25801         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25802         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25803         syscall if possible.
25805 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
25807         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25808         e_ident.  Don't pass to find_mapsXX.
25809         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25811 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25814         strchr-sse2-no-bsf strrchr-sse2-no-bsf
25815         * sysdeps/x86_64/multiarch/strchr.S: Update.
25816         Check bit_slow_BSF bit.
25817         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25818         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25819         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25821 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
25823         [BZ #13134]
25824         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25825         before glibc 2.15.
25826         (tryshell): Define.
25827         (__spawni): Change last parameter to be flag.  Test
25828         SPAWN_XFLAGS_USE_PATH flag to use path or not.
25829         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25830         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25831         * posix/spawni.c: Likewise.
25832         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25833         * posix/spawnp.c: Likewise.  Change normal version to use
25834         SPAWN_XFLAGS_USE_PATH.
25835         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25836         SPAWN_XFLAGS_TRY_SHELL.
25838         [BZ #13150]
25839         * posix/glob.h: Remove gcc 1.x support.
25841         [BZ #13068]
25842         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25844 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25846         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25847         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25848         strrchr-sse2-bsf
25849         * sysdeps/i386/i686/multiarch/strchr.S: New file.
25850         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25851         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25852         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25853         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25854         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25856 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25858         * sysdeps/x86_64/wcscmp.S: New file.
25860         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25861         wcscmp-c wcscmp-sse2
25862         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25863         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25864         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25865         * wcsmbs/wcscmp.c: Allow renaming.
25867 2011-09-05  David S. Miller  <davem@davemloft.net>
25869         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25870         stack slot, rather than the struct return pointer slot.
25871         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25872         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25874         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25876 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
25878         * po/ja.po: Update from translation team.
25880         [BZ #13144]
25881         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25882         kernel in 64-bit binaries.
25884 2011-09-01  David S. Miller  <davem@davemloft.net>
25886         * elf/elf.h (HWCAP_SPARC_*): Move to..
25887         * sysdeps/sparc/sysdep.h: this new file and add new values.
25888         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25889         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25890         _DL_HWCAP_COUNT to 24.
25891         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25892         entries.
25893         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25894         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25895         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25896         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25897         instead of magic constants.
25898         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25900 2011-08-31  David S. Miller  <davem@davemloft.net>
25902         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25904         Reimplement to do errno handling inline.
25905         (SYSCALL_ERROR_HANDLER): New macro.
25906         (__SYSCALL_STRING): Do not do errno handling in asm.
25907         (__CLONE_SYSCALL_STRING): Delete.
25908         (__INTERNAL_SYSCALL_STRING): Delete.
25909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25910         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25911         (PSEUDO): Reimplement to do errno handling inline.
25912         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25913         (SYSCALL_ERROR_HANDLER): New macro.
25914         (__SYSCALL_STRING): Do not do errno handling in asm.
25915         (__CLONE_SYSCALL_STRING): Delete.
25916         (__INTERNAL_SYSCALL_STRING): Delete.
25917         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25918         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25919         i386.
25920         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25921         (inline_syscall*): Add 'err' argument.
25922         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25923         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25924         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25925         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25927         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25928         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25930 2011-08-30  Andreas Schwab  <schwab@redhat.com>
25932         * elf/rtld.c (dl_main): Relocate objects in dependency order.
25934 2011-08-29  Jiri Olsa <jolsa@redhat.com>
25936         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25937         directive.
25939 2011-08-24  David S. Miller  <davem@davemloft.net>
25941         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25943 2011-08-24  Andreas Schwab  <schwab@redhat.com>
25945         * elf/Makefile: Add rules to build and run unload8 test.
25946         * elf/unload8.c: New file.
25947         * elf/unload8mod1.c: New file.
25948         * elf/unload8mod1x.c: New file.
25949         * elf/unload8mod2.c: New file.
25950         * elf/unload8mod3.c: New file.
25952         * elf/dl-close.c (_dl_close_worker): Reset private search list if
25953         it wasn't used.
25955 2011-08-23  David S. Miller  <davem@davemloft.net>
25957         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25958         subtract stack bias.
25959         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25960         %sp not %fp in calculations.
25961         (_JMPBUF_UNWINDS_ADJ): Likewise.
25963         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25964         (aio_suspend): Call it to force an exception region around the
25965         AIO_MISC_WAIT() invocation.
25967 2011-08-23  Andreas Schwab  <schwab@redhat.com>
25969         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25970         backslash.
25972 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
25974         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25975         protection macro.
25976         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25977         and <dl-machine.h>.
25978         (Elf64_FuncDesc): Remove.
25980 2011-08-22  David S. Miller  <davem@davemloft.net>
25982         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25983         sigaltstack check, add missing cfi directives.
25984         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25985         missing cfi directives, and sigaltstack handling.
25987 2011-08-16  Andreas Schwab  <schwab@redhat.com>
25989         [BZ #11724]
25990         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25991         object is seen twice.
25992         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25994         * elf/Makefile (distribute): Add tst-initorder2.c.
25995         (tests): Add tst-initorder2.
25996         (modules-names): Add tst-initorder2a tst-initorder2b
25997         tst-initorder2c tst-initorder2d.  Add rules to build them.
25998         ($(objpfx)tst-initorder2.out): New rule.
25999         * elf/tst-initorder2.c: New file.
26000         * elf/tst-initorder2.exp: New file.
26002 2011-08-22  Andreas Schwab  <schwab@redhat.com>
26004         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26006         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26007         dependencies back to end of function.
26009         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26010         $(elfobjdir)/ld.so.
26012 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
26014         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26015         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26016         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26017         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26018         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26019         of __vdso_gettimeofday.
26020         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26021         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
26022         attribute_hidden.
26023         (_libc_vdso_platform_setup): Remove initialization of
26024         __vdso_gettimeofday and __vdso_time.
26026 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
26028         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26029         and fgetc_unlocked.
26030         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26031         getc_unlocked.
26033         * elf/dl-open.c (add_to_global): Report additions to the global scope
26034         for LD_DEBUG=scopes.
26035         (dl_open_worker): Also print scope of newly loaded dependencies.
26036         (_dl_show_scope): Indicate if there is no scope.
26038         [BZ #13114]
26039         * stdio-common/Makefile (tests): Add bug24.
26040         * stdio-common/bug24.c: New file.
26042 2011-08-19  Andreas Jaeger  <aj@suse.de>
26044         [BZ #13114]
26045         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26046         non-existant file when using close-on-exec mode.
26048 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
26050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26051         the very first instruction.
26053         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26054         the CFI state in the end.
26055         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26056         inclusion of dl-trampoline.h.
26057         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26059 2011-08-19  Andreas Schwab  <schwab@redhat.com>
26061         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26062         expectations for long double.
26064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26065         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26067 2011-08-14  David S. Miller  <davem@davemloft.net>
26069         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26070         artificual limit depends upon the system page size.
26072 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
26074         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26075         * resolv/Makefile: Define CFLAGS-libresolv.
26077 2011-08-17  Andreas Schwab  <schwab@redhat.com>
26079         * nss/makedb.c (compute_tables): Make variables used in nested
26080         function static.
26082 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
26084         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26085         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26086         if buffer was too small.
26088         * elf/pldd.c (main): Attach to all threads in the process.
26089         Rewrite /proc handling to use *at functions.
26091 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
26093         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26094         specifies first scope to show.
26095         (dl_open_worker): Update callers.  Move printing scope of new
26096         object to before the relocation.
26097         * elf/rtld.c (dl_main): Update _dl_show_scope call.
26098         * sysdeps/generic/ldsodefs.h: Update declaration.
26100         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26101         string for the scope number.
26103 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
26105         * nscd/servicescache.c (cache_addserv): Make sure written is always
26106         initialized.
26108 2011-08-14  Roland McGrath  <roland@hack.frob.com>
26110         * sysdeps/i386/i486/bits/atomic.h
26111         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26112         statement expression, so as to suppress "set but not used" warning.
26113         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26115         * string/strncat.c (STRNCAT): Use prototype definition.
26117         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26118         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26119         -Iprograms here.
26120         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26121         (localedef-modules): Add localedef.
26122         (locale-modules): Add locale.
26124         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26125         * elf/rtld.c (dl_main): Invert order of assignment in last change,
26126         to avoid a warning.
26128 2011-08-14  David S. Miller  <davem@davemloft.net>
26130         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26131         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26133 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
26135         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26136         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26137         * elf/rtld.c (dl_main): Set l_name of vDSO.
26138         Call _dl_show_scope when DL_DEBUG_SCOPES.
26139         (process_dl_debug): Recognize scopes flag and also set it for all.
26140         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26141         Declare _dl_show_scope.
26143         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26144         (do_dlopen): Pass caller_dlopen to dl_open.
26145         (__libc_dlopen_mode): Initialize caller_dlopen.
26147         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26148         of libc.  Make tolower call locale-independent.  Optimize a bit by
26149         using isdigit instead of isalnum.
26150         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26152 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
26154         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26155         was a dependency or dynamically loaded.
26157 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
26159         * intl/l10nflist.c: Allow architecture-specific pop function.
26160         * sysdeps/x86_64/l10nflist.c: New file.
26162         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26163         classification.
26165 2011-08-10  Andreas Schwab  <schwab@redhat.com>
26167         * include/dirent.h: Add libc_hidden_proto for scandirat and
26168         scandirat64.  Don't declare __scandirat64.
26169         * dirent/scandirat.c: Add libc_hidden_def.
26170         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26171         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26173 2011-08-10  David S. Miller  <davem@davemloft.net>
26175         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26176         enum.
26177         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26178         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26179         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26181 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
26183         * Versions.def [libc]: Add GLIBC_2.15.
26184         * dirent/Makefile (routines): Add scandirat and scandirat64.
26185         * dirent/Versions [libc]: Export scandirat and scandirat64 for
26186         GLIBC_2.15.
26187         * dirent/dirent.h: Declare scandirat and scandirat64.
26188         * dirent/scandirat.c: New file.
26189         * dirent/scandirat64.c: New file.
26190         * sysdeps/wordsize-64/scandirat.c: New file.
26191         * sysdeps/wordsize-64/scandirat64.c: New file.
26192         * dirent/opendir.c: Define opendirat.
26193         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
26194         using scandirat.
26195         * dirent/scandir64.c: Adjust for scandir.c change.
26196         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
26197         __scandirat64, and __scandir_cancel_handler.
26198         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
26199         additional parameter and use openat instead of open (outside of ld.so).
26200         Add new __opendir as wrapper around __opendirat.
26201         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26202         here without requiring old scandirat implementation.
26204 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
26206         * dirent/scandir.c (cancel_handler): Renamed to
26207         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
26208         defined.  Adjust users.
26209         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26210         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26212 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
26214         * string/test-string.h (IMPL): Use __STRING to expand name and then
26215         stringify it.
26217         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
26218         of cleanups.
26220 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26222         * string/Makefile: Update.
26223         (strop-tests): Append strncat.
26224         * string/test-wcscmp.c: New file.
26225         New comprehensive test for wcscmp.
26226         * string/test-strcmp.c: Update.
26227         (WIDE): New define.
26229 2011-07-22  Andreas Schwab  <schwab@redhat.com>
26231         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26232         line.
26234 2011-07-26  Andreas Schwab  <schwab@redhat.com>
26236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26237         encoding to ACE if AI_IDN.
26239 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
26241         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26242         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26244 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26246         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26247         Fix overflow bug in strncat.
26248         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26250         * string/test-strncat.c: Update.
26251         Add new tests for checking overflow bugs.
26253 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26256         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26257         * sysdeps/i386/i686/multiarch/strcat.S: New file.
26258         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26259         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26260         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26261         * sysdeps/i386/i686/multiarch/strncat.S: New file.
26262         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26263         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26265         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26266         (USE_AS_STRCAT): Define.
26267         Add strcat and strncat support.
26268         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26270 2011-07-25  Andreas Schwab  <schwab@redhat.com>
26272         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26273         __n bigger than INT_MAX+1.
26274         (__strncmp_g): Likewise.
26276 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
26278         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26279         * libio/stido.h: Likewise.
26281         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26282         (AF_NFC): Define.
26283         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26284         (AF_NFC): Define.
26286         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26287         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26288         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26289         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26290         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26292         [BZ #13021]
26293         * scripts/test-installation.pl: Don't expect libnss_test1 to be
26294         installed.
26296         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26297         typo.
26298         (_dl_x86_64_save_sse): Likewise.
26300 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
26302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26303         OSXSAVE.
26304         (_dl_x86_64_save_sse): Likewise.
26306         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26308         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26310 2011-07-21  Andreas Schwab  <schwab@redhat.com>
26312         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26313         change.
26314         (_dl_x86_64_save_sse): Use correct AVX check.
26316 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26318         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26319         bug in strncpy/strncat.
26320         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26322 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
26324         * string/tester.c (test_strcat): Add tests for different alignments
26325         of source and destination.
26326         (test_strncat): Likewise.
26328 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
26330         [BZ #12852]
26331         * posix/glob.c (glob): Check passed in values before using them in
26332         expressions to avoid some overflows.
26333         (glob_in_dir): Likewise.
26335         [BZ #13007]
26336         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26337         check for AVX enablement so that we don't crash with old kernels and
26338         new hardware.
26339         * elf/tst-audit4.c: Add same checks here.
26340         * elf/tst-audit6.c: Likewise.
26342         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26344 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
26346         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26348 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
26350         * po/cs.po: Update from translation team.
26351         * po/bg.po: Likewise.
26353 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
26355         * misc/sys/cdefs.h: Add support for const attribute.
26356         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26357         to gnu_dev_{major,minor,makedev} functions.
26359 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
26361         * intl/dcigettext.c (get_output_charset): Add missing bracket.
26363 2011-07-20  Andreas Schwab  <schwab@redhat.com>
26365         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26366         strlen results.
26368 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26371         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26372         register in order to avoid conflicts with the soft frame pointer
26373         being held in r11 when necessary.
26374         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26375         (INTERNAL_VSYSCALL_NCS): Likewise.
26377 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
26379         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26380         * elf/dl-fini.c (_dl_fini): Adjust caller.
26381         * elf/dl-close.c (_dl_close_worker): Likewise.
26382         * sysdeps/generic/ldsodefs.h: Adjust declaration.
26384 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
26386         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26387         "aux_cache->nlibs < 0".
26389         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26390         in the reload-count case.
26392 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26395         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26396         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26397         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26398         * sysdeps/x86_64/multiarch/strcat.S: New file.
26399         * sysdeps/x86_64/multiarch/strncat.S: New file.
26400         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26401         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26402         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26403         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26404         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26405         (USE_AS_STRCAT): Define.
26406         Add strcat and strncat support.
26407         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26408         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26409         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26410         * string/strncat.c: Update.
26411         (USE_AS_STRNCAT): Define.
26412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26413         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26414         and i7.
26415         * sysdeps/x86_64/multiarch/init-arch.h
26416         (bit_Prefer_PMINUB_for_stringop): New.
26417         (index_Prefer_PMINUB_for_stringop): Likewise.
26418         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26419         bit_Prefer_PMINUB_for_stringop.
26421 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
26423         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26424         buffer64.
26425         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26426         of casting of buffer.
26427         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26428         buffer32 and buffer64.
26429         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26430         writes instead of casting of buffer.
26431         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26432         buffer32.
26433         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26434         casting of buffer.
26436 2011-07-19  Andreas Schwab  <schwab@redhat.com>
26438         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26440 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
26442         * nscd/nscd.c (termination_handler): Don't do anything for a database
26443         if it has not yet been initialized.
26445 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
26447         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26449 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
26451         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26453 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
26455         * po/nl.po: Update from translation team.
26456         * po/sv.po: Likewise.
26458 2011-07-16  Roland McGrath  <roland@hack.frob.com>
26460         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26461         now disallowed by GCC.
26463         * configure.in (use-default-link): Default to yes if a test -shared
26464         link meets our qualifications.
26465         * configure: Regenerated.
26467         * config.make.in (output-format): New variable.
26468         * configure.in: Check for ld --print-output-format support.
26469         * configure: Regenerated.
26470         * Makerules ($(common-objpfx)format.lds)
26471         [$(output-format) != unknown]: Just use $(output-format),
26472         instead of the linker-script munging.
26474 2011-07-14  Roland McGrath  <roland@hack.frob.com>
26476         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26477         of $(common-objpfx)shlib.lds.
26478         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26480         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26481         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26483         * configure.in (-z relro check): Adjust test code to add a large
26484         writable data section after it.
26485         * configure: Regenerated.
26487 2011-07-11  Roland McGrath  <roland@hack.frob.com>
26489         * configure.in (-z relro check): Fix test code to make the variable
26490         truly const.
26491         * configure: Regenerated.
26493 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
26495         * nscd/nscd.h (struct traced_file): Define.
26496         (struct database_dyn): Remove inotify_descr, reset_res, and filename
26497         elements.  Add traced_files.
26498         (inotify_fd): Declare.
26499         (register_traced_file): Declare.
26500         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26501         (inotify_fd): Export.
26502         (resolv_conf_descr): Remove.
26503         (nscd_init): Move inotify descriptor creation to main.
26504         Don't register files for notification here.
26505         (register_traced_file): New function.
26506         (invalidate_cache): Don't use reset_res to determine whether to call
26507         res_init, go through the list of registered files.
26508         (main_loop_poll): The inotify descriptors are now stored in the
26509         structures for the traced files.
26510         (main_loop_epoll): Likewise
26511         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
26512         to __nss_disable_nscd.
26513         * nscd/cache.c (prune_cache): There is no single inotify descriptor
26514         for a database anymore.  Check the records for all the registered
26515         files instead.
26516         * nss/Makefile (libnss_files-routines): Add files-init.
26517         (libnss_db-routines): Add db-init.
26518         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26519         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26520         * nss/nss_db/db-init.c: New file.
26521         * nss/nss_files/files-init.c: New file.
26522         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
26523         __nss_lookup_function.
26524         (__nss_lookup_function): Call nss_load_library.
26525         (nss_load_all_libraries): New function.
26526         (__nss_disable_nscd): Take parameter with callback function for files
26527         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
26528         used for the cached services.
26529         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26530         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26531         options for features to all the files in nscd.
26533         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26535 2011-07-10  Roland McGrath  <roland@hack.frob.com>
26537         * csu/elf-init.c (__libc_csu_init): Comment typo.
26539 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
26541         * po/pl.po: Update from translation team.
26542         * po/ja.po: Likewise.
26543         * po/ru.po: Likewise.
26544         * po/ko.po: Likewise.
26545         * po/fr.po: Likewise.
26547 2011-07-09  Roland McGrath  <roland@hack.frob.com>
26549         * configure.in (.ctors/.dtors header and trailer check):
26550         Use an empirical test on a built program.
26551         * configure: Regenerated.
26553         * configure.in (-z relro check): Use an empirical test on a built DSO.
26554         Detect, but do not require, on ia64.
26555         * configure: Regenerated.
26557         * configure.in (READELF): Find it with AC_CHECK_TOOL.
26558         Update tests that use readelf to use $READELF instead.
26559         * configure: Regenerated.
26561 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
26563         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26564         if the result is not used.
26566 2011-07-05  Andreas Jaeger  <aj@suse.de>
26568         [BZ#9696]
26569         * stdlib/tst-strtod.c: Add testcase.
26571 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
26573         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
26574         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
26575         The latter has a higher limit.  Take additional parameter to pass to
26576         the new function.
26577         (__pathconf): Pass file to __statfs_link_max.
26578         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26579         __statfs_link_max.
26580         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26581         __statfs_link_max.
26583         [BZ #12868]
26584         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26585         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26586         Handle Lustre.
26587         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26588         (__statfs_filesize_max): Likewise.
26589         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26591 2011-07-05  Andreas Jaeger  <aj@suse.de>
26593         * resolv/res_comp.c (dn_skipname): Remove unused variable.
26595 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
26597         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26598         `status' variable.
26599         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26600         Likewise.
26602 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
26604         * Makefile (strop-tests): Add strncat.
26605         * string/test-strncat.c: New file.
26607 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
26609         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26611 2011-06-21  Andreas Jaeger  <aj@suse.de>
26613         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26614         Copy rule from iconvdata/Makefile.
26616 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
26618         [BZ #12922]
26619         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26620         but no long options are defined, just return 'W'.
26622 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
26624         [BZ #9696]
26625         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26627 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
26629         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26630         netgroups to read.
26631         (innetgr): Likewise.
26633 2011-07-05  Roland McGrath  <roland@hack.frob.com>
26635         * config.make.in (install_root): Default to $(DESTDIR).
26637 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
26639         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26641 2011-07-02  Roland McGrath  <roland@hack.frob.com>
26643         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26645         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26646         containing directory rather than embedding absolute directory names.
26648         * scripts/check-local-headers.sh: Rewritten using awk.
26649         Match by word, not by line.  Print error messages for matches.
26650         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26652         * Makerules [shlib-lds-flags empty]:
26653         ($(common-objpfx)libc_pic.opts): New target.
26654         ($(common-objpfx)libc_pic.os.clean): New target.
26655         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26657         * config.make.in (OBJCOPY): New variable.
26658         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26659         * configure: Regenerated.
26661         * config.make.in (use-default-link): New variable.
26662         * configure.in (use_default_link): Grok --with-default-link to set it.
26663         * configure: Regenerated.
26664         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26665         (shlib-lds, shlib-lds-flags): Define to empty.
26667         * Makerules (shlib-lds): New variable.
26668         (shlib-lds-flags): New variable.
26669         (build-shlib, build-moduile, build-module-asneeded): Use it.
26670         ($(common-objpfx)libc.so): Use $(shlib-lds).
26671         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26672         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26674         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26675         DT_FLAGS/DT_FLAGS_1 with zero flags.
26677         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26678         linker script munging.
26680 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
26682         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26683         as 128-bit value.
26684         * crypt/sha512.c (sha512_process_block): Perform total addition using
26685         128-bit if possible.
26686         (__sha512_finish_ctx): Likewise.
26687         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26688         as 64-bit value.
26689         * crypt/sha256.c (SWAP64): Define.
26690         (sha256_process_block): Perform total addition using 64-bit if
26691         possible.
26692         (__sha256_finish_ctx): Likewise.
26694 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
26696         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
26697         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26698         * nscd/hstcache.c (cache_addhst): Likewise.
26699         * nscd/grpcache.c (cache_addgr): Likewise.
26700         * nscd/aicache.c (addhstaiX): Likewise
26701         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26703 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
26705         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26706         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26707         * nscd/hstcache.c (cache_addhst): Likewise.
26708         * nscd/grpcache.c (cache_addgr): Likewise.
26709         * nscd/aicache.c (addhstaiX): Likewise
26711 2011-07-01  Andreas Schwab  <schwab@redhat.com>
26713         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26714         domain only when needed.
26716 2011-06-30  Andreas Schwab  <schwab@redhat.com>
26718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26719         is always restored.
26721 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
26723         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26724         are re-adding the entry.
26725         * nscd/servicescache.c (cache_addserv): Likewise.
26727 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
26729         * sysdeps/generic/dl-irel.h: fix protection against multiple
26730         inclusions.
26731         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26733 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
26735         [BZ #12935]
26736         * malloc/memusage.sh: Fix quoting in message.
26737         * debug/xtrace.sh: Likewise.
26739         * configure.in: Remove support for --experimental-malloc option, make
26740         it the default.
26741         * config.make.in: Likewise.
26742         * malloc/Makefile: Likewise.
26744 2011-06-27  Andreas Schwab  <schwab@redhat.com>
26746         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26747         two-byte characters.
26749 2011-06-27  Roland McGrath  <roland@hack.frob.com>
26751         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26752         AC_CACHE_CHECK invocation.
26753         * configure: Regenerated.
26755         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26757 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
26759         [BZ #12350]
26760         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
26761         bit from old_res_options.
26763         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26765         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26766         value type for setfct.
26768 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
26770         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26771         __gettimeofday instead of gettimeofday.
26773 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
26775         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26777 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26781         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26782         info.
26784 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
26786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26787         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26788         strcpy-sse2-unaligned strncpy-sse2-unaligned
26789         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26790         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26791         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26792         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26793         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26794         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26795         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26796         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26797         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26798         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26799         (STRCPY): Support SSE2 and SSSE3 versions.
26801 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
26803         [BZ #12874]
26804         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26805         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26806         kernels which artificially limit size of requests.
26808 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
26810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26811         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26812         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26813         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26814         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26815         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26816         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26817         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26818         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26820         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26821         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26822         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26823         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26824         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26826         Enable unaligned load optimization for Intel Core i3, i5 and i7
26827         processors.
26828         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26829         Define.
26830         (index_Fast_Unaligned_Load): Define.
26831         (HAS_FAST_UNALIGNED_LOAD): Define.
26833 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
26835         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26837 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
26839         [BZ #12907]
26840         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26841         until it is clear that the information is realy needed.
26842         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26844 2011-06-22  Andreas Schwab  <schwab@redhat.com>
26846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26848 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
26850         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26851         /sys/devices/system/cpu/online if it is usable.
26853         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26854         reading the information from the /proc filesystem to once a second.
26856 2011-06-21  Andreas Jaeger  <aj@suse.de>
26858         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26859         NULL after inclusion of kernel headers.
26861 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
26863         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26864         calls to internal_setent.
26866         [BZ #12885]
26867         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26868         addresses using gethostbyname4_r ignore IPv4 addresses.
26870         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26871         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
26873         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26875 2011-06-20  David S. Miller  <davem@davemloft.net>
26877         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26878         inclusions.
26879         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26881         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26882         (elf_irel): Use it.
26883         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26884         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26885         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26886         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26887         * sysdeps/x86_64/dl-irel.h: Likewise.
26889         * elf/dl-runtime.c: Use elf_ifunc_invoke.
26890         * elf/dl-sym.c: Likewise.
26892 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
26894         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
26895         need to dereference resplen2.
26897 2011-06-14  Andreas Schwab  <schwab@redhat.com>
26899         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26901 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
26903         * Makeconfig: Define vardbdir and inst_vardbdir.
26904         * nss/Makefile: Add rules to install db-Makefile.
26906         * nss/nss_db/db-XXX.c: Cleanup.
26908         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26909         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26910         GLIBC_PRIVATE.
26911         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26912         * nss/makedb.c: Implement -g option to specify that value strings
26913         are generated and should not be added to table iterated over for
26914         get*ent calls.
26915         * nss/nss_db/db-initgroups.c: New file.
26917         * nss/getent.c: Add support for initgroups lookups through getgrouplist
26918         interface.
26920         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26921         (internal_getgrouplist): Adjust to name change.
26922         Update use_initgroups_entry if this is not the first call.
26923         * nss/databases.def: Add initgroups entry.
26925         * nss/makedb.c (compute_tables): Check result of multiple hash table
26926         sizes to minimize maximum chain length.
26928 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
26930         * Versions.def: Add entry for libnss_db.
26931         * shlib-versions: Likewise.
26932         * nss/Makefile: Add rules to build libnss_db.
26933         * nss/Versions: Add libnss_db information.  Organize libnss_files
26934         entries better.
26935         * nss/db-Makefile: Add gshadow support.  Change rules for the new
26936         makedb progra.  Some minor improvements to generate smaller files.
26937         * nss/nss_db/nss_db.h: Move NSS database header data structures to
26938         here from...
26939         * nss/makedb.c: ...here.
26940         Improve database format to be smaller and require less memory at
26941         runtime.
26942         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
26943         db anymore.
26944         * nss/nss_db/db-netgrp.c: Likewise.
26945         * nss/nss_db/db-open.c: Likewise.
26946         * nss/nss_files/flies-XXX.x: Adjust comments.
26947         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26948         * nss/nss_files/files-grp.c: Likewise.
26949         * nss/nss_files/files-hosts.c: Likewise.
26950         * nss/nss_files/files-network.c: Likewise.
26951         * nss/nss_files/files-proto.c: Likewise.
26952         * nss/nss_files/files-pwd.c: Likewise.
26953         * nss/nss_files/files-rpc.c: Likewise.
26954         * nss/nss_files/files-service.c: Likewise.
26955         * nss/nss_files/files-sgrp.c: Likewise.
26956         * nss/nss_files/files-spwd.c: Likewise.
26957         * nss/nss_db/db-alias.c: Removed.
26958         * nss/nss_db/dummy-db.h: Removed.
26960 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
26962         * nss/makedb.c: Rewritten to not use database library.
26963         * nss/Makefile: Update to build new makedb program.
26965 2011-06-14  Andreas Jaeger  <aj@suse.de>
26967         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26968         memset declaration.
26970 2011-06-10  Andreas Schwab  <schwab@redhat.com>
26972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26973         tmpbuf.
26975 2011-06-10  Roland McGrath  <roland@hack.frob.com>
26977         * Makerules (shlib.lds): Fail if the linker script comes out empty.
26978         * elf/Makefile ($(objpfx)ld.so): Likewise.
26980         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26981         Don't list ld.so twice in dependencies.
26983         * posix/bug-regex31.c: Include <stdlib.h>.
26985         * nscd/hstcache.c (cache_addhst): Remove unused variable.
26987         * nis/nss_compat/compat-spwd.c
26988         (getspent_next_nss_netgr): Remove unused variable.
26989         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26991         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26992         nonmembers" output to use the right array.
26994         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26996         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26998         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26999         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27000         * catgets/gencat.c (read_input_file): Likewise.
27001         * locale/programs/locarchive.c (enlarge_archive): Likewise.
27003         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27004         variable definition inside #if's controlling its use.
27006         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27008         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27010         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27012         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27013         unreachable code.
27015         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27017         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27018         * configure: Regenerated.
27020         * Makerules: Revert last change.
27021         * elf/Makefile: Likewise.
27023 2011-06-09  Roland McGrath  <roland@hack.frob.com>
27025         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27026         * elf/Makefile ($(objpfx)librtld.os): Likewise.
27027         (reloc-link): Likewise.
27029 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
27031         * elf/Makefile: Add rules to build pldd.
27032         * elf/pldd.c: New file.
27033         * elf/pldd-xx.c: New file.
27035 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
27037         * version.h: Update for 2.15 development version.
27039 2011-06-07  David S. Miller  <davem@davemloft.net>
27041         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27042         ifuncs.
27043         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27044         elf_machine_lazy_rel): Likewise.
27045         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27046         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27047         elf_machine_lazy_rel): Likewise.
27048         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27049         dl_hwcap via passed in argument.
27050         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27051         Likewise.
27053 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27055         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
27057 2011-06-06  Roland McGrath  <roland@hack.frob.com>
27059         [BZ #12849]
27060         * manual/fdl-1.1.texi: New file, verbatim from:
27061         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27062         * manual/lgpl-2.1.texi: New file, verbatim from:
27063         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27064         * manual/Makefile (licenses): New variable, list those new file names.
27065         (texis): Use it.
27066         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27068         * manual/fdl.texi: File removed.
27069         * manual/lesser.texi: File removed.
27070         * manual/libc.texinfo (Copying, Documentation License):
27071         Use new @include file names, put @appendix directive before @include.
27073 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
27075         [BZ #12841]
27076         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27077         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27078         (mq_open): Add __NTH.
27080 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
27082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27083         Assume Intel Core i3/i5/i7 processor if AVX is available.
27085 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
27087         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27088         typo.
27090 2011-05-31  Andreas Schwab  <schwab@redhat.com>
27092         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27093         memory.  Use alloca_account.  Fix memory leak when retrying.
27095 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
27097         * version.h (RELEASE): Bump for 2.14 release.
27098         * include/features.h (__GLIBC_MINOR__): Bump to 14.
27100         * config.make.in (RANLIB): Remove entry.
27102 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
27104         * po/Makefile (po-sed-cmd): Add ksh to extensions.
27105         (libc.pot): Work around missing support for .ksh extension in xgettext.
27107         [BZ #12684]
27108         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27109         if both request failed.
27110         (send_dg): In case of server errors clear resplen or *resplen2.
27112         [BZ #12454]
27113         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27114         when there are multiple maps.
27115         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27116         (_dl_fini): Remove test here.
27118         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27120 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
27122         [BZ #12350]
27123         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27124         bit from old_res_options.
27125         (gaih_inet): Likewise.
27127         [BZ #11099]
27128         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27129         as signed.
27131         * resolv/res_init.c (res_setoptions): Make the code more compact.
27133         [BZ #11558]
27134         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27135         set RES_USEVC.
27137         [BZ #11634]
27138         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27140         * malloc/malloc.h: Mark malloc hook variables as deprecated.
27142         [BZ #11781]
27143         * malloc/malloc.h: Declare malloc hook variables as volatile.
27145         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27146         in last patch.
27148         [BZ #11799]
27149         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27150         raise in the comment.
27151         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27152         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27153         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27155 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
27157         [BZ #12811]
27158         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27159         grow the buffers more if it already has to be sufficient.
27160         (build_wcs_upper_buffer): Likewise.
27161         * posix/regexec.c (check_matching): Likewise.
27162         (clean_state_log_if_needed): Likewise.
27163         (extend_buffers): Don't enlarge buffers beyond size of the input
27164         buffer.
27165         Patches mostly by Emil Wojak <emil@wojak.eu>.
27166         * posix/bug-regex32.c: New file.
27167         * posix/Makefile (tests): Add bug-regex32.
27169         * locale/findlocale.c (_nl_find_locale): Return right away if
27170         _nl_explode_name failed.
27171         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27173         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27175         * debug/xtrace.sh: Unify messages.
27176         * malloc/memusage.sh: Likewise.
27178         [BZ #12813]
27179         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27180         time symbol from vDSO.  Substitute with vsyscall if not available.
27181         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27182         __vdso_time.
27184         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27185         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27186         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27187         Add sendmmsg and internal_sendmmsg.
27188         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27189         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27190         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27192         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27193         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27194         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27196 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
27198         [BZ #12813]
27199         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27200         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
27201         available.
27202         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27203         __vdso_getcpu.
27205         [BZ #12814]
27206         * iconvdata/Makefile (tests): Add bug-iconv9.
27207         * iconvdata/bug-iconv9.c: New file.
27209 2011-05-27  Andreas Schwab  <schwab@redhat.com>
27211         [BZ #12814]
27212         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27214 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
27216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27217         (struct user_regs_struct): Change intcs field back to cs.
27219 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
27221         * po/ja.po: Update from translation team.
27223 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
27225         [BZ #12795]
27226         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27227         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27229 2011-05-20  Andreas Schwab  <schwab@redhat.com>
27231         * stdlib/longlong.h: Update from GCC.
27233 2011-05-23  Andreas Schwab  <schwab@redhat.com>
27235         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27236         parameter name.
27237         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27238         Add parameter name.
27239         (__sysconf): Pass it down.
27241 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
27243         [BZ #12671]
27244         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27245         some situations.
27246         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27247         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27248         add in in __libc_use_alloca calls.  Adjust callers.
27249         (glob): Use malloc in some situations.
27251         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27252         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27253         pltexit.
27255 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
27257         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27258         and CLOCK_BOOTTIME_ALARM.
27260         [BZ #12782]
27261         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27262         is returned.
27264         * string/_strerror.c (__strerror_r): Print negative errors as signed
27265         numbers.
27267         [BZ #12777]
27268         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27269         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27270         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27272         * configure.in: Fix typo in redirection and correct removal of test
27273         files in two cases.
27275         [BZ #12788]
27276         * locale/setlocale.c (new_composite_name): Fix test to check for
27277         identical name of all categories.
27279         [BZ #12792]
27280         * libio/filedoalloc.c (local_isatty): New function.
27281         (_IO_file_doallocate): Use local_isatty.
27282         * stdio-common/perror.c (perror): In case a new stream is used
27283         forward the stream error.
27284         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27285         error flag.
27287 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
27289         [BZ #11869]
27290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27291         alloca.
27292         * include/alloca.h (extend_alloca_account): Define.
27294         [BZ #11857]
27295         * posix/regex.h: Fix comments with documentation of user-accessible
27296         fields after compilation and describe correct free'ing of pattern
27297         after re_compile_pattern.
27298         Patch by Reuben Thomas <rrt@sc3d.org>.
27300 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
27302         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27303         and -mno-altivec to prevent the compiler from using Altivec and/or
27304         VSX instructions when the corresponding registers are not available.
27306 2011-05-19  Andreas Schwab  <schwab@redhat.com>
27308         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27310 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
27312         * libio/freopen.c (freopen): Use __dup2, not dup2.
27313         * libio/freopen64.c (freopen64): Likewise.
27315 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27317         [BZ #12775]
27318         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27319         * math/Makefile (tests): Add test-powl.
27320         (CFLAGS-test-powl.c): Define.
27321         * math/test-powl.c: New file.
27323 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27325         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27327 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
27329         [BZ #11837]
27330         * iconvdata/gb18030.c: Update to GB18020-2005.
27332 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
27334         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27335         RE_SYNTAX_POSIX_AWK): Update to match recent development.
27336         Patch by Aharon Robbins <arnold@skeeve.com>.
27338         [BZ #11892]
27339         * stdlib/putenv.c (putenv): Don't always create copy of the variable
27340         on the stack.
27342         [BZ #11895]
27343         * misc/pselect.c (__pselect): Handle timeout value errors hidden
27344         through underflows.
27346         [BZ #12766]
27347         * misc/error.c (error_at_line): Ensure file_name and old_file_name
27348         point to strings before performing equality test for error_one_per_line
27349         mode.
27351         [BZ #11697]
27352         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27354         [BZ #11820]
27355         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27356         (struct user_fpregs_struct): Avoid __uint*_t types.
27358         [BZ #6420]
27359         * malloc/mtrace.c (tr_where): Add additional parameter to point to
27360         symbol info.  Use it instead of calling _dl_addr locally.
27361         (lock_and_info): New function.
27362         (tr_freehook): Call lock_and_info and pass symbol info as additional
27363         parameter to tr_where.
27364         (tr_mallochook): Likewise.
27365         (tr_reallochook): Likewise.
27366         (tr_memalignhook): Likewise.
27368         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
27369         used and couldn't be at all thread-safe.
27371 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
27373         * libio/freopen.c (freopen): Don't close old file descriptor
27374         before the new one is opened.  Instead dup the new file descriptor
27375         to the old one after the new stream is created.
27376         * libio/freopen64.c (freopen64): Likewise.
27377         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27378         * libio/fileops.c (_IO_new_file_close_it): Handle new
27379         _IO_FLAGS2_NOCLOSE flag.
27380         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27381         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27382         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27383         _IO_FLAGS2_NOCLOSE flag.
27384         * include/unistd.h: Add hidden_proto for dup3.
27385         Define __have_dup3.
27386         * io/dup3.c: Define hidden symbol.
27387         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27389         [BZ #7101]
27390         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27391         when an incomplete long option is used.
27392         * posix/tst-getopt_long1.c: New file.
27393         * posix/Makefile (tests): Add tst-getopt_long1.
27395         [BZ #10138]
27396         * scripts/config.guess: Update from autoconf-2.68.
27397         * scripts/config.sub: Likewise.
27399         [BZ #10157]
27400         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27401         tests into ...
27402         (has_cpuclock): ...this.  New function.
27403         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27404         macro here based on has_cpuclock code.
27406         [BZ #10149]
27407         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27408         First byte (not low byte) is now always NUL.
27409         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27411         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27412         Use non-cancelable interfaces.
27414         [BZ #9809]
27415         * locale/iso-639.def: Add entry for Sorani.
27417         [BZ #11901]
27418         * include/stdlib.h: Move include protection to the right place.
27419         Define abort_msg_s.  Declare __abort_msg with it.
27420         * stdlib/abort.c (__abort_msg): Adjust type.
27421         * assert/assert.c (__assert_fail_base): New function.  Majority
27422         of code from __assert_fail.  Allocate memory for __abort_msg with
27423         mmap.
27424         (__assert_fail): Now call __assert_fail_base.
27425         * assert/assert-perr.c: Remove bulk of implementation.  Use
27426         __assert_fail_base.
27427         * include/assert.hL Declare __assert_fail_base.
27428         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27429         mmap.
27430         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27432 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
27434         [BZ #11952]
27435         [BZ #12453]
27436         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27437         until all modules are registered in the DTV.
27438         * elf/Makefile: Add rules to build and run tst-tls19.
27439         * elf/tst-tls19.c: New file.
27440         * elf/tst-tls19mod1.c: New file.
27441         * elf/tst-tls19mod2.c: New file.
27442         * elf/tst-tls19mod3.c: New file.
27443         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27445         [BZ #12083]
27446         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27447         correctly.
27449         [BZ #12601]
27450         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27451         two-byte sequence errors.
27452         * iconvdata/Makefile (tests): Add bug-iconv8.
27453         * iconvdata/bug-iconv8.c: New file.
27455         [BZ #12626]
27456         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27457         buf2 definition.
27459         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27461         [BZ #12432]
27462         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27463         (dummy_getcfa): New function.
27464         (init): Get _Unwind_GetCFA address, use dummy if not found.
27465         (backtrace_helper): In recursion check, also check whether CFA changes.
27466         (__backtrace): Completely initialize arg.
27468         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
27469         storing incomplete byte sequence in state object.  Avoid testing for
27470         guaranteed too small input if we know there is enough data available.
27472 2011-05-11  Andreas Schwab  <schwab@redhat.com>
27474         * Makeconfig (+link-pie): Indent.
27475         * Rules (binaries-pie): Define if $(have-fpie) and
27476         $(build-shared).
27477         (binaries-shared): Also filter out $(binaries-pie).
27478         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27479         * nscd/Makefile (others-pie): Add nscd.
27480         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27481         ($(objpfx)nscd): Remove command override.
27482         * login/Makefile (others-pie): Add pt_chown.
27483         ($(objpfx)pt_chown): Remove command override.
27484         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27485         remove command overrides.
27487 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
27489         * libio/tst_putwc.c: Fix error messages.
27491         [BZ #12724]
27492         * libio/fileops.c (_IO_new_file_close_it): Always flush when
27493         currently writing and seek to current position when not.
27494         * libio/Makefile (tests): Add bug-fclose1.
27495         * libio/bug-fclose1.c: New file.
27497 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
27499         [BZ #12511]
27500         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27501         don't set DF_1_NODELETE here.
27502         (do_lookup_x): When entering new entry test for copy relocation
27503         and if necessary set DF_1_NODELETE flag.
27504         * elf/tst-unique4.cc: New file.
27505         * elf/tst-unique4.h: New file.
27506         * elf/tst-unique4lib.cc: New file.
27507         * elf/Makefile: Add rules to build and run tst-unique4.
27508         Patch by Piotr Bury <pbury@goahead.com>.
27510 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
27512         [BZ #12052]
27513         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27515         [BZ #12625]
27516         * misc/mntent_r.c (addmntent): Flush the stream after the output
27518         [BZ #12393]
27519         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27520         (is_trusted_path_normalize): Skip initial colon.  Append slash
27521         to empty buffer.  Duplicate is_trusted_path code but allow
27522         constructed patch to be prefix.
27523         (is_dst): Allow $ORIGIN followed by /.
27524         (_dl_dst_substitute): Correct clearing of check_for_trusted.
27525         Correct testing of result of is_trusted_path_normalize
27526         (decompose_rpath): Fix warning.
27528 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
27530         [BZ #11257]
27531         * grp/initgroups.c (internal_getgrouplist): When we found the service
27532         list through the initgroups entry in nsswitch.conf do not always
27533         continue on a successful lookup.  Don't always use the
27534         __nss_group_database value if it is set.
27535         * nss/nsswitch.conf (initgroups): Change action for successful db
27536         lookup to continue for compatibility.
27538 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
27540         [BZ #11532]
27541         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27542         and CP774 modules.
27543         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27544         and CP774 modules.
27545         * iconvdata/tst-tables.sh: Likewise.
27546         * iconvdata/cp770.c: New file.
27547         * iconvdata/cp771.c: New file.
27548         * iconvdata/cp772.c: New file.
27549         * iconvdata/cp773.c: New file.
27550         * iconvdata/cp774.c: New file.
27551         * iconvdata/testdata/CP770: New file.
27552         * iconvdata/testdata/CP770..UTF8: New file.
27553         * iconvdata/testdata/CP771: New file.
27554         * iconvdata/testdata/CP771..UTF8: New file.
27555         * iconvdata/testdata/CP772: New file.
27556         * iconvdata/testdata/CP772..UTF8: New file.
27557         * iconvdata/testdata/CP773: New file.
27558         * iconvdata/testdata/CP773..UTF8: New file.
27559         * iconvdata/testdata/CP774: New file.
27560         * iconvdata/testdata/CP774..UTF8: New file.
27562         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27563         END CHARMAP line.
27564         * iconvdata/gen-8bit-gap.sh: Likewise.
27565         * iconvdata/gen-8bit.sh: Likewise.
27567         * locale/iso-639.def: Add ary entry.
27569         [BZ #11258]
27570         * locale/C-translit.h.in: Add U20A1 transliteration.
27572         [BZ #12178]
27573         * locale/iso-639.def: Add wae entry.
27574         Patch by Kevin Bortis <bortis@translate-wae.ch>.
27576         [BZ #12545]
27577         * locale/programs/localedef.c (construct_output_path): Use ssize_t
27578         for n.
27580         [BZ #12711]
27581         * locale/C-translit.h.in: Add entry for U20B9.
27582         Patch by pravin.d.s@gmail.com.
27584 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
27586         [BZ #12713]
27587         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27588         ENAMETOOLONG use generic getcwd.
27589         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
27590         in rtld.  Use *stat64.
27591         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
27592         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
27593         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
27594         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27595         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27596         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27597         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27598         __fstatat64 macros.
27599         * include/dirent.h: Add libc_hidden_proto for rewinddir.
27600         * dirent/rewinddir.c: Add libc_hidden_def.
27601         * sysdeps/mach/hurd/rewinddir.c: Likewise.
27602         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
27604         * include/dirent.h (__alloc_dir): Add flags parameter.
27605         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27606         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27607         __alloc_dir.
27608         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
27609         from fdopendir if O_CLOEXEC is already set.
27611 2011-03-15  Alan Modra  <amodra@gmail.com>
27613         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27614         l_tls_firstbyte_offset non-zero.  Save padding offset in
27615         l_tls_firstbyte_offset for later use.
27616         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27617         freeing static tls block.
27619 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
27621         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27622         where #ifdef was intended.  The intent is to prevent ARG_MAX from
27623         being defined by the kernel headers.
27625 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
27627         [BZ #12734]
27628         * resolv/resolv.h: Define RES_NOTLDQUERY.
27629         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27630         no-tld-query and set RES_NOTLDQUERY.
27631         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27632         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27633         modern BIND to search name as TLD unless forbidden.
27635 2011-05-07  Petr Baudis  <pasky@suse.cz>
27636             Ulrich Drepper  <drepper@gmail.com>
27638         [BZ #12393]
27639         * elf/dl-load.c (fillin_rpath): Move trusted path check...
27640         (is_trusted_path): ...to here.
27641         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
27642         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
27643         using is_trusted_path_normalize() in setuid scripts.
27645 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27647         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27648         __BEGIN/__END_DECLS.
27650 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
27652         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27653         NSS_STATUS_NOTFOUND if no record was found.
27655 2011-05-05  Andreas Schwab  <schwab@redhat.com>
27657         * sunrpc/Makefile (headers): Add rpc/netdb.h.
27658         (headers-not-in-tirpc): Remove rpc/netdb.h
27659         * resolv/netdb.h: Revert last change.
27661 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27663         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27664         circular dependency between libgcc.a and libc.a.
27666 2011-05-05  Andreas Schwab  <schwab@redhat.com>
27668         * resolv/netdb.h: Don't include <rpc/netdb.h>.
27669         * nis/Makefile: Don't install rpcsvc/*.
27670         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27671         instead of <rpc/types.h>.
27672         (MAXHOSTNAMELEN): Define.
27674 2011-05-03  Andreas Schwab  <schwab@redhat.com>
27676         * elf/ldconfig.c (add_dir): Don't crash on empty path.
27678 2011-04-28  Maciej Babinski  <mbabinski@google.com>
27680         [BZ #12714]
27681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27682         gethostbyname4_r when IPv6 results are possible.
27684 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
27686         [BZ #12723]
27687         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27688         _PC_PIPE_BUF handling.
27690 2011-04-30  Bruno Haible  <bruno@clisp.org>
27692         [BZ #12717]
27693         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27694         * resolv/netdb.h (getnameinfo): Change type of flags parameter
27695         to 'int'.
27696         * inet/getnameinfo.c (getnameinfo): Likewise.
27698 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
27700         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27701         to groups setting in database lookup.
27702         * nss/nsswitch.conf: Add initgroups entry.
27704 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
27706         [BZ #12685]
27707         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27708         mode string.
27709         Patch by Eric Blake <eblake@redhat.com>.
27711 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
27713         * sunrpc/Makefile (need-export-routines): Add svc_run.
27714         (routines): Remove svc_run.
27715         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27716         * sunrpc/clnt_perr.c (clnt_perrno): Export.
27717         * sunrpc/svc_run.c (svc_run): Likewise.
27718         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27720 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
27722         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27723         problem in reallocation in last patch.
27725 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
27727         * sunrpc/Makefile: Move inclusion of Rules.
27729 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
27731         * nss/nss_files/files-initgroups.c: New file.
27732         * nss/Makefile (libnss_files-routines): Add files-initgroups.
27733         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27734         _nss_files_initgroups_dyn.
27736 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
27738         * elf/elf.h (R_ARM_IRELATIVE): Define.
27740 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
27742         * po/ru.po: Update from translation team.
27744 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
27746         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27747         dependencies.
27749 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
27751         [BZ #12653]
27752         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27753         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27754         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27755         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27756         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27758 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
27760         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27761         differing bytes.
27762         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27763         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27764         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27766 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
27768         [BZ #12420]
27769         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27770         storing it.
27771         * stdlib/bug-getcontext.c: New file.
27772         * stdlib/Makefile: Add rules to build and run bug-getcontext.
27774 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27776         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27777         instructions into .machine "z9-109".
27778         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27779         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27781 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27783         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27784         between environment variables and auxiliary vector.
27786 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
27788         * Makefile: Add rules to build linkobj/libc.so.
27789         * include/libc-symbols.h: Define libc_hidden_nolink.
27790         * include/rpc/auth.h: Mark functions which are to be hidden.
27791         * include/rpc/auth_des.h: Likewise.
27792         * include/rpc/auth_unix.h: Likewise.
27793         * include/rpc/clnt.h: Likewise.
27794         * include/rpc/des_crypt.h: Likewise.
27795         * include/rpc/key_prot.h: Likewise.
27796         * include/rpc/pmap_clnt.h: Likewise.
27797         * include/rpc/pmap_prot.h: Likewise.
27798         * include/rpc/pmap_rmt.h: Likewise.
27799         * include/rpc/rpc_msg.h: Likewise.
27800         * include/rpc/svc.h: Likewise.
27801         * include/rpc/svc_auth.h: Likewise.
27802         * include/rpc/xdr.h: Likewise.
27803         * nis/Makefile: Link all DSOs against linkobj/libc.so.
27804         * nss/Makefile: Likewise.
27805         * sunrpc/Makefile: Don't install headers.  Build library with normal
27806         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
27807         * sunrpc/auth_des.c: Hide exported symbols by default, export some
27808         for the compat linking library.  Remove use of INTDEF/INTUSE.
27809         * sunrpc/auth_none.c: Likewise.
27810         * sunrpc/auth_unix.c: Likewise.
27811         * sunrpc/authdes_prot.c: Likewise.
27812         * sunrpc/authuxprot.c: Likewise.
27813         * sunrpc/clnt_gen.c: Likewise.
27814         * sunrpc/clnt_perr.c: Likewise.
27815         * sunrpc/clnt_raw.c: Likewise.
27816         * sunrpc/clnt_simp.c: Likewise.
27817         * sunrpc/clnt_tcp.c: Likewise.
27818         * sunrpc/clnt_udp.c: Likewise.
27819         * sunrpc/clnt_unix.c: Likewise.
27820         * sunrpc/des_crypt.c: Likewise.
27821         * sunrpc/des_soft.c: Likewise.
27822         * sunrpc/get_myaddr.c: Likewise.
27823         * sunrpc/key_call.c: Likewise.
27824         * sunrpc/key_prot.c: Likewise.
27825         * sunrpc/netname.c: Likewise.
27826         * sunrpc/pm_getmaps.c: Likewise.
27827         * sunrpc/pm_getport.c: Likewise.
27828         * sunrpc/pmap_clnt.c: Likewise.
27829         * sunrpc/pmap_prot.c: Likewise.
27830         * sunrpc/pmap_prot2.c: Likewise.
27831         * sunrpc/pmap_rmt.c: Likewise.
27832         * sunrpc/publickey.c: Likewise.
27833         * sunrpc/rpc_cmsg.c: Likewise.
27834         * sunrpc/rpc_common.c: Likewise.
27835         * sunrpc/rpc_dtable.c: Likewise.
27836         * sunrpc/rpc_prot.c: Likewise.
27837         * sunrpc/rpc_thread.c: Likewise.
27838         * sunrpc/rtime.c: Likewise.
27839         * sunrpc/svc.c: Likewise.
27840         * sunrpc/svc_auth.c: Likewise.
27841         * sunrpc/svc_authux.c: Likewise.
27842         * sunrpc/svc_raw.c: Likewise.
27843         * sunrpc/svc_run.c: Likewise.
27844         * sunrpc/svc_simple.c: Likewise.
27845         * sunrpc/svc_tcp.c: Likewise.
27846         * sunrpc/svc_udp.c: Likewise.
27847         * sunrpc/svc_unix.c: Likewise.
27848         * sunrpc/svcauth_des.c: Likewise.
27849         * sunrpc/xcrypt.c: Likewise.
27850         * sunrpc/xdr.c: Likewise.
27851         * sunrpc/xdr_array.c: Likewise.
27852         * sunrpc/xdr_float.c: Likewise.
27853         * sunrpc/xdr_intXX_t.c: Likewise.
27854         * sunrpc/xdr_mem.c: Likewise.
27855         * sunrpc/xdr_rec.c: Likewise.
27856         * sunrpc/xdr_ref.c: Likewise.
27857         * sunrpc/xdr_sizeof.c: Likewise.
27858         * sunrpc/xdr_stdio.c: Likewise.
27860 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
27862         [BZ #12650]
27863         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27864         * sysdeps/ia64/dl-tls.h: Likewise.
27865         * sysdeps/powerpc/dl-tls.h: Likewise.
27866         * sysdeps/s390/dl-tls.h: Likewise.
27867         * sysdeps/sh/dl-tls.h: Likewise.
27868         * sysdeps/sparc/dl-tls.h: Likewise.
27869         * sysdeps/x86_64/dl-tls.h: Likewise.
27870         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27872 2011-03-14  Andreas Schwab  <schwab@redhat.com>
27874         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27875         rpath element also skip the following colon.
27876         (expand_dynamic_string_token): Add is_path parameter and pass
27877         down to DL_DST_REQUIRED and _dl_dst_substitute.
27878         (decompose_rpath): Call expand_dynamic_string_token with
27879         non-zero is_path.  Ignore empty rpaths.
27880         (_dl_map_object_from_fd): Call expand_dynamic_string_token
27881         with zero is_path.
27883 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
27885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27886         Make cancelable.
27888 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
27890         [BZ #12655]
27891         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27892         Patch by Filipe David Manana <fdmanana@apache.org>.
27894 2011-04-07  Andreas Schwab  <schwab@redhat.com>
27896         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27897         Maintain aligned stack.
27898         (CHECK_RSP): Remove unused macro.
27900 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
27902         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27903         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27905 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
27907         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27909         * include/features.h: Mention __USE_XOPEN2K8 in comment.
27911 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
27913         [BZ #12518]
27914         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27915         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27916         * sysdeps/x86_64/memmove.c: New file.
27917         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27918         (memcpy): Renamed to ...
27919         (__new_memcpy): This.
27920         (memcpy): Provide GLIBC_2_14 memcpy.
27921         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27922         (memcpy): Provide GLIBC_2_2_5 memcpy.
27924 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27926         [BZ #12631]
27927         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27929 2011-03-30  Andreas Schwab  <schwab@redhat.com>
27931         * misc/syncfs.c: New file.
27932         * misc/Makefile (routines): Add syncfs.
27933         * posix/unistd.h: Declare syncfs.
27934         * sysdeps/unix/syscalls.list: Add syncfs.
27936 2011-04-01  Andreas Schwab  <schwab@redhat.com>
27938         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27939         open_by_handle_at.
27940         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27941         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27942         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27943         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27944         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27945         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27946         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27948 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27950         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27951         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27952         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27954         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27956         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27958         * io/Makefile: Compile fallocate.c, fallocate64.c, and
27959         sync_file_range.c with -fexceptions.
27960         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27961         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27962         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27963         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27964         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27965         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27967         sync_file_range as cancellation point
27968         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
27969         now a wrapper around __call_sync_file_range with cancellation handling.
27970         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27971         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
27972         function name to __call_sync_file_range.
27973         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27974         Add call_sync_file_range.
27976 2011-04-01  Andreas Schwab  <schwab@redhat.com>
27978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27979         bits/timex.h.
27981 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
27983         * iconv/iconv.h: Fix typo in comment.
27984         * io/fcntl.h: Likewise.
27985         * libio/stdio.h: Likewise.
27986         * posix/spawn.h: Likewise.
27987         * posix/unistd.h: Likewise.
27988         * stdlib/stdlib.h: Likewise.
27989         * time/time.h: Likewise.
27990         * wcsmbs/wchar.h: Likewise.
27992         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27993         open_by_handle): Add.
27994         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27995         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
27996         Augment a few comments.
27997         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27998         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27999         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28001         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28002         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28003         open_by_handle.
28005         * io/fcntl.h (AT_EMPTY_PATH): Define.
28007 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
28009         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28010         * sysdeps/unix/sysv/linux/bits/time.h: New file.
28011         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28012         to...
28013         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
28014         * Versions.def: Add GLIBC_2.14.
28015         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28016         Export.
28018 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
28020         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28021         round counter.
28022         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28024 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28026         [BZ #12597]
28027         * string/test-strncmp.c (do_page_test): New function.
28028         (check2): Likewise.
28029         (test_main): Call check2.
28030         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28032 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
28034         [BZ #12587]
28035         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28036         Handle cache information in CPU leaf 4.
28037         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28039 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
28041         [BZ #12583]
28042         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28043         character representation.
28044         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28046 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
28048         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28049         END(__isnan) to END(__isnanf) to match function entry point/label
28050         EALIGN(__isnanf,...).
28052 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
28054         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28056 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
28058         [BZ #12510]
28059         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28060         copy from the symbol referenced in the relocation to initialize the
28061         used variable.
28062         Patch by Piotr Bury <pbury@goahead.com>.
28063         * elf/Makefile: Add rules to build and tst-unique3.
28064         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28065         * elf/tst-unique3.cc: New file.
28066         * elf/tst-unique3.h: New file.
28067         * elf/tst-unique3lib.cc: New file.
28068         * elf/tst-unique3lib2.cc: New file.
28070         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28072 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
28074         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28075         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
28076         to _start.
28078 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
28080         * elf/dl-load.c (_dl_map_object): If we are looking for the first
28081         to-be-loaded object along a path to loader is ld.so.
28083 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
28084             Ulrich Drepper  <drepper@gmail.com>
28086         * sysdeps/x86_64/memset.S: After aligning destination, code
28087         branches to different locations depending on the value of
28088         misalignment, when multiarch is enabled. Fix this.
28090 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
28092         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28093         Set _x86_64_preferred_memory_instruction for AMD processsors.
28094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28095         Set bit_Prefer_SSE_for_memop for AMD processors.
28097 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
28099         * libio/fmemopen.c (fmemopen): Optimize a bit.
28101 2011-03-03  Andreas Schwab  <schwab@redhat.com>
28103         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28105 2011-03-03  Roland McGrath  <roland@redhat.com>
28107         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28109 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
28111         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28112         __bzero_ultra1 instead of __memset_ultra1.
28114 2011-02-23  Andreas Schwab  <schwab@redhat.com>
28115             Ulrich Drepper  <drepper@gmail.com>
28117         [BZ #12509]
28118         * include/link.h (struct link_map): Add l_orig_initfini.
28119         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28120         returning unsuccessfully.
28121         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28122         close of a file loaded at startup, restore the original l_initfini
28123         list.
28124         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28125         list, store the pointer.
28126         * elf/Makefile ($(objpfx)noload-mem): New rule.
28127         (noload-ENV): Define.
28128         (tests): Add $(objpfx)noload-mem.
28129         * elf/noload.c: Include <memcheck.h>.
28130         (main): Call mtrace.  Close all opened handles.
28132 2011-02-17  Andreas Schwab  <schwab@redhat.com>
28134         [BZ #12454]
28135         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28136         dependencies are missing.
28138 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28140         Fix __if_freereq crash: Unlike the generic version which uses free,
28141         Hurd needs munmap.
28142         * sysdeps/mach/hurd/ifreq.h: New file.
28144 2011-01-27  Petr Baudis  <pasky@suse.cz>
28145             Ulrich Drepper  <drepper@gmail.com>
28147         [BZ 12445]#
28148         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28149         to extend_alloca().
28150         * stdio-common/bug23.c: New file.
28151         * stdio-common/Makefile (tests): Add bug23.
28153 2010-09-28  Andreas Schwab  <schwab@redhat.com>
28154             Ulrich Drepper  <drepper@gmail.com>
28156         [BZ #12489]
28157         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28158         before performing relro protection.  At old place add assertion
28159         to make sure nothing changed.
28161 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
28162             Glauber de Oliveira Costa  <glommer@gmail.com>
28164         * elf/elf.h: Add new ARM TLS relocs.
28166 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
28168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28169         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28170         cast from r3.
28171         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
28172         'tests' variable.
28173         * sysdeps/wordsize-64/tst-writev.c: New file.
28175 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
28177         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28178         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28179         insns in _dl_start to prevent a TOC reference before relocs are
28180         resolved.
28182 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
28184         [BZ #12469]
28185         * Makeconfig: Remove RANLIB definition.
28186         * Makerules: Don't use RANLIB.
28187         * aclocal.m4: Remove ranlib test.
28188         * configure.in: No need to check for ranlib.
28189         * elf/rtld-Rules: Don't use RANLIB.
28191 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28193         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28194         protection macro.
28195         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28196         inclusion protection macro.
28198         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28199         SIGRTMIN and SIGRTMAX and print information in that case only when
28200         SIGRTMIN is defined.
28202 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
28204         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28205         arginfo fn returning -1.
28207         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28208         and thousands string is zero terminated.
28210 2011-02-03  Andreas Schwab  <schwab@redhat.com>
28212         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28213         sysdeps/unix/sysv/linux/bits/socket.h.
28215 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28217         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28218         (__CPU_COUNT): Remove old macros.
28219         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28220         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28221         (__CPU_ALLOC, __CPU_FREE): Add macros.
28222         (__sched_cpualloc, __sched_cpufree): Add declarations.
28224 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
28226         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28227         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28228         * nscd/aicache.c (addhstaiX): Return timeout of added value.
28229         (readdhstai): Return value of addhstaiX call.
28230         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28231         (addgrbyX): Return value returned by cache_addgr.
28232         (readdgrbyname): Return value returned by addgrbyX.
28233         (readdgrbygid): Likewise.
28234         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28235         (addpwbyX): Return value returned by cache_addpw.
28236         (readdpwbyname): Return value returned by addhstbyX.
28237         (readdpwbyuid): Likewise.
28238         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28239         (addservbyX): Return value returned by cache_addserv.
28240         (readdservbyname): Return value returned by addservbyX:
28241         (readdservbyport): Likewise.
28242         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28243         (addhstbyX): Return value returned by cache_addhst.
28244         (readdhstbyname): Return value returned by addhstbyX.
28245         (readdhstbyaddr): Likewise.
28246         (readdhstbynamev6): Likewise.
28247         (readdhstbyaddrv6): Likewise.
28248         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28249         (readdinitgroups): Return value returned by addinitgroupsX.
28250         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28251         (prune_cache): Keep track of timeout value of re-added entries.
28252         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28253         * nscd/nscd.h: Adjust prototypes of readd* functions.
28255 2011-02-04  Roland McGrath  <roland@redhat.com>
28257         * nis/nis_server.c (nis_servstate): Use the right name for 0.
28258         (nis_stats): Likewise.
28259         * nis/nis_modify.c (nis_modify): Likewise.
28260         * nis/nis_remove.c (nis_remove): Likewise.
28261         * nis/nis_add.c (nis_add): Likewise.
28263         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28265         * posix/fnmatch_loop.c: Add some consts.
28267         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28269 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
28271         [BZ #12460]
28272         * config.make.in (config-cflags-novzeroupper): Define.
28273         * configure.in: Substitute libc_cv_cc_novzeroupper.
28274         * elf/Makefile (AVX-CFLAGS): Define.
28275         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28276         (CFLAGS-tst-auditmod4a.c): Likewise.
28277         (CFLAGS-tst-auditmod4b.c): Likewise.
28278         (CFLAGS-tst-auditmod6b.c): Likewise.
28279         (CFLAGS-tst-auditmod6c.c): Likewise.
28280         (CFLAGS-tst-auditmod7b.c): Likewise.
28281         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28283 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
28285         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28286         function to the callback.
28287         Patch partly by Jiri Olsa <jolsa@redhat.com>.
28289 2011-02-02  Andreas Schwab  <schwab@redhat.com>
28291         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28292         of errno.
28294 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
28296         [BZ #11724]
28297         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28298         of constructors.
28299         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28300         of destructors.
28301         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28303         [BZ #11724]
28304         * elf/Makefile: Add rules to build and run new test.
28305         * elf/tst-initorder.c: New file.
28306         * elf/tst-initorder.exp: New file.
28307         * elf/tst-initordera1.c: New file.
28308         * elf/tst-initordera2.c: New file.
28309         * elf/tst-initordera3.c: New file.
28310         * elf/tst-initordera4.c: New file.
28311         * elf/tst-initorderb1.c: New file.
28312         * elf/tst-initorderb2.c: New file.
28313         * elf/tst-order-a1.c: New file.
28314         * elf/tst-order-a2.c: New file.
28315         * elf/tst-order-a3.c: New file.
28316         * elf/tst-order-a4.c: New file.
28317         * elf/tst-order-b1.c: New file.
28318         * elf/tst-order-b2.c: New file.
28319         * elf/tst-order-main.c: New file.
28320         New test case by George Gensure <werkt0@gmail.com>.
28322 2010-10-01  Andreas Schwab  <schwab@redhat.com>
28324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28325         decoding ACE if AI_CANONIDN.
28327 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
28329         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28331 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
28333         * version.h (RELEASE): Bump for 2.13 release.
28334         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28336         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28338         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28339         MADV_NOHUGEPAGE.
28340         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28341         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28342         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28343         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28344         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28345         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28347         * posix/getconf.c: Update copyright year.
28348         * catgets/gencat.c: Likewise.
28349         * csu/version.c: Likewise.
28350         * debug/catchsegv.sh: Likewise.
28351         * debug/xtrace.sh: Likewise.
28352         * elf/ldconfig.c: Likewise.
28353         * elf/ldd.bash.in: Likewise.
28354         * elf/sprof.c (print_version): Likewise.
28355         * iconv/iconv_prog.c: Likewise.
28356         * iconv/iconvconfig.c: Likewise.
28357         * locale/programs/locale.c: Likewise.
28358         * locale/programs/localedef.c: Likewise.
28359         * malloc/memusage.sh: Likewise.
28360         * malloc/mtrace.pl: Likewise.
28361         * nscd/nscd.c (print_version): Likewise.
28362         * nss/getent.c: Likewise.
28364         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28365         PF_CAIF, and PF_ALG.
28366         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28368 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
28370         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28371         (modules-names): Use them.
28372         (ifunc-test-modules, ifunc-pie-tests): Define.
28373         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28374         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28375         (test-extras): Likewise.
28376         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28377         $(compile-command.c).
28378         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28379         (all-built-dso): Define.
28380         (check-textrel.out, check-execstack.out): Depend on it.
28382         * configure.in: Don't override --enable-multi-arch.
28384 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
28386         [BZ #6812]
28387         * nscd/hstcache.c (tryagain): Define.
28388         (cache_addhst): Return tryagain not notfound for temporary errors.
28389         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28390         failed.
28392 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
28394         [BZ #10563]
28395         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28396         to make the syscall.
28397         * sysdeps/unix/sysv/linux/setgroups.c: New file.
28399         [BZ #12378]
28400         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28401         and fall back to matching as normal character if the string ends before
28402         the matching ']' is found.  This is what POSIX requires.
28403         * posix/testfnm.c: Adjust test result.
28404         * posix/globtest.sh: Adjust test result.  Add new test.
28405         * posix/tst-fnmatch.input: Likewise.
28406         * posix/tst-fnmatch2.c: Add new test.
28408 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
28410         * elf/Makefile (check-execstack): Revert last change.  Depend on
28411         check-execstack.h.
28412         (check-execstack.h): New target.
28413         (generated): Add check-execstack.h.
28414         * elf/check-execstack.c: Include "check-execstack.h".
28415         (main): Revert last change.
28416         (handle_file): Return zero if GNU_STACK is absent and
28417         DEFAULT_STACK_PERMS doesn't include PF_X.
28419 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
28421         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28422         in child fails because the descriptor is already closed.
28423         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28424         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28425         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
28427         [BZ #12397]
28428         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28429         syscall.
28431         [BZ #10484]
28432         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28433         temporary buffer used to handle multi lookups locally.
28434         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
28436 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
28438         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28439         loader is ld.so.
28441 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
28443         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28444         alignment for SSE2.
28446 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
28448         [BZ #12394]
28449         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28450         characters.  When rounding increased number of integer digits recompute
28451         number of groups.
28452         * stdio-common/tst-grouping.c: New file.
28453         * stdio-common/Makefile: Add rules to build and run tst-grouping.
28455 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
28457         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28458         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
28460         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28461         void.
28462         * bits/select.h: Likewise.
28464 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
28466         * po/ja.po: Update from translation team.
28468 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
28470         [BZ #11155]
28471         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28472         implementation just like for lxstat, fxstatat, et al.
28474 2010-12-27  Jim Meyering  <meyering@redhat.com>
28476         [BZ #12348]
28477         * posix/regexec.c (build_trtable): Return failure indication upon
28478         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
28480 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
28482         [BZ #12201]
28483         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28484         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28485         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28486         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28488         [BZ #12207]
28489         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28491         [BZ #12204]
28492         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28493         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28495 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
28497         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28498         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28499         script has SORT_BY_INIT_PRIORITY.
28500         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28501         NO_CTORS_DTORS_SECTIONS is defined.
28502         * elf/soinit.c: Likewise.
28503         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28504         NO_CTORS_DTORS_SECTIONS is defined.
28505         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28506         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28507         * sysdeps/sh/init-first.c: Likewise.
28508         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28510 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
28512         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28513         always use the slow path.
28515 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
28517         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28518         similar rule which adds the sysdep directories to the header search in
28519         order to pick up the correct platform stackinfo.h.
28520         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28521         perform test if it is, otherwise return successfully without testing.
28522         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28523         DEFAULT_STACK_PERMS define in stackinfo.h.
28524         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28525         defined in stackinfo.h.
28526         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28527         DEFAULT_STACK_PERMS defined in stackinfo.h.
28528         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28529         * sysdeps/ia64/stackinfo.h: Likewise.
28530         * sysdeps/s390/stackinfo.h: Likewise.
28531         * sysdeps/sh/stackinfo.h: Likewise.
28532         * sysdeps/sparc/stackinfo.h: Likewise.
28533         * sysdeps/x86_64/stackinfo.h: Likewise.
28534         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28535         PF_X for powerpc64.  Retain PF_X for powerpc32.
28537 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
28539         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28540         accurately.
28541         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28542         GETDENTS_64BIT_ALIGNED.
28544 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
28546         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28548 2010-12-10  Andreas Schwab  <schwab@redhat.com>
28550         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28551         _GNU_SOURCE.
28553         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28554         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28555         Remove __restrict.
28556         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28557         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28559 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
28561         [BZ #11655]
28562         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28563         are initialized.
28565 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
28567         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28569 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
28571         * po/it.po: Update from translation team.
28573 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
28575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28576         unused codes.
28578 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
28580         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28582 2010-11-24  Andreas Schwab  <schwab@redhat.com>
28584         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28585         specially.
28586         (gaih_getanswer_slice): Likewise.
28588 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
28590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28592 2010-05-31  Petr Baudis  <pasky@suse.cz>
28594         [BZ #11149]
28595         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28596         silently even in the chroot mode.
28598 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
28600         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28601         last patch a bit.  Pretty printing
28603 2010-05-31  Petr Baudis <pasky@suse.cz>
28605         [BZ #10085]
28606         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28607         initialization of skip_initgroups_dyn.
28609 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
28611         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28612         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28614 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
28616         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28618 2010-11-11  Andreas Schwab  <schwab@redhat.com>
28620         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28621         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28622         (tst-fnmatch-ENV): Set MALLOC_TRACE.
28623         ($(objpfx)tst-fnmatch-mem): New rule.
28624         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28625         * posix/tst-fnmatch.c (main): Call mtrace.
28627 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
28629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28630         Support Intel processor model 6 and model 0x2c.
28632 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
28634         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28635           signed comparison.
28637 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
28639         [BZ #12205]
28640         * string/test-strncasecmp.c (check_result): New function.
28641         (do_one_test): Use it.
28642         (check1): New function.
28643         (test_main): Use it.
28644         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28645         Support strcasecmp and strncasecmp.
28647 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
28649         [BZ #12194]
28650         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28651         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28653 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28655         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28656         IFUNC support.
28657         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28658         memset-x86-64.
28659         * sysdeps/x86_64/multiarch/bzero.S: New file.
28660         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28661         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28662         * sysdeps/x86_64/multiarch/memset.S: New file.
28663         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28665         Set bit_Prefer_SSE_for_memop for Intel processors.
28666         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28667         Define.
28668         (index_Prefer_SSE_for_memop): Define.
28669         (HAS_PREFER_SSE_FOR_MEMOP): Define.
28671 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
28673         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28674         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28676 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
28678         [BZ #12191]
28679         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28680         (__x86_64_raw_data_cache_size_half): Likewise.
28681         (__x86_64_raw_shared_cache_size): Likewise.
28682         (__x86_64_raw_shared_cache_size_half): Likewise.
28684         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28685         (__x86_64_raw_data_cache_size_half): Likewise.
28686         (__x86_64_raw_shared_cache_size): Likewise.
28687         (__x86_64_raw_shared_cache_size_half): Likewise.
28688         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28689         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28690         and __x86_64_raw_shared_cache_size_half.  Round
28691         __x86_64_data_cache_size_half, __x86_64_data_cache_size
28692         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28693         to multiple of 256 bytes.
28695 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
28697         [BZ #12167]
28698         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28699         of inacessible symlinks.  Verify result of symlink before returning it.
28700         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28701         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28703 2010-10-28  Erich Ritz  <erichritz@gmail.com>
28705         * math/math.h (isinf): Fix typo in comment.
28707 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
28709         * po/da.po: Update from translation team.
28711 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
28713         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28714         is added to the list.
28716 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28717             Ulrich Drepper  <drepper@gmail.com>
28719         * elf/dl-object.c (_dl_new_object): Don't append the new object to
28720         the global list here.  Move code to...
28721         (_dl_add_to_namespace_list): ...here.  New function.
28722         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28723         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28724         * elf/dl-load.c (lose): Don't remove the element from the list.
28725         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28726         (_dl_map_object): Likewise.
28728 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
28730         [BZ #12159]
28731         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28732         into all bytes of SSE register.
28733         Patch by Richard Li <richardpku@gmail.com>.
28735 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
28737         [BZ #12140]
28738         * malloc/malloc.c (_int_free): Fill correct number of bytes when
28739         perturbing.
28741 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
28743         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28744         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28745         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28746         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28748         submachine.
28749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28751 2010-10-22  Andreas Schwab  <schwab@redhat.com>
28753         * include/dlfcn.h (__RTLD_SECURE): Define.
28754         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
28755         mode & __RTLD_SECURE instead.
28756         (open_path): Rename preloaded parameter to secure.
28757         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28758         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28759         * elf/dl-deps.c (openaux): Likewise.
28760         * elf/rtld.c (struct map_args): Remove is_preloaded.
28761         (map_doit): Don't use it.
28762         (dl_main): Likewise.
28763         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28764         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28766 2010-09-09  Andreas Schwab  <schwab@redhat.com>
28768         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28769         (sysd-rules-targets): Remove duplicates.
28770         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28771         rtld-%.$o dependency.
28773 2010-10-18  Andreas Schwab  <schwab@redhat.com>
28775         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28776         _dl_map_object do it.
28778 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
28780         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28781         fast fma builtins, define the macros in the C99 standard.
28782         (FP_FAST_FMAF): Likewise.
28783         (FP_FAST_FMAL): Likewise.
28784         * sysdeps/x86_64/bits/mathdef.h: Likewise.
28786         * bits/mathdef.h: Update copyright year.
28787         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28789 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
28791         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28792         builtins, define the macros in the C99 standard.
28793         (FP_FAST_FMAF): Likewise.
28794         (FP_FAST_FMAL): Likewise.
28795         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28796         multiply/add.
28797         (FP_FAST_FMAF): Likewise.
28799 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
28801         [BZ #3268]
28802         * math/libm-test.inc (fma_test): Some new testcases.
28803         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28804         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28805         y and infinite z.  Do multiplication by C already in long double.
28806         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28808         y and infinite z.  Do bitwise or of inexact bit into u.d.
28809         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28810         * sysdeps/i386/fpu/s_fmaf.S: Removed.
28811         * sysdeps/i386/fpu/s_fma.S: Removed.
28812         * sysdeps/i386/fpu/s_fmal.S: Removed.
28814 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
28816         [BZ #3268]
28817         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28819         computation is not scheduled after fetestexcept.  Fix value
28820         of minimum denormal long double.
28822 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
28824         [BZ #3268]
28825         * math/libm-test.inc (fma_test): Add some more tests.
28826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28827         correctly.
28829 2010-10-15  Andreas Schwab  <schwab@redhat.com>
28831         * scripts/data/localplt-s390-linux-gnu.data: New file.
28832         * scripts/data/localplt-s390x-linux-gnu.data: New file.
28834 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
28836         [BZ #3268]
28837         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28838         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28839         instead of dbl-64.
28840         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28841         inlines.
28842         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28844         if one of x and y is very large and the other is subnormal.
28845         * sysdeps/s390/fpu/s_fmaf.c: New file.
28846         * sysdeps/s390/fpu/s_fma.c: New file.
28847         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28848         * sysdeps/powerpc/fpu/s_fma.S: New file.
28849         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28850         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28851         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28853 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
28855         [BZ #3268]
28856         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28857         fma tests.
28858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28859         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28860         * sysdeps/i386/i686/multiarch/s_fma.c: Include
28861         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28862         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28863         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28864         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28866 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
28868         [BZ #12078]
28869         * posix/regcomp.c (parse_branch): One more memory leak plugged.
28870         * posix/bug-regex31.input: Add test case.
28872 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
28874         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28875         * posix/bug-regex31.input: New file.
28877         [BZ #12078]
28878         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28879         (parse_sub_exp): Fix last change, use postorder.
28881         * posix/bug-regex31.c: New file.
28882         * posix/Makefile: Add rules to build and run bug-regex31.
28884         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28886         [BZ #12078]
28887         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28889         [BZ #12108]
28890         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28891         to have entries in sys_siglist.
28893         [BZ #12093]
28894         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28895         be NULL.
28897 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
28899         [BZ #3268]
28900         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28901         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28902         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28903         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28904         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28905         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28906         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28907         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28908         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28909         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28910         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28911         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28912         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28913         * math/ftestexcept.c (fetestexcept): Likewise.
28914         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28915         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28916         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28917         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28918         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28919         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28920         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28922 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
28924         [BZ #12107]
28925         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28926         newline.
28928 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
28930         * string/bug-strstr1.c: New file.
28931         * string/Makefile: Add rules to build and run bug-strstr1.
28933 2010-10-05  Eric Blake  <eblake@redhat.com>
28935         [BZ #12092]
28936         * string/str-two-way.h (two_way_long_needle): Always clear memory
28937         when skipping input due to the shift table.
28939 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
28941         [BZ #12005]
28942         * malloc/mcheck.c: Handle large requests.
28944         [BZ #12077]
28945         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28946         for strncmp and strncasecmp.
28947         * string/stratcliff.c: Add tests for strcmp and strncmp.
28948         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28950 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28952         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28953         __set_fpscr.
28955 2010-09-30  Andreas Jaeger  <aj@suse.de>
28957         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28958         (CGROUP_SUPER_MAGIC): Define.
28959         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28960         Handle btrfs and cgroup file systems.
28961         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28962         Likewise.
28964 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
28966         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28967         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28969 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28971         [BZ #12067]
28972         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28973         trying to locate the ELF header.
28975 2010-09-27  Andreas Schwab  <schwab@redhat.com>
28977         [BZ #11611]
28978         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28979         Mask out sign-bit copies when constructing f_fsid.
28981 2010-09-24  Petr Baudis <pasky@suse.cz>
28983         * debug/stack_chk_fail_local.c: Add missing licence exception.
28984         * debug/warning-nop.c: Likewise.
28986 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
28988         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28989         implementing getdents64 using getdents syscall, set d_type if
28990         __ASSUME_GETDENTS32_D_TYPE.
28992 2010-09-16  Andreas Schwab  <schwab@redhat.com>
28994         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28995         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28997 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
28999         [BZ #12037]
29000         * posix/unistd.h: Undo change of feature selection for ftruncate from
29001         2010-01-11.
29003 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
29005         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29006         detection.
29008 2010-09-20  Andreas Schwab  <schwab@redhat.com>
29010         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29011         fanotify_mark.
29012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29014 2010-09-14  Andreas Schwab  <schwab@redhat.com>
29016         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29017         variables after CHECK_SP call.
29018         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29020 2010-09-13  Andreas Schwab  <schwab@redhat.com>
29021             Ulrich Drepper  <drepper@redhat.com>
29023         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29024         re-relocationg ld.so.
29025         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29026         _dl_init_paths call.
29027         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
29028         here anymore.
29030 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
29032         * resolv/res_init.c (__res_vinit): Count the default server we added.
29034 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
29035             Ulrich Drepper  <drepper@redhat.com>
29037         [BZ #11968]
29038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29039         (____longjmp_chk): Use %ebx for saving value across system call.
29040         Add unwind info.
29042 2010-09-06  Andreas Schwab  <schwab@redhat.com>
29044         * manual/Makefile: Don't mix pattern rules with normal rules.
29046 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29048         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29049         operation.
29050         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29051         * libio/iofopncook.c (_IO_cookie_init): Likewise.
29052         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29053         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29054         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29055         Likewise.
29057 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
29059         [BZ #11979]
29060         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29061         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29063 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
29065         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29066         * sysdeps/x86_64/addmul_1.S: Likewise.
29067         * sysdeps/x86_64/lshift.S: Likewise.
29068         * sysdeps/x86_64/mul_1.S: Likewise.
29069         * sysdeps/x86_64/rshift.S: Likewise.
29070         * sysdeps/x86_64/sub_n.S: Likewise.
29071         * sysdeps/x86_64/submul_1.S: Likewise.
29073 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29075         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29076         Define __sched_param instead of SCHED_* and sched_param when
29077         <bits/sched.h> is included with __need_schedparam defined.
29078         * bits/sched.h [__need_schedparam]
29079         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29080         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29081         (__defined_schedparam): Define to 1.
29082         (__sched_param): New structure, identical to sched_param.
29083         (__need_schedparam): Undefine.
29085 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
29087         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29088         (epoll_create1): Declare.
29090         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29092 2010-08-31  Andreas Schwab  <schwab@redhat.com>
29094         [BZ #7066]
29095         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29096         shifting retval into place.
29098 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
29100         * nis/rpcsvc/nis.h: Update copyright notice.
29101         * nis/rpcsvc/nis.x: Likewise.
29102         * nis/rpcsvc/nis_callback.h: Likewise.
29103         * nis/rpcsvc/nis_callback.x: Likewise.
29104         * nis/rpcsvc/nis_object.x: Likewise.
29105         * nis/rpcsvc/nis_tags.h: Likewise.
29106         * nis/rpcsvc/yp.h: Likewise.
29107         * nis/rpcsvc/yp.x: Likewise.
29108         * nis/rpcsvc/ypupd.h: Likewise.
29109         * nis/yp_xdr.c: Likewise.
29110         * nis/ypupdate_xdr.c: Likewise.
29112         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
29113         mainly the body of pmap_getport.  Add parameters to specify timeouts.
29114         (pmap_getport): Use __libc_rpc_getport.
29115         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29116         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29117         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29119 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29122         fanotify_mark.
29124 2010-08-27  Roland McGrath  <roland@redhat.com>
29126         * sysdeps/i386/i686/multiarch/Makefile
29127         (CFLAGS-varshift.c): New variable.
29129 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
29131         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29132         * sysdeps/i386/i686/multiarch/varshift.c: New file.
29134         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29136         * sysdeps/x86_64/strlen.S: Minimal code improvement.
29138 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29140         * sysdeps/x86_64/strlen.S: Unroll the loop.
29141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29142         strlen-sse2 strlen-sse2-bsf.
29143         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29144         __strlen_no_bsf if bit_Slow_BSF is set.
29145         (__strlen_sse42): Removed.
29146         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29147         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29149 2010-08-25  Roland McGrath  <roland@redhat.com>
29151         * sysdeps/x86_64/multiarch/varshift.S: File removed.
29152         * sysdeps/x86_64/multiarch/varshift.c: New file.
29153         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29154         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29155         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29156         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29158 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29161         strlen-sse2 strlen-sse2-bsf.
29162         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29163         __strlen_sse2_bsf if bit_Slow_BSF is unset.
29164         (__strlen_sse2): Removed.
29165         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29166         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29168         bit_Slow_BSF for Atom.
29169         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29170         (index_Slow_BSF): Define.
29171         (HAS_SLOW_BSF): Define.
29173 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
29175         [BZ #10851]
29176         * resolv/res_init.c (__res_vinit): When no server address at all
29177         is given default to loopback.
29179 2010-08-24  Roland McGrath  <roland@redhat.com>
29181         * configure.in: Remove config-name.h generation.
29182         * configure: Regenerated.
29183         * config-name.in: File removed.
29184         * scripts/config-uname.sh: New file.
29185         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29186         ($(objdir)config-name.h): New target.
29188         * sunrpc/rpc_parse.h: Avoid nested comment.
29190 2010-08-24  Richard Henderson  <rth@redhat.com>
29191             Ulrich Drepper  <drepper@redhat.com>
29192             H.J. Lu  <hongjiu.lu@intel.com>
29194         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29196         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29197         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
29198         _mm_alignr_epi8 with _mm_loadu_si128.
29199         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29200         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29201         (__m128i_shift_right): Removed.
29202         * sysdeps/i386/i686/multiarch/varshift.h: New file.
29203         * sysdeps/i386/i686/multiarch/varshift.S: New file.
29204         * sysdeps/x86_64/multiarch/varshift.h: New file.
29205         * sysdeps/x86_64/multiarch/varshift.S: New file.
29207 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
29209         * configure.in: Move assembler checks to before sysdep dir checking.
29211 2010-08-20  Petr Baudis  <pasky@suse.cz>
29213         * LICENSES: Sync the sunrpc license.
29215 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
29217         * sunrpc/auth_des.c: Update copyright notice once again.
29218         * sunrpc/auth_none.c: Likewise.
29219         * sunrpc/auth_unix.c: Likewise.
29220         * sunrpc/authdes_prot.c: Likewise.
29221         * sunrpc/authuxprot.c: Likewise.
29222         * sunrpc/bindrsvprt.c: Likewise.
29223         * sunrpc/clnt_gen.c: Likewise.
29224         * sunrpc/clnt_perr.c: Likewise.
29225         * sunrpc/clnt_raw.c: Likewise.
29226         * sunrpc/clnt_simp.c: Likewise.
29227         * sunrpc/clnt_tcp.c: Likewise.
29228         * sunrpc/clnt_udp.c: Likewise.
29229         * sunrpc/clnt_unix.c: Likewise.
29230         * sunrpc/des_crypt.c: Likewise.
29231         * sunrpc/des_soft.c: Likewise.
29232         * sunrpc/get_myaddr.c: Likewise.
29233         * sunrpc/getrpcport.c: Likewise.
29234         * sunrpc/key_call.c: Likewise.
29235         * sunrpc/key_prot.c: Likewise.
29236         * sunrpc/openchild.c: Likewise.
29237         * sunrpc/pm_getmaps.c: Likewise.
29238         * sunrpc/pm_getport.c: Likewise.
29239         * sunrpc/pmap_clnt.c: Likewise.
29240         * sunrpc/pmap_prot.c: Likewise.
29241         * sunrpc/pmap_prot2.c: Likewise.
29242         * sunrpc/pmap_rmt.c: Likewise.
29243         * sunrpc/rpc/auth.h: Likewise.
29244         * sunrpc/rpc/auth_unix.h: Likewise.
29245         * sunrpc/rpc/clnt.h: Likewise.
29246         * sunrpc/rpc/des_crypt.h: Likewise.
29247         * sunrpc/rpc/key_prot.h: Likewise.
29248         * sunrpc/rpc/netdb.h: Likewise.
29249         * sunrpc/rpc/pmap_clnt.h: Likewise.
29250         * sunrpc/rpc/pmap_prot.h: Likewise.
29251         * sunrpc/rpc/pmap_rmt.h: Likewise.
29252         * sunrpc/rpc/rpc.h: Likewise.
29253         * sunrpc/rpc/rpc_des.h: Likewise.
29254         * sunrpc/rpc/rpc_msg.h: Likewise.
29255         * sunrpc/rpc/svc.h: Likewise.
29256         * sunrpc/rpc/svc_auth.h: Likewise.
29257         * sunrpc/rpc/types.h: Likewise.
29258         * sunrpc/rpc/xdr.h: Likewise.
29259         * sunrpc/rpc_clntout.c: Likewise.
29260         * sunrpc/rpc_cmsg.c: Likewise.
29261         * sunrpc/rpc_common.c: Likewise.
29262         * sunrpc/rpc_cout.c: Likewise.
29263         * sunrpc/rpc_dtable.c: Likewise.
29264         * sunrpc/rpc_hout.c: Likewise.
29265         * sunrpc/rpc_main.c: Likewise.
29266         * sunrpc/rpc_parse.c: Likewise.
29267         * sunrpc/rpc_parse.h: Likewise.
29268         * sunrpc/rpc_prot.c: Likewise.
29269         * sunrpc/rpc_sample.c: Likewise.
29270         * sunrpc/rpc_scan.c: Likewise.
29271         * sunrpc/rpc_scan.h: Likewise.
29272         * sunrpc/rpc_svcout.c: Likewise.
29273         * sunrpc/rpc_tblout.c: Likewise.
29274         * sunrpc/rpc_util.c: Likewise.
29275         * sunrpc/rpc_util.h: Likewise.
29276         * sunrpc/rpcinfo.c: Likewise.
29277         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29278         * sunrpc/rpcsvc/key_prot.x: Likewise.
29279         * sunrpc/rpcsvc/klm_prot.x: Likewise.
29280         * sunrpc/rpcsvc/mount.x: Likewise.
29281         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29282         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29283         * sunrpc/rpcsvc/rex.x: Likewise.
29284         * sunrpc/rpcsvc/rstat.x: Likewise.
29285         * sunrpc/rpcsvc/rusers.x: Likewise.
29286         * sunrpc/rpcsvc/sm_inter.x: Likewise.
29287         * sunrpc/rpcsvc/spray.x: Likewise.
29288         * sunrpc/rpcsvc/yppasswd.x: Likewise.
29289         * sunrpc/rtime.c: Likewise.
29290         * sunrpc/svc.c: Likewise.
29291         * sunrpc/svc_auth.c: Likewise.
29292         * sunrpc/svc_authux.c: Likewise.
29293         * sunrpc/svc_raw.c: Likewise.
29294         * sunrpc/svc_run.c: Likewise.
29295         * sunrpc/svc_simple.c: Likewise.
29296         * sunrpc/svc_tcp.c: Likewise.
29297         * sunrpc/svc_udp.c: Likewise.
29298         * sunrpc/svc_unix.c: Likewise.
29299         * sunrpc/svcauth_des.c: Likewise.
29300         * sunrpc/xcrypt.c: Likewise.
29301         * sunrpc/xdr.c: Likewise.
29302         * sunrpc/xdr_array.c: Likewise.
29303         * sunrpc/xdr_float.c: Likewise.
29304         * sunrpc/xdr_mem.c: Likewise.
29305         * sunrpc/xdr_rec.c: Likewise.
29306         * sunrpc/xdr_ref.c: Likewise.
29307         * sunrpc/xdr_sizeof.c: Likewise.
29308         * sunrpc/xdr_stdio.c: Likewise.
29310         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29311         handling.
29313 2010-08-19  Andreas Schwab  <schwab@redhat.com>
29315         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29317 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
29319         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29320         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29321         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29322         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29323         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29324         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29325         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29326         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29327         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29328         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29329         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29330         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29331         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29332         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29334 2010-07-26  Anton Blanchard  <anton@samba.org>
29336         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29337         * malloc/arena.c (heap_trim): Likewise.
29339 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
29341         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29342         here.  Not...
29343         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29344         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29346 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29348         * sysdeps/i386/elf/Makefile: New file.
29350 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
29352         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29353         from fanotify_init.
29354         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29355         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29357 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
29359         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29360         of strncasecmp_l.
29361         * sysdeps/multiarch/strcmp.S: Likewise.
29363 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
29365         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29366         strncase_l-nonascii.
29367         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29368         Add strncase_l-ssse3.
29369         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29370         * sysdeps/x86_64/strcmp.S: Likewise.
29371         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29372         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29373         * sysdeps/x86_64/strncase.S: New file.
29374         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29375         * sysdeps/x86_64/strncase_l.S: New file.
29376         * string/Makefile (strop-tests): Add strncasecmp.
29377         * string/test-strncasecmp.c: New file.
29379         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29380         warning.
29382         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29383         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29385 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
29387         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29389 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
29391         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29392         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29393         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29395 2010-05-01  Alan Modra  <amodra@gmail.com>
29397         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29398         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29399         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29400         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29401         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29402         tidying.  Don't tail-call __sigjmp_save for static lib.
29403         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29404         save location.
29405         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29406         (CALL_MCOUNT): Add eh info, and nop after bl.
29407         (TAIL_CALL_SYSCALL_ERROR): New macro.
29408         (PSEUDO_RET): Use it.
29409         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29410         Correct save location of integer regs and cr.
29411         (_dl_profile_resolve): Correct cr save location.  Delete nops
29412         after bl when SHARED.  Reduce cfi size a little by better
29413         placement of cfi directives.
29414         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29415         make a stack frame.  Instead use parm save area as a temp.
29416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29417         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
29418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29419         Don't make a stack frame for parent, use parm save area.
29420         Increase child stack frame to 112 bytes.  Don't save unused reg,
29421         and adjust reg usage.  Set up cfi on error recovery and
29422         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29424         (__makecontext): Add dummy nop after jump to exit.
29425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29426         Use correct parm save area and cr save, reduce stack frame.
29427         Correct cfi for possible PSEUDO_RET frame setup.
29428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29429         Branch to local label emitted by PSEUDO_RET rather than
29430         __syscall_error.
29432 2010-08-12  Andreas Schwab  <schwab@redhat.com>
29434         [BZ #11904]
29435         * locale/programs/locale.c (print_assignment): New function.
29436         (show_locale_vars): Use it.
29438 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
29440         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29441         field.
29442         (struct statfs64): Likewise.
29443         (_STATFS_F_FLAGS): Define.
29444         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29446         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29447         (ST_VALID): Define locally.
29448         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29449         __statvfs_getflags, use the provided value.
29450         * sysdeps/unix/sysv/linux/kernel-features.h: Define
29451         __ASSUME_STATFS_F_FLAGS.
29453         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29455         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29456         Add sys/fanotify.h.
29457         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29458         fanotify_mask for GLIBC_2.13.
29459         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29460         fanotify_init and fanotify_mark.
29461         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29462         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29464         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29465         Add prlimit.
29466         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29467         prlimit64 for GLIBC_2.13.
29468         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29469         prlimit64.
29470         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29471         syscall.
29472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29473         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29474         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29475         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29476         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
29477         add prlimit alias.
29478         * sysdeps/unix/sysv/linux/prlimit.c: New file.
29480         [BZ #11903]
29481         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29482         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29484         * nss/Makefile: Add rules to build and run tst-nss-test1.
29485         * shlib-versions: Add entry for libnss_test1.
29486         * nss/nss_test1.c: New file.
29487         * nss/tst-nss-test1.c: New file.
29489         * nss/nsswitch.c (__nss_database_custom): Define new variable.
29490         (__nss_configure_lookup): Set appropriate entry in
29491         __nss_configure_lookup to true.
29492         * nss/nsswitch.h: Define enum with indeces of databases in
29493         databases and __nss_database_custom arrays.  Declare
29494         __nss_database_custom.
29495         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29496         to avoid using nscd when custom rules are installed.
29497         * nss/getXXbyYY_r.c: Likewise.
29498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29500         * nss/nss_files/files-parse.c: Whitespace fixes.
29502 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
29504         [BZ #11883]
29505         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29506         * posix/fnmatch_loop.c: Likewise.
29508 2010-07-17  Andi Kleen  <ak@linux.intel.com>
29510         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29511         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29512         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29513         * Versions.def [GLIBC_2.13]: Add.
29515 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
29517         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29518         Also fail if tpwd after pwuid call is NULL.
29520 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29522         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29523         when converting to ms.
29525 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29527         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29528         EOPNOTSUPP errors with ENOTTY.
29529         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29530         EOPNOTSUPP errors with ENOTTY.
29532 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
29534         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29535         Add strcasecmp_l-ssse3.
29536         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29537         strcasecmp.
29538         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29539         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29540         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29542 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
29544         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29546         * string/Makefile (strop-tests): Add strcasecmp.
29547         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29548         strcasecmp_l-nonascii.
29549         (gen-as-const-headers): Add locale-defines.sym.
29550         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29551         * sysdeps/x86_64/strcasecmp.S: New file.
29552         * sysdeps/x86_64/strcasecmp_l.S: New file.
29553         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29554         * sysdeps/x86_64/locale-defines.sym: New file.
29555         * string/test-strcasecmp.c: New file.
29557         * string/test-strcasestr.c: Test both ends of the range of characters.
29558         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29560 2010-07-29  Roland McGrath  <roland@redhat.com>
29562         [BZ #11856]
29563         * manual/locale.texi (Yes-or-No Questions): Fix example code.
29565 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
29567         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29568         for ld.so.
29570 2010-07-27  Andreas Schwab  <schwab@redhat.com>
29572         * manual/memory.texi (Malloc Tunable Parameters): Document
29573         M_PERTURB.
29575 2010-07-26  Roland McGrath  <roland@redhat.com>
29577         [BZ #11840]
29578         * configure.in (-fgnu89-inline check): Set and substitute
29579         gnu89_inline, not libc_cv_gnu89_inline.
29580         * configure: Regenerated.
29581         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29583 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
29585         * string/test-strnlen.c: New file.
29586         * string/Makefile (strop-tests): Add strnlen.
29587         * string/tester.c (test_strnlen): Add a few more test cases.
29588         * string/tst-strlen.c: Better error reporting.
29590         * sysdeps/x86_64/strnlen.S: New file.
29592 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
29594         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29595         lower-latency instructions.
29597 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
29599         * string/test-strcasestr.c: New file.
29600         * string/test-strstr.c: New file.
29601         * string/Makefile (strop-tests): Add strstr and strcasestr.
29602         * string/str-two-way.h: Don't undefine MAX.
29603         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29605 2010-07-21  Andreas Schwab  <schwab@redhat.com>
29607         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29608         strcasestr-nonascii.
29609         (CFLAGS-strcasestr-nonascii.c): Define.
29610         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29611         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29612         Remove unused attribute.
29614 2010-07-20  Roland McGrath  <roland@redhat.com>
29616         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29617         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
29618         ld.so.cache was broken.  With it, there is no way to disable dsocaps
29619         like LD_HWCAP_MASK can disable hwcaps.
29621 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
29623         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29625 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
29627         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29628         call in strcasestr.
29629         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29630         __strcasestr_sse42_nonascii.
29631         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29632         strcasestr-nonascii.c.
29633         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29635 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
29637         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29638         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29639         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29640         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29642 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
29644         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29645         fcntl.
29647 2010-07-06  Andreas Schwab  <schwab@redhat.com>
29649         [BZ #11577]
29650         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29651         dl_signal_cerror.
29653 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
29655         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29656         _PC_PIPE_BUF using F_GETPIPE_SZ.
29658 2010-07-05  Roland McGrath  <roland@redhat.com>
29660         * manual/arith.texi (Rounding Functions): Fix rint description
29661         implicit in round description.
29663 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
29665         * elf/Makefile: Fix linking for a few tests to make recent linker
29666         happy.
29668 2010-06-30  Andreas Schwab  <schwab@redhat.com>
29670         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29671         $(common-objpfx)libc_nonshared.a.
29673 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
29675         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29676         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29677         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29678         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29679         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29680         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29681         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29682         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29697         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29698         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29699         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29700         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29701         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29702         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29703         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29704         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29705         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29706         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29707         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29708         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29724 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29726         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29727         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
29728         * string/memmove.c (memmove): Renamed to ...
29729         (MEMMOVE): ...this.  Default to memmove.
29730         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29731         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29732         (END_CHK): Define.
29733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29734         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29735         mempcpy-ssse3-back memmove-ssse3-back.
29736         * sysdeps/x86_64/multiarch/bcopy.S: New file .
29737         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29739         * sysdeps/x86_64/multiarch/memcpy.S: New file.
29740         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29741         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29742         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29743         * sysdeps/x86_64/multiarch/memmove.c: New file.
29744         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29745         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29746         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29747         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29748         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29749         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29750         Define.
29751         (index_Fast_Copy_Backward): Define.
29752         (HAS_ARCH_FEATURE): Define.
29753         (HAS_FAST_REP_STRING): Define.
29754         (HAS_FAST_COPY_BACKWARD): Define.
29756 2010-06-21  Andreas Schwab  <schwab@redhat.com>
29758         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29759         Restore proper fallback handling.
29761 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
29763         [BZ #11701]
29764         * posix/group_member.c (__group_member): Correct checking loop.
29766         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29767         OOM in getpwuid_r correctly.  Return error number when the caller
29768         should return, otherwise -1.
29769         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29770         call returning > 0 value.
29771         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29773 2010-06-07  Andreas Schwab  <schwab@redhat.com>
29775         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29776         libc_nonshared.a from targets in modules-names.
29778 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
29780         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29781         requires it.
29783 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
29785         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29786         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29787         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29788         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29790 2010-06-02  Andreas Schwab  <schwab@redhat.com>
29792         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29794 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
29796         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29797         and F_GETPIPE_SZ.
29798         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29799         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29800         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29801         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29802         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29803         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29805 2010-06-14  Roland McGrath  <roland@redhat.com>
29807         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29809 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
29811         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29812         __REDIRECT followed by __THROW.
29813         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29814         * posix/getopt.h (getopt): Likewise.
29816 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
29818         * hurd/lookup-at.c (__file_name_lookup_at): Accept
29819         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
29820         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29821         in AT_FLAGS.
29822         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29823         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29825 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
29827         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29829 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
29831         [BZ #11640]
29832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29833         Properly check family and model.
29835 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
29837         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29839 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
29841         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29843 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
29845         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29846         symbol reference.
29848 2010-05-19  Andreas Schwab  <schwab@redhat.com>
29850         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29851         symbol reference.
29853 2010-05-21  Andreas Schwab  <schwab@redhat.com>
29855         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29856         and internal_recvmmsg.
29857         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29858         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29859         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29860         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29862         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29863         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29864         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29866 2010-05-20  Andreas Schwab  <schwab@redhat.com>
29868         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29870 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
29872         POWER7 optimizations.
29873         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29874         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29876 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
29878         * version.h: Update for 2.13 development version.
29880 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
29882         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29883         exceptions.  Return 0.
29885 2010-05-07  Roland McGrath  <roland@redhat.com>
29887         * elf/ldconfig.c (main): Add a const.
29889 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
29891         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29892         (args_options): Add no-idn option.
29893         (ahosts_keys_int): Add idn_flags to ai_flags.
29894         (parse_option): Handle 'i' option to clear idn_flags.
29896         * malloc/malloc.c (_int_free): Possible race in the most recently
29897         added check.  Only act on the data if no current modification
29898         happened.
29900 See ChangeLog.17 for earlier changes.