Add BZ # to ChangeLog for commit 9323d39baea2fb0cca3735136abe263eff405133
[jlayton/glibc.git] / ChangeLog
1 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2
3         [BZ #14894]
4         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5         __ppc_mdoio and __ppc_mdoom.
6         * manual/platform.texi: Document new functions __ppc_yield,
7         __ppc_mdoio and __ppc_mdoom.
8
9 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
10
11         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12         (main): Mention "tls" pseudo-hwcap is legacy.
13         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14
15 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16
17         * math/gen-libm-test.pl (parse_args): Output only string of
18         arguments as text for test name, not full call or descriptions of
19         tests for extra outputs.
20         (generate_testfile): Do not pass function name to parse_args.
21         Generate this_func variable from START.
22         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23         field to arg_str.
24         (struct test_ff_f_data): Likewise.
25         (test_ff_f_data_nexttoward): Likewise.
26         (struct test_fi_f_data): Likewise.
27         (struct test_fl_f_data): Likewise.
28         (struct test_if_f_data): Likewise.
29         (struct test_fff_f_data): Likewise.
30         (struct test_c_f_data): Likewise.
31         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32         (struct test_fF_f1_data): Likewise.
33         (struct test_ffI_f1_data): Likewise.
34         (struct test_c_c_data): Rename test_name field to arg_str.
35         (struct test_cc_c_data): Likewise.
36         (struct test_f_i_data): Likewise.
37         (struct test_ff_i_data): Likewise.
38         (struct test_f_l_data): Likewise.
39         (struct test_f_L_data): Likewise.
40         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41         and extra2_name.
42         (COMMON_TEST_SETUP): New macro.
43         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44         (COMMON_TEST_CLEANUP): Likewise.
45         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47         macros.
48         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50         macros.
51         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53         cleanup macros.
54         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
56         macros.
57         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
58         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59         macros.
60         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62         cleanup macros.
63         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
65         cleanup macros.
66         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
67         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
68         cleanup macros.
69         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
70         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
71         macros.
72         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
73         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
74         macros.
75         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
76         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
77         macros.
78         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
79         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
80         cleanup macros.
81         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
82         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
83         cleanup macros.
84         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
85         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
86         macros.
87         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
88         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
89         cleanup macros.
90         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
91         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
92         macros.
93         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
94         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
95         macros.
96         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
97         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
98         cleanup macros.
99         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
100
101 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
102
103         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
104         to _sifields.sigfault.
105         (si_addr_lsb): Define new macro.
106         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
108         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
109
110 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
111
112         [BZ #15441]
113         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
114         returns -1.
115         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
116         null return -1.
117         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
118         loading the domain.
119
120 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
121
122         * math/gen-libm-test.pl (parse_args): Do not include expected
123         result in test name.
124         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
125         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
126         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
127         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
128         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130
131 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
132
133         * benchtests/Makefile: Sort function entries.
134
135         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
136         tanh, asinh, acosh, atanh.
137         * benchtests/acos-inputs: New file.
138         * benchtests/acosh-inputs: New file.
139         * benchtests/asin-inputs: New file.
140         * benchtests/asinh-inputs: New file.
141         * benchtests/atanh-inputs: New file.
142         * benchtests/cosh-inputs: New file.
143         * benchtests/log-inputs: New file.
144         * benchtests/sinh-inputs: New file.
145         * benchtests/tanh-inputs: New file.
146
147 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
148
149         [BZ #15339]
150         * posix/tst-getaddrinfo4.c: New test.
151         * posix/Makefile (tests): Add it.
152
153 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
154
155         [BZ #15339]
156         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
157         when no services were used.
158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
159         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
160
161 2013-05-21  Andreas Schwab  <schwab@suse.de>
162
163         [BZ #15014]
164         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
165         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
166         successful.
167         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
168         redundant variable declarations and reallocation of buffer when
169         parsing as IPv6 address.  Always set NSS status when called from
170         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
171         buffer too small.  Correct computation of needed size.
172         * nss/Makefile (tests): Add test-digits-dots.
173         * nss/test-digits-dots.c: New test.
174
175 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
176
177         * benchtests/Makefile: Remove instructions for adding
178         benchmark tests.
179         * benchtests/README: New file to explain how to execute and
180         enhance the benchmark tests.
181
182 2013-05-21  Andreas Schwab  <schwab@suse.de>
183
184         [BZ #15493]
185         * setjmp/Makefile (tests): Add tst-sigsetjmp.
186         * setjmp/tst-sigsetjmp.c: New test.
187
188 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
189
190         * sysdeps/x86_64/memset.S (memset): New implementation.
191         (__bzero): Likewise.
192         (__memset_tail): New function.
193
194 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
195
196         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
197         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
198         __memcpy_sse2_unaligned ifunc selection.
199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
200         Add memcpy-sse2-unaligned.S.
201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
202         Add: __memcpy_sse2_unaligned.
203
204 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
205
206         [BZ #15490]
207         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
208         math_force_eval before restoring floating-point envrionment.
209         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
210         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
211         Likewise.
212         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
213         <math_private.h>.
214         (__nearbyintl): Use math_force_eval before restoring
215         floating-point environment.
216         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
217
218         * math/gen-libm-test.pl (special_functions): Remove.
219         (parse_args): Don't handle TEST_extra.  Handle functions with no
220         return value.
221         * math/libm-test.inc (struct test_sincos_data): Replace with
222         struct test_fFF_11_data.
223         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
224         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
225         (sincos_test_data): Change element type to struct
226         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
227         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
228         RUN_TEST_LOOP_sincos.
229         * math/README.libm-test: Don't mention special handling of
230         individual functions.
231         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
232         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
233         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
234         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
235         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
237
238         * math/gen-libm-test.pl (get_variable): Remove function.
239         (parse_args): Don't show pointer parameters to call in test
240         names.  Use "extra output N" in test names for extra outputs
241         rather than naming variables.
242
243 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
244
245         [BZ #15488]
246         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
247         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
248         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
249         double tests.
250         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
251         disable.
252         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
253         check_long_double.
254
255         * math/gen-libm-test.pl (@tests): Remove variable.
256         ($count): Likewise.
257         (new_test): Remove function.
258         (show_exceptions): New function.
259         (special_functions): Use show_exceptions instead of new_test.
260         (parse_args): Likewise.
261         (generate_testfile): Pass only function name in generated call to
262         print_max_error or print_complex_max_error.
263         (get_ulps): Do not handle complex tests specially.
264         (output_test): Rename to ...
265         (get_all_ulps_for_test): ... this.  Return a string rather than
266         printing to a file.  Require ulps to be present.
267         (output_ulps): Generate arrays rather than #defines.
268         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
269         (struct ulp_data): New type.
270         (BUILD_COMPLEX_ULP): Remove macro.
271         (compare_ulp_data): New function.
272         (find_ulps): Likewise.
273         (find_test_ulps): Likewise.
274         (find_function_ulps): Likewise.
275         (find_complex_function_ulps): Likewise.
276         (print_max_error): Determine allowed ulps using
277         find_function_ulps.
278         (print_complex_max_error): Determine allowed ulps using
279         find_complex_function_ulps.
280         (check_float_internal): Determine max ulps using find_test_ulps.
281         (check_float): Do not take max_ulp parameter.  Update call to
282         check_float_internal.
283         (check_complex): Likewise.
284         (check_int): Do not take max_ulp parameter.
285         (check_long): Likewise.
286         (check_bool): Likewise.
287         (check_longlong): Likewise.
288         (struct test_f_f_data): Remove max_ulp field.
289         (struct test_ff_f_data): Likewise.
290         (struct test_ff_f_data_nexttoward): Likewise.
291         (struct test_fi_f_data): Likewise.
292         (struct test_fl_f_data): Likewise.
293         (struct test_if_f_data): Likewise.
294         (struct test_fff_f_data): Likewise.
295         (struct test_c_f_data): Likewise.
296         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
297         (struct test_fF_f1_data): Likewise.
298         (struct test_ffI_f1_data): Likewise.
299         (struct test_c_c_data): Remove max_ulp field.
300         (struct test_cc_c_data): Likewise.
301         (struct test_f_i_data): Likewise.
302         (struct test_ff_i_data): Likewise.
303         (struct test_f_l_data): Likewise.
304         (struct test_f_L_data): Likewise.
305         (struct test_sincos_data): Likewise.
306         (RUN_TEST_f_f): Do not handle ulps.
307         (RUN_TEST_LOOP_f_f): Likewise.
308         (RUN_TEST_2_f): Likewise.
309         (RUN_TEST_LOOP_2_f): Likewise.
310         (RUN_TEST_fff_f): Likewise.
311         (RUN_TEST_LOOP_fff_f): Likewise.
312         (RUN_TEST_c_f): Likewise.
313         (RUN_TEST_LOOP_c_f): Likewise.
314         (RUN_TEST_f_f1): Likewise.
315         (RUN_TEST_LOOP_f_f1): Likewise.
316         (RUN_TEST_fF_f1): Likewise.
317         (RUN_TEST_LOOP_fF_f1): Likewise.
318         (RUN_TEST_fI_f1): Likewise.
319         (RUN_TEST_LOOP_fI_f1): Likewise.
320         (RUN_TEST_ffI_f1): Likewise.
321         (RUN_TEST_LOOP_ffI_f1): Likewise.
322         (RUN_TEST_c_c): Likewise.
323         (RUN_TEST_LOOP_c_c): Likewise.
324         (RUN_TEST_cc_c): Likewise.
325         (RUN_TEST_LOOP_cc_c): Likewise.
326         (RUN_TEST_f_i): Likewise.
327         (RUN_TEST_LOOP_f_i): Likewise.
328         (RUN_TEST_f_i_tg): Likewise.
329         (RUN_TEST_LOOP_f_i_tg): Likewise.
330         (RUN_TEST_ff_i_tg): Likewise.
331         (RUN_TEST_LOOP_ff_i_tg): Likewise.
332         (RUN_TEST_f_b): Likewise.
333         (RUN_TEST_LOOP_f_b): Likewise.
334         (RUN_TEST_f_b_tg): Likewise.
335         (RUN_TEST_LOOP_f_b_tg): Likewise.
336         (RUN_TEST_f_l): Likewise.
337         (RUN_TEST_LOOP_f_l): Likewise.
338         (RUN_TEST_f_L): Likewise.
339         (RUN_TEST_LOOP_f_L): Likewise.
340         (RUN_TEST_sincos): Likewise.
341         (RUN_TEST_LOOP_sincos): Likewise.
342
343 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
344
345         [BZ #15480]
346         [BZ #15485]
347         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
348         main case of finite arguments, set rounding mode to FE_TONEAREST
349         and discard exceptions.
350         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
351         exceptions.
352         (remainder_tonearest_test_data): New variable.
353         (remainder_test_tonearest): New function.
354         (remainder_towardzero_test_data): New variable.
355         (remainder_test_towardzero): New function.
356         (remainder_downward_test_data): New variable.
357         (remainder_test_downward): New function.
358         (remainder_upward_test_data): New variable.
359         (remainder_test_upward): New function.
360         (main): Call the new test functions.
361
362         * math/libm-test.inc (struct test_f_f1_data): Remove field
363         extra_init.
364         (struct test_fF_f1_data): Likewise.
365         (struct test_ffI_f1_data): Likewise.
366         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
367         based on value of EXTRA_EXPECTED.
368         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
369         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
370         EXTRA_VAR based on value of EXTRA_EXPECTED.
371         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
372         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
373         EXTRA_VAR based on value of EXTRA_EXPECTED.
374         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
375         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
376         EXTRA_VAR based on value of EXTRA_EXPECTED.
377         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
378         * math/gen-libm-test.pl (parse_args): Don't output initializers
379         for extra output values.
380
381         * math/libm-test.inc (check_int): Expect result to be exactly
382         equal to expected value and do not handle ulps.
383         (check_long): Likewise.
384         (check_longlong): Likewise.
385
386         * math/libm-test.inc (ceil_test_data): Test for "inexact"
387         exceptions.
388         (cimag_test_data): Likewise.
389         (conj_test_data): Likewise.
390         (copysign_test_data): Likewise.
391         (cproj_test_data): Likewise.
392         (creal_test_data): Likewise.
393         (fabs_test_data): Likewise.
394         (fdim_test_data): Likewise.
395         (finite_test_data): Likewise.
396         (floor_test_data): Likewise.
397         (fmax_test_data): Likewise.
398         (fmin_test_data): Likewise.
399         (fmod_test_data): Likewise.
400         (fpclassify_test_data): Likewise.
401         (frexp_test_data): Likewise.
402         (ilogb_test_data): Likewise.
403         (isfinite_test_data): Likewise.
404         (isgreater_test_data): Likewise.
405         (isgreaterequal_test_data): Likewise.
406         (isinf_test_data): Likewise.
407         (isless_test_data): Likewise.
408         (islessequal_test_data): Likewise.
409         (islessgreater_test_data): Likewise.
410         (isnan_test_data): Likewise.
411         (isnormal_test_data): Likewise.
412         (issignaling_test_data): Likewise.
413         (isunordered_test_data): Likewise.
414         (ldexp_test_data): Likewise.
415         (lrint_test_data): Likewise.
416         (lrint_test_data) [TEST_FLOAT]: Disable one test.
417         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
418         (lrint_tonearest_test_data): Test for "inexact" exceptions.
419         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
420         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
421         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
422         test input.
423         (lrint_towardzero_test_data): Test for "inexact" exceptions.
424         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
425         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
426         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
427         that test input.
428         (lrint_downward_test_data): Test for "inexact" exceptions.
429         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
430         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
431         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
432         test input.
433         (lrint_upward_test_data): Test for "inexact" exceptions.
434         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
435         test input.
436         (llrint_test_data): Test for "inexact" exceptions.
437         (llrint_test_data) [TEST_FLOAT]: Disable one test.
438         (llrint_tonearest_test_data): Test for "inexact" exceptions.
439         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
440         (llrint_towardzero_test_data): Test for "inexact" exceptions.
441         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
442         (llrint_downward_test_data): Test for "inexact" exceptions.
443         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
444         (llrint_upward_test_data): Test for "inexact" exceptions.
445         (logb_test_data): Likewise.
446         (logb_downward_test_data): Likewise.
447         (nextafter_test_data): Likewise.
448         (nexttoward_test_data): Likewise.
449         (remainder_test_data): Likewise.
450         (remquo_test_data): Likewise.
451         (scalbn_test_data): Likewise.
452         (scalbln_test_data): Likewise.
453         (signbit_test_data): Likewise.
454         (sqrt_test_data): Likewise.
455         (significand_test_data): Likewise.
456
457 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
458
459         [BZ #15424]
460         * benchtests/bench-modf.c (struct args): Mark arg0 as
461         volatile.
462         * scripts/bench.pl: Mark members of struct args as volatile.
463
464 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
465
466         [BZ # 15497]
467         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
468         negative infinity on POWER6 or lower.
469         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
470
471 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
472
473         [BZ #15442]
474         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
475         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
476         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
477         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
478         (_FP_SETQNAN): New macro.
479         (_FP_SETQNAN_SEMIRAW): Likewise.
480         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
481         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
482         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
483         (FP_EXTEND): Use _FP_FRAC_SNANP.
484         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
485         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
486         into account.
487         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
488         New macro.
489         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
490         Likewise.
491
492 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
493
494         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
495         with DIVIDE_BY_ZERO_EXCEPTION.
496         (gamma_test_data): Likewise.
497         (lgamma_test_data): Likewise.
498         (log_test_data): Likewise.
499         (log10_test_data): Likewise.
500         (log2_test_data): Likewise.
501         (tgamma_test_data): Likewise.
502
503         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
504         (acos_test_tonearest): Likewise.
505         (acos_test_towardzero): Likewise.
506         (acos_test_downward): Likewise.
507         (acos_test_upward): Likewise.
508         (acosh_test): Likewise.
509         (asin_test): Likewise.
510         (asin_test_tonearest): Likewise.
511         (asin_test_towardzero): Likewise.
512         (asin_test_downward): Likewise.
513         (asin_test_upward): Likewise.
514         (asinh_test): Likewise.
515         (atan_test): Likewise.
516         (atanh_test): Likewise.
517         (atan2_test): Likewise.
518         (cabs_test): Likewise.
519         (cacos_test): Likewise.
520         (cacosh_test): Likewise.
521         (casin_test): Likewise.
522         (casinh_test): Likewise.
523         (catan_test): Likewise.
524         (catanh_test): Likewise.
525         (cbrt_test): Likewise.
526         (ccos_test): Likewise.
527         (ccosh_test): Likewise.
528         (cexp_test): Likewise.
529         (clog_test): Likewise.
530         (clog10_test): Likewise.
531         (cos_test): Likewise.
532         (cos_test_tonearest): Likewise.
533         (cos_test_towardzero): Likewise.
534         (cos_test_downward): Likewise.
535         (cos_test_upward): Likewise.
536         (cosh_test): Likewise.
537         (cosh_test_tonearest): Likewise.
538         (cosh_test_towardzero): Likewise.
539         (cosh_test_downward): Likewise.
540         (cosh_test_upward): Likewise.
541         (cpow_test): Likewise.
542         (csin_test): Likewise.
543         (csinh_test): Likewise.
544         (csqrt_test): Likewise.
545         (ctan_test): Likewise.
546         (ctan_test_tonearest): Likewise.
547         (ctan_test_towardzero): Likewise.
548         (ctan_test_downward): Likewise.
549         (ctan_test_upward): Likewise.
550         (ctanh_test): Likewise.
551         (ctanh_test_tonearest): Likewise.
552         (ctanh_test_towardzero): Likewise.
553         (ctanh_test_downward): Likewise.
554         (ctanh_test_upward): Likewise.
555         (erf_test): Likewise.
556         (erfc_test): Likewise.
557         (exp_test): Likewise.
558         (exp_test_tonearest): Likewise.
559         (exp_test_towardzero): Likewise.
560         (exp_test_downward): Likewise.
561         (exp_test_upward): Likewise.
562         (exp10_test): Likewise.
563         (exp2_test): Likewise.
564         (expm1_test): Likewise.
565         (fmod_test): Likewise.
566         (gamma_test): Likewise.
567         (hypot_test): Likewise.
568         (j0_test): Likewise.
569         (j1_test): Likewise.
570         (jn_test): Likewise.
571         (lgamma_test): Likewise.
572         (log_test): Likewise.
573         (log10_test): Likewise.
574         (log1p_test): Likewise.
575         (log2_test): Likewise.
576         (logb_test_downward): Likewise.
577         (pow_test): Likewise.
578         (pow_test_tonearest): Likewise.
579         (pow_test_towardzero): Likewise.
580         (pow_test_downward): Likewise.
581         (pow_test_upward): Likewise.
582         (remainder_test): Likewise.
583         (remquo_test): Likewise.
584         (sin_test): Likewise.
585         (sin_test_tonearest): Likewise.
586         (sin_test_towardzero): Likewise.
587         (sin_test_downward): Likewise.
588         (sin_test_upward): Likewise.
589         (sincos_test): Likewise.
590         (sinh_test): Likewise.
591         (sinh_test_tonearest): Likewise.
592         (sinh_test_towardzero): Likewise.
593         (sinh_test_downward): Likewise.
594         (sinh_test_upward): Likewise.
595         (sqrt_test): Likewise.
596         (tan_test): Likewise.
597         (tan_test_tonearest): Likewise.
598         (tan_test_towardzero): Likewise.
599         (tan_test_downward): Likewise.
600         (tan_test_upward): Likewise.
601         (tanh_test): Likewise.
602         (tgamma_test): Likewise.
603         (y0_test): Likewise.
604         (y1_test): Likewise.
605         (yn_test): Likewise.
606
607         * math/gen-libm-test.pl (adjust_arg): Remove function.
608         (special_function): Remove argument $in_func.  Only handle
609         generating output for tables of tests, not inside functions.
610         (parse_args): Likewise.
611         (generate_testfile): Remove variable $in_func.  Update call to
612         parse_args.
613         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
614         (MINUS_ZERO_INIT): Rename macro to minus_zero.
615         (PLUS_INFTY_INIT): Rename macro to plus_infty.
616         (MINUS_INFTY_INIT): Rename macro to minus_infty.
617         (QNAN_VALUE_INIT): Rename macro to qnan_value.
618         (MAX_VALUE_INIT): Rename macro to max_value.
619         (MIN_VALUE_INIT): Rename macro to min_value.
620         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
621         (plus_zero): Remove variable.
622         (minus_zero): Likewise.
623         (plus_infty): Likewise.
624         (minus_infty): Likewise.
625         (qnan_value): Likewise.
626         (max_value): Likewise.
627         (min_value): Likewise.
628         (min_subnorm_value): Likewise.
629
630 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
631
632         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
633         uint64_t or uint32_t usage.
634         * crypt/sha256-block.c: Likewise.
635         * crypt/sha256-crypt.c: Likewise.
636         * crypt/sha256.c: Likewise.
637         * crypt/sha512-block.c: Likewise.
638         * crypt/sha512-crypt.c: Likewise.
639         * crypt/sha512.c: Likewise.
640         * debug/backtrace-tst.c: Likewise.
641         * debug/pcprofiledump.c: Likewise.
642         * elf/cache.c: Likewise.
643         * elf/dl-cache.c: Likewise.
644         * elf/dl-misc.c: Likewise.
645         * elf/dl-profile.c: Likewise.
646         * elf/dl-support.c: Likewise.
647         * elf/ldconfig.c: Likewise.
648         * elf/sprof.c: Likewise.
649         * iconv/dummy-repertoire.c: Likewise.
650         * iconv/iconv_charmap.c: Likewise.
651         * iconv/skeleton.c: Likewise.
652         * iconvdata/8bit-generic.c: Likewise.
653         * iconvdata/cp737.h: Likewise.
654         * iconvdata/cp775.h: Likewise.
655         * iconvdata/ibm1008.h: Likewise.
656         * iconvdata/ibm1025.h: Likewise.
657         * iconvdata/ibm1046.h: Likewise.
658         * iconvdata/ibm1097.h: Likewise.
659         * iconvdata/ibm1112.h: Likewise.
660         * iconvdata/ibm1122.h: Likewise.
661         * iconvdata/ibm1123.h: Likewise.
662         * iconvdata/ibm1124.h: Likewise.
663         * iconvdata/ibm1129.h: Likewise.
664         * iconvdata/ibm1130.h: Likewise.
665         * iconvdata/ibm1132.h: Likewise.
666         * iconvdata/ibm1133.h: Likewise.
667         * iconvdata/ibm1137.h: Likewise.
668         * iconvdata/ibm1140.h: Likewise.
669         * iconvdata/ibm1141.h: Likewise.
670         * iconvdata/ibm1142.h: Likewise.
671         * iconvdata/ibm1143.h: Likewise.
672         * iconvdata/ibm1144.h: Likewise.
673         * iconvdata/ibm1145.h: Likewise.
674         * iconvdata/ibm1146.h: Likewise.
675         * iconvdata/ibm1147.h: Likewise.
676         * iconvdata/ibm1148.h: Likewise.
677         * iconvdata/ibm1149.h: Likewise.
678         * iconvdata/ibm1153.h: Likewise.
679         * iconvdata/ibm1154.h: Likewise.
680         * iconvdata/ibm1155.h: Likewise.
681         * iconvdata/ibm1156.h: Likewise.
682         * iconvdata/ibm1157.h: Likewise.
683         * iconvdata/ibm1158.h: Likewise.
684         * iconvdata/ibm1160.h: Likewise.
685         * iconvdata/ibm1161.h: Likewise.
686         * iconvdata/ibm1162.h: Likewise.
687         * iconvdata/ibm1163.h: Likewise.
688         * iconvdata/ibm1164.h: Likewise.
689         * iconvdata/ibm1166.h: Likewise.
690         * iconvdata/ibm1167.h: Likewise.
691         * iconvdata/ibm12712.h: Likewise.
692         * iconvdata/ibm1390.h: Likewise.
693         * iconvdata/ibm1399.h: Likewise.
694         * iconvdata/ibm16804.h: Likewise.
695         * iconvdata/ibm4517.h: Likewise.
696         * iconvdata/ibm4899.h: Likewise.
697         * iconvdata/ibm4909.h: Likewise.
698         * iconvdata/ibm4971.h: Likewise.
699         * iconvdata/ibm5347.h: Likewise.
700         * iconvdata/ibm803.h: Likewise.
701         * iconvdata/ibm856.h: Likewise.
702         * iconvdata/ibm901.h: Likewise.
703         * iconvdata/ibm902.h: Likewise.
704         * iconvdata/ibm9030.h: Likewise.
705         * iconvdata/ibm9066.h: Likewise.
706         * iconvdata/ibm921.h: Likewise.
707         * iconvdata/ibm922.h: Likewise.
708         * iconvdata/ibm9448.h: Likewise.
709         * iconvdata/isiri-3342.h: Likewise.
710         * iconvdata/jis0201.h: Likewise.
711         * include/link.h: Likewise.
712         * include/netdb.h: Likewise.
713         * inet/check_native.c: Likewise.
714         * inet/check_pf.c: Likewise.
715         * inet/getipv4sourcefilter.c: Likewise.
716         * inet/getnameinfo.c: Likewise.
717         * inet/getsourcefilter.c: Likewise.
718         * inet/htonl.c: Likewise.
719         * inet/setipv4sourcefilter.c: Likewise.
720         * inet/setsourcefilter.c: Likewise.
721         * inet/test-inet6_opt.c: Likewise.
722         * inet/tst-network.c: Likewise.
723         * locale/C-collate.c: Likewise.
724         * locale/C-ctype.c: Likewise.
725         * locale/C-time.c: Likewise.
726         * locale/C-translit.h: Likewise.
727         * locale/loadarchive.c: Likewise.
728         * locale/programs/3level.h: Likewise.
729         * locale/programs/charmap.c: Likewise.
730         * locale/programs/charmap.h: Likewise.
731         * locale/programs/ld-address.c: Likewise.
732         * locale/programs/ld-collate.c: Likewise.
733         * locale/programs/ld-ctype.c: Likewise.
734         * locale/programs/ld-identification.c: Likewise.
735         * locale/programs/ld-measurement.c: Likewise.
736         * locale/programs/ld-messages.c: Likewise.
737         * locale/programs/ld-monetary.c: Likewise.
738         * locale/programs/ld-name.c: Likewise.
739         * locale/programs/ld-numeric.c: Likewise.
740         * locale/programs/ld-paper.c: Likewise.
741         * locale/programs/ld-telephone.c: Likewise.
742         * locale/programs/ld-time.c: Likewise.
743         * locale/programs/linereader.c: Likewise.
744         * locale/programs/locale.c: Likewise.
745         * locale/programs/locarchive.c: Likewise.
746         * locale/programs/locfile.h: Likewise.
747         * locale/programs/repertoire.c: Likewise.
748         * locale/programs/simple-hash.c: Likewise.
749         * locale/programs/simple-hash.h: Likewise.
750         * malloc/memusage.c: Likewise.
751         * malloc/memusagestat.c: Likewise.
752         * nis/nis_defaults.c: Likewise.
753         * nis/nis_hash.c: Likewise.
754         * nis/nis_print.c: Likewise.
755         * nis/nis_xdr.c: Likewise.
756         * nscd/connections.c: Likewise.
757         * nscd/hstcache.c: Likewise.
758         * nscd/nscd_gethst_r.c: Likewise.
759         * nscd/nscd_getserv_r.c: Likewise.
760         * nscd/nscd_helper.c: Likewise.
761         * nscd/servicescache.c: Likewise.
762         * nss/makedb.c: Likewise.
763         * nss/nss_db/db-XXX.c: Likewise.
764         * nss/nss_db/db-initgroups.c: Likewise.
765         * nss/nss_db/db-netgrp.c: Likewise.
766         * nss/nss_files/files-network.c: Likewise.
767         * nss/nss_files/files-parse.c: Likewise.
768         * posix/bug-regex5.c: Likewise.
769         * posix/fnmatch_loop.c: Likewise.
770         * posix/regcomp.c: Likewise.
771         * posix/regexec.c: Likewise.
772         * posix/tst-rfc3484-2.c: Likewise.
773         * posix/tst-rfc3484-3.c: Likewise.
774         * posix/tst-rfc3484.c: Likewise.
775         * resolv/nss_dns/dns-canon.c: Likewise.
776         * resolv/nss_dns/dns-network.c: Likewise.
777         * resolv/res_init.c: Likewise.
778         * resolv/res_mkquery.c: Likewise.
779         * resolv/tst-aton.c: Likewise.
780         * stdlib/cxa_atexit.c: Likewise.
781         * stdlib/cxa_finalize.c: Likewise.
782         * stdlib/gen-fpioconst.c: Likewise.
783         * stdlib/strtol_l.c: Likewise.
784         * string/tst-endian.c: Likewise.
785         * sunrpc/auth_des.c: Likewise.
786         * sunrpc/clnt_udp.c: Likewise.
787         * sunrpc/rtime.c: Likewise.
788         * sunrpc/svcauth_des.c: Likewise.
789         * sunrpc/xdr.c: Likewise.
790         * sunrpc/xdr_intXX_t.c: Likewise.
791         * sunrpc/xdr_rec.c: Likewise.
792         * sysdeps/generic/ldconfig.h: Likewise.
793         * sysdeps/generic/ldsodefs.h: Likewise.
794         * sysdeps/generic/memusage.h: Likewise.
795         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
796         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
797         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
798         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
799         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
800         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
801         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
802         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
803         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
805         * sysdeps/posix/getaddrinfo.c: Likewise.
806         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
807         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
808         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
809         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
810         * sysdeps/powerpc/test-gettimebase.c: Likewise.
811         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
812         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
813         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
814         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
815         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
816         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
817         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
818         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
819         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
820         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
821         * sysdeps/x86_64/dl-tls.h: Likewise.
822         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
823         * time/alt_digit.c: Likewise.
824         * time/era.c: Likewise.
825         * wcsmbs/tst-c16c32-1.c: Likewise.
826
827 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
828
829         * math/libm-test.inc (struct test_sincos_data): New type.
830         (RUN_TEST_LOOP_sincos): New macro.
831         (sincos_test_data): New variable.
832         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
833
834 2013-05-16  Richard Henderson  <rth@redhat.com>
835
836         * math/atest-exp2.c (LIMB64): New macro.
837         (CONSTSZ): New macro.
838         (mp_exp1, mp_exp_m1, mp_log2): New variables.
839         (hexdig): Move ...
840         (print_mpn_fp): ... to function scope.
841         (read_mpn_hex): Remove.
842         (get_log2): Remove.
843         (exp2_mpn): Use mp_log2.
844         (main): Use mp_exp1.
845
846 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
847
848         * math/libm-test.inc: Remove comment about not testing "inexact"
849         exceptions.
850         (INEXACT_EXCEPTION): New macro.
851         (NO_INEXACT_EXCEPTION): Likewise.
852         (INVALID_EXCEPTION_OK): Update value.
853         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
854         (OVERFLOW_EXCEPTION_OK): Likewise.
855         (UNDERFLOW_EXCEPTION_OK): Likewise.
856         (IGNORE_ZERO_INF_SIGN): Likewise.
857         (ERRNO_UNCHANGED): Likewise.
858         (ERRNO_EDOM): Likewise.
859         (ERRNO_ERANGE): Likewise.
860         (test_exceptions): Handle testing "inexact" exceptions.
861         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
862         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
863         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
864         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
865         INEXACT_EXCEPTION.
866         (rint_towardzero_test_data): Likewise.
867         (rint_downward_test_data): Likewise.
868         (rint_upward_test_data): Likewise.
869
870         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
871         with OVERFLOW_EXCEPTION.
872         (exp10_test_data): Likewise.
873         (exp2_test_data): Likewise.
874         (expm1_test_data): Likewise.
875         (lgamma_test_data): Likewise.
876         (pow_test_data): Likewise.
877         (tgamma_test_data): Likewise.
878         (yn_test_data): Remove duplicate test of overflow.
879
880         * math/libm-test.inc (struct test_cc_c_data): New type.
881         (RUN_TEST_LOOP_cc_c): New macro.
882         (cpow_test_data): New variable.
883         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
884
885         * math/libm-test.inc (struct test_f_L_data): New type.
886         (RUN_TEST_LOOP_f_L): New macro.
887         (llrint_test_data): New variable.
888         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
889         (llrint_tonearest_test_data): New variable.
890         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
891         (llrint_towardzero_test_data): New variable.
892         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
893         (llrint_downward_test_data): New variable.
894         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
895         (llrint_upward_test_data): New variable.
896         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
897         (llround_test_data): New variable.
898         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
899
900 2013-05-13  Peter Collingbourne  <pcc@google.com>
901
902         * math/atest-exp2.c (get_log2): Remove const attribute.
903
904 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
905
906         * math/libm-test.inc (struct test_f_l_data): New type.
907         (RUN_TEST_LOOP_f_l): New macro.
908         (lrint_test_data): New variable.
909         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
910         (lrint_tonearest_test_data): New variable.
911         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
912         (lrint_towardzero_test_data): New variable.
913         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
914         (lrint_downward_test_data): New variable.
915         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
916         (lrint_upward_test_data): New variable.
917         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
918         (lround_test_data): New variable.
919         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
920
921 2013-05-15  Peter Collingbourne  <pcc@google.com>
922
923         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
924         (EXTRACT_WORDS64) Use where appropriate.
925         (INSERT_WORDS64) Likewise.
926
927         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
928         constraints with x constraints.
929         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
930
931         * malloc/obstack.c (_obstack_compat): Add initializer.
932
933 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
934
935         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
936         si_trapno and add si_addr_lsb to _sifields.sigfault.
937         (si_trapno): Remove macro.
938         (si_addr_lsb): Define new macro.
939         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
940
941 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
942
943         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
944         instead of TEST_f_l.
945         (llrint_test_tonearest): Likewise.
946         (llrint_test_towardzero): Likewise.
947         (llrint_test_downward): Likewise.
948         (llrint_test_upward): Likewise.
949         (llround_test): Likewise.
950
951         * math/libm-test.inc (struct test_f_i_data): Add comment.
952         (RUN_TEST_LOOP_f_b): New macro.
953         (RUN_TEST_LOOP_f_b_tg): Likewise.
954         (finite_test_data): New variable.
955         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
956         (isfinite_test_data): New variable.
957         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
958         (isinf_test_data): New variable.
959         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
960         (isnan_test_data): New variable.
961         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
962         (isnormal_test_data): New variable.
963         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
964         (issignaling_test_data): New variable.
965         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
966         (signbit_test_data): New variable.
967         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
968
969         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
970         with INVALID_EXCEPTION.
971         (acosh_test_data): Likewise.
972         (asin_test_data): Likewise.
973         (atanh_test_data): Likewise.
974         (fmod_test_data): Likewise.
975         (log_test_data): Likewise.
976         (log10_test_data): Likewise.
977         (log2_test_data): Likewise.
978         (pow_test_data): Likewise.
979         (sqrt_test_data): Likewise.
980         (y0_test_data): Likewise.
981         (y1_test_data): Likewise.
982         (yn_test_data): Likewise.
983
984         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
985         function contents.
986
987         * math/libm-test.inc (struct test_ff_i_data): New type.
988         (RUN_TEST_LOOP_ff_i_tg): New macro.
989         (isgreater_test_data): New variable.
990         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
991         (isgreaterequal_test_data): New variable.
992         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
993         (isless_test_data): New variable.
994         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
995         (islessequal_test_data): New variable.
996         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
997         (islessgreater_test_data): New variable.
998         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
999         (isunordered_test_data): New variable.
1000         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1001
1002 2013-05-14  David S. Miller  <davem@davemloft.net>
1003
1004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1005
1006 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
1007
1008         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1009
1010         * math/libm-test.inc (struct test_fF_f1_data): Change type of
1011         extra_test to int.
1012         (struct test_f_i_data): Change type of max_ulp to int.
1013
1014         * math/libm-test.inc (test_ffI_f1_data): New type.
1015         (RUN_TEST_LOOP_ffI_f1): New macro.
1016         (remquo_test_data): New variable.
1017         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1018
1019         * setjmp/tst-setjmp-fp.c: New file.
1020         * setjmp/Makefile (tests): Add tst-setjmp-fp.
1021         (link-libm): New variable.
1022         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1023
1024         * math/libm-test.inc (struct test_f_i_data): New type.
1025         (RUN_TEST_LOOP_f_i): New macro.
1026         (RUN_TEST_LOOP_f_i_tg): Likewise.
1027         (fpclassify_test_data): New variable.
1028         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1029         (ilogb_test_data): New variable.
1030         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1031
1032         * math/libm-test.inc (scalbln_test): Correct function name in END
1033         call.
1034
1035         * math/libm-test.inc (struct test_f_f1_data): Add comment.
1036         (RUN_TEST_LOOP_fI_f1): New macro.
1037         (frexp_test_data): New variable.
1038         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1039
1040         * math/libm-test.inc (struct test_fF_f1_data): New type.
1041         (RUN_TEST_LOOP_fF_f1): New macro.
1042         (modf_test_data): New variable.
1043         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1044
1045         * math/libm-test.inc (struct test_f_f1_data): New type.
1046         (RUN_TEST_LOOP_f_f1): New macro.
1047         (gamma_test_data): New variable.
1048         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1049         (lgamma_test_data): New variable.
1050         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1051
1052 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
1053
1054         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1055         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1056         (main): Comment "tls" pseudo-hwcap.
1057
1058 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
1059
1060         * math/libm-test.inc (struct test_fl_f_data): New type.
1061         (RUN_TEST_LOOP_fl_f): New variable.
1062         (scalbln_test_data): New variable.
1063         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1064
1065         * math/libm-test.inc (struct test_fi_f_data): New type.
1066         (RUN_TEST_LOOP_fi_f): New macro.
1067         (ldexp_test_data): New variable.
1068         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1069         (scalbn_test_data): New variable.
1070         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1071
1072         * math/libm-test.inc (struct test_c_f_data): New type.
1073         (RUN_TEST_LOOP_c_f): New macro.
1074         (cabs_test_data): New variable.
1075         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1076         (carg_test_data): New variable.
1077         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1078         (cimag_test_data): New variable.
1079         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1080         (creal_test_data): New variable.
1081         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1082
1083         * math/libm-test.inc (struct test_if_f_data): New type.
1084         (RUN_TEST_LOOP_if_f): New macro.
1085         (jn_test_data): New variable.
1086         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1087         (yn_test_data): New variable.
1088         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1089
1090         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1091
1092 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1093
1094         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1095         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1096
1097 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1098
1099         * benchtests/Makefile (CPPFLAGS-nonlib): Add
1100         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1101         (bench-deps): Add bench-timing.h.
1102         * benchtests-bench-skeleton.c: Include bench-timing.h.
1103         (main): Use TIMING_* macros instead of clock_gettime.
1104         * benchtests/bench-timing.h: New file.
1105
1106         [BZ #14582]
1107         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1108         Renamed from _LIB_VERSION.
1109         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1110
1111 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
1112
1113         * math/libm-test.inc (struct test_fff_f_data): New type.
1114         (RUN_TEST_LOOP_fff_f): New macro.
1115         (fma_test_data): New variable.
1116         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1117         (fma_towardzero_test_data): New variable.
1118         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1119         (fma_downward_test_data): New variable.
1120         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1121         (fma_upward_test_data): New variable.
1122         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1123
1124         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1125         (struct test_c_c_data): New type.
1126         (RUN_TEST_LOOP_c_c): New macro.
1127         (cacos_test_data): New variable.
1128         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1129         (cacosh_test_data): New variable.
1130         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1131         (casin_test_data): New variable.
1132         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1133         (casinh_test_data): New variable.
1134         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1135         (catan_test_data): New variable.
1136         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1137         (catanh_test_data): New variable.
1138         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1139         (ccos_test_data): New variable.
1140         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1141         (ccosh_test_data): New variable.
1142         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1143         (cexp_test_data): New variable.
1144         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1145         (clog_test_data): New variable.
1146         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1147         (clog10_test_data): New variable.
1148         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1149         (conj_test_data): New variable.
1150         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1151         (cproj_test_data): New variable.
1152         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1153         (csin_test_data): New variable.
1154         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1155         (csinh_test_data): New variable.
1156         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1157         (csqrt_test_data): New variable.
1158         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1159         (ctan_test_data): New variable.
1160         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1161         (ctan_tonearest_test_data): New variable.
1162         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1163         (ctan_towardzero_test_data): New variable.
1164         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1165         (ctan_downward_test_data): New variable.
1166         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1167         (ctan_upward_test_data): New variable.
1168         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1169         (ctanh_test_data): New variable.
1170         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1171         (ctanh_tonearest_test_data): New variable.
1172         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1173         (ctanh_towardzero_test_data): New variable.
1174         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1175         (ctanh_downward_test_data): New variable.
1176         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1177         (ctanh_upward_test_data): New variable.
1178         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1179         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1180         of BUILD_COMPLEX.
1181
1182         * math/libm-test.inc (struct test_ff_f_data): New type.
1183         (struct test_ff_f_data_nexttoward): Likewise.
1184         (RUN_TEST_LOOP_2_f): New macro.
1185         (RUN_TEST_LOOP_ff_f): Likewise.
1186         (atan2_test_data): New variable.
1187         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1188         (copysign_test_data): New variable.
1189         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1190         (fdim_test_data): New variable.
1191         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1192         (fmax_test_data): New variable.
1193         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1194         (fmin_test_data): New variable.
1195         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1196         (fmod_test_data): New variable.
1197         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1198         (hypot_test_data): New variable.
1199         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1200         (nextafter_test_data): New variable.
1201         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1202         (nexttoward_test_data): New variable.
1203         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1204         (pow_test_data): New variable.
1205         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1206         (pow_tonearest_test_data): New variable.
1207         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1208         (pow_towardzero_test_data): New variable.
1209         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1210         (pow_downward_test_data): New variable.
1211         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1212         (pow_upward_test_data): New variable.
1213         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1214         (remainder_test_data): New variable.
1215         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1216         (scalb_test_data): New variable.
1217         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1218         * sysdeps/i386/fpu/libm-test-ulps: Update.
1219
1220 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
1221
1222         * math/libm-test.inc (fma_test): Use max_value instead of local
1223         variable fltmax.
1224         (nextafter_test): Likewise.
1225
1226         * math/libm-test.inc (acos_towardzero_test_data): New variable.
1227         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1228         (acos_downward_test_data): New variable.
1229         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1230         (acos_upward_test_data): New variable.
1231         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1232         (acosh_test_data): New variable.
1233         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1234         (asin_test_data): New variable.
1235         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1236         (asin_tonearest_test_data): New variable.
1237         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1238         (asin_towardzero_test_data): New variable.
1239         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1240         (asin_downward_test_data): New variable.
1241         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1242         (asin_upward_test_data): New variable.
1243         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1244         (asinh_test_data): New variable.
1245         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1246         (atan_test_data): New variable.
1247         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1248         (atanh_test_data): New variable.
1249         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1250         (cbrt_test_data): New variable.
1251         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1252         (ceil_test_data): New variable.
1253         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1254         (cos_test_data): New variable.
1255         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1256         (cos_tonearest_test_data): New variable.
1257         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1258         (cos_towardzero_test_data): New variable.
1259         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1260         (cos_downward_test_data): New variable.
1261         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1262         (cos_upward_test_data): New variable.
1263         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1264         (cosh_test_data): New variable.
1265         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1266         (cosh_tonearest_test_data): New variable.
1267         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1268         (cosh_towardzero_test_data): New variable.
1269         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1270         (cosh_downward_test_data): New variable.
1271         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1272         (cosh_upward_test_data): New variable.
1273         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1274         (erf_test_data): New variable.
1275         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1276         (erfc_test_data): New variable.
1277         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1278         (exp_test_data): New variable.
1279         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1280         (exp_tonearest_test_data): New variable.
1281         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1282         (exp_towardzero_test_data): New variable.
1283         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1284         (exp_downward_test_data): New variable.
1285         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1286         (exp_upward_test_data): New variable.
1287         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1288         (exp10_test_data): New variable.
1289         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1290         (exp2_test_data): New variable.
1291         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1292         (expm1_test_data): New variable.
1293         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1294         (fabs_test_data): New variable.
1295         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1296         (floor_test_data): New variable.
1297         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1298         (j0_test_data): New variable.
1299         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1300         (j1_test_data): New variable.
1301         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1302         (log_test_data): New variable.
1303         (log_test): Run tests with RUN_TEST_LOOP_f_f.
1304         (log10_test_data): New variable.
1305         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1306         (log1p_test_data): New variable.
1307         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1308         (log2_test_data): New variable.
1309         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1310         (logb_test_data): New variable.
1311         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1312         (logb_downward_test_data): New variable.
1313         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1314         (nearbyint_test_data): New variable.
1315         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1316         (rint_test_data): New variable.
1317         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1318         (rint_tonearest_test_data): New variable.
1319         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1320         (rint_towardzero_test_data): New variable.
1321         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1322         (rint_downward_test_data): New variable.
1323         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1324         (rint_upward_test_data): New variable.
1325         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1326         (round_test_data): New variable.
1327         (round_test): Run tests with RUN_TEST_LOOP_f_f.
1328         (sin_test_data): New variable.
1329         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1330         (sin_tonearest_test_data): New variable.
1331         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1332         (sin_towardzero_test_data): New variable.
1333         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1334         (sin_downward_test_data): New variable.
1335         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1336         (sin_upward_test_data): New variable.
1337         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1338         (sinh_test_data): New variable.
1339         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1340         (sinh_tonearest_test_data): New variable.
1341         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1342         (sinh_towardzero_test_data): New variable.
1343         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1344         (sinh_downward_test_data): New variable.
1345         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1346         (sinh_upward_test_data): New variable.
1347         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1348         (sqrt_test_data): New variable.
1349         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1350         (tan_test_data): New variable.
1351         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1352         (tan_tonearest_test_data): New variable.
1353         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1354         (tan_towardzero_test_data): New variable.
1355         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1356         (tan_downward_test_data): New variable.
1357         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1358         (tan_upward_test_data): New variable.
1359         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1360         (tanh_test_data): New variable.
1361         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1362         (tgamma_test_data): New variable.
1363         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1364         (trunc_test_data): New variable.
1365         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1366         (y0_test_data): New variable.
1367         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1368         (y1_test_data): New variable.
1369         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1370         (significand_test_data): New variable.
1371         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1372
1373 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
1374
1375         [BZ #12387]
1376         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1377
1378 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
1379
1380         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1381
1382 2013-05-10  Andreas Jaeger  <aj@suse.de>
1383
1384         [BZ #15448]
1385         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1386         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1387
1388 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
1389
1390         * math/gen-libm-test.pl (adjust_arg): New function.
1391         (special_functions): Handle generating output in both functions
1392         and arrays.
1393         (parse_args): Likewise.
1394         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
1395         $in_func argument to parse_args.
1396         * math/libm-test.inc (struct test_f_f_data): New type.
1397         (IF_ROUND_INIT_): New macro.
1398         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1399         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1400         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1401         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1402         (ROUND_RESTORE_): Likewise.
1403         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1404         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1405         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1406         (ROUND_RESTORE_FE_UPWARD): Likewise.
1407         (RUN_TEST_LOOP_f_f): New macro.
1408         (acos_test_data): New variable.
1409         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1410         (acos_tonearest_test_data): New variable.
1411         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1412
1413 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1414
1415         * benchtests/bench-skeleton.c (startup): Fix coding style.
1416
1417 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
1418
1419         [BZ #6809]
1420         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1421         negative infinity argument.
1422         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1423         negative infinity argument.
1424         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1425         negative infinity argument.
1426         * math/libm-test.inc (tgamma_test): Expect errno to be set for
1427         domain errors.
1428
1429 2013-05-10  Florian Weimer  <fweimer@redhat.com>
1430
1431         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1432         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1433         * iconv/iconv_prog.c (main): Likewise.
1434         * locale/programs/charmap-dir.c (charmap_readdir)
1435         (fopen_uncompressed): Likewise.
1436         * locale/programs/locfile.c (siblings_uncached)
1437         (write_locale_data): Use lstat64 instead of lstat.
1438         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1439         stat.
1440
1441 2013-05-10  Andreas Jaeger  <aj@suse.de>
1442
1443         [BZ #15395]
1444         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1445         localization.
1446         Include <locale.h>.
1447
1448 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
1449
1450         * elf/dl-close.c (_dl_close_worker): Add comments.
1451
1452 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
1453
1454         [BZ #15359]
1455         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1456         high part of pi/2.
1457         (__ieee754_rem_pio2l): Update comments.
1458
1459         [BZ #15429]
1460         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1461         high part of pi/2.
1462         (__ieee754_rem_pio2l): Update comments.
1463
1464         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1465         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1466
1467         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1468         M_PI_4l.
1469
1470         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1471         (M_PI_34_LOG10El): Likewise.
1472         (M_PI2_LOG10El): Likewise.
1473         (M_PI4_LOG10El): Likewise.
1474         (M_PI_LOG10El): Likewise.
1475
1476 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1477
1478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1479
1480 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
1481
1482         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1483         (MINUS_ZERO_INIT): Likewise.
1484         (PLUS_INFTY_INIT): Likewise.
1485         (MINUS_INFTY_INIT): Likewise.
1486         (QNAN_VALUE_INIT): Likewise.
1487         (MAX_VALUE_INIT): Likewise.
1488         (MIN_VALUE_INIT): Likewise.
1489         (MIN_SUBNORM_VALUE_INIT): Likewise.
1490         (plus_zero): Initialize with PLUS_ZERO_INIT.
1491         (minus_zero): Initialize with MINUS_ZERO_INIT.
1492         (plus_infty): Initialize with PLUS_INFTY_INIT.
1493         (minus_infty): Initialize with MINUS_INFTY_INIT.
1494         (qnan_value): Initialize with QNAN_VALUE_INIT.
1495         (max_value): Initialize with MAX_VALUE_INIT.
1496         (min_value): Initialize with MIN_VALUE_INIT.
1497         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1498
1499         * math/libm-test.inc (RUN_TEST_if_f): New macro.
1500         (jn_test): Use TEST_if_f instead of TEST_ff_f.
1501         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1502         (yn_test): Use TEST_if_f instead of TEST_ff_f.
1503
1504         * math/libm-test.inc (RUN_TEST_f_f): New macro.
1505         (RUN_TEST_2_f): Likewise.
1506         (RUN_TEST_ff_f): Likewise.
1507         (RUN_TEST_fi_f): Likewise.
1508         (RUN_TEST_fl_f): Likewise.
1509         (RUN_TEST_fff_f): Likewise.
1510         (RUN_TEST_c_f): Likewise.
1511         (RUN_TEST_f_f1): Likewise.
1512         (RUN_TEST_fF_f1): Likewise.
1513         (RUN_TEST_fI_f1): Likewise.
1514         (RUN_TEST_ffI_f1): Likewise.
1515         (RUN_TEST_c_c): Likewise.
1516         (RUN_TEST_cc_c): Likewise.
1517         (RUN_TEST_f_i): Likewise.
1518         (RUN_TEST_f_i_tg): Likewise.
1519         (RUN_TEST_ff_i_tg): Likewise.
1520         (RUN_TEST_f_b): Likewise.
1521         (RUN_TEST_f_b_tg): Likewise.
1522         (RUN_TEST_f_l): Likewise.
1523         (RUN_TEST_f_L): Likewise.
1524         (RUN_TEST_sincos): Likewise.
1525         * math/gen-libm-test.pl (new_test): Take new argument to indicate
1526         whether to show exceptions.  Do not include ");\n" in return
1527         value.
1528         (special_functions): Output call to RUN_TEST_sincos instead of
1529         check_float calls.  Update calls to new_test.
1530         (parse_args): Output call to single RUN_TEST_* macro instead of
1531         check_* calls and other assignments.  Update calls to new_test.
1532
1533         [BZ #2546]
1534         [BZ #2560]
1535         [BZ #5159]
1536         [BZ #15426]
1537         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1538         input to result for tgamma overflow.
1539         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1540         (gamma_coeff): New variable.
1541         (NCOEFF): New macro.
1542         (gamma_positive): New function.
1543         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1544         underflow here.  Use gamma_positive instead of exp (lgamma) for
1545         other arguments.
1546         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1547         (gamma_coeff): New variable.
1548         (NCOEFF): New macro.
1549         (gammaf_positive): New function.
1550         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1551         underflow here.  Use gamma_positive instead of exp (lgamma) for
1552         other arguments.
1553         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1554         (gamma_coeff): New variable.
1555         (NCOEFF): New macro.
1556         (gammal_positive): New function.
1557         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1558         underflow here.  Use gamma_positive instead of exp (lgamma) for
1559         other arguments.
1560         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1561         (gamma_coeff): New variable.
1562         (NCOEFF): New macro.
1563         (gammal_positive): New function.
1564         (__ieee754_gammal_r): Handle positive infinity, overflow and
1565         underflow here.  Handle NaN the same as positive infinity.  Remove
1566         check x < 0xffffffff for negative integers.  Use gamma_positive
1567         instead of exp (lgamma) for other arguments.
1568         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1569         (gamma_coeff): New variable.
1570         (NCOEFF): New macro.
1571         (gammal_positive): New function.
1572         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1573         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1574         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1575         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1576         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1577         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1578         * sysdeps/generic/math_private.h (__gamma_productf): New
1579         prototype.
1580         (__gamma_product): Likewise.
1581         (__gamma_productl): Likewise.
1582         * math/Makefile (libm-calls): Add gamma_product.
1583         * math/libm-test.inc (tgamma_test): Add more tests.
1584         * sysdeps/i386/fpu/libm-test-ulps: Update.
1585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1586
1587 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
1588
1589         * benchtests/bench-skeleton.c (main): Preheat CPU.
1590
1591 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
1592
1593         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1594
1595 2013-05-07  Roland McGrath  <roland@hack.frob.com>
1596
1597         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1598         and _dl_skip_args_internal.
1599
1600 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
1601
1602         * manual/message.texi (Message Translation): Talk about users.
1603         Message to key mapping impacts design.
1604
1605 2013-05-06  Roland McGrath  <roland@hack.frob.com>
1606
1607         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1608
1609         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1610
1611         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1612         * sysdeps/wordsize-64/glob64.c: ... here.
1613
1614         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1615         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1616         New macros.
1617
1618         * debug/getlogin_r_chk.c: Moved to ...
1619         * login/getlogin_r_chk.c: ... here.
1620         * debug/Makefile (routines): Move getlogin_r_chk to ...
1621         * login/Makefile (routines): ... here.
1622         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1623         * login/Versions (libc: GLIBC_2.4): ... here.
1624
1625         * io/poll.c (__poll): Renamed from poll.
1626         Add libc_hidden_def.
1627         (poll): Define as weak alias.
1628
1629         * debug/ptsname_r_chk.c: Moved to ...
1630         * login/ptsname_r_chk.c: ... here.
1631         * debug/Makefile (routines): Move ptsname_r_chk to ...
1632         * login/Makefile (routines): ... here.
1633         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1634         * login/Versions (libc: GLIBC_2.4): ... here.
1635
1636         * posix/getlogin.c: Moved to ...
1637         * login/getlogin.c: ... here.
1638         * posix/getlogin_r.c: Moved to ...
1639         * login/getlogin_r.c: ... here.
1640         * posix/getlogin_r.c: Moved to ...
1641         * login/getlogin_r.c: ... here.
1642         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1643         * login/Makefile (routines): ... here.
1644         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1645         * login/Versions (libc: GLIBC_2.0): ... here.
1646
1647         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1648         (setrlimit): Define as weak alias.
1649
1650         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1651         Call __ names for open, ftruncate, and close.
1652         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1653         (truncate): Define as weak alias.
1654
1655 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
1656
1657         * math/gen-libm-test.pl (parse_args): Initialize x before each
1658         test of frexp, modf and remquo.
1659
1660         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1661         test signgam value.
1662
1663 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1664
1665         [BZ #15418]
1666         [BZ #15419]
1667         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1668         internal tests.
1669         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1670
1671 2013-05-06  Roland McGrath  <roland@hack.frob.com>
1672
1673         * elf/dl-writev.h: New file.
1674         * elf/dl-misc.c: Include it.
1675         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1676         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1677
1678 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
1679
1680         * math/libm-test.inc (noXFails): Remove variable.
1681         (noXPasses): Likewise.
1682         (BUILD_COMPLEX_INT): Remove macro.
1683         (print_screen): Remove xfail argument.
1684         (print_screen_max_error): Likewise.
1685         (update_stats): Likewise.
1686         (print_max_error): Likewise.  Update calls to other affected
1687         functions.
1688         (print_complex_max_error): Likewise.
1689         (test_single_exception): Update calls to print_screen.
1690         (test_single_errno): Likewise.
1691         (check_float_internal): Remove xfail argument.  Update calls to
1692         other affected functions.
1693         (check_float): Likewise.
1694         (check_complex): Likewise.
1695         (check_int): Likewise.
1696         (check_long): Likewise.
1697         (check_bool): Likewise.
1698         (check_longlong): Likewise.
1699         (main): Don't print noXFails and noXPasses.
1700         * math/gen-libm-test.pl (top level): Don't mention expected
1701         failure handling in comment.
1702         (new_test): Don't handle expected failures.
1703         (parse_args): Don't mention expected failure handling in comment.
1704         (generate_testfile): Don't handle expected failures.
1705         (parse_ulps): Likewise.
1706         (print_ulps_file): Likewise.
1707         (get_failure): Remove function.
1708         (output_test): Don't handle expected failures.
1709         * make/README.libm-test: Don't mention expected failure handling.
1710
1711         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
1712         (minus_zero): Likewise.
1713         (plus_infty): Likewise.
1714         (minus_infty): Likewise.
1715         (qnan_value): Likewise.
1716         (max_value): Likewise.
1717         (min_value): Likewise.
1718         (min_subnorm_value): Likewise.
1719         (initialize): Do not initialize those variables dynamically.
1720
1721 2013-05-03  Roland McGrath  <roland@hack.frob.com>
1722
1723         * io/open.c (__open_2): Moved to ...
1724         * io/open_2.c: ... this new file.
1725         * io/open64.c (__open64_2): Moved to ...
1726         * io/open64_2.c: ... this new file.
1727         * io/openat.c (__openat_2): Moved to ...
1728         * io/openat_2.c: ... this new file.
1729         * io/openat64.c (__openat64_2): Moved to ...
1730         * io/openat64_2.c: ... this new file.
1731         * io/Makefile (routines): Add them.
1732         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1733         * sysdeps/unix/sysv/linux/open_2.c: File removed.
1734         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1735         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1736         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1737         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1738         (__openat64): Add hidden_ver.
1739         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1740         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1741
1742         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1743         Separately conditionalize setting of GLRO(dl_sysinfo) so
1744         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1745         as well, but the actual setting is only under [NEED_DL_SYSINFO].
1746
1747 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1748
1749         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1750         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1751         definition.
1752         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1753         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1754         (_libc_vdso_platform_setup): Add __vdso_time initialization.
1755         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1756         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1757
1758 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
1759
1760         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1761         test signgam value.
1762
1763         * math/libm-test.inc (hypot_test): Do not use
1764         IGNORE_ZERO_INF_SIGN.
1765
1766 2013-05-03  Andreas Jaeger  <aj@suse.de>
1767
1768         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1769         Linux 3.9.
1770         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1771         (PF_MAX): Adjust for VSOCK change.
1772
1773 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1774
1775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1776
1777 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
1778
1779         [BZ #15264]
1780         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1781         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1782         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1783
1784 2013-05-02  David S. Miller  <davem@davemloft.net>
1785
1786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1787
1788 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
1789
1790         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1791
1792 2013-05-01  Roland McGrath  <roland@hack.frob.com>
1793
1794         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1795
1796 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
1797
1798         [BZ #14952]
1799         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1800         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1801         Use __attribute__ ((__gnu_inline__)).
1802         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1803         Don't use __attribute__ ((__gnu_inline__)).
1804
1805 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
1806
1807         [BZ #15423]
1808         * math/s_catan.c (__catan): Handle small real or imaginary part of
1809         input specially to avoid spurious underflow.
1810         * math/s_catanf.c (__catanf): Likewise.
1811         * math/s_catanh.c (__catanh): Likewise.
1812         * math/s_catanhf.c (__catanhf): Likewise.
1813         * math/s_catanhl.c (__catanhl): Likewise.
1814         * math/s_catanl.c (__catanl): Likewise.
1815         * math/libm-test.inc (catan_test): Add more tests.
1816         (catanh_test): Likewise.
1817         * sysdeps/i386/fpu/libm-test-ulps: Update.
1818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1819
1820 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1821
1822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1823
1824 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
1825
1826         [BZ #15416]
1827         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1828         accurately for denominator in atan2.
1829         * math/s_catanf.c (__catanf): Likewise.
1830         * math/s_catanh.c (__catanh): Likewise.
1831         * math/s_catanhf.c (__catanhf): Likewise.
1832         * math/s_catanhl.c (__catanhl): Likewise.
1833         * math/s_catanl.c (__catanl): Likewise.
1834         * math/libm-test.inc (catan_test): Add more tests.
1835         (catanh_test): Likewise.
1836         * sysdeps/i386/fpu/libm-test-ulps: Update.
1837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1838
1839 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1840
1841         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1842
1843         * benchtests/Makefile (bench): Remove slow benchmarks.
1844         * benchtests/atan-inputs: Add slow benchmark inputs.
1845         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1846         (BENCH_FUNC): Accept variant offset.
1847         (VARIANT): Define.
1848         * benchtests/bench-skeleton.c (main): Run benchmark for each
1849         variant.
1850         * benchtests/cos-inputs: Add slow benchmark inputs.
1851         * benchtests/exp-inputs: Likewise.
1852         * benchtests/pow-inputs: Likewise.
1853         * benchtests/sin-inputs: Likewise.
1854         * benchtests/slowatan-inputs: Remove.
1855         * benchtests/slowatan.c: Remove.
1856         * benchtests/slowcos-inputs: Remove.
1857         * benchtests/slowcos.c: Remove.
1858         * benchtests/slowexp-inputs: Remove.
1859         * benchtests/slowexp.c: Remove.
1860         * benchtests/slowpow-inputs: Remove.
1861         * benchtests/slowpow.c: Remove.
1862         * benchtests/slowsin-inputs: Remove.
1863         * benchtests/slowsin.c: Remove.
1864         * benchtests/slowtan-inputs: Remove.
1865         * benchtests/slowtan.c: Remove.
1866         * benchtests/tan-inputs: Add slow benchmark inputs.
1867         * scripts/bench.pl: Parse comments and directives.
1868
1869         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
1870         in CPPFLAGS.
1871         ($(objpfx)bench-%.c): Remove *-ITER.
1872         * benchtests/bench-modf.c: Remove definition of ITER.
1873         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1874         (main): Loop for DURATION seconds instead of fixed number of
1875         iterations.
1876         * scripts/bench.pl: Don't expect iterations in parameters.
1877
1878 2013-04-29  Roland McGrath  <roland@hack.frob.com>
1879
1880         * io/fchdir.c (__fchdir): Renamed from fchdir.
1881         (fchdir): Define as weak alias.
1882
1883 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
1884
1885         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1886         (ERRNO_EDOM): Likewise.
1887         (ERRNO_ERANGE): Likewise.
1888         (noErrnoTests): New variable.
1889         (init_max_error): Set errno to 0.
1890         (test_single_errno): New function.
1891         (test_errno): Likewise.
1892         (check_float_internal): Call test_errno.  Set errno to 0.
1893         (check_complex): Refer to errno tests in comment.
1894         (check_int): Call test_errno.  Set errno to 0.
1895         (check_long): Likewise.
1896         (check_bool): Likewise.
1897         (check_longlong): Likewise.
1898         (cos_test): Use ERRNO_* flags for errno tests instead of
1899         check_int.
1900         (expm1_test): Likewise.
1901         (fmod_test): Likewise.
1902         (ilogb_test): Likewise.
1903         (lgamma_test): Likewise.
1904         (pow_test): Likewise.
1905         (remainder_test): Likewise.
1906         (sin_test): Likewise.
1907         (tan_test): Likewise.
1908         (yn_test): Likewise.
1909         (initialize): Set errno to 0.
1910         (main): Print number of errno tests.
1911         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1912
1913 2013-04-29  Andreas Jaeger  <aj@suse.de>
1914
1915         [BZ #15084]
1916         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1917         and RES_USEVC.
1918
1919         [BZ #15085]
1920         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1921         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1922         unimplemented.
1923
1924         [BZ #15380]
1925         * stdlib/random.c (__initstate): Return NULL if
1926         __initstate fails.
1927
1928         [BZ #15086]
1929         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1930         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1931         RES_SNGLKUPREOP.
1932
1933 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1934
1935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1936
1937 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
1938
1939         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1940         of individual tests.
1941         (casin_test): Likewise.
1942         (casinh_test): Likewise.
1943
1944 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
1945
1946         [BZ #15409]
1947         * math/s_catan.c (__catan): Handle arguments with large real or
1948         imaginary part separately without squaring.
1949         * math/s_catanf.c (__catanf): Likewise.
1950         * math/s_catanh.c (__catanh): Likewise.
1951         * math/s_catanhf.c (__catanhf): Likewise.
1952         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1953         and redefine.
1954         (__catanhl): Handle arguments with large real or imaginary part
1955         separately without squaring.
1956         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1957         and redefine.
1958         (__catanl): Handle arguments with large real or imaginary part
1959         separately without squaring.
1960         * math/libm-test.inc (catan_test): Add more tests.
1961         (catanh_test): Likewise.
1962         * sysdeps/i386/fpu/libm-test-ulps: Update.
1963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1964
1965 2013-04-27  Andreas Jaeger  <aj@suse.de>
1966
1967         [BZ #15007]
1968         * stdlib/stdlib.h: Update guards for qecvt.
1969         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1970         <stdlib.h>.
1971
1972 2013-04-27  Allan McRae  <allan@archlinux.org>
1973
1974         * sysdeps/i386/fpu/libm-test-ulps: Update.
1975
1976 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
1977
1978         [BZ #15406]
1979         * math/s_catan.c: Include <float.h>.
1980         (__catan): Ensure underflow exception occurs for underflowed
1981         result.
1982         * math/s_catanf.c: Include <float.h>.
1983         (__catanf): Ensure underflow exception occurs for underflowed
1984         result.
1985         * math/s_catanh.c: Include <float.h>.
1986         (__catanh): Ensure underflow exception occurs for underflowed
1987         result.
1988         * math/s_catanhf.c: Include <float.h>.
1989         (__catanhf): Ensure underflow exception occurs for underflowed
1990         result.
1991         * math/s_catanhl.c: Include <float.h>.
1992         (__catanhl): Ensure underflow exception occurs for underflowed
1993         result.
1994         * math/s_catanl.c: Include <float.h>.
1995         (__catanl): Ensure underflow exception occurs for underflowed
1996         result.
1997         * math/libm-test.inc (catan_test): Add more tests.
1998         (catanh_test): Likewise.
1999
2000         [BZ #15405]
2001         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2002         underflowed result.
2003         * math/s_ccoshf.c (__ccoshf): Likewise.
2004         * math/s_ccoshl.c (__ccoshl): Likewise.
2005         * math/s_csin.c (__csin): Likewise.
2006         * math/s_csinf.c (__csinf): Likewise.
2007         * math/s_csinh.c (__csinh): Likewise.
2008         * math/s_csinhf.c (__csinhf): Likewise.
2009         * math/s_csinhl.c (__csinhl): Likewise.
2010         * math/s_csinl.c (__csinl): Likewise.
2011         * math/libm-test.inc (ccos_test): Add more tests.
2012         (ccosh_test): Likewise.
2013         (csin_test): Likewise.
2014         (csinh_test): Likewise.
2015
2016 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2017
2018         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2019         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2020         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2021         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2022         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2023         powerpc/power5+/fpu folders.
2024         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2025
2026
2027 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
2028
2029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2030
2031 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
2032
2033         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2034         additions to variable.
2035         [$(config-machine) = x86_64] (modules-names): Likewise.
2036         ($(objpfx)tst-audit3): Remove dependency.
2037         ($(objpfx)tst-audit3.out): Likewise.
2038         ($(objpfx)tst-audit4): Likewise.
2039         ($(objpfx)tst-audit4.out): Likewise.
2040         ($(objpfx)tst-audit5): Likewise.
2041         ($(objpfx)tst-audit5.out): Likewise.
2042         ($(objpfx)tst-audit6): Likewise.
2043         ($(objpfx)tst-audit6.out): Likewise.
2044         ($(objpfx)tst-audit7): Likewise.
2045         ($(objpfx)tst-audit7.out): Likewise.
2046         (tst-audit3-ENV): Remove variable.
2047         (tst-audit4-ENV): Likewise.
2048         (tst-audit5-ENV): Likewise.
2049         (tst-audit6-ENV): Likewise.
2050         (tst-audit7-ENV): Likewise.
2051         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2052         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2053         addition to variable.
2054         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2055         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2056         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2057         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2058         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2059         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2060         tst-audit3, tst-audit4 and tst-audit5.
2061         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2062         tst-audit6 and tst-audit7.
2063         [$(subdir) = elf] (modules-names): Add audit modules for those
2064         tests.
2065         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2066         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2067         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2068         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2069         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2070         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2071         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2072         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2073         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2074         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2075         [$(subdir) = elf] (tst-audit3-ENV): New variable.
2076         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2077         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2078         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2079         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2080         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2081         Likewise.
2082         [$(subdir) = elf && $(config-cflags-avx) = yes]
2083         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2084         [$(subdir) = elf && $(config-cflags-avx) = yes]
2085         (CFLAGS-tst-auditmod4a.c): Likewise.
2086         [$(subdir) = elf && $(config-cflags-avx) = yes]
2087         (CFLAGS-tst-auditmod4b.c): Likewise.
2088         [$(subdir) = elf && $(config-cflags-avx) = yes]
2089         (CFLAGS-tst-auditmod6b.c): Likewise.
2090         [$(subdir) = elf && $(config-cflags-avx) = yes]
2091         (CFLAGS-tst-auditmod6c.c): Likewise.
2092         [$(subdir) = elf && $(config-cflags-avx) = yes]
2093         (CFLAGS-tst-auditmod7b.c): Likewise.
2094         * elf/tst-audit3.c: Move to ...
2095         * sysdeps/x86_64/tst-audit3.c: ... here.
2096         * elf/tst-audit4.c: Move to ...
2097         * sysdeps/x86_64/tst-audit4.c: ... here.
2098         * elf/tst-audit5.c: Move to ...
2099         * sysdeps/x86_64/tst-audit5.c: ... here.
2100         * elf/tst-audit6.c: Move to ...
2101         * sysdeps/x86_64/tst-audit6.c: ... here.
2102         * elf/tst-audit7.c: Move to ...
2103         * sysdeps/x86_64/tst-audit7.c: ... here.
2104         * elf/tst-auditmod3a.c: Move to ...
2105         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2106         * elf/tst-auditmod3b.c: Move to ...
2107         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2108         * elf/tst-auditmod4a.c: Move to ...
2109         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2110         * elf/tst-auditmod4b.c: Move to ...
2111         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2112         * elf/tst-auditmod5a.c: Move to ...
2113         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2114         * elf/tst-auditmod5b.c: Move to ...
2115         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2116         * elf/tst-auditmod6a.c: Move to ...
2117         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2118         * elf/tst-auditmod6b.c: Move to ...
2119         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2120         * elf/tst-auditmod6c.c: Move to ...
2121         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2122         * elf/tst-auditmod7a.c: Move to ...
2123         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2124         * elf/tst-auditmod7b.c: Move to ...
2125         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2126
2127 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
2128
2129         [BZ #15366]
2130         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2131         define unconditionally.
2132         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2133         define unconditionally.
2134         (INT8_C, INT16_C, etc.): Likewise.
2135
2136 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
2137
2138         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2139         __ehdr_start with hidden visibility.
2140
2141         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2142
2143 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
2144
2145         * math/libm-test.inc (cos_test): Use accurate hex constants.
2146         (sincost_test): Likewise.
2147
2148 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
2149
2150         * math/libm-test.inc (catan_test): Add more tests.
2151         (catanh_test): Likewise.
2152
2153         * math/s_catanf.c (__catanf): Use suffixed floating-point
2154         constants.
2155         * math/s_catanhf.c (__catanhf): Likewise.
2156         * math/s_catanhl.c (__catanhl): Likewise.
2157         * math/s_catanl.c (__catanl): Likewise.
2158
2159         [BZ #15394]
2160         * math/s_catan.c (__catan): Calculate imaginary part of result
2161         with log1p not log unless computing log of number close to 0.
2162         * math/s_catanf.c (__catanf): Likewise.
2163         * math/s_catanl.c (__catanl): Likewise.
2164         * math/s_catanh.c (__catanh): Calculate real part of result with
2165         log1p not log unless computing log of number close to 0.
2166         * math/s_catanhf.c (__catanhf): Likewise.
2167         * math/s_catanhl.c (__catanhl): Likewise.
2168         * math/libm-test.inc (catan_test): Add more tests.
2169         (catanh_test): Likewise.
2170         * sysdeps/i386/fpu/libm-test-ulps: Update.
2171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2172
2173 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2174
2175         * benchtests/Makefile: Mention files in which fast and slow
2176         paths of math functions are implemented.
2177
2178 2013-04-23  Roland McGrath  <roland@hack.frob.com>
2179
2180         * sysdeps/posix/timespec_get.c: New file.
2181
2182 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2183
2184         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2185         POWER.
2186         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2187         for POWER.
2188         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2189         powerpc/power5/fpu folders.
2190         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2191         * benchtests/Makefile: Add modf testcase.
2192         * benchtests/bench-modf.c: New file: Benchmark test for mo
2193
2194 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2195
2196         [BZ #14888]
2197         * time/Makefile (tests): Add tst-strptime-whitespace.
2198         * time/strptime_l.c (get_number): Use ISSPACE.
2199         (__strptime_internal): Likewise.
2200         * time/tst-strptime-whitespace.c: New test case.
2201
2202 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
2203
2204         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2205         member.
2206         (_nss_files_init): Set it here.
2207
2208 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
2209
2210         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2211         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2212         unsigned.
2213
2214 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
2215
2216         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2217
2218 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2219
2220         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2221         size just once.
2222
2223 2013-04-21  David S. Miller  <davem@davemloft.net>
2224
2225         * po/ru.po: Update Russion translation from translation project.
2226
2227 2013-04-17  Adam Conrad  <adconrad@0c3.net>
2228
2229         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2230         and setfsgid.
2231
2232 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
2233
2234         * configure.in: Remove i386 configure warning. Remove i386 case.
2235         * configure: Regenerate.
2236         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2237         Add example to error message.
2238         * sysdeps/i386/configure: Regenerate.
2239
2240 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2241
2242         * benchtests/Makefile (bench): Add cos, tan, slowcos and
2243         slowtan.
2244         * benchtests/cos-inputs: New file.
2245         * benchtests/slowcos-inputs: New file.
2246         * benchtests/slowcos.c: New file.
2247         * benchtests/slowtan-inputs: New file.
2248         * benchtests/slowtan.c: New file.
2249         * benchtests/tan-inputs: New file.
2250
2251 2013-04-16  Roland McGrath  <roland@hack.frob.com>
2252
2253         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2254         considered kosher.
2255
2256 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2257
2258         * benchtests/Makefile: Include cppflags-iterator.mk to add
2259         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2260
2261         * Makefile.in (bench-clean): New target.
2262         * benchtests/Makefile (bench-clean): Likewise.
2263
2264 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
2265
2266         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2267
2268 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
2269
2270         * stdio-common/tstdiomisc.c: Fix coding-style violation.
2271
2272 2013-04-15  Andreas Schwab  <schwab@suse.de>
2273
2274         * nscd/grpcache.c (cache_addgr): Properly check for short write.
2275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2276         * nscd/pwdcache.c (cache_addpw): Likewise.
2277         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
2278         more than recsize.
2279
2280 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2281
2282         * benchtests/Makefile (bench): Write all output to
2283         bench-out.tmp together.
2284
2285 2013-04-15  Andreas Schwab  <schwab@suse.de>
2286
2287         * nscd/nscd.c (main): Don't fork again after closing files.
2288
2289 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2290
2291         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2292
2293         * benchtests/Rules (bench-deps): Collect dependencies into a
2294         single variable.  Add Makefile to dependencies.
2295         ($(objpfx)bench-%.c): Depend on bench-deps.
2296
2297 2013-04-12  Roland McGrath  <roland@hack.frob.com>
2298             Xavier Roche  <roche+kml2@exalead.com>
2299
2300         [BZ #15361]
2301         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2302         just that it's a file descriptor.
2303         * manual/llio.texi (Synchronizing AIO Operations): Update description
2304         for EBADF error from aio_fsync.
2305
2306 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2307
2308         * Rules (bench): Move target definition...
2309         * benchtests/Makefile: ... here.
2310
2311 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
2312
2313         * math/libm-test.inc (cos_test): Fix PI/2 test.
2314         (sincos_test): Likewise.
2315         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2316         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2317
2318 2013-04-11  Andreas Schwab  <schwab@suse.de>
2319
2320         [BZ #13988]
2321         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2322         accept exponent character only when digits were seen.
2323         * stdio-common/Makefile (tests): Add bug26.
2324         * stdio-common/bug26.c: New file.
2325
2326         [BZ #14293]
2327         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2328         non-freeable.
2329
2330 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2331
2332         * Makeconfig (rtld-prefix): Define built linker prefix.
2333         * Rules (run-bench): Use it.
2334         * math/Makefile (run-regen-ulps): Likewise.
2335
2336         * Rules (bench): Remove eval.
2337
2338 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2339             Roland McGrath  <roland@hack.frob.com>
2340             Ondrej Bilka  <neleai@seznam.cz>
2341
2342         [BZ #15346]
2343         * time/getdate.c: Include ctype.h and alloca.h.
2344         (__getdate_r): Trim leading and trailing spaces of input.
2345         * time/tst-getdate.c (tests): Add tests with leading and
2346         trailing spaces.
2347
2348 2013-04-08  Roland McGrath  <roland@hack.frob.com>
2349
2350         [BZ #14280]
2351         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2352         when computing value.
2353
2354 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2355
2356         * math/README.libm-test (How can I generate "libm-test-ulps"?):
2357         Use testrun.sh to run libm tests.
2358
2359         [BZ #15309]
2360         * elf/dl-open.c (dl_open_worker): memset all of seen array.
2361
2362 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
2363
2364         [BZ #15264]
2365         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2366
2367 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2368
2369         * Makefile.in (regen-ulps): New target.
2370         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2371         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2372         [ifneq (no,$(PERL)] (regen-ulps): New target.
2373         [ifeq (no,$(PERL)] (regen-ulps): New target.
2374         * math/libm-test.inc (ulps_file_name): Define.
2375         (output_dir): New variable.
2376         (options): Add "output-dir" option.
2377         (parse_opt): Handle 'o' case.
2378         (main): If output_dir is non-NULL use it as a prefix
2379         otherwise use "".
2380         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2381
2382 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2383
2384         [BZ #10060, #10062]
2385         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2386         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2387         fail configure if __sync_val_compare_and_swap is not inlined.
2388         * sysdeps/i386/configure: Regenerate.
2389         * configure.in: Build for i686 when configured for i386.
2390         * configure: Regenerate.
2391         * README: Remove i386 reference.
2392
2393 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
2394
2395         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2396         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2397
2398 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2399
2400         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2401         (lmsnanval): New variables.
2402         (F): Add conversion tests.
2403         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2404         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2405
2406         * stdio-common/tstdiomisc.c (F): Properly collect individual
2407         tests' results.
2408
2409         [BZ #14686, #15336]
2410         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2411         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2412         Instead, use input NaN values or generate a qNaN by arithmetic
2413         operation.  Also fix bugs to comply with the standard.
2414         * math/libm-test.inc (remainder_test): Add more tests.
2415
2416         [BZ #15335, #15342]
2417         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2418         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2419         input NaN values or generate a qNaN by arithmetic operation.
2420
2421         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2422         unreachable code.
2423
2424         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2425         definitions.
2426
2427 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
2428
2429         [BZ #14478]
2430         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2431         underflowed result.
2432         * math/s_cexpf.c (__cexpf): Likewise.
2433         * math/s_cexpl.c (__cexpl): Likewise.
2434         * math/libm-test.inc (cexp_test): Add more tests.
2435
2436 2013-04-03  Andreas Schwab  <schwab@suse.de>
2437
2438         [BZ #15330]
2439         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2440         order arrays from heap if bigger than alloca cutoff.
2441
2442 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
2443
2444         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2445         (SNAN_TESTS_double): Refer to GCC PR56831.
2446         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2447         GCC PR56828.
2448
2449 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2450
2451         * Rules (bench): Move bench.out after the run is complete.
2452
2453         * Rules (bench): Echo currently running benchmark.
2454
2455         * benchtests/Makefile (bench): Add atan and slowatan.
2456         * benchtests/atan-inputs: New file.
2457         * benchtests/slowatan-inputs: New file.
2458         * benchtests/slowatan.c: New file.
2459
2460         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2461         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2462         its value.
2463
2464         [BZ #15305]
2465         * sysdeps/unix/sysv/linux/kernel-features.h
2466         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2467         __ASSUME_XFS_RESTRICTED_CHOWN.
2468         * sysdeps/unix/sysv/linux/pathconf.c
2469         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2470         Save and restore errno.
2471
2472 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
2473
2474         [BZ #15327]
2475         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2476         arguments using __kernel_casinh.
2477         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2478         arguments using __kernel_casinhf.
2479         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2480         arguments using __kernel_casinhl.
2481         * math/libm-test.inc (cacosh_test): Add more tests.
2482         * sysdeps/i386/fpu/libm-test-ulps: Update.
2483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2484
2485 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2486
2487         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2489
2490         * bench/Makefile (bench): Add sin and slowsin.
2491         * benchtests/sin-inputs: New file.
2492         * benchtests/slowsin-inputs: New file.
2493         * benchtests/slowsin.c: New file.
2494
2495         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2496         (bench): Add slowexp and slowpow.
2497         (exp-ITER): Increase iterations.
2498         (pow-ITER): Likewise.
2499         * benchtests/exp-inputs: Change input.
2500         * benchtests/pow-inputs: Likewise.
2501         * benchtests/slowexp-inputs: New file.
2502         * benchtests/slowexp.c: New file.
2503         * benchtests/slowpow-inputs: New file.
2504         * benchtests/slowpow.c: New file.
2505
2506 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2507
2508         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2509         instructions.
2510         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2511         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2512         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2513         * benchtests/Makefile: Add rint benchtest.
2514         * benchtests/rint-inputs: Input for rint benchtest.
2515
2516 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2517
2518         * Versions.def (libm): Add GLIBC_2.18.
2519         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2520         hidden libm prototypes.
2521         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2522         * math/Makefile (libm-calls): Add s_issignaling.
2523         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2524         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
2525         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2526         declaration.
2527         * math/math.h [__USE_GNU] (issignaling): New macro.
2528         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2529         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2530         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2531         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2532         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2533         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2534         * manual/arith.texi (issignaling): New section.
2535         * manual/libm-err-tab.pl (@all_functions): Update comment.
2536         * math/gen-libm-test.pl (parse_args): Apply special handling for
2537         issignaling.
2538         * math/libm-test.inc (print_float, issignaling_test): New
2539         functions.
2540         (check_float_internal): Add issignaling checks.
2541         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2542         default definition.
2543         * sysdeps/powerpc/math-tests.h: New file.
2544         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2545         tests.
2546         * math/test-snan.c (TEST_FUNC): Likewise.
2547
2548 2013-03-30  David S. Miller  <davem@davemloft.net>
2549
2550         * po/de.po: Update from translation team.
2551
2552 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
2553
2554         [BZ #10357]
2555         * math/k_casinh.c (__kernel_casinh): Handle arguments with
2556         imaginary part less than 1.0 and real part less than 0.5
2557         specially.
2558         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2559         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2560         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2561         (cacos_test): Add more tests.
2562         (casin_test): Likewise.
2563         (casinh_test): Likewise.
2564         * sysdeps/i386/fpu/libm-test-ulps: Update.
2565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2566
2567 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2568
2569         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2570         ONE with its value.
2571
2572         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2573         (__pow_mp): Replace ONE and MONE with their values.
2574         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2575         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2576         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2577         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2578         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2579         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2580
2581         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2582
2583         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2584         (__pow_mp): Replace ZERO and MZERO with their values.
2585         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2586         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2587         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2588         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2589         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2590         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2591         (__sqr): Likewise.
2592
2593         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2594
2595         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2596
2597 2013-03-28  Roland McGrath  <roland@hack.frob.com>
2598
2599         * include/stdlib.h [!SHARED] (__call_tls_dtors):
2600         Declare with __attribute__ ((weak)).
2601         * stdlib/exit.c (__libc_atexit) [!SHARED]:
2602         Call __call_tls_dtors only if it's not NULL.
2603
2604 2013-03-28  Roland McGrath  <roland@hack.frob.com>
2605
2606         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2607         didn't do it already, then set _dl_phdr and _dl_phnum based on the
2608         magic __ehdr_start linker symbol if it's defined.
2609         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2610         them up here if it was already done.
2611
2612         * elf/dl-support.c (_dl_phdr): Make pointer to const.
2613         (_dl_aux_init): Use const in cast when setting it.
2614         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2615         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2616         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2617
2618         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2619         Declare them here.
2620         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2621         * csu/libc-tls.c: Nor here.
2622         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2623
2624         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2625         (__libc_message): Never call vsyslog.
2626
2627 2013-03-28  Alan Modra  <amodra@gmail.com>
2628
2629         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2630         Define as empty.
2631         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2632         Likewise.
2633
2634 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2635
2636         [BZ #15214]
2637         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2638         underflow.
2639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2640
2641 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2642
2643         [BZ #15304]
2644         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2645         Don't add gid passed as argument.
2646
2647         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2648
2649 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
2650
2651         [BZ #15307]
2652         * math/k_casinh.c (__kernel_casinh): Handle arguments with
2653         imaginary part between 1.0 and 1.5 and real part less than 0.5
2654         specially.
2655         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2656         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2657         * math/libm-test.inc (cacos_test): Add more tests.
2658         (casin_test): Likewise.
2659         (casinh_test): Likewise.
2660         * sysdeps/i386/fpu/libm-test-ulps: Update.
2661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2662
2663 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2664
2665         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2666         constants.
2667         (norm): Likewise.
2668         (denorm): Likewise.
2669         (__dbl_mp): Likewise.
2670         (add_magnitudes): Likewise.
2671         (sub_magnitudes): Likewise.
2672         (__add): Likewise.
2673         (__sub): Likewise.
2674         (__mul): Likewise.
2675         (__sqr): Likewise.
2676         (__inv): Likewise.
2677         (__dvd): Likewise.
2678
2679         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2680         commented code.
2681         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2682         (__dubcos): Likewise.
2683         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2684         (__ieee754_acos): Likewise.
2685         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2686         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2687         (__exp1): Likewise.
2688         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2690         (log1): Likewise.
2691         (my_log2): Likewise.
2692         (checkint): Likewise.
2693         * sysdeps/ieee754/dbl-64/e_remainder.c
2694         (__ieee754_remainder): Likewise.
2695         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2696         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2697         (bsloww): Likewise.
2698         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2699
2700         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2701         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2702         MANTISSA_STORE_T to store computations on mantissa.  Use
2703         macros for rounding and division.
2704         (denorm): Likewise.
2705         (__dbl_mp): Likewise.
2706         (add_magnitudes): Likewise.
2707         (sub_magnitudes): Likewise.
2708         (__mul): Likewise.
2709         (__sqr): Likewise.
2710         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
2711         powers of two in terms of TWOPOW macro.
2712         (mp_no): Make type of mantissa as MANTISSA_T.
2713         [!RADIXI]: Define RADIXI.
2714         [!TWO52]: Define TWO52.
2715         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2716
2717 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2718
2719         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2720         llroundl symbol when building for PPC32.
2721
2722 2013-03-24  Mark H Weaver  <mhw@netris.org>
2723
2724         * manual/arith.texi (Normalization Functions): Fix prototypes for
2725         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2726
2727 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2728
2729         [BZ #13889]
2730         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2731         high value to check if expl overflow.
2732         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2733         to check for underflow and overflow.
2734         * math/libm-test.inc: Add exp test.
2735
2736 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
2737
2738         [BZ #11120]
2739         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2740         with NOT_IN_libc.
2741
2742 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2743
2744         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2745         symbol.
2746
2747 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2748
2749         * math/gen-libm-test.pl (parse_args, special_functions): Properly
2750         wrap blocks consisting of several statements.
2751
2752         * sysdeps/generic/math-tests.h: New file.
2753         * sysdeps/i386/fpu/math-tests.h: Likewise.
2754         * math/test-snan.c: Include it.
2755         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2756
2757 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
2758
2759         [BZ #15285]
2760         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2761         (__ieee754_j0l): Do not improve calculations using cos of twice
2762         input for inputs above LDBL_MAX / 2.0L.
2763         (__ieee754_y0l): Likewise.
2764         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2765         (__ieee754_j1l): Do not improve calculations using cos of twice
2766         input for inputs above LDBL_MAX / 2.0L.
2767         (__ieee754_y1l): Likewise.
2768         * math/libm-test.inc (j0_test): Add another test.
2769         (j1_test): Likewise.
2770         (y0_test): Likewise.
2771         (y1_test): Likewise.
2772         * sysdeps/i386/fpu/libm-test-ulps: Update.
2773
2774 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2775
2776         * Rules ($(objpfx)bench-%.c): Include code from a C source
2777         file.
2778
2779 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
2780
2781         [BZ #15287]
2782         * math/k_casinh.c (__kernel_casinh): Handle arguments with
2783         imaginary part 1.0 and real part less than 0.5 specially.
2784         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2785         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2786         * math/libm-test.inc (cacos_test): Add more tests.
2787         (casin_test): Likewise.
2788         (casinh_test): Likewise.
2789         * sysdeps/i386/fpu/libm-test-ulps: Update.
2790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2791
2792 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2793
2794         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2795         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2796
2797 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
2798
2799         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2800         * config.make.in (config-cflags-sse4): Remove variable.
2801         (config-cflags-avx): Likewise.
2802         (config-cflags-sse2avx): Likewise.
2803         (config-cflags-novzeroupper): Likewise.
2804         (config-asflags-i686): Likewise.
2805         (have-mfma4): Likewise.
2806         (have-as-vis3): Likewise.
2807         (MIG): Likewise.
2808         * configure.in (MIG): Do not AC_SUBST.
2809         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2810         (libc_cv_cc_sse4): Do not AC_SUBST.
2811         (libc_cv_cc_avx): Likewise.
2812         (libc_cv_cc_sse2avx): Likewise.
2813         (libc_cv_cc_novzeroupper): Likewise.
2814         (libc_cv_cc_fma4): Likewise.
2815         (libc_cv_as_i686): Likewise.
2816         (libc_cv_sparc_as_vis3): Likewise.
2817         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2818         LIBC_CONFIG_VAR.
2819         (config-asflags-i686): Likewise.
2820         (config-cflags-avx): Likewise.
2821         (config-cflags-sse2avx): Likewise.
2822         (have-mfma4): Likewise.
2823         (config-cflags-novzeroupper): Likewise.
2824         * sysdeps/mach/configure.in (MIG): Likewise.
2825         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2826         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2827         LIBC_CONFIG_VAR.
2828         (config-cflags-avx): Likewise.
2829         (config-cflags-sse2avx): Likewise.
2830         (have-mfma4): Likewise.
2831         (config-cflags-novzeroupper): Likewise.
2832         * configure: Regenerated.
2833         * sysdeps/i386/configure: Likewise.
2834         * sysdeps/mach/configure: Likewise.
2835         * sysdeps/sparc/configure: Likewise.
2836         * sysdeps/x86_64/configure: Likewise.
2837
2838 2013-03-20  Roland McGrath  <roland@hack.frob.com>
2839
2840         [BZ #14812]
2841         * locale/programs/localedef.c (options): Put N_ translation marker
2842         on argument names, not just descriptions.
2843
2844 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2845
2846         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2847
2848 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
2849
2850         [BZ #14176]
2851         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2852
2853 2013-03-19  Roland McGrath  <roland@hack.frob.com>
2854
2855         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2856         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2857         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2858         [!BEFORE_ABORT] (before_abort): New function.
2859         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2860         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2861         (writev_for_fatal): New function.
2862         (WRITEV_FOR_FATAL): New macro; call that.
2863         (backtrace_and_maps): New function.
2864         (BEFORE_ABORT): New macro; call that.
2865         (struct str_list): Type removed.
2866         (__libc_message, __libc_fatal): Functions removed.
2867         Include <sysdeps/posix/libc_fatal.c> instead.
2868
2869 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
2870
2871         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2872         constants.
2873         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2874         double constants.
2875
2876 2013-03-19  Andreas Schwab  <schwab@suse.de>
2877
2878         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2879         * sysdeps/gnu/configure: Regenerate.
2880
2881         * configure.in: Substitute libc_cv_rtlddir.
2882         * configure: Regenerate.
2883         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2884         * Makeconfig (rtlddir, inst_rtlddir): New variables.
2885         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2886         * elf/Makefile (install-others, CFLAGS-interp.c)
2887         (ldso_install, common-ldd-rewrite): Likewise.
2888         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2889         $(inst_slibdir)/$(rtld-installed-name).
2890         * scripts/rellns-sh: Add -p option.
2891         * Makerules (make-shlib-link): Use rellns-sh to get relative name
2892         for source.
2893
2894 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2895
2896         * manual/nptl.texi: Renamed to ...
2897         * manual/threads.texi: ... this.
2898         * manual/Makefile (chapters): Update.
2899
2900 2013-03-18  Roland McGrath  <roland@hack.frob.com>
2901
2902         [BZ #14812]
2903         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2904         on argument names, not just descriptions.
2905         * malloc/memusagestat.c (options): Likewise.
2906         * nss/getent.c (options): Likewise.
2907
2908 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
2909
2910         [BZ #14812]
2911         * iconv/iconv_prog.c (options): Put N_ translation marker
2912         on argument names, not just descriptions.
2913         * iconv/iconvconfig.c (options): Likewise.
2914
2915 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
2916
2917         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2918         implementation which is faster on all x86_64 architectures.
2919         Tested on AMD, Intel Nehalem, SNB, IVB.
2920         * sysdeps/x86_64/strnlen.S: Likewise.
2921
2922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2923         Remove all multiarch strlen and strnlen versions.
2924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2925         Remove strlen and strnlen related parts.
2926
2927         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2928         Inline strlen part.
2929         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2930
2931         * sysdeps/x86_64/multiarch/strlen.S: Remove.
2932         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2933         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2934         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2935         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2936         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2937
2938 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
2939
2940         * manual/memory.texi (Malloc Tunable Parameters):
2941         Sort parameters alphabetically. Add comments for missing entries.
2942
2943 2013-03-17  David S. Miller  <davem@davemloft.net>
2944
2945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2946
2947 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
2948
2949         [BZ #15283]
2950         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2951         for arguments at most half maximum finite value.
2952         * math/libm-test.inc (j0_test): Add more tests.
2953         (j1_test): Likewise.
2954         (y0_test): Likewise.
2955         (y1_test): Likewise.
2956         * sysdeps/i386/fpu/libm-test-ulps: Update.
2957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2958
2959         [BZ #14155]
2960         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2961         1 / x and functions P and Q for arguments above 0x1p256L.
2962         (__ieee754_y0l): Likewise.
2963         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2964         (__ieee754_y1l): Likewise.
2965         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2966         (j1_test): Likewise.
2967         (y0_test): Likewise.
2968         (y1_test): Likewise.
2969
2970 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
2971
2972         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2973         variable.
2974
2975 2013-03-15  Roland McGrath  <roland@hack.frob.com>
2976
2977         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2978         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2979         zero since it's initialized to EXEC_PAGESIZE.
2980
2981         * sysdeps/unix/sysv/linux/ldsodefs.h
2982         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2983         * sysdeps/generic/ldsodefs.h: ... here.
2984
2985 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
2986
2987         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2988
2989         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2990         math/test-snan.c.
2991         * math/test-snan.c: Renamed from
2992         sysdeps/powerpc/fpu/test-powerpc-snan.c.
2993         * math/Makefile (tests): Add test-snan.
2994         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2995         test-powerpc-snan.
2996
2997         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2998         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
2999         functions.
3000         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
3001         __builtin_nan family of functions.
3002         * math/libm-test.inc (initialize): Initialize qnan_value with
3003         __builtin_nan family of functions.
3004         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3005         Remove variables.
3006         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3007         Remove functions.
3008         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
3009         storage class.  Initialize qNaN_var and sNaN_var with
3010         __builtin_nan and __builtin_nans families of functions,
3011         respectively.
3012
3013         * math/libm-test.inc (acosh_test): Also test with qNaN input.
3014         (sqrt_test): Remove duplicate test with qNaN input.
3015         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3016         (round_test, signbit_test, significand_test): Note missing +/-Inf
3017         as well as qNaN tests.
3018
3019         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3020         qNaN_var.  Fix a few strings, too.
3021         * math/libm-test.inc (nan_value): Rename to qnan_value.
3022         * math/gen-libm-test.pl (%beautify): Adjust to that.
3023         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3024         * math/test-misc.c (main): Likewise.
3025         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3026         to __qnan_bytes, and __qnan_union, respectively.
3027         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3028         Likewise.
3029         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3030         and lqnanval, respectively.
3031         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3032         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3033         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3034         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3035
3036         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3037         * math/test-misc.c (main) [__x86_64__]: Enable test for long
3038         doubles.
3039
3040         * math/test-misc.c (main): Fix copy'n'pastos.
3041         * misc/tst-efgcvt.c (special): Likewise.
3042
3043         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3044         Remove declarations.
3045
3046 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3047
3048         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3049         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3050         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3051         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3052
3053 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3054
3055         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3056         macro to return vdso values correctly in IFUNC implementations.
3057         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3058         Optimization by using IFUNC.
3059
3060 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3061             Richard Henderson  <rth@redhat.com>
3062             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3063
3064         * Makefile.in (bench): New target.
3065         * NEWS: Mention the benchmark framework.
3066         * Rules (bench): Likewise.
3067         (binaries-bench): Generate binaries for functions to
3068         benchmark.
3069         * benchtests/Makefile: New makefile for benchmark tests.
3070         * benchtests/bench-skeleton.c: New skeleton file for benchmark
3071         programs.
3072         * benchtests/exp-inputs: New input file for EXP function.
3073         * benchtests/pow-inputs: New input file for POW function.
3074         * scripts/bench.pl: New script to generate source files for
3075         benchmark programs.
3076
3077 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3078
3079         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3080         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3081         computations on mantissa.  Use macros for rounding and
3082         division.
3083         (denorm): Likewise.
3084         (__dbl_mp): Likewise.
3085         (add_magnitudes): Likewise.
3086         (sub_magnitudes): Likewise.
3087         (__mul): Likewise.
3088         (__sqr): Likewise.
3089         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3090         powers of two in terms of TWOPOW macro.
3091         (mp_no): Make type of mantissa as MANTISSA_T.
3092         [!RADIXI]: Define RADIXI.
3093         [!TWO52]: Define TWO52.
3094         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3095
3096         * manual/nptl.texi (cindex): Modify threads to pthreads.
3097
3098 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
3099
3100         * sysdeps/x86_64/preconfigure: Regenerated.
3101
3102 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
3103
3104         [BZ #14155]
3105         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3106         0x1p28 and above.
3107         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3108         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3109         0x1p28 and above.
3110         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3111         * math/libm-test.inc (j0_test): Do not allow one spurious
3112         underflow exception.
3113         (y1_test): Likewise.
3114
3115 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3116
3117         * manual/Makefile (chapters): Add nptl.
3118         * manual/debug.texi (Debugging Support): Add link to Threads
3119         chapter.
3120         * manual/nptl.texi: New file.
3121
3122         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3123
3124 2013-03-14  Petr Baudis  <pasky@ucw.cz>
3125
3126         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3127         for non-NULL pointer before the memory validity test. Pointed
3128         out by Holger Brunck <holger.brunck@keymile.com>.
3129
3130 2013-03-13  Andreas Schwab  <schwab@suse.de>
3131
3132         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3133         instead of .os.
3134
3135 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
3136
3137         * timezone/zic.c: Update from tzcode 2013b.
3138
3139 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
3140
3141         * manual/install.texi (Configuring and compiling):
3142         Mention i686 and i586.
3143         * INSTALL: Regenerate.
3144
3145 2013-03-12  Roland McGrath  <roland@hack.frob.com>
3146
3147         * sysdeps/init_array/elf-init.c: New file.
3148         * csu/elf-init.c
3149         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3150         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3151
3152         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3153         __gmon_start__ as global, but as static with a .preinit_array pointer.
3154         * sysdeps/init_array/gmon-start.c: New file.  Use that.
3155         * sysdeps/init_array/crti.S: New file, empty except for comments.
3156         * sysdeps/init_array/crtn.S: Likewise.
3157
3158 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
3159
3160         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3161         definining bcopy.
3162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3163         Remove Prefer_SSE_for_memop.
3164         * sysdeps/x86_64/multiarch/init-arch.h: Remove
3165         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3166         HAS_PREFER_SSE_FOR_MEMOP.
3167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3168         memset-x86-64.
3169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3170         Remove bzero, memset ifunc support.
3171         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3172         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3173         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3174         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3175
3176 2013-03-11  Andreas Schwab  <schwab@suse.de>
3177
3178         [BZ #15234]
3179         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3180         by SHLIB_COMPAT.
3181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3182         (GLIBC_2.16): Remove pthread_atfork.
3183
3184 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3185
3186         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3187         (ptestcases.h): Likewise.
3188
3189 2013-03-08  Roland McGrath  <roland@hack.frob.com>
3190
3191         * Makeconfig ($(common-objpfx)config.status): Depend on
3192         sysdeps/*/preconfigure{,.in} too.
3193
3194 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
3195
3196         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3197         (__free_hook): Use void * instead of __malloc_ptr_t.
3198         (__malloc_hook): Likewise.
3199         (__realloc_hook): Likewise.
3200         (__memalign_hook): Likewise.
3201         (__after_morecore_hook): Likewise.
3202         * malloc/arena.c (save_malloc_hook): Likewise.
3203         (save_free_hook): Likewise.
3204         * malloc/hooks.c (malloc_hook_ini): Likewise.
3205         (realloc_hook_ini): Likewise.
3206         (memalign_hook_ini): Likewise.
3207         * malloc/malloc.c (malloc_hook_ini): Likewise.
3208         (realloc_hook_ini): Likewise.
3209         (memalign_hook_ini): Likewise.
3210         (__free_hook): Likewise.
3211         (__malloc_hook): Likewise.
3212         (__realloc_hook): Likewise.
3213         (__memalign_hook): Likewise.
3214         (__libc_malloc): Likewise.
3215         (__libc_free): Likewise.
3216         (__libc_realloc): Likewise.
3217         (__libc_memalign): Likewise.
3218         (__libc_valloc): Likewise.
3219         (__libc_pvalloc): Likewise.
3220         (__libc_calloc): Likewise.
3221         (__posix_memalign): Likewise.
3222         * malloc/morecore.c (__sbrk): Likewise.
3223         (__default_morecore): Likewise.
3224
3225         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3226
3227         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3228         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3229         __malloc_ptrdiff_t.
3230
3231         * malloc/malloc.h (__malloc_size_t): Remove macro.
3232         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3233         __malloc_size_t.
3234         (old_memalign_hook): Likewise.
3235         (old_realloc_hook): Likewise.
3236         (struct hdr): Likewise.
3237         (flood): Likewise.
3238         (mallochook): Likewise.
3239         (memalignhook): Likewise.
3240         (reallochook): Likewise.
3241         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3242         (tr_old_realloc_hook): Likewise.
3243         (tr_old_memalign_hook): Likewise.
3244         (tr_mallochook): Likewise.
3245         (tr_reallochook): Likewise.
3246         (tr_memalignhook): Likewise.
3247
3248 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3249
3250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3251         default_ldbl_pack and using as default implementation.
3252         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3253         implementation.
3254         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3255         redundant definition.
3256         (ldbl_insert_mantissa): Likewise.
3257         (ldbl_canonicalize): Likewise.
3258         (ldbl_nearbyint): Likewise.
3259         (ldbl_pack): Rename to ldbl_pack_ppc.
3260         (ldbl_unpack): Rename to ldbl_unpack_ppc.
3261         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3262         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3263
3264 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3265
3266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3267         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3268         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3269         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3271         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3272         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3273         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3274
3275 2013-03-07  Andreas Jaeger  <aj@suse.de>
3276
3277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3278         bits/mman-linux.h.
3279
3280 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3281
3282         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3283         Include mpa.h and declare __MPEXP.
3284         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3285         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3286         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3287         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3288         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3289         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3290         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3291
3292         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3293         (__slowpow): Use long double EXPL and LOGL functions to
3294         compute POW.
3295         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3296         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3297         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3298         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3299         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3300         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3301
3302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3303         intermediate variable to calculate exponent.
3304         (__sqr): Likewise.
3305         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3306         Likewise.
3307         (__sqr): Likewise.
3308
3309         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3310         [!NO__SQR]: Define __sqr.
3311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3312         and NO__SQR.  Remove all code except __mul and __sqr.  Include
3313         sysdeps/ieee754/dbl-64/mpa.c.
3314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3315
3316         [BZ #12723]
3317         * posix/Makefile (tests): Add tst-pathconf.
3318         * posix/tst-pathconf.c: New test case.
3319         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3320         _PC_PIPE_BUF.
3321         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3322
3323 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
3324
3325         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3326
3327 2013-03-06  Andreas Jaeger  <aj@suse.de>
3328
3329         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3330         definition via __MAP_ANONYMOUS.
3331
3332         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3333         it's not part of Linux headers.
3334
3335         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3336         (MAP_HUGE_MASK): Define.
3337
3338         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3339         Define.
3340         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3341         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3342         Define.
3343         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3344         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3345         Define.
3346         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3347         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3348         Define.
3349         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3350
3351         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3352         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3353         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3354         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3355         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3356         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3357
3358         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3359         Handle f2fs.
3360
3361         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3362         Handle f2fs and efivarfs.
3363
3364         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3365         f2fs.
3366
3367         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3368         (EFIVARFS_MAGIC): Add.
3369         (F2FS_LINK_MAX): Add.
3370
3371 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3372
3373         * stdio-common/vfprintf.c: Replace __builtin_expect with
3374         __glibc_unlikely.
3375
3376 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
3377
3378         [BZ #13550]
3379         * sysdeps/generic/bp-sym.h: Remove file.
3380         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3381         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3382         <bp-sym.h> and <bp-asm.h>.
3383         (__longjmp): Don't use BP_SYM.
3384         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3385         and <bp-asm.h>.
3386         (memcpy): Don't use BP_SYM.
3387         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3388         <bp-sym.h> and <bp-asm.h>.
3389         (memcpy): Don't use BP_SYM.
3390         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3391         <bp-asm.h>.
3392         (memcpy): Don't use BP_SYM.
3393         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3394         <bp-asm.h>.
3395         (memset): Don't use BP_SYM.
3396         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3397         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3398         (__bzero): Don't use BP_SYM.
3399         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3400         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3401         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3402         <bp-sym.h> and <bp-asm.h>.
3403         (memcmp): Don't use BP_SYM.  Remove comment about bounded
3404         pointers.
3405         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3406         <bp-sym.h> and <bp-asm.h>.
3407         (memcpy): Don't use BP_SYM.
3408         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3409         <bp-sym.h> and <bp-asm.h>.
3410         (memset): Don't use BP_SYM.
3411         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3412         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3413         (__bzero): Don't use BP_SYM.
3414         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3415         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3416         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3417         <bp-sym.h> and <bp-asm.h>.
3418         (strncmp): Don't use BP_SYM.  Remove comment about bounded
3419         pointers.
3420         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3421         <bp-sym.h> and <bp-asm.h>.
3422         (memcpy): Don't use BP_SYM.
3423         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3424         <bp-sym.h> and <bp-asm.h>.
3425         (memset): Don't use BP_SYM.
3426         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3427         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3428         (__bzero): Don't use BP_SYM.
3429         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3430         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3431         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3432         <bp-sym.h> and <bp-asm.h>.
3433         (__memchr): Don't use BP_SYM.
3434         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3435         <bp-sym.h> and <bp-asm.h>.
3436         (memcmp): Don't use BP_SYM.  Remove comment about bounded
3437         pointers.
3438         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3439         <bp-sym.h> and <bp-asm.h>.
3440         (memcpy): Don't use BP_SYM.
3441         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3442         <bp-sym.h> and <bp-asm.h>.
3443         (__mempcpy): Don't use BP_SYM.
3444         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3445         <bp-sym.h> and <bp-asm.h>.
3446         (__memrchr): Don't use BP_SYM.
3447         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3448         <bp-sym.h> and <bp-asm.h>.
3449         (memset): Don't use BP_SYM.
3450         (__bzero): Likewise.
3451         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3452         <bp-sym.h> and <bp-asm.h>.
3453         (__rawmemchr): Don't use BP_SYM.
3454         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3455         <bp-sym.h> and <bp-asm.h>.
3456         (__STRCMP): Don't use BP_SYM.
3457         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3458         <bp-sym.h> and <bp-asm.h>.
3459         (strchr): Don't use BP_SYM.
3460         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3461         <bp-sym.h> and <bp-asm.h>.
3462         (__strchrnul): Don't use BP_SYM.
3463         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3464         <bp-sym.h> and <bp-asm.h>.
3465         (strlen): Don't use BP_SYM.
3466         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3467         <bp-sym.h> and <bp-asm.h>.
3468         (strncmp): Don't use BP_SYM.  Remove comment about bounded
3469         pointers.
3470         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3471         <bp-sym.h> and <bp-asm.h>.
3472         (__strnlen): Don't use BP_SYM.
3473         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3474         <bp-sym.h> and <bp-asm.h>.
3475         (__GI__setjmp): Don't use BP_SYM.
3476         (_setjmp): Likewise.
3477         (__sigsetjmp): Likewise.
3478         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3479         (L(start_addresses)): Don't use BP_SYM.
3480         (_start): Likewise.
3481         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3482         <bp-asm.h>.
3483         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3484         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3485         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3486         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3487         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3488         <bp-asm.h>.
3489         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3490         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
3491         about bounded pointers.
3492         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3493         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3494         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3495         <bp-asm.h>.
3496         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
3497         about bounded pointers.  Remove GKM FIXME comments.
3498         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3499         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3500         <bp-asm.h>.
3501         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3502         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
3503         Remove GKM FIXME comments.
3504         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3505         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3506         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3507         <bp-asm.h>.
3508         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
3509         about bounded pointers.  Remove GKM FIXME comment.
3510         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3511         and <bp-asm.h>.
3512         (strncmp): Don't use BP_SYM.  Remove comment about bounded
3513         pointers.
3514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3515         <bp-sym.h> and <bp-asm.h>.
3516         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3518         <bp-sym.h> and <bp-asm.h>.
3519         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
3520         comment.
3521
3522 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3523
3524         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3525         call free(NULL).
3526
3527 2013-03-05  David S. Miller  <davem@davemloft.net>
3528
3529         * po/es.po: Update from translation team.
3530
3531 2013-03-05  Andreas Jaeger  <aj@suse.de>
3532
3533         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3534         <bits/mman-linux.h>.
3535         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3536         is fine.
3537         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3538         <bits/mman-linux.h> to end of file.
3539         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3540         is fine.
3541         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3542         <bits/mman-linux.h> to end of file.
3543         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3544         is fine.
3545         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3546         <bits/mman-linux.h> to end of file.
3547
3548         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3549         (MCL_CURRENT, MCL_FUTURE): Define here.
3550
3551 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3552
3553         [BZ #15232]
3554         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3555         attribute_hidden.
3556         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3557
3558 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3559
3560         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3561         fourth parameter needed for rt_sigprocmask syscall.
3562         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3563         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3565         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3566         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3567         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3568
3569 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
3570
3571         [BZ #13550]
3572         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3573         comment about bounded pointers.
3574         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3575         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3576
3577 2013-03-04  Andreas Jaeger  <aj@suse.de>
3578
3579         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3580         common definitions.
3581
3582         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3583         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3584         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3585         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3586         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3587         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3588
3589 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3590
3591         [BZ #15055]
3592         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3593         __ieee754_sqrl instead of __sqrl.
3594
3595 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
3596
3597         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3598         * sysdeps/powerpc/fpu_control.h: ... here.
3599         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3600         * sysdeps/powerpc/bits/fenvinline.h: ... here.
3601         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3602         * sysdeps/powerpc/bits/mathinline.h: ... here.
3603
3604 2013-03-01  Roland McGrath  <roland@hack.frob.com>
3605
3606         * elf/dl-hwcaps.c (_dl_important_hwcaps):
3607         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3608         to just [NEED_DL_SYSINFO_DSO].
3609         * elf/dl-support.c: Likewise.
3610         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3611         * elf/rtld.c (dl_main): Likewise.
3612         * elf/setup-vdso.h (setup_vdso): Likewise.
3613         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3614         * sysdeps/unix/sysv/linux/dl-sysdep.c
3615         (_dl_discover_osversion): Likewise.
3616
3617 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
3618
3619         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3620         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3621
3622 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3623
3624         * NEWS: Mention libm performance improvements and non-x86 PI
3625         futex support.
3626
3627         * csu/libc-start.c (__pthread_initialize_minimal): Change
3628         function arguments.
3629         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3630
3631 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
3632
3633         [BZ #13550]
3634         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3635         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3636         <bp-sym.h> and <bp-asm.h>.
3637         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3638         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3639         and <bp-asm.h>.
3640         (memcpy): Don't use BP_SYM.
3641         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3642         <bp-asm.h>.
3643         (__mpn_add_n): Don't use BP_SYM.
3644         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3645         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3646         and <bp-asm.h>.
3647         (__mpn_addmul_1): Don't use BP_SYM.
3648         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3649         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3650         <bp-sym.h>.
3651         (_setjmp): Don't use BP_SYM.
3652         (__novmx_setjmp): Likewise.
3653         (__GI__setjmp): Likewise.
3654         (__vmx_setjmp): Likewise.
3655         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3656         <bp-sym.h>.
3657         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3658         (__bzero): Don't use BP_SYM.
3659         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3660         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3661         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3662         <bp-sym.h> and <bp-asm.h>.
3663         (memcpy): Don't use BP_SYM.
3664         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3665         <bp-sym.h> and <bp-asm.h>.
3666         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3667         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3668         <bp-sym.h> and <bp-asm.h>.
3669         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3670         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3671         <bp-asm.h>.
3672         (__mpn_lshift): Don't use BP_SYM.
3673         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3674         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3675         <bp-asm.h>.
3676         (memset): Don't use BP_SYM.
3677         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3678         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3679         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3680         <bp-asm.h>.
3681         (__mpn_mul_1): Don't use BP_SYM.
3682         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3683         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3684         <bp-sym.h> and <bp-asm.h>.
3685         (memcmp): Don't use BP_SYM.
3686         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3687         <bp-sym.h> and <bp-asm.h>.
3688         (memcpy): Don't use BP_SYM.
3689         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3690         <bp-sym.h> and <bp-asm.h>.
3691         (memset): Don't use BP_SYM.
3692         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3693         <bp-sym.h> and <bp-asm.h>.
3694         (strncmp): Don't use BP_SYM.
3695         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3696         <bp-sym.h> and <bp-asm.h>.
3697         (memcpy): Don't use BP_SYM.
3698         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3699         <bp-sym.h> and <bp-asm.h>.
3700         (memset): Don't use BP_SYM.
3701         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3702         <bp-sym.h> and <bp-asm.h>.
3703         (__memchr): Don't use BP_SYM.
3704         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3705         <bp-sym.h> and <bp-asm.h>.
3706         (memcmp): Don't use BP_SYM.
3707         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3708         <bp-sym.h> and <bp-asm.h>.
3709         (memcpy): Don't use BP_SYM.
3710         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3711         <bp-sym.h> and <bp-asm.h>.
3712         (__mempcpy): Don't use BP_SYM.
3713         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3714         <bp-sym.h> and <bp-asm.h>.
3715         (__memrchr): Don't use BP_SYM.
3716         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3717         <bp-sym.h> and <bp-asm.h>.
3718         (memset): Don't use BP_SYM.
3719         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3720         <bp-sym.h> and <bp-asm.h>.
3721         (__rawmemchr): Don't use BP_SYM.
3722         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3723         <bp-sym.h> and <bp-asm.h>.
3724         (__STRCMP): Don't use BP_SYM.
3725         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3726         <bp-sym.h> and <bp-asm.h>.
3727         (strchr): Don't use BP_SYM.
3728         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3729         <bp-sym.h> and <bp-asm.h>.
3730         (__strchrnul): Don't use BP_SYM.
3731         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3732         <bp-sym.h> and <bp-asm.h>.
3733         (strlen): Don't use BP_SYM.
3734         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3735         <bp-sym.h> and <bp-asm.h>.
3736         (strncmp): Don't use BP_SYM.
3737         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3738         <bp-sym.h> and <bp-asm.h>.
3739         (__strnlen): Don't use BP_SYM.
3740         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3741         <bp-asm.h>.
3742         (__mpn_rshift): Don't use BP_SYM.
3743         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3744         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3745         <bp-sym.h> and <bp-asm.h>.
3746         (__sigsetjmp): Don't use BP_SYM.
3747         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3748         (L(start_addresses)): Don't use BP_SYM.
3749         (_start): Likewise.
3750         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3751         <bp-asm.h>.
3752         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3753         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3754         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3755         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3756         <bp-asm.h>.
3757         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3758         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3759         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3760         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3761         <bp-asm.h>.
3762         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
3763         comments.
3764         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3765         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3766         <bp-asm.h>.
3767         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
3768         FIXME comments.
3769         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3770         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3771         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3772         <bp-asm.h>.
3773         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
3774         comment.
3775         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3776         and <bp-asm.h>.
3777         (strncmp): Don't use BP_SYM,
3778         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3779         <bp-asm.h>.
3780         (__mpn_sub_n): Don't use BP_SYM.
3781         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3782         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3783         and <bp-asm.h>.
3784         (__mpn_submul_1): Don't use BP_SYM.
3785         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3787         <bp-sym.h> and <bp-asm.h>.
3788         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3790         <bp-sym.h> and <bp-asm.h>.
3791         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
3792         comment.
3793
3794 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3795
3796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3797         Use ZK to minimize writes to Z.
3798         (sub_magnitudes): Simplify code a bit.
3799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3800         Use ZK to minimize writes to Z.
3801         (sub_magnitudes): Simplify code a bit.
3802
3803 2013-02-27  Roland McGrath  <roland@hack.frob.com>
3804
3805         * csu/gmon-start.c: Add special exception to license text.
3806
3807 2013-02-27  Richard Henderson  <rth@redhat.com>
3808
3809         * scripts/config.guess: Update from config.git.
3810         * scripts/config.sub: Likewise.
3811
3812 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3813
3814         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3815
3816         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3817
3818         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3819
3820         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3821
3822         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3823
3824 2013-02-26  Roland McGrath  <roland@hack.frob.com>
3825
3826         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3827         [$(build-shared = yes].
3828
3829 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3830
3831         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3832         (__mul): Reduce iterations for calculating mantissa.
3833
3834         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3835         MPTWO.
3836         (__mpranred): Likewise.
3837
3838         [BZ #15160]
3839         * malloc/memusagestat.c (main): Draw graphs for heap and stack
3840         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3841
3842 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
3843
3844         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3845         Define __attribute__.
3846
3847 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3848
3849         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3850         unused.
3851         * posix/regex_internal.h (__attribute): Remove.
3852         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3853         (re_string_context_at): Likewise.
3854         (bitset_not): Use __attribute__ and mark function as possibly
3855         unused.
3856         (bitset_merge): Likewise.
3857         (bitset_mask): Likewise.
3858         (re_string_char_size_at): Likewise.
3859         (re_string_wchar_at): Likewise.
3860         (re_string_elem_size_at): Likewise.
3861
3862 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3863
3864         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3865         code.
3866         (cc32): Likewise.
3867
3868         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3869         (__acr): Likewise.
3870         (__cpy): Likewise.
3871         (norm): Likewise.
3872         (denorm): Likewise.
3873         (__dbl_mp): Likewise.
3874         (add_magnitudes): Likewise.
3875         (sub_magnitudes): Likewise.
3876         (__mul): Likewise.
3877         (__inv): Likewise.
3878
3879         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3880         style.
3881
3882         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3883         style.
3884
3885         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3886         code.
3887
3888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3889         up changes with default code.
3890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3891         Likewise.
3892
3893 2013-02-24  Allan McRae  <allan@archlinux.org>
3894
3895         * manual/socket.texi (The Internet Namespace): Order menu items
3896         to match that in the file.
3897
3898         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3899         node listing of the info page menu.
3900
3901 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
3902
3903         [BZ #13550]
3904         * sysdeps/i386/bp-asm.h: Remove file.
3905         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3906         (PARMS): Do not use macros from bp-asm.h.
3907         (S1): Likewise.
3908         (S2): Likewise.
3909         (SIZE): Likewise.
3910         (__mpn_add_n): Do not use BP_SYM
3911         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3912         "bp-asm.h".
3913         (PARMS): Do not use macros from bp-asm.h.
3914         (S1): Likewise.
3915         (SIZE): Likewise.
3916         (__mpn_addmul_1): Do not use BP_SYM
3917         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3918         "bp-asm.h".
3919         (PARMS): Do not use macros from bp-asm.h.
3920         (SIGMSK): Likewise.
3921         (_setjmp): Likewise.  Do not use BP_SYM.
3922         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3923         "bp-asm.h".
3924         (PARMS): Do not use macros from bp-asm.h.
3925         (SIGMSK): Likewise.
3926         (setjmp): Likewise.  Do not use BP_SYM.
3927         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3928         "bp-asm.h".
3929         (PARMS): Do not use macros from bp-asm.h.
3930         (__frexp): Do not use BP_SYM.
3931         (frexp): Likewise.
3932         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3933         "bp-asm.h".
3934         (PARMS): Do not use macros from bp-asm.h.
3935         (__frexpf): Do not use BP_SYM.
3936         (frexpf): Likewise.
3937         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3938         "bp-asm.h".
3939         (PARMS): Do not use macros from bp-asm.h.
3940         (__frexpl): Do not use BP_SYM.
3941         (frexpl): Likewise.
3942         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3943         "bp-asm.h".
3944         (PARMS): Do not use macros from bp-asm.h.
3945         (__remquo): Do not use BP_SYM.
3946         (remquo): Likewise.
3947         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3948         "bp-asm.h".
3949         (PARMS): Do not use macros from bp-asm.h.
3950         (__remquof): Do not use BP_SYM.
3951         (remquof): Likewise.
3952         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3953         "bp-asm.h".
3954         (PARMS): Do not use macros from bp-asm.h.
3955         (__remquol): Do not use BP_SYM.
3956         (remquol): Likewise.
3957         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3958         "bp-asm.h".
3959         (PARMS): Do not use macros from bp-asm.h.
3960         (DEST): Likewise.
3961         (SRC): Likewise.
3962         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
3963         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3964         "bp-asm.h".
3965         (PARMS): Do not use macros from bp-asm.h.
3966         (strlen): Do not use BP_SYM.
3967         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3968         "bp-asm.h".
3969         (PARMS): Do not use macros from bp-asm.h.
3970         (S1): Likewise.
3971         (S2): Likewise.
3972         (SIZE): Likewise.
3973         (__mpn_add_n): Do not use BP_SYM.
3974         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3975         "bp-asm.h".
3976         (PARMS): Do not use macros from bp-asm.h.
3977         (S1): Likewise.
3978         (SIZE): Likewise.
3979         (__mpn_addmul_1): Do not use BP_SYM.
3980         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3981         weak_alias.
3982         (bzero): Likewise.
3983         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3984         "bp-asm.h".
3985         (PARMS): Do not use macros from bp-asm.h.
3986         (S): Likewise.
3987         (SIZE): Likewise.
3988         (__mpn_lshift): Do not use BP_SYM.
3989         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3990         "bp-asm.h".
3991         (PARMS): Do not use macros from bp-asm.h.
3992         (DEST): Likewise.
3993         (SRC): Likewise.
3994         (LEN): Likewise.
3995         (memcpy): Likewise.  Do not use BP_SYM.
3996         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3997         libc_hidden_def and weak_alias.
3998         (mempcpy): Do not use BP_SYM in weak_alias.
3999         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4000         "bp-asm.h".
4001         (PARMS): Do not use macros from bp-asm.h.
4002         (DEST): Likewise.
4003         (LEN): Likewise.
4004         [!BZERO_P] (CHR): Likewise.
4005         (memset): Likewise.  Do not use BP_SYM.
4006         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4007         "bp-asm.h".
4008         (PARMS): Do not use macros from bp-asm.h.
4009         (S1): Likewise.
4010         (SIZE): Likewise.
4011         (__mpn_mul_1): Do not use BP_SYM.
4012         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4013         "bp-asm.h".
4014         (PARMS): Do not use macros from bp-asm.h.
4015         (S): Likewise.
4016         (SIZE): Likewise.
4017         (__mpn_rshift): Do not use BP_SYM.
4018         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4019         "bp-asm.h".
4020         (PARMS): Do not use macros from bp-asm.h.
4021         (STR): Likewise.
4022         (CHR): Likewise.
4023         (strchr): Likewise.  Do not use BP_SYM.
4024         (index): Do not use BP_SYM in weak_alias.
4025         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4026         "bp-asm.h".
4027         (PARMS): Do not use macros from bp-asm.h.
4028         (DEST): Likewise.
4029         (SRC): Likewise.
4030         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
4031         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4032         "bp-asm.h".
4033         (PARMS): Do not use macros from bp-asm.h.
4034         (strlen): Do not use BP_SYM.
4035         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4036         "bp-asm.h".
4037         (PARMS): Do not use macros from bp-asm.h.
4038         (S1): Likewise.
4039         (S2): Likewise.
4040         (SIZE): Likewise.
4041         (__mpn_sub_n): Do not use BP_SYM.
4042         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4043         "bp-asm.h".
4044         (PARMS): Do not use macros from bp-asm.h.
4045         (S1): Likewise.
4046         (SIZE): Likewise.
4047         (__mpn_submul_1): Do not use BP_SYM.
4048         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4049         "bp-asm.h".
4050         (PARMS): Do not use macros from bp-asm.h.
4051         (S1): Likewise.
4052         (S2): Likewise.
4053         (SIZE): Likewise.
4054         (__mpn_add_n): Do not use BP_SYM.
4055         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4056         weak_alias.
4057         (bzero): Likewise.
4058         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4059         "bp-asm.h".
4060         (PARMS): Do not use macros from bp-asm.h.
4061         (BLK2): Likewise.
4062         (LEN): Likewise.
4063         (memcmp): Do not use BP_SYM.
4064         (bcmp): Do not use BP_SYM in weak_alias.
4065         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4066         "bp-asm.h".
4067         (PARMS): Do not use macros from bp-asm.h.
4068         (DEST): Likewise.
4069         (SRC): Likewise.
4070         (LEN): Likewise.
4071         (memcpy): Likewise.  Do not use BP_SYM.
4072         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4073         "bp-asm.h".
4074         (PARMS): Do not use macros from bp-asm.h.
4075         (DEST): Likewise.
4076         (SRC): Likewise.
4077         (LEN): Likewise.
4078         (memmove): Likewise.  Do not use BP_SYM.
4079         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4080         "bp-asm.h".
4081         (PARMS): Do not use macros from bp-asm.h.
4082         (DEST): Likewise.
4083         (SRC): Likewise.
4084         (LEN): Likewise.
4085         (__mempcpy): Likewise.  Do not use BP_SYM.
4086         (mempcpy): Do not use BP_SYM in weak_alias.
4087         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4088         "bp-asm.h".
4089         (PARMS): Do not use macros from bp-asm.h.
4090         (DEST): Likewise.
4091         (LEN): Likewise.
4092         [!BZERO_P] (CHR): Likewise.
4093         (memset): Likewise.  Do not use BP_SYM.
4094         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4095         "bp-asm.h".
4096         (PARMS): Do not use macros from bp-asm.h.
4097         (STR2): Likewise.
4098         (strcmp): Do not use BP_SYM.
4099         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4100         "bp-asm.h".
4101         (PARMS): Do not use macros from bp-asm.h.
4102         (STR): Likewise.
4103         (DELIM): Likewise.
4104         [USE_AS_STRTOK_R] (SAVE): Likewise.
4105         (FUNCTION): Likewise.  Do not use BP_SYM.
4106         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4107         aliases.
4108         (strtok_r): Likewise.
4109         (__GI___strtok_r): Likewise.
4110         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4111         (PARMS): Do not use macros from bp-asm.h.
4112         (S): Likewise.
4113         (SIZE): Likewise.
4114         (__mpn_lshift): Do not use BP_SYM.
4115         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4116         (PARMS): Do not use macros from bp-asm.h.
4117         (STR): Likewise.
4118         (CHR): Likewise.
4119         (__memchr): Do not use BP_SYM.
4120         (memchr): Do not use BP_SYM in weak_alias.
4121         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4122         (PARMS): Do not use macros from bp-asm.h.
4123         (BLK2): Likewise.
4124         (LEN): Likewise.
4125         (memcmp): Do not use BP_SYM.
4126         (bcmp): Do not use BP_SYM in weak_alias.
4127         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4128         (PARMS): Do not use macros from bp-asm.h.
4129         (S1): Likewise.
4130         (SIZE): Likewise.
4131         (__mpn_mul_1): Do not use BP_SYM.
4132         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4133         "bp-asm.h".
4134         (PARMS): Do not use macros from bp-asm.h.
4135         (STR): Likewise.
4136         (CHR): Likewise.
4137         (__rawmemchr): Do not use BP_SYM.
4138         (rawmemchr): Do not use BP_SYM in weak_alias.
4139         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4140         (PARMS): Do not use macros from bp-asm.h.
4141         (S): Likewise.
4142         (SIZE): Likewise.
4143         (__mpn_rshift): Do not use BP_SYM.
4144         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4145         (PARMS): Do not use macros from bp-asm.h.
4146         (SIGMSK): Likewise.
4147         (__sigsetjmp): Likewise.  Do not use BP_SYM.
4148         * sysdeps/i386/start.S: Do not include "bp-sym.h".
4149         (_start): Do not use BP_SYM.
4150         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4151         (PARMS): Do not use macros from bp-asm.h.
4152         (DEST): Likewise.
4153         (SRC): Likewise.
4154         (__stpcpy): Likewise.  Do not use BP_SYM.
4155         (stpcpy): Do not use BP_SYM in weak_alias.
4156         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4157         "bp-asm.h".
4158         (PARMS): Do not use macros from bp-asm.h.
4159         (DEST): Likewise.
4160         (SRC): Likewise.
4161         (LEN): Likewise.
4162         (__stpncpy): Likewise.  Do not use BP_SYM.
4163         (stpncpy): Do not use BP_SYM in weak_alias.
4164         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4165         (PARMS): Do not use macros from bp-asm.h.
4166         (STR): Likewise.
4167         (CHR): Likewise.
4168         (strchr): Likewise.  Do not use BP_SYM.
4169         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4170         "bp-asm.h".
4171         (PARMS): Do not use macros from bp-asm.h.
4172         (STR): Likewise.
4173         (CHR): Likewise.
4174         (__strchrnul): Likewise.  Do not use BP_SYM.
4175         (strchrnul): Do not use BP_SYM in weak_alias.
4176         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4177         "bp-asm.h".
4178         (PARMS): Do not use macros from bp-asm.h.
4179         (STOP): Likewise.
4180         (strcspn): Do not use BP_SYM.
4181         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4182         "bp-asm.h".
4183         (PARMS): Do not use macros from bp-asm.h.
4184         (STR): Likewise.
4185         (STOP): Likewise.
4186         (strpbrk): Likewise.  Do not use BP_SYM.
4187         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4188         "bp-asm.h".
4189         (PARMS): Do not use macros from bp-asm.h.
4190         (STR): Likewise.
4191         (CHR): Likewise.
4192         (strrchr): Likewise.  Do not use BP_SYM.
4193         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4194         (PARMS): Do not use macros from bp-asm.h.
4195         (SKIP): Likewise.
4196         (strspn): Do not use BP_SYM.
4197         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4198         (PARMS): Do not use macros from bp-asm.h.
4199         (STR): Likewise.
4200         (DELIM): Likewise.
4201         (SAVE): Likewise.
4202         (FUNCTION): Likewise.  Do not use BP_SYM.
4203         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4204         aliases.
4205         (strtok_r): Likewise.
4206         (__GI___strtok_r): Likewise.
4207         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4208         (PARMS): Do not use macros from bp-asm.h.
4209         (S1): Likewise.
4210         (S2): Likewise.
4211         (SIZE): Likewise.
4212         (__mpn_sub_n): Do not use BP_SYM.
4213         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4214         "bp-asm.h".
4215         (PARMS): Do not use macros from bp-asm.h.
4216         (S1): Likewise.
4217         (SIZE): Likewise.
4218         (__mpn_submul_1): Do not use BP_SYM.
4219         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4220         <bp-sym.h>.
4221         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4222         and <bp-asm.h>.
4223         (PARMS): Do not use macros from bp-asm.h.
4224         (FLAGS): Likewise.
4225         (PTID): Likewise.
4226         (TLS): Likewise.
4227         (CTID): Likewise.
4228         (__clone): Do not use BP_SYM.
4229         (clone): Do not use BP_SYM in weak_alias.
4230         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4231         and <bp-asm.h>.
4232         (PARMS): Do not use macros from bp-asm.h.
4233         (LEN): Likewise.
4234         (__mmap64): Do not use BP_SYM.
4235         (mmap64): Do not use BP_SYM in weak_alias.
4236         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4237         <bp-sym.h> and <bp-asm.h>.
4238         (PARMS): Do not use macros from bp-asm.h.
4239         (__posix_fadvise64_l64): Do not use BP_SYM.
4240         * sysdeps/unix/sysv/linux/i386/semtimedop.S
4241         (PARMS): Do not use macros from bp-asm.h.
4242         (NSOPS): Likewise.
4243         (semtimedop): Do not use BP_SYM.
4244         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4245         and <bp-asm.h>.
4246
4247 2013-02-21  Allan McRae  <allan@archlinux.org>
4248
4249         * manual/message.texi (Charset conversion in gettext):
4250         Move @end statement to beginning of line.
4251
4252 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4253
4254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4255         static.
4256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4257         Likewise.
4258
4259         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4260         (denorm): Likewise.
4261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4263
4264 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4265
4266         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4267         tail-call to the resolved function if pltexit isn't needed.
4268
4269 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4270
4271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4272         or Y being zero as being unlikely.
4273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4274         Likewise.
4275
4276 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
4277
4278         * manual/nss.texi (System Databases and Name Service Switch):
4279         Remove frobnicate @pxref.
4280
4281 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
4282
4283         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4284         __attribute__ ((unused)) to __attribute__ ((__unused__)).
4285
4286 2013-02-20  Petr Machata  <pmachata@redhat.com>
4287
4288         * elf/elf.h (R_ARM_TARGET1): New macro.
4289         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4290         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4291         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4292         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4293         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4294         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4295         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4296         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4297         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4298         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4299         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4300         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4301         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4302         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4303         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4304         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4305         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4306         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4307         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4308         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4309         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4310         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4311         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4312         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4313         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4314         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4315         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4316         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4317         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4318         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4319         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4320         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4321         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4322         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4323         (R_ARM_THM_GOT_BREL12): Likewise.
4324         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4325         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4326         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4327         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4328         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4329         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4330         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4331         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4332         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4333
4334 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
4335
4336         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4337         __attribute_used__ to __attribute__ ((unused)).
4338
4339 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4340
4341         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4342         powerpc mpa.c.
4343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4344         comment formatting.
4345         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4346
4347 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
4348
4349         [BZ #13550]
4350         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4351         Remove macro.
4352         (ENTER): Remove both macro definitions.
4353         (LEAVE): Likewise.
4354         (CHECK_BOUNDS_LOW): Likewise.
4355         (CHECK_BOUNDS_HIGH): Likewise.
4356         (CHECK_BOUNDS_BOTH): Likewise.
4357         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4358         (RETURN_BOUNDED_POINTER): Likewise.
4359         (RETURN_NULL_BOUNDED_POINTER): Likewise.
4360         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4361         (POP_ERRNO_LOCATION_RETURN): Likewise.
4362         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4363         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4364         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4365         macros.
4366         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4367         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4368         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4369         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4370         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4371         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4372         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4373         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4374         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4375         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4376         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4377         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4378         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4379         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4380         removed macros.
4381         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4382         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4383         macros.
4384         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4385         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4386         * sysdeps/i386/i586/memset.S (memset): Likewise.
4387         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4388         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4389         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4390         macros.
4391         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4392         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4393         Change uses of L(2) to L(out).
4394         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4395         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4396         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4397         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4398         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4399         removed macros.
4400         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4401         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4402         macros.
4403         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4404         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4405         (RETURN): Do not use macro LEAVE.
4406         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4407         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4408         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4409         * sysdeps/i386/i686/memset.S (memset): Likewise.
4410         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4411         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4412         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4413         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4414         Likewise.
4415         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4416         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
4417         L(1_2) and L(1_3) into L(1).
4418         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4419         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4420         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4421         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4422         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4423         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4424         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4425         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4426         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4427         macros.
4428         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4429         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4430         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4431         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4432         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4433         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4434         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4435         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4436         * sysdeps/i386/strcspn.S (strcspn): Likewise.
4437         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4438         * sysdeps/i386/strrchr.S (strrchr): Likewise.
4439         * sysdeps/i386/strspn.S (strspn): Likewise.
4440         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4441         conditional code.
4442         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4443         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4444         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4445         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
4446         L(1_3) into L(1_1).
4447         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4448         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4449         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4450         macros.
4451         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4452
4453 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
4454
4455         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4456         macro.
4457
4458 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4459
4460         * math/atest-exp.c (exp_mpn): Remove ROUND.
4461         * math/atest-exp2.c (exp_mpn): Likewise.
4462         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4463
4464         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4465         * stdlib/tst-tls-atexit-lib.c: Likewise.
4466         * stdlib/tst-tls-atexit.c: Likewise.
4467
4468 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
4469
4470         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4471         and __attribute_alloc_size__.
4472
4473 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
4474
4475         * include/programs/xmalloc.h: Change __attribute_alloc_size to
4476         __attribute_alloc_size__.
4477         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4478         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4479
4480 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
4481
4482         * include/programs/xmalloc.h: New file.
4483         * catgets/gencat.c: Include it.
4484         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4485         * elf/pldd.c: Likewise.
4486         * iconv/iconv_charmap.c: Likewise.
4487         * iconv/iconvconfig.c: Likewise.
4488         * iconv/strtab.c: Likewise.
4489         * locale/programs/locale.c: Likewise.
4490         * locale/programs/localedef.h: Likewise.
4491         * locale/programs/simple-hash.c: Likewise.
4492         * nscd/nscd.h: Likewise.
4493         * nss/makedb.c: Likewise.
4494         * sysdeps/generic/ldconfig.h: Likewise.
4495
4496 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4497
4498         * Versions.def: Add GLIBC_2.18.
4499         * include/link.h (struct link_map): New member l_tls_dtor_count.
4500         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4501         (__call_tls_dtors): Likewise.
4502         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4503         __cxa_thread_atexit_impl.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4505         Likewise.
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4507         Likewise.
4508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4509         Likewise.
4510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4511         Likewise.
4512         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4514         Likewise.
4515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4516         Likewise.
4517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4519         Likewise.
4520         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4521         (tests): Add test case tst-tls-atexit.
4522         (modules-names): Add shared library for tst-tls-atexit.
4523         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4524         (GLIBC_PRIVATE): Add __call_tls_dtors.
4525         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4526         for libstdc++.
4527         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4528         * stdlib/tst-tls-atexit.c: New test case.
4529         * stdlib/tst-tls-atexit-lib.c: New test case.
4530
4531         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4532
4533         * elf/Versions (ld): Add _dl_find_dso_for_object.
4534         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4535         * elf/dl-open.c (_dl_find_dso_for_object): New function.
4536         (dl_open_worker): Use _dl_find_dso_for_object.
4537         * elf/dl-sym.c (do_sym): Likewise.
4538         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4539
4540 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4541
4542         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4543         Syntactic changes only.
4544         (_dl_runtime_profile): Do a tail-call to the resolved function.
4545
4546 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
4547
4548         [BZ #13550]
4549         * sysdeps/x86_64/bp-asm.h: Remove file.
4550         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4551         <bp-sym.h> and <bp-asm.h>.
4552         (__clone): Do not use BP_SYM.
4553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4554         <bp-sym.h> and <bp-asm.h>.
4555         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4556         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4557         "bp-asm.h".
4558         (_setjmp): Do not use BP_SYM.
4559         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4560         "bp-asm.h".
4561         (setjmp): Do not use BP_SYM.
4562         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4563         libc_hidden_def.
4564         (mempcpy): Do not use BP_SYM in weak_alias.
4565         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4566         "bp-asm.h".
4567         (strchr): Do not use BP_SYM.
4568         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4569         "bp-asm.h".
4570         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4571         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4572         (_start): Do not use BP_SYM.
4573         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4574         "bp-asm.h".
4575         (strcat): Do not use BP_SYM.
4576         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4577         "bp-asm.h".
4578         (STRCMP): Do not use BP_SYM.
4579         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4580         "bp-asm.h".
4581         (STRCPY): Do not use BP_SYM.
4582         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4583         "bp-asm.h".
4584         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4585         "bp-asm.h".
4586         (FUNCTION): Do not use BP_SYM.
4587         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4588         weak_alias.
4589         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4590
4591 2013-02-17  Andreas Jaeger  <aj@suse.de>
4592
4593         * time/Versions: Sort entries.
4594         * string/Versions: Likewise.
4595         * resolv/Versions: Likewise.
4596         * posix/Versions: Likewise.
4597         * iconv/Versions: Likewise.
4598         * elf/Versions: Likewise.
4599         * wcsmbs/Versions: Likewise.
4600
4601 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4602
4603         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4604         loop termination condition.
4605
4606         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4607         variable to calculate EZ.
4608         (__sqr): Likewise.
4609
4610         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4611         the lower precision input.
4612
4613 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
4614
4615         [BZ #13550]
4616         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4617         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4618         (run-via-rtld-prefix): Do not handle %-bp tests.
4619         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4620         (all-object-suffixes): Remove .ob.
4621         (bppfx): Remove variable.
4622         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4623         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4624         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4625         [$(build-bounded) = yes] (libtype.ob): Likewise.
4626         * Makerules (elide-routines.ob): Remove variable.
4627         (do-tests-clean): Do not handle *-bp.out.
4628         (common-mostlyclean): Do not handle *-bp and *-bp.out.
4629         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4630         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4631         (tests): Do not include $(tests-bp.out).
4632         (xtests): Do not include $(xtests-bp.out).
4633         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4634         [$(build-bounded) = yes] ($(addprefix
4635         $(objpfx),$(binaries-bounded))): Remove rule.
4636         ($(objpfx)%-bp.out): Remove rule.
4637         * config.make.in (build-bounded): Remove variable.
4638         * crypt/Makefile [$(build-bounded) = yes]
4639         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4640         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4641         append to variable.
4642         [$(build-bounded) = yes] (install-lib): Likewise.
4643         [$(build-bounded) = yes] (generated): Likewise.
4644         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4645         Remove rule.
4646         * intl/Makefile [$(build-bounded) = yes]
4647         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4648         * math/Makefile [$(build-bounded) = yes]
4649         ($(tests:%=$(objpfx)%-bp): Likewise.
4650         * misc/Makefile [$(build-bounded) = yes]
4651         ($(objpfx)tst-tsearch-bp): Likewise.
4652         * nptl/Makeconfig (bounded-thread-library): Remove variable.
4653         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4654         Remove dependency.
4655         * string/Makefile (o-objects.ob): Remove variable.
4656         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4657         (CFLAGS-.ob): Remove variable.
4658         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4659         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4660         both definitions of variable.
4661         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4662         (ASFLAGS-.ob): Remove variable.
4663
4664 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
4665
4666         [BZ #13550]
4667         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4668         Remove __BOUNDED_POINTERS__ from condition.
4669         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4670         * string/bits/string2.h [!__NO_STRING_INLINES &&
4671         !__BOUNDED_POINTERS__]: Likewise.
4672         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4673         Likewise.
4674         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4675         Remove conditional code.
4676         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4677         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4678         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4679         condition.
4680
4681         [BZ #13550]
4682         * csu/libc-start.c: Do not include <bp-sym.h>.
4683         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4684         * elf/dl-open.c: Do not include <bp-sym.h>.
4685         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4686         * math/fegetenv.c: Do not include <bp-sym.h>.
4687         (fegetenv): Do not use BP_SYM in versioned symbols.
4688         * nptl/sysdeps/pthread/bits/libc-lockP.h
4689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4690         <bp-sym.h>.
4691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4692         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4694         (__pthread_mutex_destroy): Likewise.
4695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4696         (__pthread_mutex_lock): Likewise.
4697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4698         (__pthread_mutex_trylock): Likewise.
4699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4700         (__pthread_mutex_unlock): Likewise.
4701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4702         (__pthread_mutexattr_init): Likewise.
4703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4704         (__pthread_mutexattr_destroy): Likewise.
4705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4706         (__pthread_mutexattr_settype): Likewise.
4707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4708         (__pthread_rwlock_init): Likewise.
4709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4710         (__pthread_rwlock_destroy): Likewise.
4711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4712         (__pthread_rwlock_rdlock): Likewise.
4713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4714         (__pthread_rwlock_tryrdlock): Likewise.
4715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4716         (__pthread_rwlock_wrlock): Likewise.
4717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4718         (__pthread_rwlock_trywrlock): Likewise.
4719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4720         (__pthread_rwlock_unlock): Likewise.
4721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4722         (__pthread_key_create): Likewise.
4723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4724         (__pthread_setspecific): Likewise.
4725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4726         (__pthread_getspecific): Likewise.
4727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4728         Likewise.
4729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4730         (_pthread_cleanup_push_defer): Likewise.
4731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4732         (_pthread_cleanup_pop_restore): Likewise.
4733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4734         (pthread_setcancelstate): Likewise.
4735         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4736         <bp-sym.h>.
4737         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4738         (memchr): Do not use BP_SYM in weak_alias.
4739         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4740         (fegetenv): Do not use BP_SYM in versioned symbols.
4741         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4742         (fesetenv): Do not use BP_SYM in versioned symbols.
4743         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4744         (feupdateenv): Do not use BP_SYM in versioned symbols.
4745         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4746         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4747         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4748         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4749         (open64): Do not use BP_SYM in weak_alias.
4750         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4751         (fegetenv): Do not use BP_SYM in versioned symbols.
4752         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4753         (fesetenv): Do not use BP_SYM in versioned symbols.
4754         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4755         (feupdateenv): Do not use BP_SYM in versioned symbols.
4756         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4757         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4758         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4759         (feraiseexcept): Do not use BP_SYM in versioned symbols.
4760         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4761         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4762         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4763         <bp-sym.h>.
4764         (__libc_start_main): Do not use BP_SYM.
4765
4766 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4767
4768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4769         redundant return line.
4770         (norm): Likewise.
4771         (denorm): Likewise.
4772         (dbl_mp): Likewise.
4773         (sub_magnitudes): Likewise.
4774         (__add): Likewise.
4775         (__sub): Likewise.
4776         (__mul): Likewise.
4777         (__inv): Likewise.
4778         (__dvd): Likewise.
4779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4780         (norm): Likewise.
4781         (denorm): Likewise.
4782         (dbl_mp): Likewise.
4783         (sub_magnitudes): Likewise.
4784         (__add): Likewise.
4785         (__sub): Likewise.
4786         (__mul): Likewise.
4787         (__inv): Likewise.
4788         (__dvd): Likewise.
4789
4790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4791         instead of __mul.
4792         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4793         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4794         (cc32): Likewise.
4795
4796         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4797         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4799         of __mul for squares.
4800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4801         function
4802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4803         Likewise.
4804         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4805         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4806
4807 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
4808
4809         [BZ #13550]
4810         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4811         code.
4812         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4813         prototype or function definition.  Rename ubp_* variables and
4814         parameters.  Remove argv definitions conditional on
4815         [__BOUNDED_POINTERS__].
4816         * debug/backtrace.c (__backtrace): Do not use __unbounded.
4817         * elf/dl-runtime.c (_dl_fixup): Likewise.
4818         * include/set-hooks.h (RUN_HOOK): Likewise.
4819         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4820         definition.
4821         * string/strcpy.c (strcpy): Do not use __unbounded.
4822         * sysdeps/generic/frame.h (struct layout): Likewise.
4823         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4824         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4825         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4826         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4827         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4828         (__backtrace): Likewise.
4829         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4830         use __ptrvalue.
4831         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4832         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4833         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4834         Likewise.
4835         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4836         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4837         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4838         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4839         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4840         Do not use __unbounded.
4841         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4842         Rename __unboundedrlimits parameter to rlimits in prototype.
4843         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4844         Do not use __unbounded.
4845         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4846         not use __ptrvalue.
4847         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4848         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4849         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4850         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4851         __ptrvalue or __unbounded.
4852         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4853         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4854         use __unbounded.
4855         (__new_msgctl): Do not use __ptrvalue.
4856         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4857         __unbounded.
4858         (__libc_msgrcv): Do not use __ptrvalue.
4859         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4860         startup_info): Do not use __unbounded.
4861         (__libc_start_main): Likewise.  Rename ubp_* variables and
4862         parameters.  Remove argv definitions conditional on
4863         [__BOUNDED_POINTERS__].
4864         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4865         __ptrvalue.
4866         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4867         use __unbounded.
4868         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4869         or __ptrvalue.
4870         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4871         use __unbounded.
4872         (__new_shmctl): Do not use __ptrvalue.
4873         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4874         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4877         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4878         (__libc_sigaction): Likewise.
4879         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4880         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4881         Likewise.
4882         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4883
4884 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
4885
4886         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4887
4888         * string/mempcpy.c: Implement by calling memcpy.
4889
4890 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4891
4892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4893
4894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4895         evaluation.
4896
4897         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4898         values in the mantissa.
4899
4900         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4901         minimize writes to Z.
4902         (sub_magnitudes): Simplify code a bit.
4903
4904 2013-02-12  Roland McGrath  <roland@hack.frob.com>
4905
4906         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4907         from the message.  The linker prefixes all warnings with that already.
4908
4909 2013-02-12  Andreas Schwab  <schwab@suse.de>
4910
4911         [BZ #15078]
4912         * posix/regexec.c (extend_buffers): Add parameter min_len.
4913         (check_matching): Pass minimum needed length.
4914         (clean_state_log_if_needed): Likewise.
4915         (get_subexp): Likewise.
4916         * posix/Makefile (tests): Add bug-regex34.
4917         (bug-regex34-ENV): Define.
4918         * posix/bug-regex34.c: New file.
4919
4920         [BZ #11561]
4921         * posix/regcomp.c (parse_bracket_exp): When looking up collating
4922         elements compare against the byte sequence of it, not its name.
4923         * posix/Makefile (tests): Add bug-regex35.
4924         (bug-regex35-ENV): Define.
4925         * posix/bug-regex35.c: New file.
4926
4927 2013-02-11  Tom de Vries  <tom@codesourcery.com>
4928
4929         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
4930         comment.
4931         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4932         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4933         (CHECK_EOL): Add undef.
4934
4935 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
4936
4937         * bits/stdlib-bsearch.h: New file.
4938         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4939         * stdlib/stdlib.h: Likewise.
4940
4941 2013-02-11  Roland McGrath  <roland@hack.frob.com>
4942
4943         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4944         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4945         declaration.
4946         * manual/search.texi (Array Search Function): Add missing const in
4947         lfind prototype.
4948         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4949         declaration to use rlim_t.
4950         (Basic Scheduling Functions): Remove erroneous const from
4951         sched_getparam prototype.  Remove erroneous * from
4952         sched_get_priority_max and sched_get_priority_min prototypes.
4953         (Resource Usage): Fix summary @comment on vtimes to refer to
4954         sys/vtimes.h rather than vtimes.h.
4955         Add missing *s in vtimes prototype.
4956         (Limits on Resources): Fix ulimit prototype to return long int.
4957         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4958         prototypes to use long int rather than double.
4959         (BSD Random): Fix initstate and setstate to use char *, not void *.
4960         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4961         prototype to make second argument 'struct aiocb64 *const[]'.
4962         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4963         (Status of AIO Operations): Remove erroneous const in aio_return and
4964         aio_return64 prototypes.
4965         (Synchronizing I/O): Fix sync prototype to return void.
4966         * manual/startup.texi (Suboptions): Remove an erroneous const in
4967         getsubopt prototype.
4968         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4969         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4970         use size_t rather than int.
4971         (Scanning All Users): Likewise for getpwent_r.
4972         (Setting Groups): Add missing const to setgroups prototype.
4973         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4974         * manual/socket.texi (Host Names): Fix gethostbyaddr and
4975         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4976         'const void *' rather than 'const char *'.
4977         (Host Address Functions): Likewise for inet_ntop.
4978         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4979         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4980         ssize_t for return value.
4981         (Sending Data): Likewise for send, sendto, sendmsg.
4982         (Socket Option Functions): Add a missing const in setsockopt prototype.
4983         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4984         use wchar_t for the argument.
4985         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4986         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4987         take no arguments.
4988         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4989         double/float/long double for second argument.
4990         Fix return types of significand, significandf, significandl.
4991         * manual/filesys.texi (Setting Permissions): Use mode_t for second
4992         argument in fchmod prototype.
4993         (File Owner): Use uid_t and gid_t in fchown prototype.
4994         (File Times): Add const to utimes, futimes, and lutimes prototypes.
4995         (Making Special Files): Use mode_t and dev_t in mknod prototype.
4996         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4997         use 'const struct dirent **' as argument types to CMP function pointer
4998         argument.
4999         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5000         (File Times): Fix summary magic @comment for struct utimbuf and utime
5001         to refer to utime.h, not time.h.
5002         * manual/string.texi (Argz Functions): Add missing const in
5003         argz_extract and argz_next prototypes.
5004         (Finding Tokens in a String): Likewise for basename.
5005         (String/Array Comparison): Fix typo in wcscasecmp prototype.
5006         (Copying and Concatenation): Fix typo in wmemmove prototype.
5007         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5008         (Signal Stack): Remove erroneous const in sigstack prototype.
5009         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5010         prototype.
5011         (Simple Calendar Time): Likewise for stime.
5012         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5013         prototype.
5014         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5015         say sys/sysctl.h instead.
5016         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5017         and vsyslog prototypes.
5018
5019 2013-02-11  Tom de Vries  <tom@codesourcery.com>
5020
5021         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5022         Remove.
5023
5024 2013-02-11  Roland McGrath  <roland@hack.frob.com>
5025
5026         * misc/sys/mman.h: Fix typo in mremap comment.
5027
5028 2013-02-08  Roland McGrath  <roland@hack.frob.com>
5029
5030         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5031         the '\0' terminator.
5032
5033 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
5034
5035         [BZ #13550]
5036         * debug/segfault.c: Don't include <bp-checks.h>.
5037         * sysdeps/generic/bp-checks.h: Remove file.
5038         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5039         (__GETDENTS): Don't use CHECK_N.
5040         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5041         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5042         (__getgroups): Don't use CHECK_N.
5043         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5044         (setgroups): Don't use CHECK_N.
5045         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5046         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5047         (__libc_msgrcv): Don't use CHECK_N.
5048         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5049         (__libc_msgsnd): Don't use CHECK_N.
5050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5051         <bp-checks.h>.
5052         (__libc_pread): Don't use CHECK_N.
5053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5054         include <bp-checks.h>.
5055         (__libc_pread64): Don't use CHECK_N.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5057         include <bp-checks.h>.
5058         (__libc_pwrite): Don't use CHECK_N.
5059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5060         include <bp-checks.h>.
5061         (__libc_pwrite64): Don't use CHECK_N.
5062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5063         <bp-checks.h>.
5064         (__libc_pread): Don't use CHECK_N.
5065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5066         include <bp-checks.h>.
5067         (__libc_pread64): Don't use CHECK_N.
5068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5069         include <bp-checks.h>.
5070         (__libc_pwrite): Don't use CHECK_N.
5071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5072         include <bp-checks.h>.
5073         (__libc_pwrite64): Don't use CHECK_N.
5074         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5075         (do_pread): Don't use CHECK_N.
5076         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5077         (do_pread64): Don't use CHECK_N.
5078         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5079         (do_pwrite): Don't use CHECK_N.
5080         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5081         (do_pwrite64): Don't use CHECK_N.
5082         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5083         (__libc_readv): Don't use CHECK_N.
5084         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5085         (semop): Don't use CHECK_N.
5086         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5087         <bp-checks.h>.
5088         (semtimedop): Don't use CHECK_N.
5089         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5090         (__libc_pread): Don't use CHECK_N.
5091         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5092         <bp-checks.h>.
5093         (__libc_pread64): Don't use CHECK_N.
5094         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5095         <bp-checks.h>.
5096         (__libc_pwrite): Don't use CHECK_N.
5097         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5098         <bp-checks.h>.
5099         (__libc_pwrite64): Don't use CHECK_N.
5100         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5101         <bp-checks.h>.
5102         (__libc_msgrcv): Don't use CHECK_N.
5103         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5104         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
5105         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5106         (__libc_writev): Don't use CHECK_N.
5107
5108 2013-02-08  Roland McGrath  <roland@hack.frob.com>
5109
5110         * string/strcpy.c: Removed unused variable.
5111
5112         * Makeconfig (+sysdep-includes): Define with := rather than =.
5113         Use an existing include/ subdir of each sysdeps dir before it.
5114
5115 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5116
5117         * nscd/connection.c (register_traced_file): Comment function.
5118         [HAVE_INOTIFY] (union __inev): Define.
5119         [HAVE_INOTIFY] (inotify_check_files): New function.
5120         [HAVE_INOTIFY] (clear_db_cache): Likewise.
5121         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5122         clear_db_cache.
5123         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5124
5125 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5126
5127         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5128         loaded if not already and that a failure is permanent.
5129
5130 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5131
5132         [BZ #15006]
5133         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5134         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5135
5136 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
5137
5138         [BZ #13550]
5139         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5140         (CHECK_1_NULL_OK): Likewise.
5141         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5142         (__fxstat): Do not use CHECK_1.
5143         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5144         <bp-checks.h>.
5145         (___fxstat64): Do not use CHECK_1.
5146         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5147         <bp-checks.h>.
5148         (__fxstatat): Do not use CHECK_1.
5149         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5150         <bp-checks.h>.
5151         (__fxstatat64): Do not use CHECK_1.
5152         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5153         <bp-checks.h>.
5154         (__fxstat): Do not use CHECK_1.
5155         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5156         <bp-checks.h>.
5157         (__fxstatat): Do not use CHECK_1.
5158         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5159         <bp-checks.h>.
5160         (__getresgid): Do not use CHECK_1.
5161         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5162         <bp-checks.h>.
5163         (__getresuid): Do not use CHECK_1.
5164         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5165         <bp-checks.h>.
5166         (__lxstat): Do not use CHECK_1.
5167         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5168         <bp-checks.h>.
5169         (__old_msgctl): Do not use CHECK_1.
5170         (__new_msgctl): Likewise.
5171         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5172         <bp-checks.h>.
5173         (__new_setrlimit): Do not use CHECK_1.
5174         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5175         <bp-checks.h>.
5176         (__old_shmctl): Do not use CHECK_1.
5177         (__new_shmctl): Likewise.
5178         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5179         <bp-checks.h>.
5180         (__xstat): Do not use CHECK_1.
5181         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5182         (__lxstat): Do not use CHECK_1.
5183         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5184         <bp-checks.h>.
5185         (___lxstat64): Do not use CHECK_1.
5186         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5187         (__old_msgctl): Do not use CHECK_1.
5188         (__new_msgctl): Likewise.
5189         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5190         <bp-checks.h>.
5191         (__gettimeofday): Do not use CHECK_1.
5192         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5193         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5194         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5195         <bp-checks.h>.
5196         (__gettimeofday): Do not use CHECK_1.
5197         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5198         (__old_shmctl): Do not use CHECK_1_NULL_OK.
5199         (__new_shmctl): Do not use CHECK_1.
5200         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5201         <bp-checks.h>.
5202         (do_sigtimedwait): Do not use CHECK_1.
5203         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5204         <bp-checks.h>.
5205         (do_sigwaitinfo): Do not use CHECK_1.
5206         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5207         <bp-checks.h>.
5208         (msgctl): Do not use CHECK_1.
5209         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5210         <bp-checks.h>.
5211         (shmctl): Do not use CHECK_1.
5212         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5213         (ustat): Do not use CHECK_1.
5214         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5215         <bp-checks.h>.
5216         (__fxstat): Do not use CHECK_1.
5217         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5218         <bp-checks.h>.
5219         (__fxstatat): Do not use CHECK_1.
5220         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5221         <bp-checks.h>.
5222         (__lxstat): Do not use CHECK_1.
5223         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5224         <bp-checks.h>.
5225         (__xstat): Do not use CHECK_1.
5226         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5227         (__xstat): Do not use CHECK_1.
5228         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5229         (___xstat64): Do not use CHECK_1.
5230
5231         [BZ #13550]
5232         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5233         definitions.
5234         (CHECK_BOUNDS_HIGH): Likewise.
5235         * string/strcpy.c: Do not include <bp-checks.h>.
5236         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5237
5238 2013-02-07  Roland McGrath  <roland@hack.frob.com>
5239
5240         * nscd/nscd-client.h (__nscd_drop_map_ref):
5241         Add __attribute__ ((unused)).
5242         * nis/nss-nisplus.h (niserr2nss): Likewise.
5243
5244         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5245         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5246
5247         * csu/libc-tls.c (init_static_tls, init_slotinfo):
5248         Remove inline keyword.
5249         * include/rounding-mode.h (round_away): Likewise.
5250         * libio/wfileops.c (adjust_wide_data): Likewise.
5251         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5252         (__m128i_strloadu_tolower): Likewise.
5253         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5254         (__m128i_strloadu_tolower): Likewise.
5255         * time/mktime.c (ydhms_diff): Likewise.
5256         * locale/elem-hash.h (elem_hash): Likewise.
5257         * locale/setlocale.c (setdata): Likewise.
5258         * posix/regex_internal.h (re_string_char_size_at): Likewise.
5259         (re_string_wchar_at): Likewise.
5260         (bitset_not, bitset_merge, bitset_mask): Likewise.
5261         [!(__GNUC__ > 3)] (inline): Remove macro.
5262         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5263         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5264         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5265         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5266         * string/memcmp.c (memcmp_bytes): Likewise.
5267         * locale/programs/locarchive.c (compute_hashval): Likewise.
5268         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5269         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5270         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5271         * nss/getent.c (print_rpc, print_protocols): Likewise.
5272         (print_passwd, print_group, print_aliases): Likewise.
5273         * nis/nss-nisplus.h (niserr2nss): Likewise.
5274         * nscd/connections.c (restart_p): Likewise.
5275         Change return type to bool.
5276
5277 2013-02-05  Roland McGrath  <roland@hack.frob.com>
5278
5279         * Makeconfig (all-Depend-files): Add existing
5280         $(sorted-subdirs:=/Depend) files.
5281         (all-subdirs): Remove nss.
5282         * sysdeps/unix/inet/Subdirs: Add it here instead.
5283         * hesiod/Depend: New file.
5284
5285         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5286         instead of calling alloca.
5287
5288         * io/lseek.c (__lseek): Rename to __libc_lseek.
5289         Define __lseek as an alias.
5290
5291         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5292
5293 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
5294
5295         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5296         else clause and remove check for non-standard endianness.
5297
5298 2013-02-04  David S. Miller  <davem@davemloft.net>
5299
5300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5301
5302 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
5303
5304         [BZ #13550]
5305         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5306         (__ubp_memchr): Remove prototype.
5307         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5308         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5309         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5310         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5311         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5312         Remove alias.
5313         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5314         (__ubp_memchr): Likewise.
5315         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5316         (__ubp_memchr): Likewise.
5317         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5318         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5319         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5320         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5321         CHECK_STRING.
5322         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5323         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5324         (__getcwd): Do not use CHECK_STRING.
5325         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5326         <bp-checks.h>.
5327         (__real_chown): Do not use CHECK_STRING.
5328         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5329         <bp-checks.h>.
5330         (fchownat): Do not use CHECK_STRING.
5331         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5332         CHECK_STRING.
5333         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5334         <bp-checks.h>.
5335         (__lchown): Do not use CHECK_STRING.
5336         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5337         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5338         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5339         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5341         include <bp-checks.h>.
5342         (truncate64): Do not use CHECK_STRING.
5343         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5344         <bp-checks.h>.
5345         (__real_chown): Do not use CHECK_STRING.
5346         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5347         <bp-checks.h>.
5348         (__lchown): Do not use CHECK_STRING.
5349         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5350         <bp-checks.h>.
5351         (__chown): Do not use CHECK_STRING.
5352         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5353         <bp-checks.h>.
5354         (truncate64): Do not use CHECK_STRING.
5355         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5356         Likewise.
5357         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5358         (__xmknod): Do not use CHECK_STRING.
5359         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5360         <bp-checks.h>.
5361         (__xmknodat): Do not use CHECK_STRING.
5362         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5363         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5364
5365 2013-02-04  Andreas Schwab  <schwab@suse.de>
5366
5367         [BZ #14142]
5368         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5369         * include/netdb.h: Likewise for h_errno.
5370         * elf/tst-stackguard1.c: Include <tls.h>.
5371
5372 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5373
5374         * elf/link.h (struct link_map): Extend the l_addr comment.
5375         * include/link.h (struct link_map): Likewise.
5376
5377 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
5378
5379         [BZ #13550]
5380         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5381         (BOUNDED_1): Remove macro.
5382         * debug/backtrace.c: Don't include <bp-checks.h>.
5383         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5384         (__backtrace): Likewise.
5385         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5386         <bp-checks.h>.
5387         (__backtrace): Don't use BOUNDED_1.
5388         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5389         <bp-checks.h>.
5390         (__backtrace): Don't use BOUNDED_1.
5391         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5392         (__backtrace): Don't use BOUNDED_1.
5393         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5394         (shmat): Don't use BOUNDED_N.
5395
5396 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
5397
5398         [BZ #13550]
5399         * sysdeps/generic/bp-start.h: Remove file.
5400         * csu/libc-start.c: Don't include <bp-start.h>.
5401         (LIBC_START_MAIN): Set up __environ directly instead of using
5402         INIT_ARGV_and_ENVIRON.
5403         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5404         <bp-start.h>.
5405
5406         [BZ #13550]
5407         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5408         definitions.
5409         (CHECK_FCNTL): Likewise.
5410         (CHECK_N_PAGES): Likewise.
5411
5412         [BZ #13550]
5413         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5414         definitions.
5415         (CHECK_SIGSET_NULL_OK): Likewise.
5416         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5417         <bp-checks.h>.
5418         (sigpending): Don't use CHECK_SIGSET.
5419         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5420         <bp-checks.h>.
5421         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5422         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5423         <bp-checks.h>.
5424         (do_sigsuspend): Don't use CHECK_SIGSET.
5425         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5426         use CHECK_SIGSET.
5427         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5428         (do_sigwait): Don't use CHECK_SIGSET.
5429         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5430         use CHECK_SIGSET.
5431         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5432         include <bp-checks.h>.
5433         (sigpending): Don't use CHECK_SIGSET.
5434         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5435         include <bp-checks.h>.
5436         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5437         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5438         <bp-checks.h>.
5439         (sigpending): Don't use CHECK_SIGSET.
5440         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5441         <bp-checks.h>.
5442         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5443
5444         [BZ #13550]
5445         * sysdeps/generic/bp-semctl.h: Remove file.
5446         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5447         <bp-checks.h> and <bp-semctl.h>.
5448         (__old_semctl): Don't use CHECK_SEMCTL.
5449         (__new_semctl): Likewise.
5450         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5451         and <bp-semctl.h>.
5452         (__old_semctl): Don't use CHECK_SEMCTL.
5453         (__new_semctl): Likewise.
5454         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5455         <bp-checks.h> and <bp-semctl.h>.
5456         (__old_semctl): Don't use CHECK_SEMCTL.
5457         (__new_semctl): Likewise.
5458         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5459         <bp-checks.h> and <bp-semctl.h>.
5460         (semctl): Don't use CHECK_SEMCTL.
5461
5462         [BZ #13550]
5463         * Makerules (elide-bp-thunks): Remove variable.
5464         (elide-routines.oS): Don't use $(elide-bp-thunks).
5465         (elide-routines.os): Likewise.
5466         (elide-routines.o): Likewise.
5467         (elide-routines.op): Likewise.
5468         (elide-routines.og): Likewise.
5469         (objects): Don't use $(bp-thunks).
5470         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5471         include.
5472         (common-generated): Do not add s-proto-bp.d.
5473         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5474         (int): Likewise.
5475         (typ): Likewise.
5476         Do not generate makefile rules for bounded-pointer thunks.
5477         * sysdeps/generic/bp-thunks.h: Remove file.
5478         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5479         * sysdeps/unix/s-proto-bp.S: Likewise.
5480
5481         [BZ #15062]
5482         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5483         parts of result separately when argument is not close to line from
5484         -i to i and one part of argument is small.
5485         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5486         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5487         * math/libm-test.inc (cacos_test): Add more tests.
5488         (casin_test): Likewise.
5489         (casinh_test): Likewise.
5490         * sysdeps/i386/fpu/libm-test-ulps: Update.
5491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5492
5493 2013-01-31  David S. Miller  <davem@davemloft.net>
5494
5495         * po/de.po: Update from translation team.
5496
5497 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
5498
5499         * time/tzfile.c: Include stdint.h for SIZE_MAX.
5500
5501 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
5502
5503         * configure.in (_AC_PROG_CC_C89): New definition.
5504         * configure: Regenerate.
5505
5506         * configure.in (AC_PROG_CPP): New definition.
5507         * configure: Regenerate.
5508
5509 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
5510
5511         * debug/tst-backtrace.h: New file.
5512         * debug/tst-backtrace2.c: Include tst-backtrace.h.
5513         (ret): Remove variable.
5514         (x): Likewise.
5515         (FAIL): Remove macro.
5516         (NO_INLINE): Likewise.
5517         (fn1): Use match function instead of strstr.
5518         * debug/tst-backtrace3.c: Include tst-backtrace.h.
5519         (ret): Remove variable.
5520         (x): Likewise.
5521         (FAIL): Remove macro.
5522         (NO_INLINE): Likewise.
5523         (fn): Use match function instead of strstr.
5524         * debug/tst-backtrace4.c: Include tst-backtrace.h.
5525         (ret): Remove variable.
5526         (x): Likewise.
5527         (FAIL): Remove macro.
5528         (NO_INLINE): Likewise.
5529         (handle_signal): Use match function instead of strstr.
5530         * debug/tst-backtrace5.c: Include tst-backtrace.h.
5531         (ret): Remove variable.
5532         (x): Likewise.
5533         (FAIL): Remove macro.
5534         (NO_INLINE): Likewise.
5535         (handle_signal): Use match function instead of strstr.
5536
5537 2013-01-23  Roland McGrath  <roland@hack.frob.com>
5538
5539         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5540
5541 2013-01-23  David S. Miller  <davem@davemloft.net>
5542
5543         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5544         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5545         argument of CAS if possible.
5546         * sysdeps/sparc/sparc64/bits/atomic.h
5547         (__arch_compare_and_exchange_val_32_acq): Likewise.
5548         (__arch_compare_and_exchange_val_64_acq): Likewise.
5549
5550 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
5551
5552         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5553         * sysdeps/posix/ulimit.c: ... this.
5554         Include <limits.h>.
5555         * sysdeps/unix/bsd/ulimit.c: Remove file.
5556
5557 2013-01-23  Adam Conrad  <adconrad@0c3.net>
5558
5559         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5560         (LDFLAGS-tst-array5): Likewise.
5561
5562 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
5563
5564         [BZ #15036]
5565         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5566         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5567         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5568         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5569
5570 2013-01-21  David S. Miller  <davem@davemloft.net>
5571
5572         * sysdeps/sparc/backtrace.c: New file.
5573         * sysdeps/sparc/sparc32/backtrace.h: New file.
5574         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5575         * sysdeps/sparc/sparc64/backtrace.h: New file.
5576         * sysdeps/sparc/sparc64/backtrace.c: Delete.
5577         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5578         -funwind-tables.
5579
5580 2013-01-21  Andreas Schwab  <schwab@suse.de>
5581
5582         [BZ #15020]
5583         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5584         closed its stdout.
5585
5586 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
5587
5588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5589         "mpa2.h".
5590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5591
5592 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
5593             Mark Mitchell  <mark@codesourcery.com>
5594             Tom de Vries  <tom@codesourcery.com>
5595             Paul Pluzhnikov  <ppluzhnikov@google.com>
5596
5597         * debug/tst-backtrace2.c: New file.
5598         * debug/tst-backtrace3.c: Likewise.
5599         * debug/tst-backtrace4.c: Likewise.
5600         * debug/tst-backtrace5.c: Likewise.
5601         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5602         (CFLAGS-tst-backtrace3.c): Likewise.
5603         (CFLAGS-tst-backtrace4.c): Likewise.
5604         (CFLAGS-tst-backtrace5.c): Likewise.
5605         (LDFLAGS-tst-backtrace2): Likewise.
5606         (LDFLAGS-tst-backtrace3): Likewise.
5607         (LDFLAGS-tst-backtrace4): Likewise.
5608         (LDFLAGS-tst-backtrace5): Likewise.
5609         (tests): Add new tests tst-backtrace2, tst-backtrace3,
5610         tst-backtrace4 and tst-backtrace5.
5611
5612 2013-01-18  Anton Blanchard  <anton@samba.org>
5613             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5614
5615         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5616         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5617         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5618         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5620         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5621         "+r" and remove output regs list as redundant.  Add explicit inline
5622         asm to specify register of return val to work around compiler codegen
5623         bug.  Remove (int) cast on return value.  Add return type parameter to
5624         use in macro so that this macro does not truncate return value for
5625         64-bit values.
5626         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5627         pass to INTERNAL_VSYSCALL_NCS.
5628         (INLINE_VSYSCALL): Add 'long int' as return type to
5629         INTERNAL_VSYSCALL_NCS macro invocation.
5630         (INTERNAL_VSYSCALL): Add 'long int' as return type to
5631         INTERNAL_VSYSCALL_NCS macro invocation.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5633
5634 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5635
5636         [BZ #14496]
5637         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5638         Fix application of SIMD FP exception mask.
5639
5640         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5641         mp_no from a power of two.
5642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5643         __mpexp_twomm1.  Use __pow_mp.
5644
5645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5646         multiplication.
5647
5648 2013-01-17  David S. Miller  <davem@davemloft.net>
5649
5650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5651
5652 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
5653
5654         [BZ #15023]
5655         * include/complex.h: Condition contents on [!_COMPLEX_H].
5656         (__kernel_casinhf): New prototype.
5657         (__kernel_casinh): Likewise.
5658         (__kernel_casinhl): Likewise.
5659         * math/Makefile (libm_calls): Add k_casinh.
5660         * math/k_casinh.c: New file.
5661         * math/k_casinhf.c: Likewise.
5662         * math/k_casinhl.c: Likewise.
5663         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5664         finite nonzero arguments.
5665         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5666         finite nonzero arguments.
5667         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5668         finite nonzero arguments.
5669         * math/s_casinh.c: Do not include <float.h>.
5670         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5671         * math/s_casinhf.c: Do not include <float.h>.
5672         (__casinhf): Move code for finite nonzero arguments to
5673         k_casinhf.c.
5674         * math/s_casinhl.c: Do not include <float.h>.
5675         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5676         redefine.
5677         (__casinhl): Move code for finite nonzero arguments to
5678         k_casinhl.c.
5679         * math/libm-test.inc (cacos_test): Add more tests.
5680         * sysdeps/i386/fpu/libm-test-ulps: Update.
5681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5682
5683 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
5684
5685         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5686         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5687         [!HAVE_MREMAP]: Remove [defined linux] case.
5688         * malloc/arena.c: Do not include <malloc-sysdep.h>.
5689
5690 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5691
5692         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5693
5694 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
5695
5696         * elf/elf.h (R_386_SIZE32): New relocation.
5697         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5698         R_386_SIZE32.
5699         (elf_machine_rela): Likewise.
5700         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5701         R_X86_64_SIZE64 and R_X86_64_SIZE32.
5702
5703 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
5704
5705         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5706         (FP_FAST_FMA): Do not define.
5707         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5708         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5709         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5710         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5711         !_SOFT_FLOAT]: Likewise.
5712         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5713         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5714         value.
5715         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5716         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5717         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5718         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5719         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5720         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5721         file.
5722
5723 2013-01-16  Andreas Schwab  <schwab@suse.de>
5724
5725         [BZ #14327]
5726         * include/stdlib.h (__mktemp): Add declaration.
5727         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5728         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5729
5730 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5731
5732         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5733         definitions.
5734         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5735         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5736         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5737         definitions here.
5738         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5739         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5740         definitions.
5741         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5742         and ONE.
5743         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5744         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5745         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5746         definitions.
5747         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5748         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5749         definitions.
5750         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5751
5752         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5753
5754 2013-01-15  David S. Miller  <davem@davemloft.net>
5755
5756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5757         trunc{,f} to libm-sysdep_routes.
5758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5760         file.
5761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5763         file.
5764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5765         file.
5766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5768         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5769         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5770         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5771         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5772         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5773         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5774
5775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5776         nearbyint{,f} to libm-sysdep_routes.
5777         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5779         New file.
5780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5781         file.
5782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5783         New file.
5784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5785         file.
5786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5788         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5789         file.
5790         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5791         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5792         file.
5793         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5794         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5795         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5796
5797         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5798         libc_feholdexcept and libc_fesetenv.
5799
5800 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
5801
5802         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5803
5804 2013-01-14  David S. Miller  <davem@davemloft.net>
5805
5806         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5807         (SPARC_ASM_VIS2_IFUNC): Likewise.
5808         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5810         use of 'siam' instruction.
5811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5812         Likewise.
5813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5814         Likewise.
5815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5816         Likewise.
5817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5822         file.
5823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5824         file.
5825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5826         file.
5827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5828         file.
5829         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5831         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5834         new VIS2 routines.
5835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5838         Likewise.
5839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5844         routines to libm-sysdep_routines.
5845         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5846
5847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5848         fdim/fdimf to libm-sysdep_routines.
5849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5850         file.
5851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5853         file.
5854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5857         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5858         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5859         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5860         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5861
5862 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5863
5864         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5865         to optimize copies.
5866
5867         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5870
5871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5872         local variable MPTWO.
5873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5874         Likewise.
5875
5876 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
5877
5878         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5879         GLOB_NOESCAPE.
5880
5881 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
5882
5883         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5884
5885 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
5886
5887         * manual/pattern.texi (glob_t): Document gl_flags.
5888         (glob64_t): Likewise.
5889
5890 2013-01-11  David S. Miller  <davem@davemloft.net>
5891
5892         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5893         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5894         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
5895         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5896         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5897         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5898         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5899         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5900         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5901         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5902         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5903         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5904         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5905
5906         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5907         sparc V9 rather than using V8 code.
5908         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5909         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5910
5911         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5912         Move to...
5913         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5914         Here.
5915
5916 2013-01-11  Roland McGrath  <roland@hack.frob.com>
5917
5918         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5919         not in the main loop.
5920         * configure: Regenerated.
5921
5922 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
5923
5924         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5925         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5926         to just #else.
5927         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
5928         [!__GLIBC_HAVE_LONG_LONG] case.
5929         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5930         condition to just #else.
5931         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5932         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5933         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5934         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5935         unconditional.
5936         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5937         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5938         #elif condition to just #else.
5939         * sysdeps/unix/sysv/linux/sys/sysmacros.h
5940         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5941         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5942         #elif condition to just #else.
5943
5944 2013-01-11  Steve Ellcey  <sellcey@mips.com>
5945
5946         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5947         (EF_MIPS_ARCH_64): Fix value.
5948         (EF_MIPS_ARCH_32R2): New.
5949         (EF_MIPS_ARCH_64R2): New.
5950
5951 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
5952
5953         * Makeconfig (+link-pie-before-libc): New.
5954         (+link-pie-after-libc): Likewise.
5955         (+link-pie-tests): Likewise.
5956         (+link-pie): Rewritten.
5957         (link-before-libc): Remove $(config-LDFLAGS).
5958         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5959         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5960         (config-LDFLAGS): Renamed to ...
5961         (rtld-LDFLAGS): This.
5962         (rtld-tests-LDFLAGS): New macro.
5963         (link-libc-rpath-link): Likewise.
5964         (link-libc-tests-rpath-link): Likewise.
5965         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5966         (link-libc): Prepand $(link-libc-rpath-link).
5967         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5968         (test-program-prefix): New macro.
5969         (test-via-rtld-prefix): Likewise.
5970         (test-program-cmd): Likewise.
5971         (host-test-program-cmd): Likewise.
5972         * Makefile ($(common-objpfx)testrun.sh): Replace
5973         $(run-program-prefix) with $(test-program-prefix).
5974         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5975         $(rtld-LDFLAGS).
5976         ($(common-objpfx)shlib.lds): Likewise.
5977         (build-module-helper): Likewise.
5978         ($(common-objpfx)format.lds): Likewise.
5979         * Rules (binaries-pie-tests): New.
5980         (binaries-pie-notests): Likewise.
5981         (binaries-pie): Rewritten.
5982         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5983         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5984         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5985         (make-test-out): Replace $(host-built-program-cmd) with
5986         $(host-test-program-cmd).
5987         * config.make.in (build-hardcoded-path-in-tests): New variable.
5988         * configure.in (--enable-hardcoded-path-in-tests): New configure
5989         option.
5990         (hardcoded_path_in_tests): New AC_SUBST.
5991         * configure: Regenerated.
5992         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5993         $(built-program-cmd) with $(test-program-cmd).
5994         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5995         (test_program_cmd): This.
5996         * elf/Makefile ($(objpfx)order.out): Run test with
5997         $(test-program-prefix).
5998         ($(objpfx)order2.out): Likewise.
5999         ($(objpfx)tst-initorder.out): Likewise.
6000         ($(objpfx)tst-initorder2.out): Likewise.
6001         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6002         $(test-program-cmd).
6003         ($(objpfx)tst-array1-static.out): Likewise.
6004         ($(objpfx)tst-array2.out): Likewise.
6005         ($(objpfx)tst-array3.out): Likewise.
6006         ($(objpfx)tst-array4.out): Likewise.
6007         ($(objpfx)tst-array5.out): Likewise.
6008         ($(objpfx)tst-array5-static.out): Likewise.
6009         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6010         $(test-program-cmd).
6011         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6012         $(run-program-prefix) with $(test-program-prefix).
6013         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6014         (test_program_prefix): This.
6015         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6016         $(run-program-prefix) with $(test-program-prefix).
6017         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6018         (test_program_prefix): This.
6019         * iconvdata/tst-tables.sh: Likewise.
6020         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6021         $(run-program-prefix) with $(test-program-prefix).
6022         ($(objpfx)tst-translit.out): Likewise.
6023         ($(objpfx)tst-gettext2.out): Likewise.
6024         ($(objpfx)tst-gettext4.out): Likewise.
6025         ($(objpfx)tst-gettext6.out): Likewise.
6026         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6027         (test_program_prefix): This.
6028         * intl/tst-gettext2.sh: Likewise.
6029         * intl/tst-gettext4.sh  Likewise.
6030         * intl/tst-gettext6.sh: Likewise.
6031         * intl/tst-translit.sh: Likewise.
6032         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6033         with $(test-program-cmd).
6034         * libio/Makefile ($(objpfx)test-freopen.out): Replace
6035         $(run-program-prefix) with $(test-program-prefix).
6036         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6037         (test_program_prefix): This.
6038         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6039         $(run-program-prefix) with $(test-program-prefix).
6040         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6041         (test_program_prefix): This.
6042         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6043         * posix/Makefile ($(objpfx)globtest.out): Replace
6044         $(run-via-rtld-prefix) and $(test-wrapper) with
6045         $(test-program-prefix) and $(test-via-rtld-prefix).
6046         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6047         $(test-program-prefix).
6048         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6049         $(host-test-program-cmd).
6050         (tst-spawn-ARGS): Likewise.
6051         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6052         $(test-program-prefix).
6053         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6054         (test_via_rtld_prefix): This.
6055         (test_wrapper): Renamed to ...
6056         (test_program_prefix): This.
6057         (run_program_prefix): Replaced by test_program_prefix.
6058         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6059         (test_program_prefix): This.
6060         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6061         with $(host-test-program-cmd).
6062         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6063         $(run-program-prefix) with $(test-program-prefix).
6064         ($(objpfx)tst-printf.out): Likewise.
6065         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6066         $(test-program-cmd).
6067         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6068         (test_program_prefix): This.
6069         * stdio-common/tst-unbputc.sh: Likewise.
6070         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6071         $(run-program-prefix) with $(test-program-prefix).
6072         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6073         (test_program_prefix): This.
6074         * string/Makefile ($(objpfx)tst-svc.out):  Replace
6075         $(built-program-cmd) with $(test-program-cmd).
6076
6077 2013-01-11  Andreas Jaeger  <aj@suse.de>
6078
6079         [BZ #15003]
6080         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6081         value. Sync with Linux 3.7.
6082
6083 2013-01-10  David S. Miller  <davem@davemloft.net>
6084
6085         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6086         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6087         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6088
6089 2013-01-10  Roland McGrath  <roland@hack.frob.com>
6090
6091         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6092         never set.
6093         * configure: Regenerated.
6094
6095 2013-01-10  David S. Miller  <davem@davemloft.net>
6096
6097         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6098         sparc V9 rather than using V8 code.
6099         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6100         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6101
6102 2013-01-10  Roland McGrath  <roland@hack.frob.com>
6103
6104         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6105         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6106         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6107         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6108         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6109         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6110         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6111         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6112         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6113         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6114         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6115         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6116         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6117         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6118         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6119         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6120         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6121         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6122         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6123         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6124         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6125         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6126         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6127         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6128         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6129         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6130         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6131
6132 2013-01-10  David S. Miller  <davem@davemloft.net>
6133
6134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6135
6136 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
6137
6138         * posix/Makefile (tests-static): New variable.
6139         (tests): Add $(tests-static).
6140         (tst-exec-static-ARGS): New variable.
6141         (tst-spawn-static-ARGS): Likewise.
6142         * posix/tst-exec-static.c: New file.
6143         * posix/tst-spawn-static.c: Likewise.
6144         * posix/tst-exec.c: Support run directly.
6145         * posix/tst-spawn.c: Likewise.
6146
6147 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
6148
6149         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6150         long.
6151         * math/bits/mathcalls.h (llrint): Likewise.
6152         (llround): Likewise.
6153         * stdlib/stdlib.h (struct drand48_data): Likewise.
6154         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6155         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6156         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6157         Likewise.
6158         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6159         Likewise.
6160         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6161         (elf_greg_t): Likewise.
6162         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6163         (__jmp_buf): Likewise.
6164         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6165         definitions.
6166         (llrint): Likewise, for all definitions.
6167         (llrintl): Likewise.
6168
6169         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6170         Remove [__GNUC__] condition.
6171         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6172         condition to just [__USE_ISOC99].
6173         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6174
6175 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
6176
6177         [BZ #14200]
6178         * sysdeps/unix/sysv/linux/x86/bits/environments.h
6179         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6180         defined.
6181         (_POSIX_V6_ILP32_OFF32): Likewise.
6182         (_XBS5_ILP32_OFF32): Likewise.
6183         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6184         (__ILP32_OFFBIG_LDFLAGS): Likewise.
6185
6186 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6187
6188         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6189
6190         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6191         doubles __mpexp_twomm1.  Adjust usage.
6192         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6193         Remove.
6194
6195 2013-01-10  Andreas Schwab  <schwab@suse.de>
6196
6197         [BZ #14964]
6198         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6199         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6200
6201 2013-01-09  David S. Miller  <davem@davemloft.net>
6202
6203         [BZ #15003]
6204         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6205         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6206         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6207         TCP_FASTOPEN): Define.
6208         (tcp_repair_opt): New structure.
6209         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6210         enum values.
6211         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6212         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6213         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6214         (tcp_cookie_transactions): New structure.
6215
6216 2013-01-09  Anton Blanchard  <anton@samba.org>
6217
6218         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6219         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6220         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6221         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6222
6223 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
6224
6225         * include/features.h (__USE_ANSI): Remove.
6226
6227 2013-01-09  Roland McGrath  <roland@hack.frob.com>
6228
6229         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6230
6231         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6232
6233 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6234
6235         * sysdeps/s390/fpu/libm-test-ulps: Update.
6236
6237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6238
6239         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6240         (__acr): Likewise.
6241         (__cpy): Likewise.
6242         (norm): Likewise.
6243         (denorm): Likewise.
6244         (__mp_dbl): Likewise.
6245         (__dbl_mp): Likewise.
6246         (add_magnitudes): Likewise.
6247         (sub_magnitudes): Likewise.
6248         (__add): Likewise.
6249         (__sub): Likewise.
6250         (__mul): Likewise.
6251         (__inv): Likewise.
6252         (__dvd): Likewise.
6253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6254         (__acr): Likewise.
6255         (__cpy): Likewise.
6256         (norm): Likewise.
6257         (denorm): Likewise.
6258         (__mp_dbl): Likewise.
6259         (__dbl_mp): Likewise.
6260         (add_magnitudes): Likewise.
6261         (sub_magnitudes): Likewise.
6262         (__add): Likewise.
6263         (__sub): Likewise.
6264         (__mul): Likewise.
6265         (__inv): Likewise.
6266         (__dvd): Likewise.
6267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6268         (__acr): Likewise.
6269         (__cpy): Likewise.
6270         (norm): Likewise.
6271         (denorm): Likewise.
6272         (__mp_dbl): Likewise.
6273         (__dbl_mp): Likewise.
6274         (add_magnitudes): Likewise.
6275         (sub_magnitudes): Likewise.
6276         (__add): Likewise.
6277         (__sub): Likewise.
6278         (__mul): Likewise.
6279         (__inv): Likewise.
6280         (__dvd): Likewise.
6281
6282 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
6283
6284         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6285         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6286         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6287         2 && __USE_EXTERN_INLINES]: Likewise.
6288
6289 2013-01-08  Andreas Jaeger  <aj@suse.de>
6290
6291         [BZ# 14985]
6292         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6293         Remove.
6294         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6295         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6296
6297 2013-01-07  Anton Blanchard  <anton@samba.org>
6298
6299         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6300         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6301         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6302         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6303         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6304         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6305         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6306         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6308         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6309         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6310         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6311         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6312         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6313         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6314         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6315         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6316         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6317         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6318         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6319         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6320         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6321         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6322         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6323         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6324         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6325         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6326         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6327         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6328         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6329         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6331         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6332         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6333         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6334         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6336         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6337         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6338         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6339         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6341         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6342
6343 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
6344
6345         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6346         (__MALLOC_PMT): Likewise.
6347         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6348         [__GNUC__], only on [_LIBC].
6349         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6350         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6351         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6352         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6353         forward declaration.
6354         (realloc_hook_ini): Likewise.
6355         (memalign_hook_ini): Likewise.
6356         (__libc_memalign): Do not use __MALLOC_PMT in variable
6357         declaration.
6358         (__libc_valloc): Likewise.
6359         (__libc_pvalloc): Likewise.
6360         (__libc_calloc): Likewise.
6361         (__posix_memalign): Likewise.
6362
6363         [BZ #14996]
6364         * math/s_casinh.c: Include <float.h>.
6365         (__casinh): Do not do computation with squaring and square root
6366         for large arguments.
6367         * math/s_casinhf.c: Include <float.h>.
6368         (__casinhf): Do not do computation with squaring and square root
6369         for large arguments.
6370         * math/s_casinhl.c: Include <float.h>.
6371         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6372         (__casinhl): Do not do computation with squaring and square root
6373         for large arguments.
6374         * math/libm-test.inc (casin_test): Add more tests.
6375         (casinh_test): Likewise.
6376         * sysdeps/i386/fpu/libm-test-ulps: Update.
6377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6378
6379 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
6380
6381         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6382         (__x86_64_raw_data_cache_size): Likewise.
6383         (__x86_64_data_cache_size_half): Likewise.
6384         (__x86_64_raw_data_cache_size_half): Likewise.
6385         (__x86_64_shared_cache_size): Likewise.
6386         (__x86_64_raw_shared_cache_size): Likewise.
6387         (__x86_64_shared_cache_size_half): Likewise.
6388         (__x86_64_raw_shared_cache_size_half): Likewise.
6389         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6390         to ...
6391         (__x86_data_cache_size): This.
6392         (__x86_64_raw_data_cache_size): Renamed to ...
6393         (__x86_raw_data_cache_size): This.
6394         (__x86_64_data_cache_size_half): Renamed to ...
6395         (__x86_data_cache_size_half): This.
6396         (__x86_64_raw_data_cache_size_half): Renamed to ...
6397         (__x86_raw_data_cache_size_half): This.
6398         (__x86_64_shared_cache_size): Renamed to ...
6399         (__x86_shared_cache_size): This.
6400         (__x86_64_raw_shared_cache_size): Renamed to ...
6401         (__x86_raw_shared_cache_size): This.
6402         (__x86_64_shared_cache_size_half): Renamed to ...
6403         (__x86_shared_cache_size_half): This.
6404         (__x86_64_raw_shared_cache_size_half): Renamed to ...
6405         (__x86_raw_shared_cache_size_half): This.
6406         * sysdeps/x86_64/memcpy.S: Updated.
6407         * sysdeps/x86_64/memset.S: Likewise.
6408         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6409         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6410         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6411
6412 2013-01-04  David S. Miller  <davem@davemloft.net>
6413
6414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6415
6416 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
6417
6418         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6419         1 to avoid redefinition warning.
6420         (__USE_GNU): Don't define.
6421         (init_signaling_nan): Protoize.
6422
6423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6424
6425 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6426
6427         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6429         (__cpymn): Likewise.
6430         (norm): Remove commented code.
6431         (denorm): Likewise.
6432         (__mp_dbl): Likewise.
6433         (__inv): Likewise.
6434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6435         (__cpymn): Likewise.
6436         (norm): Remove commented code.
6437         (denorm): Likewise.
6438         (__mp_dbl): Likewise.
6439         (__inv): Likewise.
6440
6441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6442         mp_no value for 1.0 and 2.0.
6443         (norm): Use RADIXI instead of radixi.d.
6444         (denorm): Likewise.
6445         (__mul): Use 0.0 instead of zero.d.
6446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6447         mp_no value for 1.0 and 2.0.
6448         (norm): Use RADIXI instead of radixi.d.
6449         (denorm): Likewise.
6450         (__mul): Use 0.0 instead of zero.d.
6451
6452 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
6453
6454         [BZ #14994]
6455         * math/s_casinh.c (__casinh): Reduce finite argument to first
6456         quadrant then set signs of results at the end.
6457         * math/s_casinhf.c (__casinhf): Likewise.
6458         * math/s_casinhl.c (__casinhl): Likewise.
6459         * math/libm-test.inc (casin_test): Add more tests.
6460         (casinh_test): Likewise.
6461         * sysdeps/i386/fpu/libm-test-ulps: Update.
6462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6463
6464 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6465
6466         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6467
6468         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6469
6470         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6471         declarations.
6472         (denorm): Likewise.
6473         (__mp_dbl): Likewise.
6474         (__inv): Likewise.
6475
6476         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6477         and adjust the header comment.
6478
6479         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6480         variable name from declaration.
6481
6482 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
6483
6484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6485         Initialize COMMON_CPUID_INDEX_7 element.
6486         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6487         (CPUID_RTM): Likewise.
6488         (HAS_RTM): Likewise.
6489         (COMMON_CPUID_INDEX_7): New enum.
6490
6491 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
6492
6493         [BZ #14981]
6494         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6495         size is zero, record memory as freed.
6496
6497 2013-01-03  Andreas Jaeger  <aj@suse.de>
6498
6499         * po/ia.po: Add new Interlingua translation.
6500
6501 2012-01-03  Allan McRae  <allan@archlinux.org>
6502
6503         * locale/programs/localedef.c: Fix description of '--posix' flag.
6504
6505 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
6506
6507         * NEWS: Update dates in second copyright notice.
6508         * README: Update copyright dates in example.
6509         * manual/libc.texinfo: Update copyright dates.
6510         * scripts/test-installation.pl: Update copyright date in --version
6511         output.
6512
6513         * hurd/ctty-input.c: Fix copyright notice formatting.
6514         * hurd/ctty-output.c: Likewise.
6515         * hurd/dtable.c: Likewise.
6516         * hurd/hurd-raise.c: Likewise.
6517         * hurd/hurdprio.c: Likewise.
6518         * hurd/msgportdemux.c: Likewise.
6519         * misc/sys/file.h: Likewise.
6520         * misc/sys/ioctl.h: Likewise.
6521         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6522         * sysdeps/mach/hurd/chdir.c: Likewise.
6523         * sysdeps/mach/hurd/fchdir.c: Likewise.
6524         * sysdeps/mach/hurd/rename.c: Likewise.
6525         * sysdeps/mach/hurd/rmdir.c: Likewise.
6526         * sysdeps/mach/hurd/seekdir.c: Likewise.
6527         * sysdeps/mach/hurd/setsid.c: Likewise.
6528         * sysdeps/posix/wait3.c: Likewise.
6529
6530         * All files with FSF copyright notices: Update copyright dates
6531         using scripts/update-copyrights.
6532         * intl/plural.c: Regenerated.
6533         * locale/programs/charmap-kw.h: Likewise.
6534         * locale/programs/locfile-kw.h: Likewise.
6535
6536 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6537
6538         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6539         four values.
6540
6541         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6542         calculation loop and add branch prediction.
6543
6544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6545         check access beyond bounds of m1np.
6546
6547         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6548         MPTWO.
6549         (__inv): Remove local variable MPTWO to use the global
6550         constant.
6551         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6552         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6553         variable MPTWO.
6554         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6555         MP3HALFS static const.
6556
6557 2013-01-01  David S. Miller  <davem@davemloft.net>
6558
6559         * po/ca.po: Update from translation team.
6560
6561 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
6562
6563         * scripts/update-copyrights: New file.
6564         * Makeconfig: Reformat copyright notice.
6565         * ctype/ctype.h: Likewise.
6566         * debug/swprintf_chk.c: Likewise.
6567         * elf/dl-cache.c: Likewise.
6568         * elf/dl-debug.c: Likewise.
6569         * elf/dl-object.c: Likewise.
6570         * grp/initgroups.c: Likewise.
6571         * hurd/Makefile: Likewise.
6572         * hurd/hurd/signal.h: Likewise.
6573         * hurd/hurdfault.c: Likewise.
6574         * hurd/hurdioctl.c: Likewise.
6575         * hurd/hurdlookup.c: Likewise.
6576         * hurd/intr-msg.c: Likewise.
6577         * iconv/gconv_open.c: Likewise.
6578         * libio/swprintf.c: Likewise.
6579         * locale/lc-ctype.c: Likewise.
6580         * locale/nl_langinfo.c: Likewise.
6581         * mach/Machrules: Likewise.
6582         * mach/Makefile: Likewise.
6583         * malloc/obstack.h: Likewise.
6584         * manual/Makefile: Likewise.
6585         * manual/tsort.awk: Likewise.
6586         * misc/bits/stab.def: Likewise.
6587         * nis/nis_print_group_entry.c: Likewise.
6588         * nis/nis_table.c: Likewise.
6589         * nis/nss_compat/compat-pwd.c: Likewise.
6590         * nis/nss_compat/compat-spwd.c: Likewise.
6591         * po/Makefile: Likewise.
6592         * posix/fnmatch.c: Likewise.
6593         * posix/regex.h: Likewise.
6594         * resolv/Makefile: Likewise.
6595         * resolv/nss_dns/dns-network.c: Likewise.
6596         * resolv/res_hconf.c: Likewise.
6597         * scripts/gen-sorted.awk: Likewise.
6598         * soft-fp/soft-fp.h: Likewise.
6599         * stdio-common/printf.h: Likewise.
6600         * stdlib/monetary.h: Likewise.
6601         * stdlib/random.c: Likewise.
6602         * stdlib/random_r.c: Likewise.
6603         * sysdeps/generic/Makefile: Likewise.
6604         * sysdeps/gnu/Makefile: Likewise.
6605         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6606         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6607         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6609         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6610         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6611         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6612         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6613         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6614         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6615         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6616         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6617         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6618         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6619         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6620         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6621         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6622         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6623         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6624         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6625         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6626         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6627         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6628         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6629         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6630         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6631         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6632         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6633         * sysdeps/mach/hurd/errnos.awk: Likewise.
6634         * sysdeps/mach/hurd/fork.c: Likewise.
6635         * sysdeps/mach/hurd/getcwd.c: Likewise.
6636         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6637         * sysdeps/mach/hurd/mmap.c: Likewise.
6638         * sysdeps/mach/hurd/utimes.c: Likewise.
6639         * sysdeps/mach/hurd/xmknod.c: Likewise.
6640         * sysdeps/posix/profil.c: Likewise.
6641         * sysdeps/posix/readdir_r.c: Likewise.
6642         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6643         * sysdeps/powerpc/bits/setjmp.h: Likewise.
6644         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6645         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6647         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6648         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6649         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6651         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6653         * sysdeps/pthread/lio_listio.c: Likewise.
6654         * sysdeps/sparc/dl-procinfo.h: Likewise.
6655         * sysdeps/unix/i386/sysdep.S: Likewise.
6656         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6657         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6658         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6659         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6661         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6662         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6663         * sysdeps/unix/sysv/linux/speed.c: Likewise.
6664         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6665         * sysdeps/wordsize-32/divdi3.c: Likewise.
6666         * time/sys/time.h: Likewise.
6667         * wcsmbs/Makefile: Likewise.
6668
6669 2013-01-01  David S. Miller  <davem@davemloft.net>
6670
6671         * po/fr.po: Update from translation team.
6672
6673         * catgets/gencat.c: Update copyright year.
6674         * csu/version.c: Likewise.
6675         * debug/catchsegv.sh: Likewise.
6676         * debug/pcprofiledump.c: Likewise.
6677         * debug/xtrace.sh: Likewise.
6678         * elf/ldconfig.c: Likewise.
6679         * elf/ldd.bash.in: Likewise.
6680         * elf/pldd.c: Likewise.
6681         * elf/sotruss.ksh: Likewise.
6682         * elf/sprof.c: Likewise.
6683         * iconv/iconv_prog.c: Likewise.
6684         * iconv/iconvconfig.c: Likewise.
6685         * locale/programs/locale.c: Likewise.
6686         * locale/programs/localedef.c: Likewise.
6687         * login/programs/pt_chown.c: Likewise.
6688         * malloc/memusage.sh: Likewise.
6689         * malloc/memusagestat.c: Likewise.
6690         * malloc/mtrace.pl: Likewise.
6691         * nscd/nscd.c: Likewise.
6692         * nss/getent.c: Likewise.
6693         * nss/makedb.c: Likewise.
6694         * posix/getconf.c: Likewise.
6695
6696 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6697
6698         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6699         numbers.
6700
6701 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
6702
6703         * math/bits/mathcalls.h (modf): Use __nonnull.
6704
6705 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6706
6707         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6708         (split): Use macro CN instead of the bare value.
6709         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6710         could be used.
6711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6712         instead of the bare value.
6713         (power1): Likewise.
6714
6715 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6716
6717         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6718         __ATAN_TWOM.
6719         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6720
6721         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6722         their values.
6723         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6724         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6725         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6726         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6727
6728 2012-12-28  Andreas Jaeger  <aj@suse.de>
6729
6730         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
6731         values are from Linux 3.7.
6732
6733         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6734         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
6735
6736 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6737
6738         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
6739         TRUE case.
6740
6741         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6742         (norm): Likewise.
6743         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6744         variables with preprocessor constants.
6745         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6746         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6747         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6748
6749 2012-12-27  Bruno Haible  <bruno@clisp.org>
6750
6751         [BZ #14317]
6752         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6753         only if needed.
6754
6755 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6756
6757         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6758         and use variable directly.
6759         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6760
6761         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6762         MPONE.
6763         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6764         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6765         variable MPONE.
6766         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6767         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6768         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6769         include directive.  Remove local variable MPONE.
6770         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6771         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6772         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6773
6774 2012-12-25  David S. Miller  <davem@davemloft.net>
6775
6776         * version.h (RELEASE): Set to "development".
6777         (VERSION): Set to "2.17.90".
6778         * NEWS: Add 2.18 section.
6779
6780 2012-12-21  David S. Miller  <davem@davemloft.net>
6781
6782         * po/hr.po: Update from translation team.
6783
6784 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6785
6786         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6787
6788 2012-12-19  Steve Ellcey  <sellcey@mips.com>
6789
6790         * NEWS:  Mention new memcpy for MIPS.
6791
6792 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6793
6794         * manual/contrib.texi (Contributors): Spelling correction.
6795
6796 2012-12-15  David S. Miller  <davem@davemloft.net>
6797
6798         * po/ru.po: Update from translation team.
6799
6800 2012-12-13  David S. Miller  <davem@davemloft.net>
6801
6802         * NEWS: Mention IFUNC testsuite enhancements.
6803
6804         * po/pl.po: Update from translation team.
6805         * po/bg.po: Likewise.
6806
6807         * manual/contrib.texi (Contributors): Update entries for Hongjiu
6808         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
6809
6810 2012-12-11  David S. Miller  <davem@davemloft.net>
6811
6812         * po/sv.po: Update from translation team.
6813
6814         * po/vi.po: Update from translation team.
6815
6816         * po/cs.po: Update from translation team.
6817
6818         * po/de.po: Update from translation team.
6819         * po/eo.po: Likewise.
6820         * po/nl.po: Likewise.
6821
6822 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6823
6824         [BZ #14246]
6825         * manual/argp.texi (Argp Helper Functions): Move node to follow
6826         Argp Parsing State.
6827
6828         [BZ #14872]
6829         * manual/conf.texi (Limits on File System Capacity): Mention if
6830         terminating null is included in the max size.
6831
6832 2012-12-10  Andreas Jaeger  <aj@suse.de>
6833
6834         * po/cs.po: Update from translation team.
6835
6836 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6837
6838         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6839         void pointer and cast to uintptr_t.
6840         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6841         path.
6842         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6843         * sysdeps/s390/s390-64/memset.S: Likewise.
6844
6845 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
6846
6847         [BZ #14833]
6848         * menual/message.texi (Message Translation): Fix typos.
6849         (Helper programs for gettext): Likewise.
6850
6851 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
6852
6853         [BZ #14898]
6854         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6855         Change to -1.
6856
6857 2012-12-07  David S. Miller  <davem@davemloft.net>
6858
6859         * po/libc.pot: Update.
6860
6861 2012-12-07  Richard Henderson  <rth@redhat.com>
6862
6863         [BZ #10114]
6864         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6865         normal/normal case to before the switch.
6866         (_FP_DIV): Likewise.
6867
6868 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
6869             Mike Frysinger  <vapier@gentoo.org>
6870
6871         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6872         check for __NR_fadvise64_64.
6873
6874 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
6875
6876         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6877         0, not just to plain "0" as a statement.
6878         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6879         with cw.
6880
6881 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
6882
6883         * NEWS: Use sourceware.org in Bugzilla URL.
6884
6885 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6886
6887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6888         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6889
6890         * stdio-common/tst-put-error.c (do_test): Add newline to the
6891         padded test to ensure flush.
6892
6893 2012-12-05  Jeff Law  <law@redhat.com>
6894
6895         * sunrpc/etc.rpc (fedfs_admin): Add entry.
6896
6897 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
6898
6899         * README: Don't refer to ports add-on as distributed separately.
6900         Mention AArch64 in list of systems supported in the ports add-on.
6901
6902         * LICENSES: Add more non-FSF copyright and license notices.
6903
6904         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6905         ((unused)).
6906
6907         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6908
6909         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6910         10000 as width of padded output.
6911
6912 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
6913
6914         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6915
6916         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6917         variable LX with __attribute__ ((unused)).
6918         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6919         Likewise.
6920         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6921         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6922         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6923         with __attribute__ ((unused)).
6924
6925 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
6926
6927         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6928
6929 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
6930
6931         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6932         (CFLAGS-nldbl-acos.c): New variable.
6933         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6934         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6935         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6936         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6937         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6938         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6939         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6940         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6941         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6942         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6943         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6944         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6945         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6946         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6947         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6948         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6949         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6950         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6951         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6952         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6953         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6954         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6955         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6956         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6957         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6958         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6959         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6960         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6961         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6962         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6963         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6964         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6965         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6966         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6967         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6968         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6969         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6970         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6971         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6972         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6973         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6974         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6975         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6976         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6977         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6978         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6979         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6980         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6981         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6982         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6983         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6984         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6985         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6986         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6987         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6988         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6989         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6990         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6991         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6992         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6993         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6994         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6995         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6996         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6997         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6998         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6999         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7000         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7001         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7002         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7003         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7004         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7005         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7006         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7007         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7008         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7009         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7010         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7011         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7012         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7013         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7014         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7015         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7016         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7017         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7018         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7019         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7020         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7021         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7022         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7023         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7024         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7025         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7026         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7027         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7028         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7029         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7030
7031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7032         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7033
7034         [BZ #14914]
7035         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7036         whole low double instead of just low 47 bits when splitting values
7037         into two parts.
7038
7039 2012-12-03  Allan McRae  <allan@archlinux.org>
7040
7041         * manual/stdio.texi (Predefined Printf Handlers): Remove
7042         @hsep and @vsep usage.
7043
7044 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
7045
7046         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7047         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7048
7049 2012-12-03  Jeff Law  <law@redhat.com>
7050
7051         * time/sys/time.h (settimeofday): Do not mark TV argument
7052         as __nonnull.
7053
7054 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
7055
7056         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7057         when currently writing and seek to current position when not.
7058         * libio/Makefile (tests): Remove bug-fclose1.
7059         * libio/bug-fclose1.c: Delete.
7060
7061 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
7062
7063         * manual/arith.texi (feenableexcept): Fix typo.
7064         (fedisableexcept): Likewise.
7065
7066 2012-11-30  Roland McGrath  <roland@hack.frob.com>
7067
7068         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7069         second, differently-typed declaration, rather than a cast.
7070
7071 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7072
7073         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7074         * include/rpc/svc.h: ... here.
7075
7076 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
7077
7078         [BZ #13013]
7079         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7080         depending n and resplen2 to catch cases where answer
7081         equals answerp2.
7082
7083 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
7084
7085         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7086         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7087
7088 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
7089
7090         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7091
7092 2012-11-29  Roland McGrath  <roland@hack.frob.com>
7093
7094         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7095
7096 2012-11-28  Jeff Law  <law@redhat.com>
7097
7098         [BZ #13761]
7099         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7100         dataset_temporary.  Track alloca usage into alloca_used.
7101         If dataset is large allocate and release it via malloc/free.
7102
7103 2012-06-04  Florian Weimer  <fweimer@redhat.com>
7104
7105         [BZ #14197]
7106         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7107
7108 2012-11-28  David S. Miller  <davem@davemloft.net>
7109
7110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7111
7112 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
7113
7114         [BZ #14803]
7115         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7116         of pi/2 rounded to nearest to 64 bits.
7117         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7118         nearest to 64 bits.
7119         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7120         bits.
7121
7122 2012-11-28  Jeff Law <law@redhat.com>
7123             Martin Osvald <mosvald@redhat.com>
7124
7125         [BZ #14889]
7126         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7127         * sunrpc/svc.c: Include time.h.
7128         (__svc_accept_failed): New function.
7129         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7130         any reason other than EINTR, call __svc_accept_failed.
7131         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7132         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7133
7134 2012-11-28  Andreas Schwab  <schwab@suse.de>
7135
7136         * scripts/abilist.awk: Also handle indirect functions in .opd
7137         section.
7138
7139 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
7140
7141         [BZ #13881]
7142         * sysdeps/x86/fpu/powl_helper.c: New file.
7143         * sysdeps/x86/fpu/Makefile: Likewise.
7144         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7145         (p3): New object.
7146         (__ieee754_powl): Use __powl_helper for finite arguments except
7147         integer exponents below 8.
7148         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7149         (p3): New object.
7150         (__ieee754_powl): Use __powl_helper for finite arguments except
7151         integer exponents below 8.
7152         * math/libm-test.inc (pow_test): Add more tests and enable some
7153         previously disabled tests.
7154         * sysdeps/i386/fpu/libm-test-ulps: Update.
7155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156
7157 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7158             Carlos O'Donell  <carlos_odonell@mentor.com>
7159
7160         * nss/makedb.c (is_prime): Assert that input is odd and greater
7161         than 4.  Note that fact in a comment too.
7162         (next_prime): Add 4 to input.
7163
7164 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7165
7166         [BZ #11741]
7167         * libio/Makefile (tests): Add test case tst-fwrite-error.
7168         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7169         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7170         * libio/tst-fwrite-error.c: New test case.
7171
7172 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
7173
7174         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7175         before casting to void *.
7176         * include/libc-internal.h (__pointer_type): New macro.
7177         (__integer_if_pointer_type_sub): Likewise.
7178         (__integer_if_pointer_type): Likewise.
7179         (cast_to_integer): Likewise.
7180         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7181         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7182         before casting to atomic64_t.
7183         (atomic_exchange_acq): Likewise.
7184         (__arch_exchange_and_add_body): Likewise.
7185         (__arch_add_body): Likewise.
7186         (atomic_add_negative): Likewise.
7187         (atomic_add_zero): Likewise.
7188
7189 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
7190
7191         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7192         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7193         (add_fdes): Likewise.
7194         (linear_search_fdes): Likewise.
7195         (binary_search_unencoded_fdes): Likewise.
7196
7197 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
7198
7199         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7200
7201 2012-11-24  Adam Conrad  <adconrad@0c3.net>
7202
7203         * configure.in: Autodetect C++ header directories.
7204         * configure: Regenerated.
7205
7206 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
7207
7208         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7209
7210 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
7211
7212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7213
7214 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
7215
7216         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7217         LDBL_MANT_DIG == 106]: Disable some tests.
7218         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7219         Likewise.
7220         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7221         Likewise.
7222
7223         [BZ #14871]
7224         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7225         input for small inputs.  Return +/- pi/2 for large inputs.
7226         * math/libm-test.inc (atan_test): Add more tests.
7227
7228         * sysdeps/generic/unwind-dw2-fde-glibc.c
7229         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7230         __attribute__ ((unused)).
7231
7232         [BZ #14645]
7233         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7234         x * y if x and y are nonzero and z is zero.
7235
7236         [BZ #14811]
7237         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7238         nonzero exponents with absolute value below 0x1p-117 to +/-
7239         0x1p-117.
7240
7241         [BZ #14869]
7242         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7243         up arguments below 2**-450, not just those below 2**-500.
7244         * math/libm-test.inc (hypot_test): Add another test.
7245
7246         [BZ #14868]
7247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7248         Return a+b for ratio over 2**120, not 2**60.
7249         * math/libm-test.inc (hypot_test): Add another test.
7250
7251         * math/libm-test.inc (clog_test): Use
7252         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7253         (clog10_test): Likewise.
7254
7255         [BZ #6778]
7256         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7257
7258 2012-11-22  Andreas Schwab  <schwab@suse.de>
7259
7260         * sysdeps/i386/fpu/libm-test-ulps: Update.
7261
7262 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
7263
7264         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7265         printf output with newline.
7266
7267 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
7268
7269         [BZ #14865]
7270         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7271         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7272         -z nodlopen, -z initfirst and -z execstack support.
7273         * configure: Regenerated.
7274
7275         * elf/elf.h (DF_1_NODIRECT): New macro.
7276         (DF_1_IGNMULDEF): Likewise.
7277         (DF_1_NOKSYMS): Likewise.
7278         (DF_1_NOHDR): Likewise.
7279         (DF_1_EDITED): Likewise.
7280         (DF_1_NORELOC): Likewise.
7281         (DF_1_SYMINTPOSE): Likewise.
7282         (DF_1_GLOBAUDIT): Likewise.
7283         (DF_1_SINGLETON): Likewise.
7284         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7285         DT_1_SUPPORTED_MASK bits.
7286         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7287
7288 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
7289
7290         * sysdeps/unix/make-syscalls.sh: Document prefixes.
7291
7292 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
7293
7294         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7295         macro.
7296
7297         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7298         (sendmmsg): Move declarations...
7299         * socket/sys/socket.h: ... here.
7300         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7301         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7302         include it from...
7303         * socket/recvmmsg.c: ... this new file.
7304         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7305         (sendmmsg): Rename to __sendmmsg, create weak alias and make
7306         definition of __sendmmsg hidden.
7307         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7308         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7309         Move ENOSYS stub into and include it from...
7310         * socket/sendmmsg.c: ... this new file.
7311         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7312         (sysdep_routines): Move recvmmsg and sendmmsg...
7313         * socket/Makefile (routines): ... here.
7314         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7315         (GLIBC_PRIVATE): Add __sendmmsg.
7316         * include/sys/socket.h (__sendmmsg): Add declarations.
7317         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7318         sendmmsg.
7319
7320 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
7321
7322         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7323         variable I1 with __attribute__ ((unused)).
7324         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7325
7326 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
7327
7328         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7329         DUMMY variables with __attribute__ ((unused)).
7330
7331         * bits/byteswap.h: Include <bits/types.h>.
7332         (__bswap_64): Use __uint64_t instead of unsigned long long int.
7333
7334 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
7335
7336         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7337         string_t.  Do not manually set errno.
7338         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7339         length with __strnlen.  Make sure to both set errno and return it on
7340         failure.
7341
7342 2012-11-19  David S. Miller  <davem@davemloft.net>
7343
7344         With help from Joseph Myers.
7345         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7346         very large arguments properly.
7347         * math/libm-test.inc (atan_test): New tests.
7348         (atan2_test): New tests.
7349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7351
7352 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
7353
7354         [BZ #14856]
7355         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7356         Define to 3.
7357
7358         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7359         [POSIX] (EADDRNOTAVAIL): Likewise.
7360         [POSIX] (EAFNOSUPPORT): Likewise.
7361         [POSIX] (EALREADY): Likewise.
7362         [POSIX] (ECONNABORTED): Likewise.
7363         [POSIX] (ECONNREFUSED): Likewise.
7364         [POSIX] (ECONNRESET): Likewise.
7365         [POSIX] (EDESTADDRREQ): Likewise.
7366         [POSIX] (EDQUOT): Likewise.
7367         [POSIX] (EHOSTUNREACH): Likewise.
7368         [POSIX] (EIDRM): Likewise.
7369         [POSIX] (EISCONN): Likewise.
7370         [POSIX] (ELOOP): Likewise.
7371         [POSIX] (EMULTIHOP): Likewise.
7372         [POSIX] (ENETDOWN): Likewise.
7373         [POSIX] (ENETUNREACH): Likewise.
7374         [POSIX] (ENOBUFS): Likewise.
7375         [POSIX] (ENODATA): Likewise.
7376         [POSIX] (ENOLINK): Likewise.
7377         [POSIX] (ENOMSG): Likewise.
7378         [POSIX] (ENOPROTOOPT): Likewise.
7379         [POSIX] (ENOSR): Likewise.
7380         [POSIX] (ENOSTR): Likewise.
7381         [POSIX] (ENOTCONN): Likewise.
7382         [POSIX] (ENOTSOCK): Likewise.
7383         [POSIX] (EOPNOTSUPP): Likewise.
7384         [POSIX] (EOVERFLOW): Likewise.
7385         [POSIX] (EPROTO): Likewise.
7386         [POSIX] (EPROTONOSUPPORT): Likewise.
7387         [POSIX] (EPROTOTYPE): Likewise.
7388         [POSIX] (ESTALE): Likewise.
7389         [POSIX] (ETIME): Likewise.
7390         [POSIX] (ETXTBSY): Likewise.
7391         [POSIX] (EWOULDBLOCK): Likewise.
7392         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7393         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7394         [POSIX] (SEEK_CUR): Likewise.
7395         [POSIX] (SEEK_END): Likewise.
7396         [POSIX || UNIX98] (mode_t): Do not require.
7397         [POSIX] (off_t): Likewise.
7398         [POSIX] (pid_t): Likewise.
7399         [POSIX] (sys/stat.h): Do not allow header.
7400         [POSIX] (unistd.h): Likewise.
7401         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7402         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7403         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7404         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7405         require.
7406         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7407         sigevent): Specify elements.
7408         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7409         entry.
7410         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7411         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7412
7413         * conform/data/cpio.h-data [POSIX]: Disable whole file.
7414         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7415         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7416         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7417         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7418         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7419         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7420         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7421         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7422         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7423         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7424         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7425         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7426         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7427         Likewise.
7428         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7429         Likewise.
7430         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7431         Likewise.
7432         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7433         Likewise.
7434         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7435         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7436         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7437         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7438         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7439         Specify lower bound on value.
7440         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7441         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7442         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7443         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7444         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7445         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7446         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7447         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7448         value.
7449         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7450         as optional.
7451         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7452         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7453         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7454         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7455         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7456         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7457         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7458         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7459         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7460         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7461         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7462         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7463         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7464         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7465         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7466         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7467         entry.
7468         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7469         optional.
7470         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7471         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7472         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7473         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7474         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7475         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7476         Likewise.
7477         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7478         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7479         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7480         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7481         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
7482         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7483         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7484         as optional.
7485         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7486         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7487         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7488         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7489         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7490         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7491         specify as optional.
7492         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7493         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7494         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7495         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7496         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7497         [XPG3] (NL_LANGMAX): Likewise.
7498         [POSIX || XPG3] (NL_MSGMAX): Likewise.
7499         [POSIX || XPG3] (NL_NMAX): Likewise.
7500         [POSIX || XPG3] (NL_SETMAX): Likewise.
7501         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7502         [XPG3] (NZERO): Likewise.
7503         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7504         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7505         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7506         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7507         (REG_ERANGE): Expect.
7508         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7509         optional-constant.
7510         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7511         Use (void) in prototype.
7512         [POSIX] (*_t): Allow.
7513         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7514         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7515         (WRDE_BADVAL): Expect.
7516
7517         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7518         expect.
7519         [XPG3 || XPG4] (O_RSYNC): Likewise.
7520         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7521         Likewise.
7522         [XPG3 || XPG4] (pthread_sigmask): Likewise.
7523         [XPG3 || XPG4] (sigqueue): Likewise.
7524         [XPG3 || XPG4] (sigtimedwait): Likewise.
7525         [XPG3 || XPG4] (sigwaitinfo): Likewise.
7526         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7527         [XPG3 || XPG4] (vsnprintf): Likewise.
7528         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7529         Likewise.
7530         [XPG3 || XPG4] (blksize_t): Likewise.
7531         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7532         Likewise.
7533         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7534         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7535         [XPG3 || XPG4] (struct itimerspec): Likewise.
7536         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7537         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7538         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7539         [XPG3 || XPG4] (clockid_t): Likewise.
7540         [XPG3 || XPG4] (timer_t): Likewise.
7541         [XPG3 || XPG4] (clock_getres): Likewise.
7542         [XPG3 || XPG4] (clock_gettime): Likewise.
7543         [XPG3 || XPG4] (clock_settime): Likewise.
7544         [XPG3 || XPG4] (nanosleep): Likewise.
7545         [XPG3 || XPG4] (timer_create): Likewise.
7546         [XPG3 || XPG4] (timer_delete): Likewise.
7547         [XPG3 || XPG4] (timer_gettime): Likewise.
7548         [XPG3 || XPG4] (timer_getoverrun): Likewise.
7549         [XPG3 || XPG4] (timer_settime): Likewise.
7550         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7551         [XPG3 || XPG4] (getlogin_r): Likewise.
7552         [XPG3 || XPG4] (pread): Likewise.
7553         [XPG3 || XPG4] (pthread_atfork): Likewise.
7554         [XPG3 || XPG4] (pwrite): Likewise.
7555
7556         [BZ #14835]
7557         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7558         <bits/siginfo.h>.
7559
7560 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
7561
7562         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7563         finalizing MALLSTREAM.
7564
7565         * sysdeps/mach/hurd/syncfs.c: New file.
7566
7567 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7568
7569         [BZ #14719]
7570         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7571         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7572         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7573         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7574         (_nss_dns_gethostbyname4_r): Likewise.
7575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7576         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7577
7578 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
7579
7580         [BZ #13763]
7581         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7582
7583 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
7584
7585         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7586         * elf/cache.c (print_entry): Print ",AArch64" for
7587         FLAG_AARCH64_LIB64
7588
7589         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7590         * elf/cache.c (print_entry): Print ",hard-float" for
7591         FLAG_ARM_LIBHF.
7592
7593 2012-11-18  David S. Miller  <davem@davemloft.net>
7594
7595         With help from Joseph Myers.
7596         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7597         cutoff to 2**-13.
7598         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7599         cutoff to 2**-25.
7600         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7601         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7602         small.
7603         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7604         * math/libm-test.inc (y0_test): New tests.
7605         (y1_test): New tests.
7606         * sysdeps/i386/fpu/libm-test-ulps: Update.
7607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7609
7610 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
7611
7612         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7613         64-bit targets.
7614         * configure: Regenerated.
7615
7616 2012-11-17  David S. Miller  <davem@davemloft.net>
7617
7618         [BZ #14811]
7619         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7620         nonzero exponents with absolute value below 0x1p-128 to +/-
7621         0x1p-128.
7622
7623 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
7624
7625         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7626
7627         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7628
7629         * posix/getconf-speclist.c: New file.
7630         * posix/posix-envs.def: Likewise.
7631         * posix/confstr.c (START_ENV_GROUP): New macro.
7632         (END_ENV_GROUP): Likewise.
7633         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7634         (KNOWN_PRESENT_ENV_STRING): Likewise.
7635         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7636         (UNKNOWN_ENVIRONMENT): Likewise.
7637         (confstr): Include posix-envs.def instead of handling
7638         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7639         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7640         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7641         (END_ENV_GROUP): Likewise.
7642         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7643         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7644         (UNKNOWN_ENVIRONMENT): Likewise.
7645         (__sysconf): Include posix-envs.def instead of handling associated
7646         cases directly here.
7647         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7648         preprocessing getconf-speclist.c rather than running getconf or
7649         generating empty file.
7650
7651 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
7652
7653         * scripts/check-local-headers.sh: Ignore 'mach' headers.
7654
7655 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
7656
7657         [BZ #14672]
7658         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7659
7660 2012-11-16  David S. Miller  <davem@davemloft.net>
7661
7662         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7663         smaller than LDBL_EPSILON/2.0L, just return xm1.
7664
7665 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
7666
7667         * elf/tst-array1.c (init): Set constructor priority to 1000.
7668         (fini): Set destructor priority to 1000.
7669         * elf/tst-array2dep.c: Likewise.
7670
7671 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7672
7673         [BZ #11741]
7674         * libio/fileops.c (_IO_new_file_write): Correctly return error.
7675         (_IO_new_file_xsputn): Also return EOF if none of the input
7676         data was written when overflow failed.
7677         * libio/iopadn.c (_IO_padn): Likewise.
7678         * libio/iowpadn.c (_IO_wpadn): Likewise.
7679         * stdio-common/tst-put-error.c: Add copyright notice.
7680         (do_test): Add case for printing padded string.
7681         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7682         _IO_padn returned error.
7683         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7684         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7685         return EOF.
7686
7687 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7688
7689         * libio/libioP.h: Add comment note that the references to C++
7690         bits are now obsolete.
7691
7692 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7693
7694         * math/libm-test.inc (check_complex): Use asprintf.
7695
7696 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
7697
7698         * debug/pcprofiledump.c (print_version): Update copyright year.
7699         * malloc/memusagestat.c (print_version): Likewise.
7700
7701 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7702
7703         [BZ #14831]
7704         * elf/Makefile (tests): Add tst-audit8.
7705         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7706         ($(objpfx)tst-audit8.out): New target.
7707         (tst-audit8-ENV): New variable.
7708         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7709         audit if l_reloc_result is NULL.
7710         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7711         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7712         * elf/tst-audit8.c: New file.
7713
7714 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7715
7716         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7717         * misc/Makefile (CFLAGS-select.c): Define.
7718         * posix/Makefile (CFLAGS-pause.c): Define.
7719
7720 2012-11-13  David S. Miller  <davem@davemloft.net>
7721
7722         * crypt/Makefile: Move test targets after toplevel Rules
7723         inclusion.  Grab any necessary sysdep routines when linking.
7724         * crypt/md5.c (md5_process_block): Remove define, we will always
7725         name it __md5_process_block.
7726         (md5_finish_ctx): Update md5_process_block call.
7727         (md5_stream): Likewise.
7728         (md5_process_bytes): Likewise.
7729         (md5_process_block): Rename to __md5_process_block and move to ...
7730         * crypt/md5-block.c: ... here.
7731         * crypt/sha256.c (sha256_process_block): Move to ...
7732         * crypt/sha256-block.c: ... here.
7733         * crypt/sha512.c (sha512_process_block): Move to ...
7734         * crypt/sha512-block.c: ... here.
7735         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7736         path.
7737         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7738         * sysdeps/sparc/sparc64/multiarch/Makefile
7739         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7740         crypt subdir.
7741         (localedef-aux): Add md5 crypto assembler when in locale subdir.
7742         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7743         multiarch changes.
7744         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7745         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7746         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7747         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7748         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7749         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7750         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7751         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7752         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7753         file.
7754         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7755         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7756         file.
7757         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7758
7759 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
7760
7761         * timezone/tzselect.ksh: Update from tzcode git revision
7762         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7763         * timezone/zdump.c: Likewise.
7764         * timezone/zic.c: Likewise.
7765         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7766         in TZVERSION setting, not $(PKGVERSION).
7767         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
7768         REPORT_BUGS_TO settings.
7769
7770         [BZ #14838]
7771         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7772         macro.
7773
7774 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7775
7776         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7777         detection to immediately after _FP_ROUND().
7778         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7779         bits are 0.
7780
7781 2012-11-11  David S. Miller  <davem@davemloft.net>
7782
7783         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7784         inttypes.h
7785         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7786         __close rather than their public counterparts.
7787
7788 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
7789
7790         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7791         file.
7792         [UNIX98] (sem_timedwait): Do not expect.
7793         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7794         [XPG4 || UNIX98] (sockatmark): Do not expect.
7795         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7796         (clock_getcpuclockid): Do not expect.
7797         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7798         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7799         Do not expect.
7800         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7801         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7802         [UNIX98] (vwscanf): Likewise.
7803         [UNIX98] (vswscanf): Likewise.
7804
7805 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
7806
7807         * timezone/version.h: Remove file.
7808         * timezone/README: Do not refer to version.h.
7809         * timezone/Makefile ($(objpfx)zic.o): New dependency on
7810         $(objpfx)version.h.
7811         ($(objpfx)zdump.o): Likewise.
7812         ($(objpfx)version.h): New target.
7813
7814         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7815         2012i.
7816         * timezone/README: Don't mention modification to tzselect.ksh.
7817         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7818         work on unmodified tzselect.ksh.  Substitute version numbers in
7819         tzselect.ksh.
7820
7821         * Makefile (format-me): Remove.
7822         (INSTALL): Adjust indentation.  Use commands directly instead of
7823         using $(format-me).
7824
7825         * aclocal.m4 (ACX_PKGVERSION): New macro.
7826         (ACX_BUGURL): Likewise.
7827         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7828         (PKGVERSION): New AC_DEFINE_UNQUOTED.
7829         (REPORT_BUGS_TO): Likewise.
7830         * configure: Regenerated.
7831         * config.h.in (PKGVERSION): New macro.
7832         (REPORT_BUGS_TO): Likewise.
7833         * config.make.in (PKGVERSION): New variable.
7834         (PKGVERSION_TEXI): Likewise.
7835         (REPORT_BUGS_TO): Likewise.
7836         (REPORT_BUGS_TEXI): Likewise.
7837         * Makefile (format-me): Use -I$(common-objpfx)manual.
7838         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7839         ($(common-objpfx)manual/%): New target.
7840         (manual/%): Remove target.
7841         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7842         (print_version): Use PKGVERSION.
7843         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7844         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7845         and REPORT_BUGS_TO.
7846         ($(objpfx)xtrace): Likewise.
7847         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7848         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7849         (print_version): Use PKGVERSION.
7850         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7851         (do_version): Use PKGVERSION.
7852         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7853         REPORT_BUGS_TO.
7854         (common-ldd-rewrite): Likewise.
7855         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7856         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7857         (print_version): Use PKGVERSION.
7858         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7859         * elf/pldd.c (argp_program_bug_address): Remove variable.
7860         (more_help): New function.
7861         (argp): Use more_help.
7862         (print_version): Use PKGVERSION.
7863         * elf/sln.c (main): Use PKGVERSION.
7864         (usage): Use REPORT_BUGS_TO.
7865         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7866         (top level): Use PKGVERSION.
7867         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7868         (print_version): Use PKGVERSION.
7869         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7870         (print_version): Use PKGVERSION.
7871         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7872         (print_version): Use PKGVERSION.
7873         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7874         (print_version): Use PKGVERSION.
7875         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7876         (print_version): Use PKGVERSION.
7877         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7878         (print_version): Use PKGVERSION.
7879         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7880         and BUGURL.
7881         ($(objpfx)memusage): Likewise.
7882         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7883         (do_version): Use PKGVERSION.
7884         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7885         (print_version): Use PKGVERSION.
7886         * malloc/mtrace.pl ($PACKAGE): Remove variable.
7887         ($PKGVERSION): New variable.
7888         ($REPORT_BUGS_TO): Likewise.
7889         (usage): Use $REPORT_BUGS_TO.
7890         (top level): Use $PKGVERSION.
7891         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7892         ($(objpfx)pkgvers.texi): New rule.
7893         ($(objpfx)stamp-pkgvers): Likewise.
7894         * manual/install.texi: Include pkgvers.texi.
7895         (--with-pkgversion): Document new configure option.
7896         (--with-bugurl): Likewise.
7897         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7898         than necessarily for this particular distribution.  Use
7899         REPORT_BUGS_TO for where to report bugs.
7900         * INSTALL: Regenerated.
7901         * manual/libc.texinfo: Include pkgvers.texi.
7902         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7903         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7904         (print_version): Use PKGVERSION.
7905         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7906         (print_version): Use PKGVERSION.
7907         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7908         (print_version): Use PKGVERSION.
7909         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7910         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7911         macro.
7912         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7913         (print_version): Use PKGVERSION.
7914         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7915         (print_version): Use PKGVERSION.
7916         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7917         and PKGVERSION.
7918
7919         * timezone/checktab.awk: Update from tzcode 2012i.
7920         * timezone/ialloc.c: Likewise.
7921         * timezone/private.h: Likewise.
7922         * timezone/scheck.c: Likewise.
7923         * timezone/tzfile.h: Likewise.
7924         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7925         (TZVERSION): Hardcode tzcode version number.
7926         * timezone/zdump.c: Update from tzcode 2012i.
7927         * timezone/zic.c: Likewise.
7928         * timezone/version.h: New file.
7929         * timezone/README: Describe version.h.  Update upstream location.
7930
7931         [BZ #14824]
7932         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7933         (mktemp): Enable declaration.
7934         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7936         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7938         Likewise.
7939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7940         Likewise.
7941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7942         Likewise.
7943         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7944         Likewise.
7945         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7946         Likewise.
7947         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7948         Likewise.
7949
7950         [BZ #14821]
7951         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7952         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
7953         for copies of such integer values.
7954         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7955         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7956
7957 2012-11-09  Andreas Jaeger  <aj@suse.de>
7958
7959         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7960         definitions and declarations that are provided by
7961         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7962
7963 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7964
7965         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7966         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7967         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7968         definition.
7969
7970 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7971
7972         * elf/elf.h: Update comment before AArch64 relocations.
7973
7974 2012-11-07  David S. Miller  <davem@davemloft.net>
7975
7976         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7977         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7978         (__start_context): Declare.
7979         (__makecontext_ret): Delete.
7980         (__makecontext): Hook up __start_context instead of
7981         __makecontext_ret.
7982         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7983         (sysdep_routines): Add __start_context when in stdlib.
7984
7985 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
7986
7987         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7988         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7989         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
7990         hardcoded "nm".
7991         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
7992         (READELF): New variable.  Use it instead of hardcoded "readelf".
7993
7994 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7995
7996         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7997         * sysdeps/x86/Makefile: Here.
7998         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7999         * sysdeps/x86/tst-xmmymm.sh: This.
8000
8001 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8002
8003         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8004         expectations.
8005         [UNIX98] (pthread_barrier_t): Do not expect.
8006         [UNIX98] (pthread_barrierattr_t): Likewise.
8007         [UNIX98] (pthread_spinlock_t): Likewise.
8008         [UNIX98] (pthread_barrier_destroy): Likewise.
8009         [UNIX98] (pthread_barrier_init): Likewise.
8010         [UNIX98] (pthread_barrier_wait): Likewise.
8011         [UNIX98] (pthread_barrierattr_destroy): Likewise.
8012         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8013         [UNIX98] (pthread_barrierattr_init): Likewise.
8014         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8015         [UNIX98] (pthread_getcpuclockid): Likewise.
8016         [UNIX98] (pthread_mutex_timedlock): Likewise.
8017         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8018         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8019         [UNIX98] (pthread_sigmask): Likewise.
8020         [UNIX98] (pthread_spin_destroy): Likewise.
8021         [UNIX98] (pthread_spin_init): Likewise.
8022         [UNIX98] (pthread_spin_lock): Likewise.
8023         [UNIX98] (pthread_spin_trylock): Likewise.
8024         [UNIX98] (pthread_spin_unlock): Likewise.
8025         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8026         Do not expect.
8027         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8028         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8029         [XPG3 || XPG4] (pthread_cond_t): Likewise.
8030         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8031         [XPG3 || XPG4] (pthread_key_t): Likewise.
8032         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8033         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8034         [XPG3 || XPG4] (pthread_once_t): Likewise.
8035         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8036         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8037         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8038         [XPG3 || XPG4] (pthread_t): Likewise.
8039
8040         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8041         not expect.
8042         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8043
8044         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8045         Change function return type to int.
8046
8047         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8048         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8049         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8050         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8051         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8052         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8053         [!POSIX] (posix_madvise): Likewise.
8054         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8055         && !UNIX98].
8056         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8057         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8058         (mode_t): Likewise.
8059         (posix_mem_offset): Likewise.
8060         (posix_typed_mem_get_info): Likewise.
8061         (posix_typed_mem_open): Likewise.
8062
8063         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8064         Change condition to [XOPEN2K8].
8065
8066         * conform/conformtest.pl: Preprocess allow-header data with -x c
8067         instead of from stdin.
8068         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8069         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8070         [C99-based standards] (cerfc): Likewise.
8071         [C99-based standards] (cexp2): Likewise.
8072         [C99-based standards] (cexpm1): Likewise.
8073         [C99-based standards] (clog10): Likewise.
8074         [C99-based standards] (clog1p): Likewise.
8075         [C99-based standards] (clog2): Likewise.
8076         [C99-based standards] (clgamma): Likewise.
8077         [C99-based standards] (ctgamma): Likewise.
8078         [C99-based standards] (cerff): Likewise.
8079         [C99-based standards] (cerfcf): Likewise.
8080         [C99-based standards] (cexp2f): Likewise.
8081         [C99-based standards] (cexpm1f): Likewise.
8082         [C99-based standards] (clog10f): Likewise.
8083         [C99-based standards] (clog1pf): Likewise.
8084         [C99-based standards] (clog2f): Likewise.
8085         [C99-based standards] (clgammaf): Likewise.
8086         [C99-based standards] (ctgammaf): Likewise.
8087         [C99-based standards] (cerfl): Likewise.
8088         [C99-based standards] (cerfcl): Likewise.
8089         [C99-based standards] (cexp2l): Likewise.
8090         [C99-based standards] (cexpm1l): Likewise.
8091         [C99-based standards] (clog10l): Likewise.
8092         [C99-based standards] (clog1pl): Likewise.
8093         [C99-based standards] (clog2l): Likewise.
8094         [C99-based standards] (clgammal): Likewise.
8095         [C99-based standards] (ctgammal): Likewise.
8096         * conform/data/inttypes.h-data [C99-based standards]: Include
8097         stdint.h-data.  Remove all expectations for stdint.h contents.
8098         [C99-based standards] (PRI*): Do not allow.
8099         [C99-based standards] (SCN*): Likewise.
8100         [C99-based standards] (*_t): Likewise.
8101         [C99-based-standards] (PRId8): Expect macro.
8102         [C99-based-standards] (PRIi8): Likewise.
8103         [C99-based-standards] (PRIo8): Likewise.
8104         [C99-based-standards] (PRIu8): Likewise.
8105         [C99-based-standards] (PRIx8): Likewise.
8106         [C99-based-standards] (PRIX8): Likewise.
8107         [C99-based-standards] (SCNd8): Likewise.
8108         [C99-based-standards] (SCNi8): Likewise.
8109         [C99-based-standards] (SCNo8): Likewise.
8110         [C99-based-standards] (SCNu8): Likewise.
8111         [C99-based-standards] (SCNx8): Likewise.
8112         [C99-based-standards] (PRIdLEAST8): Likewise.
8113         [C99-based-standards] (PRIiLEAST8): Likewise.
8114         [C99-based-standards] (PRIoLEAST8): Likewise.
8115         [C99-based-standards] (PRIuLEAST8): Likewise.
8116         [C99-based-standards] (PRIxLEAST8): Likewise.
8117         [C99-based-standards] (PRIXLEAST8): Likewise.
8118         [C99-based-standards] (SCNdLEAST8): Likewise.
8119         [C99-based-standards] (SCNiLEAST8): Likewise.
8120         [C99-based-standards] (SCNoLEAST8): Likewise.
8121         [C99-based-standards] (SCNuLEAST8): Likewise.
8122         [C99-based-standards] (SCNxLEAST8): Likewise.
8123         [C99-based-standards] (PRIdFAST8): Likewise.
8124         [C99-based-standards] (PRIiFAST8): Likewise.
8125         [C99-based-standards] (PRIoFAST8): Likewise.
8126         [C99-based-standards] (PRIuFAST8): Likewise.
8127         [C99-based-standards] (PRIxFAST8): Likewise.
8128         [C99-based-standards] (PRIXFAST8): Likewise.
8129         [C99-based-standards] (SCNdFAST8): Likewise.
8130         [C99-based-standards] (SCNiFAST8): Likewise.
8131         [C99-based-standards] (SCNoFAST8): Likewise.
8132         [C99-based-standards] (SCNuFAST8): Likewise.
8133         [C99-based-standards] (SCNxFAST8): Likewise.
8134         [C99-based-standards] (PRId16): Likewise.
8135         [C99-based-standards] (PRIi16): Likewise.
8136         [C99-based-standards] (PRIo16): Likewise.
8137         [C99-based-standards] (PRIu16): Likewise.
8138         [C99-based-standards] (PRIx16): Likewise.
8139         [C99-based-standards] (PRIX16): Likewise.
8140         [C99-based-standards] (SCNd16): Likewise.
8141         [C99-based-standards] (SCNi16): Likewise.
8142         [C99-based-standards] (SCNo16): Likewise.
8143         [C99-based-standards] (SCNu16): Likewise.
8144         [C99-based-standards] (SCNx16): Likewise.
8145         [C99-based-standards] (PRIdLEAST16): Likewise.
8146         [C99-based-standards] (PRIiLEAST16): Likewise.
8147         [C99-based-standards] (PRIoLEAST16): Likewise.
8148         [C99-based-standards] (PRIuLEAST16): Likewise.
8149         [C99-based-standards] (PRIxLEAST16): Likewise.
8150         [C99-based-standards] (PRIXLEAST16): Likewise.
8151         [C99-based-standards] (SCNdLEAST16): Likewise.
8152         [C99-based-standards] (SCNiLEAST16): Likewise.
8153         [C99-based-standards] (SCNoLEAST16): Likewise.
8154         [C99-based-standards] (SCNuLEAST16): Likewise.
8155         [C99-based-standards] (SCNxLEAST16): Likewise.
8156         [C99-based-standards] (PRIdFAST16): Likewise.
8157         [C99-based-standards] (PRIiFAST16): Likewise.
8158         [C99-based-standards] (PRIoFAST16): Likewise.
8159         [C99-based-standards] (PRIuFAST16): Likewise.
8160         [C99-based-standards] (PRIxFAST16): Likewise.
8161         [C99-based-standards] (PRIXFAST16): Likewise.
8162         [C99-based-standards] (SCNdFAST16): Likewise.
8163         [C99-based-standards] (SCNiFAST16): Likewise.
8164         [C99-based-standards] (SCNoFAST16): Likewise.
8165         [C99-based-standards] (SCNuFAST16): Likewise.
8166         [C99-based-standards] (SCNxFAST16): Likewise.
8167         [C99-based-standards] (PRId32): Likewise.
8168         [C99-based-standards] (PRIi32): Likewise.
8169         [C99-based-standards] (PRIo32): Likewise.
8170         [C99-based-standards] (PRIu32): Likewise.
8171         [C99-based-standards] (PRIx32): Likewise.
8172         [C99-based-standards] (PRIX32): Likewise.
8173         [C99-based-standards] (SCNd32): Likewise.
8174         [C99-based-standards] (SCNi32): Likewise.
8175         [C99-based-standards] (SCNo32): Likewise.
8176         [C99-based-standards] (SCNu32): Likewise.
8177         [C99-based-standards] (SCNx32): Likewise.
8178         [C99-based-standards] (PRIdLEAST32): Likewise.
8179         [C99-based-standards] (PRIiLEAST32): Likewise.
8180         [C99-based-standards] (PRIoLEAST32): Likewise.
8181         [C99-based-standards] (PRIuLEAST32): Likewise.
8182         [C99-based-standards] (PRIxLEAST32): Likewise.
8183         [C99-based-standards] (PRIXLEAST32): Likewise.
8184         [C99-based-standards] (SCNdLEAST32): Likewise.
8185         [C99-based-standards] (SCNiLEAST32): Likewise.
8186         [C99-based-standards] (SCNoLEAST32): Likewise.
8187         [C99-based-standards] (SCNuLEAST32): Likewise.
8188         [C99-based-standards] (SCNxLEAST32): Likewise.
8189         [C99-based-standards] (PRIdFAST32): Likewise.
8190         [C99-based-standards] (PRIiFAST32): Likewise.
8191         [C99-based-standards] (PRIoFAST32): Likewise.
8192         [C99-based-standards] (PRIuFAST32): Likewise.
8193         [C99-based-standards] (PRIxFAST32): Likewise.
8194         [C99-based-standards] (PRIXFAST32): Likewise.
8195         [C99-based-standards] (SCNdFAST32): Likewise.
8196         [C99-based-standards] (SCNiFAST32): Likewise.
8197         [C99-based-standards] (SCNoFAST32): Likewise.
8198         [C99-based-standards] (SCNuFAST32): Likewise.
8199         [C99-based-standards] (SCNxFAST32): Likewise.
8200         [C99-based-standards] (PRId64): Likewise.
8201         [C99-based-standards] (PRIi64): Likewise.
8202         [C99-based-standards] (PRIo64): Likewise.
8203         [C99-based-standards] (PRIu64): Likewise.
8204         [C99-based-standards] (PRIx64): Likewise.
8205         [C99-based-standards] (PRIX64): Likewise.
8206         [C99-based-standards] (SCNd64): Likewise.
8207         [C99-based-standards] (SCNi64): Likewise.
8208         [C99-based-standards] (SCNo64): Likewise.
8209         [C99-based-standards] (SCNu64): Likewise.
8210         [C99-based-standards] (SCNx64): Likewise.
8211         [C99-based-standards] (PRIdLEAST64): Likewise.
8212         [C99-based-standards] (PRIiLEAST64): Likewise.
8213         [C99-based-standards] (PRIoLEAST64): Likewise.
8214         [C99-based-standards] (PRIuLEAST64): Likewise.
8215         [C99-based-standards] (PRIxLEAST64): Likewise.
8216         [C99-based-standards] (PRIXLEAST64): Likewise.
8217         [C99-based-standards] (SCNdLEAST64): Likewise.
8218         [C99-based-standards] (SCNiLEAST64): Likewise.
8219         [C99-based-standards] (SCNoLEAST64): Likewise.
8220         [C99-based-standards] (SCNuLEAST64): Likewise.
8221         [C99-based-standards] (SCNxLEAST64): Likewise.
8222         [C99-based-standards] (PRIdFAST64): Likewise.
8223         [C99-based-standards] (PRIiFAST64): Likewise.
8224         [C99-based-standards] (PRIoFAST64): Likewise.
8225         [C99-based-standards] (PRIuFAST64): Likewise.
8226         [C99-based-standards] (PRIxFAST64): Likewise.
8227         [C99-based-standards] (PRIXFAST64): Likewise.
8228         [C99-based-standards] (SCNdFAST64): Likewise.
8229         [C99-based-standards] (SCNiFAST64): Likewise.
8230         [C99-based-standards] (SCNoFAST64): Likewise.
8231         [C99-based-standards] (SCNuFAST64): Likewise.
8232         [C99-based-standards] (SCNxFAST64): Likewise.
8233         [C99-based-standards] (PRIdMAX): Likewise.
8234         [C99-based-standards] (PRIiMAX): Likewise.
8235         [C99-based-standards] (PRIoMAX): Likewise.
8236         [C99-based-standards] (PRIuMAX): Likewise.
8237         [C99-based-standards] (PRIxMAX): Likewise.
8238         [C99-based-standards] (PRIXMAX): Likewise.
8239         [C99-based-standards] (SCNdMAX): Likewise.
8240         [C99-based-standards] (SCNiMAX): Likewise.
8241         [C99-based-standards] (SCNoMAX): Likewise.
8242         [C99-based-standards] (SCNuMAX): Likewise.
8243         [C99-based-standards] (SCNxMAX): Likewise.
8244         [C99-based-standards] (PRIdPTR): Likewise.
8245         [C99-based-standards] (PRIiPTR): Likewise.
8246         [C99-based-standards] (PRIoPTR): Likewise.
8247         [C99-based-standards] (PRIuPTR): Likewise.
8248         [C99-based-standards] (PRIxPTR): Likewise.
8249         [C99-based-standards] (PRIXPTR): Likewise.
8250         [C99-based-standards] (SCNdPTR): Likewise.
8251         [C99-based-standards] (SCNiPTR): Likewise.
8252         [C99-based-standards] (SCNoPTR): Likewise.
8253         [C99-based-standards] (SCNuPTR): Likewise.
8254         [C99-based-standards] (SCNxPTR): Likewise.
8255         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8256         allow.
8257         * conform/data/stdint.h-data: Update comments to clarify
8258         requirements.
8259         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
8260         type.
8261         [C99-based standards] (INT8_MAX): Likewise.
8262         [C99-based standards] (INT16_MIN): Likewise.
8263         [C99-based standards] (INT16_MAX): Likewise.
8264         [C99-based standards] (INT32_MIN): Likewise.
8265         [C99-based standards] (INT32_MAX): Likewise.
8266         [C99-based standards] (INT64_MIN): Likewise.
8267         [C99-based standards] (INT64_MAX): Likewise.
8268         [C99-based standards] (UINT8_MAX): Likewise.
8269         [C99-based standards] (UINT16_MAX): Likewise.
8270         [C99-based standards] (UINT32_MAX): Likewise.
8271         [C99-based standards] (UINT64_MAX): Likewise.
8272         [C99-based standards] (INT_LEAST8_MIN): Likewise.
8273         [C99-based standards] (INT_LEAST8_MAX): Likewise.
8274         [C99-based standards] (INT_LEAST16_MIN): Likewise.
8275         [C99-based standards] (INT_LEAST16_MAX): Likewise.
8276         [C99-based standards] (INT_LEAST32_MIN): Likewise.
8277         [C99-based standards] (INT_LEAST32_MAX): Likewise.
8278         [C99-based standards] (INT_LEAST64_MIN): Likewise.
8279         [C99-based standards] (INT_LEAST64_MAX): Likewise.
8280         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8281         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8282         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8283         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8284         [C99-based standards] (INT_FAST8_MIN): Likewise.
8285         [C99-based standards] (INT_FAST8_MAX): Likewise.
8286         [C99-based standards] (INT_FAST16_MIN): Likewise.
8287         [C99-based standards] (INT_FAST16_MAX): Likewise.
8288         [C99-based standards] (INT_FAST32_MIN): Likewise.
8289         [C99-based standards] (INT_FAST32_MAX): Likewise.
8290         [C99-based standards] (INT_FAST64_MIN): Likewise.
8291         [C99-based standards] (INT_FAST64_MAX): Likewise.
8292         [C99-based standards] (UINT_FAST8_MAX): Likewise.
8293         [C99-based standards] (UINT_FAST16_MAX): Likewise.
8294         [C99-based standards] (UINT_FAST32_MAX): Likewise.
8295         [C99-based standards] (UINT_FAST64_MAX): Likewise.
8296         [C99-based standards] (INTPTR_MIN): Likewise.
8297         [C99-based standards] (INTPTR_MAX): Likewise.
8298         [C99-based standards] (UINTPTR_MAX): Likewise.
8299         [C99-based standards] (INTMAX_MIN): Likewise.
8300         [C99-based standards] (INTMAX_MAX): Likewise.
8301         [C99-based standards] (UINTMAX_MAX): Likewise.
8302         [C99-based standards] (PTRDIFF_MIN): Likewise.
8303         [C99-based standards] (PTRDIFF_MAX): Likewise.
8304         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8305         [C99-based standards] (SIZE_MAX): Likewise.
8306         [C99-based standards] (WCHAR_MAX): Likewise.
8307         [C99-based standards] (WINT_MAX): Likewise.
8308         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
8309         constraint on value.
8310         [C99-based standards] (WCHAR_MIN): Likewise.
8311         [C99-based standards] (WINT_MIN): Likewise.
8312         [C99-based standards] (*_t): Allow.
8313         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8314         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8315         Include math.h-data and complex.h-data.  Remove all expectations
8316         of math.h and complex.h contents.
8317         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8318         at end of line.
8319         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8320         (struct tm): Expect tag.
8321         [C99-based-standards] (wcstof): Expect function.
8322         [C99-based-standards] (wcstold): Likewise.
8323         [C99-based-standards] (wcstoll): Likewise.
8324         [C99-based-standards] (wcstoull): Likewise.
8325         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8326         macro-int-constant.  Specify type.
8327         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
8328         constraint on value.
8329         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8330         Specify type.
8331         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8332         Specify value.
8333         [ISO C standards]: Do not allow headers.
8334         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8335         wcs[abcdefghijklmnopqrstuvwxyz]*.
8336         [ISO C standards] (*_t): Do not allow.
8337         * conform/data/wctype.h-data [C99-based standards] (iswblank):
8338         Expect function.
8339         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8340         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8341         Specify type.
8342         [ISO C standards]: Do not allow headers.
8343         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8344         is[abcdefghijklmnopqrstuvwxyz]*.
8345         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8346         to[abcdefghijklmnopqrstuvwxyz]*.
8347         [ISO C standards] (*_t): Do not allow.
8348         * conform/data/stdalign.h-data: New file.
8349         * conform/data/stdbool.h-data: Likewise.
8350         * conform/data/stdnoreturn.h-data: Likewise.
8351
8352 2012-11-07  Roland McGrath  <roland@hack.frob.com>
8353
8354         [BZ #14815]
8355         * manual/filesys.texi (Directory Entries): Typo fix.
8356         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8357
8358 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8359
8360         * elf/elf.h (EM_AARCH64): New macro.
8361         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8362         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8363         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8364         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8365         (R_AARCH64_TLSDESC): Likewise.
8366         (NT_ARM_TLS): Likewise.
8367         (NT_ARM_HW_BREAK): Likewise.
8368         (NT_ARM_HW_WATCH): Likewise.
8369
8370 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8371
8372         [BZ #14811]
8373         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8374         (__ieee754_powl): Saturate nonzero exponents with absolute value
8375         below 0x1p-79 to +/- 0x1p-79.
8376         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8377         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8378         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8379         nonzero exponents with absolute value below 0x1p-32 to +/-
8380         0x1p-32.
8381         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8382         (__ieee754_powl): Saturate nonzero exponents with absolute value
8383         below 0x1p-79 to +/- 0x1p-79.
8384         * math/libm-test.inc (pow_test): Add more tests.
8385
8386 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8387
8388         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8389         _dl_s390_cap_flags with kernel. Increase string length.
8390         (_dl_s390_platforms): Add z196 and zEC12.
8391
8392 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8393
8394         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8395         Change XOPEN21K to XOPEN2K.
8396
8397 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
8398
8399         * string/memmove.c: Use memcpy when possible.
8400
8401 2012-11-06  Andreas Jaeger  <aj@suse.de>
8402
8403         * po/eo.po: Update from translation team.
8404
8405 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
8406
8407         [BZ #14793]
8408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8409         exponent and small x and y exponents, scale x or y up.  Increase
8410         by 2 the exponent used in scaling up.
8411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8412         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8413         * math/libm-test.inc (fma_test): Add more tests.
8414         (fma_test_towardzero): Likewise.
8415         (fma_test_downward): Likewise.
8416         (fma_test_upward): Likewise.
8417
8418 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
8419
8420         [BZ #14805]
8421         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8422         fenv_t *.
8423
8424         [BZ #14801]
8425         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8426         namespace for names of struct fields.
8427         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8428         fenv_t fields.
8429         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8430         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8431
8432 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8433
8434         [BZ #3665]
8435         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8436
8437 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8438
8439         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8440         PTR_DEMANGLE.
8441
8442         [BZ #5246]
8443         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8444         PTR_DEMANGLE.
8445
8446 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
8447
8448         [BZ #14797]
8449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8450         definitely overflow as x * y not x * y + z.
8451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8453         * math/libm-test.inc (fma_test): Add more tests.
8454         (fma_test_towardzero): Likewise.
8455         (fma_test_downward): Likewise.
8456         (fma_test_upward): Likewise.
8457
8458 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8459
8460         [BZ #157]
8461
8462         * include/stub-tag.h: Remove file.
8463         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8464         '#include' of it.
8465         * manual/maint.texi (Porting): Don't reference it.
8466         * Makerules ($(objpfx)stubs): Likewise.
8467         * dirent/closedir.c: Don't include <stub-tag.h>.
8468         * dirent/dirfd.c: Likewise.
8469         * dirent/fdopendir.c: Likewise.
8470         * dirent/getdents.c: Likewise.
8471         * dirent/getdents64.c: Likewise.
8472         * dirent/opendir.c: Likewise.
8473         * dirent/readdir.c: Likewise.
8474         * dirent/readdir64.c: Likewise.
8475         * dirent/readdir64_r.c: Likewise.
8476         * dirent/readdir_r.c: Likewise.
8477         * dirent/rewinddir.c: Likewise.
8478         * dirent/seekdir.c: Likewise.
8479         * dirent/telldir.c: Likewise.
8480         * gmon/profil.c: Likewise.
8481         * grp/setgroups.c: Likewise.
8482         * inet/if_index.c: Likewise.
8483         * io/access.c: Likewise.
8484         * io/chdir.c: Likewise.
8485         * io/chmod.c: Likewise.
8486         * io/chown.c: Likewise.
8487         * io/close.c: Likewise.
8488         * io/dup.c: Likewise.
8489         * io/dup2.c: Likewise.
8490         * io/dup3.c: Likewise.
8491         * io/euidaccess.c: Likewise.
8492         * io/faccessat.c: Likewise.
8493         * io/fchdir.c: Likewise.
8494         * io/fchmod.c: Likewise.
8495         * io/fchmodat.c: Likewise.
8496         * io/fchown.c: Likewise.
8497         * io/fchownat.c: Likewise.
8498         * io/fcntl.c: Likewise.
8499         * io/flock.c: Likewise.
8500         * io/fstatfs.c: Likewise.
8501         * io/fstatfs64.c: Likewise.
8502         * io/fstatvfs.c: Likewise.
8503         * io/fstatvfs64.c: Likewise.
8504         * io/futimens.c: Likewise.
8505         * io/fxstat.c: Likewise.
8506         * io/fxstat64.c: Likewise.
8507         * io/fxstatat.c: Likewise.
8508         * io/fxstatat64.c: Likewise.
8509         * io/getcwd.c: Likewise.
8510         * io/isatty.c: Likewise.
8511         * io/lchmod.c: Likewise.
8512         * io/lchown.c: Likewise.
8513         * io/link.c: Likewise.
8514         * io/linkat.c: Likewise.
8515         * io/lseek.c: Likewise.
8516         * io/lseek64.c: Likewise.
8517         * io/lxstat64.c: Likewise.
8518         * io/mkdir.c: Likewise.
8519         * io/mkdirat.c: Likewise.
8520         * io/mkfifo.c: Likewise.
8521         * io/mkfifoat.c: Likewise.
8522         * io/open.c: Likewise.
8523         * io/open64.c: Likewise.
8524         * io/openat.c: Likewise.
8525         * io/openat64.c: Likewise.
8526         * io/pipe.c: Likewise.
8527         * io/pipe2.c: Likewise.
8528         * io/poll.c: Likewise.
8529         * io/posix_fadvise.c: Likewise.
8530         * io/posix_fadvise64.c: Likewise.
8531         * io/posix_fallocate.c: Likewise.
8532         * io/posix_fallocate64.c: Likewise.
8533         * io/read.c: Likewise.
8534         * io/readlink.c: Likewise.
8535         * io/readlinkat.c: Likewise.
8536         * io/rmdir.c: Likewise.
8537         * io/sendfile.c: Likewise.
8538         * io/sendfile64.c: Likewise.
8539         * io/statfs.c: Likewise.
8540         * io/statfs64.c: Likewise.
8541         * io/statvfs.c: Likewise.
8542         * io/statvfs64.c: Likewise.
8543         * io/symlink.c: Likewise.
8544         * io/symlinkat.c: Likewise.
8545         * io/ttyname.c: Likewise.
8546         * io/ttyname_r.c: Likewise.
8547         * io/umask.c: Likewise.
8548         * io/unlink.c: Likewise.
8549         * io/unlinkat.c: Likewise.
8550         * io/utime.c: Likewise.
8551         * io/utimensat.c: Likewise.
8552         * io/write.c: Likewise.
8553         * io/xmknod.c: Likewise.
8554         * io/xmknodat.c: Likewise.
8555         * io/xstat.c: Likewise.
8556         * io/xstat64.c: Likewise.
8557         * login/getpt.c: Likewise.
8558         * login/grantpt.c: Likewise.
8559         * login/unlockpt.c: Likewise.
8560         * math/e_acoshl.c: Likewise.
8561         * math/e_acosl.c: Likewise.
8562         * math/e_asinl.c: Likewise.
8563         * math/e_atan2l.c: Likewise.
8564         * math/e_atanhl.c: Likewise.
8565         * math/e_coshl.c: Likewise.
8566         * math/e_expl.c: Likewise.
8567         * math/e_fmodl.c: Likewise.
8568         * math/e_gammal_r.c: Likewise.
8569         * math/e_hypotl.c: Likewise.
8570         * math/e_j0l.c: Likewise.
8571         * math/e_j1l.c: Likewise.
8572         * math/e_jnl.c: Likewise.
8573         * math/e_lgammal_r.c: Likewise.
8574         * math/e_log10l.c: Likewise.
8575         * math/e_log2l.c: Likewise.
8576         * math/e_logl.c: Likewise.
8577         * math/e_powl.c: Likewise.
8578         * math/e_rem_pio2l.c: Likewise.
8579         * math/e_sinhl.c: Likewise.
8580         * math/e_sqrtl.c: Likewise.
8581         * math/fclrexcpt.c: Likewise.
8582         * math/fedisblxcpt.c: Likewise.
8583         * math/feenablxcpt.c: Likewise.
8584         * math/fegetenv.c: Likewise.
8585         * math/fegetexcept.c: Likewise.
8586         * math/fegetround.c: Likewise.
8587         * math/feholdexcpt.c: Likewise.
8588         * math/fesetenv.c: Likewise.
8589         * math/fesetround.c: Likewise.
8590         * math/feupdateenv.c: Likewise.
8591         * math/fgetexcptflg.c: Likewise.
8592         * math/fraiseexcpt.c: Likewise.
8593         * math/fsetexcptflg.c: Likewise.
8594         * math/ftestexcept.c: Likewise.
8595         * math/k_cosl.c: Likewise.
8596         * math/k_rem_pio2l.c: Likewise.
8597         * math/k_sinl.c: Likewise.
8598         * math/k_tanl.c: Likewise.
8599         * math/s_asinhl.c: Likewise.
8600         * math/s_atanl.c: Likewise.
8601         * math/s_cbrtl.c: Likewise.
8602         * math/s_erfl.c: Likewise.
8603         * math/s_expm1l.c: Likewise.
8604         * math/s_log1pl.c: Likewise.
8605         * math/s_tanhl.c: Likewise.
8606         * misc/acct.c: Likewise.
8607         * misc/brk.c: Likewise.
8608         * misc/chflags.c: Likewise.
8609         * misc/chroot.c: Likewise.
8610         * misc/fchflags.c: Likewise.
8611         * misc/fgetxattr.c: Likewise.
8612         * misc/flistxattr.c: Likewise.
8613         * misc/fremovexattr.c: Likewise.
8614         * misc/fsetxattr.c: Likewise.
8615         * misc/fsync.c: Likewise.
8616         * misc/ftruncate.c: Likewise.
8617         * misc/futimes.c: Likewise.
8618         * misc/futimesat.c: Likewise.
8619         * misc/getdomain.c: Likewise.
8620         * misc/getdtsz.c: Likewise.
8621         * misc/gethostid.c: Likewise.
8622         * misc/gethostname.c: Likewise.
8623         * misc/getloadavg.c: Likewise.
8624         * misc/getpagesize.c: Likewise.
8625         * misc/getsysstats.c: Likewise.
8626         * misc/getxattr.c: Likewise.
8627         * misc/gtty.c: Likewise.
8628         * misc/ioctl.c: Likewise.
8629         * misc/lgetxattr.c: Likewise.
8630         * misc/listxattr.c: Likewise.
8631         * misc/llistxattr.c: Likewise.
8632         * misc/lremovexattr.c: Likewise.
8633         * misc/lsetxattr.c: Likewise.
8634         * misc/lutimes.c: Likewise.
8635         * misc/madvise.c: Likewise.
8636         * misc/mincore.c: Likewise.
8637         * misc/mlock.c: Likewise.
8638         * misc/mlockall.c: Likewise.
8639         * misc/mmap.c: Likewise.
8640         * misc/mprotect.c: Likewise.
8641         * misc/msync.c: Likewise.
8642         * misc/munlock.c: Likewise.
8643         * misc/munlockall.c: Likewise.
8644         * misc/munmap.c: Likewise.
8645         * misc/preadv.c: Likewise.
8646         * misc/preadv64.c: Likewise.
8647         * misc/ptrace.c: Likewise.
8648         * misc/pwritev.c: Likewise.
8649         * misc/pwritev64.c: Likewise.
8650         * misc/readv.c: Likewise.
8651         * misc/reboot.c: Likewise.
8652         * misc/remap_file_pages.c: Likewise.
8653         * misc/removexattr.c: Likewise.
8654         * misc/revoke.c: Likewise.
8655         * misc/select.c: Likewise.
8656         * misc/setdomain.c: Likewise.
8657         * misc/setegid.c: Likewise.
8658         * misc/seteuid.c: Likewise.
8659         * misc/sethostid.c: Likewise.
8660         * misc/sethostname.c: Likewise.
8661         * misc/setregid.c: Likewise.
8662         * misc/setreuid.c: Likewise.
8663         * misc/setxattr.c: Likewise.
8664         * misc/sstk.c: Likewise.
8665         * misc/stty.c: Likewise.
8666         * misc/swapoff.c: Likewise.
8667         * misc/swapon.c: Likewise.
8668         * misc/sync.c: Likewise.
8669         * misc/syncfs.c: Likewise.
8670         * misc/syscall.c: Likewise.
8671         * misc/truncate.c: Likewise.
8672         * misc/ualarm.c: Likewise.
8673         * misc/usleep.c: Likewise.
8674         * misc/ustat.c: Likewise.
8675         * misc/utimes.c: Likewise.
8676         * misc/vhangup.c: Likewise.
8677         * misc/writev.c: Likewise.
8678         * posix/_exit.c: Likewise.
8679         * posix/alarm.c: Likewise.
8680         * posix/execve.c: Likewise.
8681         * posix/fexecve.c: Likewise.
8682         * posix/fork.c: Likewise.
8683         * posix/fpathconf.c: Likewise.
8684         * posix/getaddrinfo.c: Likewise.
8685         * posix/getegid.c: Likewise.
8686         * posix/geteuid.c: Likewise.
8687         * posix/getgid.c: Likewise.
8688         * posix/getgroups.c: Likewise.
8689         * posix/getlogin.c: Likewise.
8690         * posix/getlogin_r.c: Likewise.
8691         * posix/getpgid.c: Likewise.
8692         * posix/getpid.c: Likewise.
8693         * posix/getppid.c: Likewise.
8694         * posix/getresgid.c: Likewise.
8695         * posix/getresuid.c: Likewise.
8696         * posix/getsid.c: Likewise.
8697         * posix/getuid.c: Likewise.
8698         * posix/glob64.c: Likewise.
8699         * posix/nanosleep.c: Likewise.
8700         * posix/pathconf.c: Likewise.
8701         * posix/pause.c: Likewise.
8702         * posix/posix_madvise.c: Likewise.
8703         * posix/pread.c: Likewise.
8704         * posix/pread64.c: Likewise.
8705         * posix/pwrite.c: Likewise.
8706         * posix/pwrite64.c: Likewise.
8707         * posix/sched_getaffinity.c: Likewise.
8708         * posix/sched_getp.c: Likewise.
8709         * posix/sched_gets.c: Likewise.
8710         * posix/sched_primax.c: Likewise.
8711         * posix/sched_primin.c: Likewise.
8712         * posix/sched_rr_gi.c: Likewise.
8713         * posix/sched_setaffinity.c: Likewise.
8714         * posix/sched_setp.c: Likewise.
8715         * posix/sched_sets.c: Likewise.
8716         * posix/sched_yield.c: Likewise.
8717         * posix/setgid.c: Likewise.
8718         * posix/setlogin.c: Likewise.
8719         * posix/setpgid.c: Likewise.
8720         * posix/setresgid.c: Likewise.
8721         * posix/setresuid.c: Likewise.
8722         * posix/setsid.c: Likewise.
8723         * posix/setuid.c: Likewise.
8724         * posix/sleep.c: Likewise.
8725         * posix/spawni.c: Likewise.
8726         * posix/sysconf.c: Likewise.
8727         * posix/times.c: Likewise.
8728         * posix/wait.c: Likewise.
8729         * posix/wait3.c: Likewise.
8730         * posix/wait4.c: Likewise.
8731         * posix/waitpid.c: Likewise.
8732         * resolv/gai_sigqueue.c: Likewise.
8733         * resource/getpriority.c: Likewise.
8734         * resource/getrlimit.c: Likewise.
8735         * resource/getrusage.c: Likewise.
8736         * resource/nice.c: Likewise.
8737         * resource/setpriority.c: Likewise.
8738         * resource/setrlimit.c: Likewise.
8739         * resource/ulimit.c: Likewise.
8740         * rt/aio_cancel.c: Likewise.
8741         * rt/aio_fsync.c: Likewise.
8742         * rt/aio_read.c: Likewise.
8743         * rt/aio_sigqueue.c: Likewise.
8744         * rt/aio_suspend.c: Likewise.
8745         * rt/aio_write.c: Likewise.
8746         * rt/clock_getres.c: Likewise.
8747         * rt/clock_gettime.c: Likewise.
8748         * rt/clock_nanosleep.c: Likewise.
8749         * rt/clock_settime.c: Likewise.
8750         * rt/lio_listio.c: Likewise.
8751         * rt/mq_close.c: Likewise.
8752         * rt/mq_getattr.c: Likewise.
8753         * rt/mq_notify.c: Likewise.
8754         * rt/mq_open.c: Likewise.
8755         * rt/mq_receive.c: Likewise.
8756         * rt/mq_send.c: Likewise.
8757         * rt/mq_setattr.c: Likewise.
8758         * rt/mq_timedreceive.c: Likewise.
8759         * rt/mq_timedsend.c: Likewise.
8760         * rt/mq_unlink.c: Likewise.
8761         * rt/shm_open.c: Likewise.
8762         * rt/shm_unlink.c: Likewise.
8763         * rt/timer_create.c: Likewise.
8764         * rt/timer_delete.c: Likewise.
8765         * rt/timer_getoverr.c: Likewise.
8766         * rt/timer_gettime.c: Likewise.
8767         * rt/timer_settime.c: Likewise.
8768         * setjmp/__longjmp.c: Likewise.
8769         * setjmp/setjmp.c: Likewise.
8770         * signal/kill.c: Likewise.
8771         * signal/killpg.c: Likewise.
8772         * signal/raise.c: Likewise.
8773         * signal/sigaction.c: Likewise.
8774         * signal/sigaltstack.c: Likewise.
8775         * signal/sigblock.c: Likewise.
8776         * signal/sigignore.c: Likewise.
8777         * signal/sigintr.c: Likewise.
8778         * signal/signal.c: Likewise.
8779         * signal/sigpause.c: Likewise.
8780         * signal/sigpending.c: Likewise.
8781         * signal/sigqueue.c: Likewise.
8782         * signal/sigreturn.c: Likewise.
8783         * signal/sigset.c: Likewise.
8784         * signal/sigsetmask.c: Likewise.
8785         * signal/sigstack.c: Likewise.
8786         * signal/sigsuspend.c: Likewise.
8787         * signal/sigtimedwait.c: Likewise.
8788         * signal/sigvec.c: Likewise.
8789         * signal/sigwait.c: Likewise.
8790         * signal/sigwaitinfo.c: Likewise.
8791         * signal/sysv_signal.c: Likewise.
8792         * socket/accept.c: Likewise.
8793         * socket/accept4.c: Likewise.
8794         * socket/bind.c: Likewise.
8795         * socket/connect.c: Likewise.
8796         * socket/getpeername.c: Likewise.
8797         * socket/getsockname.c: Likewise.
8798         * socket/getsockopt.c: Likewise.
8799         * socket/isfdtype.c: Likewise.
8800         * socket/listen.c: Likewise.
8801         * socket/recv.c: Likewise.
8802         * socket/recvfrom.c: Likewise.
8803         * socket/recvmsg.c: Likewise.
8804         * socket/send.c: Likewise.
8805         * socket/sendmsg.c: Likewise.
8806         * socket/sendto.c: Likewise.
8807         * socket/setsockopt.c: Likewise.
8808         * socket/shutdown.c: Likewise.
8809         * socket/sockatmark.c: Likewise.
8810         * socket/socket.c: Likewise.
8811         * socket/socketpair.c: Likewise.
8812         * stdio-common/ctermid.c: Likewise.
8813         * stdio-common/cuserid.c: Likewise.
8814         * stdio-common/remove.c: Likewise.
8815         * stdio-common/rename.c: Likewise.
8816         * stdio-common/renameat.c: Likewise.
8817         * stdio-common/tempname.c: Likewise.
8818         * stdlib/getcontext.c: Likewise.
8819         * stdlib/makecontext.c: Likewise.
8820         * stdlib/setcontext.c: Likewise.
8821         * stdlib/swapcontext.c: Likewise.
8822         * stdlib/system.c: Likewise.
8823         * streams/fattach.c: Likewise.
8824         * streams/fdetach.c: Likewise.
8825         * streams/getmsg.c: Likewise.
8826         * streams/getpmsg.c: Likewise.
8827         * streams/putmsg.c: Likewise.
8828         * streams/putpmsg.c: Likewise.
8829         * sysdeps/unix/bsd/getpt.c: Likewise.
8830         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8831         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8832         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8834         Likewise.
8835         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8836         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8837         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8838         * sysvipc/msgctl.c: Likewise.
8839         * sysvipc/msgget.c: Likewise.
8840         * sysvipc/msgrcv.c: Likewise.
8841         * sysvipc/msgsnd.c: Likewise.
8842         * sysvipc/semctl.c: Likewise.
8843         * sysvipc/semget.c: Likewise.
8844         * sysvipc/semop.c: Likewise.
8845         * sysvipc/semtimedop.c: Likewise.
8846         * sysvipc/shmat.c: Likewise.
8847         * sysvipc/shmctl.c: Likewise.
8848         * sysvipc/shmdt.c: Likewise.
8849         * sysvipc/shmget.c: Likewise.
8850         * termios/tcdrain.c: Likewise.
8851         * termios/tcflow.c: Likewise.
8852         * termios/tcflush.c: Likewise.
8853         * termios/tcgetattr.c: Likewise.
8854         * termios/tcgetpgrp.c: Likewise.
8855         * termios/tcsendbrk.c: Likewise.
8856         * termios/tcsetattr.c: Likewise.
8857         * termios/tcsetpgrp.c: Likewise.
8858         * time/adjtime.c: Likewise.
8859         * time/clock.c: Likewise.
8860         * time/getitimer.c: Likewise.
8861         * time/gettimeofday.c: Likewise.
8862         * time/setitimer.c: Likewise.
8863         * time/settimeofday.c: Likewise.
8864         * time/stime.c: Likewise.
8865         * time/time.c: Likewise.
8866
8867 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
8868
8869         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8870         /usr/old/bin.
8871
8872         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8873         instead of spaces.
8874         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8875
8876 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
8877
8878         [BZ #14796]
8879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8880         FE_TONEAREST before applying Dekker multiplication and Knuth
8881         addition.  Clear inexact exceptions and check for exact zero
8882         results afterwards.
8883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8884         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8885         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8886         * math/libm-test.inc (fma_test): Add more tests.
8887         (fma_test_towardzero): Likewise.
8888         (fma_test_downward): Likewise.
8889         (fma_test_upward): Likewise.
8890         * sysdeps/generic/math_private.h (default_libc_fesetround): New
8891         function.
8892         (libc_fesetround): New macro.
8893         (libc_fesetroundf): Likewise.
8894         (libc_fesetroundl): Likewise.
8895         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8896         function.
8897         (libc_fesetround_387): Likewise.
8898         (libc_fesetroundf): New macro.
8899         (libc_fesetround): Likewise.
8900         (libc_fesetroundl): Likewise.
8901         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8902         function.
8903         (libc_fesetroundf): New macro.
8904         (libc_fesetround): Likewise.
8905         (libc_fesetroundl): Likewise.
8906         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8907         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8908         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8909         libm_hidden_ver.
8910         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8911         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8912         libm_hidden_def.
8913         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8914         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8915         libm_hidden_ver.
8916         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8917         libm_hidden_def.
8918
8919         [BZ #3439]
8920         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8921         integer constant usable in #if and use that to give value to enum
8922         constant.
8923         (FE_DIVBYZERO): Likewise.
8924         (FE_UNDERFLOW): Likewise.
8925         (FE_OVERFLOW): Likewise.
8926         (FE_INVALID): Likewise.
8927         (FE_INVALID_SNAN): Likewise.
8928         (FE_INVALID_ISI): Likewise.
8929         (FE_INVALID_IDI): Likewise.
8930         (FE_INVALID_ZDZ): Likewise.
8931         (FE_INVALID_IMZ): Likewise.
8932         (FE_INVALID_COMPARE): Likewise.
8933         (FE_INVALID_SOFTWARE): Likewise.
8934         (FE_INVALID_SQRT): Likewise.
8935         (FE_INVALID_INTEGER_CONVERSION): Likewise.
8936         (FE_TONEAREST): Likewise.
8937         (FE_TOWARDZERO): Likewise.
8938         (FE_UPWARD): Likewise.
8939         (FE_DOWNWARD): Likewise.
8940         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8941         (FE_DIVBYZERO): Likewise.
8942         (FE_OVERFLOW): Likewise.
8943         (FE_UNDERFLOW): Likewise.
8944         (FE_INEXACT): Likewise.
8945         (FE_TONEAREST): Likewise.
8946         (FE_DOWNWARD): Likewise.
8947         (FE_UPWARD): Likewise.
8948         (FE_TOWARDZERO): Likewise.
8949         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8950         (FE_UNDERFLOW): Likewise.
8951         (FE_OVERFLOW): Likewise.
8952         (FE_DIVBYZERO): Likewise.
8953         (FE_INVALID): Likewise.
8954         (FE_TONEAREST): Likewise.
8955         (FE_TOWARDZERO): Likewise.
8956         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8957         (FE_OVERFLOW): Likewise.
8958         (FE_UNDERFLOW): Likewise.
8959         (FE_DIVBYZERO): Likewise.
8960         (FE_INEXACT): Likewise.
8961         (FE_TONEAREST): Likewise.
8962         (FE_TOWARDZERO): Likewise.
8963         (FE_UPWARD): Likewise.
8964         (FE_DOWNWARD): Likewise.
8965         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8966         (FE_DIVBYZERO): Likewise.
8967         (FE_OVERFLOW): Likewise.
8968         (FE_UNDERFLOW): Likewise.
8969         (FE_INEXACT): Likewise.
8970         (FE_TONEAREST): Likewise.
8971         (FE_DOWNWARD): Likewise.
8972         (FE_UPWARD): Likewise.
8973         (FE_TOWARDZERO): Likewise.
8974
8975 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
8976
8977         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8978
8979 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
8980
8981         * scripts/cross-test-ssh.sh (command): Use newlines to separate
8982         commands.  Quote $PWD.
8983         (blacklist_exports): Don't use remove_newlines.  Replace "declare
8984         -x" by "export".
8985         (remove_newlines): Remove.
8986
8987 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
8988
8989         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8990         * stdlib/stdlib.h (atof): Moved to ...
8991         * include/bits/stdlib-float.h: Here.  New file.
8992         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8993         * stdlib/bits/stdlib-float.h: New file.
8994         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8995         -mno-sse -mno-mmx.
8996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8997         <xmmintrin.h>.
8998
8999 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
9000
9001         * conform/conformtest.pl (@headers): Add fenv.h.
9002         * conform/data/fenv.h-data: New file.
9003         * include/fenv.h [_ISOMAC]: Disable all contents of file except
9004         include of <math/fenv.h>.
9005
9006         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9007         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9008         && !UNIX98].  Enables tests for XOPEN2K8.
9009         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9010         POSIX2008]: Likewise.
9011
9012         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9013         (struct rusage): Do not expect type or its members.
9014
9015         [BZ #3439]
9016         * math/math.h (FP_NAN): Define macro to integer constant usable in
9017         #if and use that to give value to enum constant.
9018         (FP_INFINITE): Likewise.
9019         (FP_ZERO): Likewise.
9020         (FP_SUBNORMAL): Likewise.
9021         (FP_NORMAL): Likewise.
9022
9023 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
9024
9025         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9026         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9027         arguments.
9028
9029 2012-11-02  Roland McGrath  <roland@hack.frob.com>
9030
9031         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9032         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9033         autoconf-time if not.
9034         * configure.in: Remove AC_PREREQ.
9035
9036 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9037
9038         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9039         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9040         of the internal implementation.
9041
9042 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
9043
9044         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9045         except include of <misc/sys/syslog.h>.
9046
9047 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
9048
9049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9050         function returns with a NULL context exit with zero.
9051
9052 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9053
9054         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9055
9056 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
9057
9058         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9059         (run_program_cmd): This.
9060         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9061         (tst_langinfo): New variable.  Use it.
9062
9063 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
9064
9065         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9066         floating point opcodes.
9067
9068 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9069
9070         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9071         variable.
9072
9073         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9074
9075         * sysdeps/mach/hurd/powerpc: Remove directory.
9076         * sysdeps/mach/powerpc: Likewise.
9077
9078 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
9079
9080         * scripts/check-local-headers.sh: Ignore c++ headers.
9081
9082 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9083
9084         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9085         __libc_cleanup_region_start argument.
9086
9087 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
9088
9089         [BZ #14784]
9090         [BZ #14785]
9091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9092         x * y using scaling, not as x * y + z.
9093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9095         * math/libm-test.inc (fma_test): Add more tests.
9096         (fma_test_towardzero): Likewise.
9097         (fma_test_downward): Likewise.
9098         (fma_test_upward): Likewise.
9099
9100 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9101
9102         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9103
9104 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
9105
9106         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9107         New variable.
9108
9109 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
9110
9111         * rt/tst-shm.c (worker): Correct checking for mmap failure.
9112
9113 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9114
9115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9116         Fix sort order.
9117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9118         Likewise.
9119
9120 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9121
9122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9123         Fix the order of the list for glibc 2.17.
9124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9125         Likewise.
9126
9127 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9128
9129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9130
9131 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
9132
9133         [BZ #14610]
9134         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9135         for low part of x being zero before using __atanl (y).
9136         * math/libm-test.inc (atan2_test): Add another test.
9137
9138         * manual/install.texi (Configuring and compiling): Document
9139         general use of test-wrapper and test-wrapper-env.
9140         * INSTALL: Regenerated.
9141
9142         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9143         (__fma): Do not extract and scale down low bits on after-rounding
9144         systems when result rounded to normal precision would have normal
9145         exponent.
9146         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9147         (__fmal): Do not extract and scale down low bits on after-rounding
9148         systems when result rounded to normal precision would have normal
9149         exponent.
9150         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9151         (__fmal): Do not extract and scale down low bits on after-rounding
9152         systems when result rounded to normal precision would have normal
9153         exponent.
9154         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9155         macro.
9156         (fma_test): Add more tests.
9157         (fma_test_towardzero): Likewise.
9158         (fma_test_downward): Likewise.
9159         (fma_test_upward): Likewise.
9160
9161 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
9162
9163         * sysdeps/i386/tininess.h: Renamed to ...
9164         * sysdeps/x86/tininess.h: This.
9165         * sysdeps/x86_64/tininess.h: Removed.
9166
9167 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
9168
9169         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9170         input.  Use $(build-program-cmd).
9171         ($(objpfx)tst-array1-static.out): Likewise.
9172         ($(objpfx)tst-array2.out): Likewise.
9173         ($(objpfx)tst-array3.out): Likewise.
9174         ($(objpfx)tst-array4.out): Likewise.
9175         ($(objpfx)tst-array5.out): Likewise.
9176         ($(objpfx)tst-array5-static.out): Likewise.
9177
9178 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
9179
9180         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9181         if defined.
9182
9183         * nss/nsswitch.h (nss_interface_function): Provide new
9184         macro for use with NSS functions.
9185         * grp/initgroups.c: Use new macro.
9186         * nss/getXXbyYY.c: Likewise.
9187         * nss/getXXbyYY_r.c: Likewise.
9188         * nss/getXXent.c: Likewise.
9189         * nss/getXXent_r.c: Likewise.
9190         * sysdeps/posix/getaddrinfo.c: Likewise.
9191
9192 2012-10-30  Andreas Jaeger  <aj@suse.de>
9193
9194         * po/ru.po: Update Russion translation from translation project.
9195
9196 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
9197
9198         [BZ #14152]
9199         [BZ #14783]
9200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9201         result and shift together with sticky bit instead of replicating
9202         round-to-nearest rounding.
9203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9205         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
9206         missing underflow exceptions.
9207         (fma_test_towardzero): Add more tests.
9208         (fma_test_downward): Likewise.
9209         (fma_test_upward): Likewise.
9210
9211         [BZ #14047]
9212         * sysdeps/generic/tininess.h: New file.
9213         * sysdeps/i386/tininess.h: Likewise.
9214         * sysdeps/sh/tininess.h: Likewise.
9215         * sysdeps/x86_64/tininess.h: Likewise.
9216         * stdlib/tst-strtod-underflow.c: Likewise.
9217         * stdlib/tst-tininess.c: Likewise.
9218         * stdlib/strtod_l.c: Include <tininess.h>.
9219         (round_and_return): Do not set errno for exact underflow cases.
9220         Force an underflow exception when setting errno for underflow.
9221         Determine underflow based on rounding to normal precision if
9222         TININESS_AFTER_ROUNDING.
9223         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9224         ERANGE for exact underflow cases.
9225         * stdlib/Makefile (tests): Add tst-tininess and
9226         tst-strtod-underflow.
9227         ($(objpfx)tst-tininess): Use $(link-libm).
9228         ($(objpfx)tst-strtod-underflow): Likewise.
9229
9230 2012-10-30  Andreas Jaeger  <aj@suse.de>
9231
9232         [BZ#14767]
9233         * elf/Makefile (tests): Remove conditional for have-initfini-array
9234         since this is now always required and the variable does not exist
9235         anymore.
9236         (tests-static): Likewise.
9237         (modules-names): Likewise.
9238
9239         * po/eo.po: Add Esperanto translation from translation project.
9240
9241         * elf/tst-array1.c (fini_array): Make writeable so that it can be
9242         merged with constructor/destructor.
9243         (init_array): Likewise.
9244         * elf/tst-array2dep.c (fini_array): Likewise.
9245         (init_array): Likewise.
9246
9247 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
9248
9249         * manual/message.texi: Delete @cartouche tags.
9250
9251 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
9252
9253         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9254         EOPNOTSUPP.
9255         * sysdeps/mach/hurd/fsync.c: Likewise.
9256
9257         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9258         [_POSIX_REALTIME_SIGNALS]: Change condition to
9259         [_POSIX_REALTIME_SIGNALS > 0].
9260
9261 2012-10-27  Andreas Jaeger  <aj@suse.de>
9262
9263         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9264         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9266         [__WORDSIZE != 64]: Likewise.
9267
9268 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
9269
9270         *  iconvdata/tst-table.sh: Remove ${SHELL}.
9271         *  iconvdata/tst-tables.sh: Likewise.
9272
9273 2012-10-25  David S. Miller  <davem@davemloft.net>
9274
9275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9276         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9277         of strtoull.
9278
9279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9280         ifunc-impl-list.c
9281         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9282         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9283         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9284         file.
9285
9286 2012-10-25  Roland McGrath  <roland@hack.frob.com>
9287
9288         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9289         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9290         __getdirentries.
9291
9292 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
9293             Jim Blandy  <jimb@codesourcery.com>
9294
9295         * scripts/cross-test-ssh.sh: New file.
9296         * manual/install.texi (Configuring and compiling): Document use of
9297         cross-test-ssh.sh.
9298         * INSTALL: Regenerated.
9299
9300 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
9301
9302         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9303         EOPNOTSUPP.
9304
9305 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
9306
9307         * Makeconfig (run-program-prefix): Fix comment.
9308
9309 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
9310             Jim Blandy  <jimb@codesourcery.com>
9311
9312         * Makeconfig (test-wrapper): New variable,
9313         (test-wrapper-env): Likewise.
9314         [$(cross-compiling) = yes && $(test-wrapper) != ""]
9315         (run-built-tests): Define to yes.
9316         (run-program-prefix): Use $(test-wrapper).
9317         (built-program-cmd): Likewise.
9318         * Rules (make-test-out): Use $(test-wrapper-env) and
9319         $(host-built-program-cmd).
9320         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9321         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9322         tst-pathopt.sh.
9323         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9324         $(test-wrapper-env) to tst-rtld-load-self.sh.
9325         ($(objpfx)order2.out): Use $(test-wrapper).
9326         ($(objpfx)tst-initorder.out): Likewise.
9327         ($(objpfx)tst-initorder2.out): Likewise.
9328         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9329         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9330         (test_wrapper_env): New variable.  Use it to run ld.so.
9331         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9332         Use it to run ld.so.
9333         (test_wrapper_env): Likewise.
9334         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9335         $(test-wrapper) to run-iconv-test.sh.
9336         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9337         (ICONV): Use $test_wrapper.
9338         * posix/Makefile ($(objpfx)globtest.out): Pass
9339         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9340         globtest.sh, not $(run-program-prefix).
9341         * posix/globtest.sh (run_via_rtld_prefix): New variable.
9342         (test_wrapper): Likewise.
9343         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
9344         set together with run_via_rtld_prefix.
9345         (run_program_prefix): Define in terms of test_wrapper and
9346         run_via_rtld_prefix.
9347
9348 2012-10-24  Roland McGrath  <roland@hack.frob.com>
9349
9350         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9351         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9352         Targets removed.
9353
9354         [BZ #14743]
9355         * include/time.h: Remove librt_hidden_proto (clock_gettime).
9356         Declare __clock_getres, __clock_gettime, __clock_settime,
9357         __clock_nanosleep, and __clock_getcpuclockid.
9358         * rt/clock_gettime.c: Define __clock_gettime as an alias.
9359         Remove librt_hidden_def (clock_gettime).
9360         * sysdeps/unix/clock_gettime.c: Likewise.
9361         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9362         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9363         * rt/clock_getres.c: Define __clock_getres as an alias.
9364         * sysdeps/posix/clock_getres.c: Likewise.
9365         * rt/clock_settime.c: Define __clock_settime as an alias.
9366         * sysdeps/unix/clock_settime.c: Likewise.
9367         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9368         * sysdeps/unix/clock_nanosleep.c: Likewise.
9369         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9370         * rt/clock-compat.c: New file.
9371         * rt/Makefile (librt-routines): Add clock-compat and move
9372         $(clock-routines) to ...
9373         (routines): ... here, new variable.
9374         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9375         Don't add get_clockfreq here.
9376         * rt/Versions (libc: GLIBC_2.17): New version set.
9377         Add clock_* symbols here.
9378         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
9379         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9380         (GLIBC_2.17): Add clock_* symbols.
9381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9383         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9385         Likewise.
9386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9387         Likewise.
9388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9392         * NEWS: Mention the move.
9393
9394         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9395         Use __open, __read, __close rather than their public counterparts.
9396         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9397         (__get_clockfreq_via_cpuinfo): Likewise.
9398         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9399         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9400
9401         * config.h.in (HAVE_IFUNC): New #undef.
9402         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9403         was successful.
9404         * configure: Regenerated.
9405
9406 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
9407
9408         * configure.in: Move READELF check to start of file.
9409         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9410         libc_cv_asm_gnu_indirect_function in the process.
9411         * configure: Regenerated.
9412
9413 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
9414
9415         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9416         send the output to /dev/null.
9417         (libc_cv_cc_with_libunwind): Likewise.
9418         (libc_cv_as_noexecstack): Likewise.
9419         * configure: Regenerate.
9420
9421 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
9422
9423         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9424
9425         * posix/globtest.sh (TMPDIR): Do not set.
9426         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9427         (testout): Likewise.
9428
9429 2012-10-24  Andreas Jaeger  <aj@suse.de>
9430
9431         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9432         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9433         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9434         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9435         posix_fadvise64, posix_fallocate64.
9436
9437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9438         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9439         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9440         Likewise.
9441         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9442         Likewise.
9443         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9444
9445         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9446         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9447         <bits/fcntl-linux.h>.
9448         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9449
9450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9451         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9452         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9453         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9454         [__WORDSIZE != 64]: Likewise.
9455
9456 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
9457
9458         * Makeconfig (run-built-tests): New variable.
9459         * Rules [$(cross-compiling) = yes]: Change condition to
9460         [$(run-built-tests) = no].
9461         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9462         to [$(run-built-tests) = yes].
9463         * elf/Makefile [$(cross-compiling) = no]: Likewise
9464         * grp/Makefile [$(cross-compiling) = no]: Likewise.
9465         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9466         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9467         * intl/Makefile [$(cross-compiling) = no]: Likewise.
9468         * io/Makefile [$(cross-compiling) = no]: Likewise.
9469         * libio/Makefile [$(cross-compiling) = no]: Likewise.
9470         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9471         * misc/Makefile [$(cross-compiling) = no]: Likewise.
9472         * posix/Makefile [$(cross-compiling) = no]: Likewise.
9473         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9474         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9475         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9476         * string/Makefile [$(cross-compiling) = no]: Likewise.
9477
9478         * posix/Makefile ($(objpfx)globtest.out): Pass
9479         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9480         $(rtld-installed-name).
9481         * posix/globtest.sh (elf_objpfx): Remove variable.
9482         (rtld_installed_name): Likewise.
9483         (library_path): Likewise.
9484         (run_program_prefix): New variable.  Use for running globtest
9485         binary.
9486
9487 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
9488             Joseph Myers  <joseph@codesourcery.com>
9489
9490         * Makeconfig (host-built-program-cmd): New variable.
9491         * elf/Makefile (tst-stackguard1-ARGS): Use
9492         $(host-built-program-cmd).
9493         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9494         (tst-spawn-ARGS): Likewise.
9495         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9496
9497 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
9498             Jim Blandy  <jimb@codesourcery.com>
9499
9500         * Makeconfig (run-via-rtld-prefix): New variable.
9501         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9502         (built-program-cmd): Likewise.
9503
9504 2012-10-22  Andreas Jaeger  <aj@suse.de>
9505
9506         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9507         __O_RSYNC if it exists, otherwise to O_SYNC.
9508
9509 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
9510             Joseph Myers  <joseph@codesourcery.com>
9511
9512         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9513         /dev/null.
9514         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9515         from /dev/null
9516         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9517         /dev/null.
9518
9519 2012-10-22  Andreas Jaeger  <aj@suse.de>
9520
9521         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9522         Define always.
9523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9524
9525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9526         bits/fcntl-linux.h.
9527
9528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9529         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9530
9531         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9532         to __O_LARGEFILE.
9533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9534         to __O_LARGEFILE.
9535
9536 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
9537             Joseph Myers  <joseph@codesourcery.com>
9538
9539         * config.make.in (NM): New variable.
9540
9541 2012-10-21  Andreas Jaeger  <aj@suse.de>
9542
9543         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9544         definitions and declarations that are provided by
9545         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9546
9547 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
9548
9549         [BZ #14683]
9550         * elf/Makefile (tests-static): Add tst-leaks1-static.
9551         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9552         ($(objpfx)tst-leaks1-static): New rule.
9553         ($(objpfx)tst-leaks1-static-mem): Likewise.
9554         (tst-leaks1-static-ENV): New macro.
9555         * elf/dl-open.c (dl_open_worker): Check the main application
9556         only if SHARED is defined.
9557         * elf/tst-leaks1-static.c: New file.
9558
9559 2012-10-20  Andreas Jaeger  <aj@suse.de>
9560
9561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9562         generic values for Linux.
9563         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9564         and declarations that are provided by <bits/fcntl-linux.h> and
9565         include <bits/fcntl-linux.h>.
9566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9568
9569 2012-10-20  Roland McGrath  <roland@hack.frob.com>
9570
9571         * io/fcntl.h: Move include of <bits/types.h> to the top and
9572         include it unconditionally.
9573
9574 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
9575
9576         * wcsmbs/Makefile (tests-ifunc): New variable.
9577         (tests): Add $(tests-ifunc).
9578         * wcsmbs/test-wcschr-ifunc.c: New file.
9579         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9580         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9581         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9582         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9583         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9584
9585         * string/Makefile (tests-ifunc): New variable.
9586         (tests): Add $(tests-ifunc).
9587         * string/test-memccpy.c (TEST_NAME): New macro.
9588         * string/test-memchr.c (TEST_NAME): Likewise.
9589         * string/test-memcmp.c (TEST_NAME): Likewise.
9590         * string/test-memcpy.c (TEST_NAME): Likewise.
9591         * string/test-memmem.c (TEST_NAME): Likewise.
9592         * string/test-memmove.c (TEST_NAME): Likewise.
9593         * string/test-memset.c (TEST_NAME): Likewise.
9594         * string/test-rawmemchr.c (TEST_NAME): Likewise.
9595         * string/test-stpcpy.c (TEST_NAME): Likewise.
9596         * string/test-stpncpy.c (TEST_NAME): Likewise.
9597         * string/test-strcasecmp.c (TEST_NAME): Likewise.
9598         * string/test-strcasestr.c (TEST_NAME): Likewise.
9599         * string/test-strcat.c (TEST_NAME): Likewise.
9600         * string/test-strchr.c (TEST_NAME): Likewise.
9601         * string/test-strcmp.c(TEST_NAME): Likewise.
9602         * string/test-strcpy.c (TEST_NAME): Likewise.
9603         * string/test-strcspn.c (TEST_NAME): Likewise.
9604         * string/test-strlen.c (TEST_NAME): Likewise.
9605         * string/test-strncasecmp.c (TEST_NAME): Likewise.
9606         * string/test-strncmp.c (TEST_NAME): Likewise.
9607         * string/test-strncpy.c (TEST_NAME): Likewise.
9608         * string/test-strnlen.c (TEST_NAME): Likewise.
9609         * string/test-strpbrk.c (TEST_NAME): Likewise.
9610         * string/test-strrchr.c (TEST_NAME): Likewise.
9611         * string/test-strspn.c (TEST_NAME): Likewise.
9612         * string/test-strstr.c (TEST_NAME): Likewise.
9613         * string/test-bcopy-ifunc.c: New file.
9614         * string/test-bzero-ifunc.c: Likewise.
9615         * string/test-memccpy-ifunc.c: Likewise.
9616         * string/test-memchr-ifunc.c: Likewise.
9617         * string/test-memcmp-ifunc.c: Likewise.
9618         * string/test-memcpy-ifunc.c: Likewise.
9619         * string/test-memmem-ifunc.c: Likewise.
9620         * string/test-memmove-ifunc.c: Likewise.
9621         * string/test-mempcpy-ifunc.c: Likewise.
9622         * string/test-memset-ifunc.c: Likewise.
9623         * string/test-rawmemchr-ifunc.c: Likewise.
9624         * string/test-stpcpy-ifunc.c: Likewise.
9625         * string/test-stpncpy-ifunc.c: Likewise.
9626         * string/test-strcasecmp-ifunc.c: Likewise.
9627         * string/test-strcasestr-ifunc.c: Likewise.
9628         * string/test-strcat-ifunc.c: Likewise.
9629         * string/test-strchr-ifunc.c: Likewise.
9630         * string/test-strchrnul-ifunc.c: Likewise.
9631         * string/test-strcmp-ifunc.c: Likewise.
9632         * string/test-strcpy-ifunc.c: Likewise.
9633         * string/test-strcspn-ifunc.c: Likewise.
9634         * string/test-strlen-ifunc.c: Likewise.
9635         * string/test-strncasecmp-ifunc.c: Likewise.
9636         * string/test-strncat-ifunc.c: Likewise.
9637         * string/test-strncmp-ifunc.c: Likewise.
9638         * string/test-strncpy-ifunc.c: Likewise.
9639         * string/test-strnlen-ifunc.c: Likewise.
9640         * string/test-strpbrk-ifunc.c: Likewise.
9641         * string/test-strrchr-ifunc.c: Likewise.
9642         * string/test-strspn-ifunc.c: Likewise.
9643         * string/test-strstr-ifunc.c: Likewise.
9644
9645         * debug/Makefile (tests-ifunc): New variable.
9646         (tests): Add $(tests-ifunc).
9647         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9648         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9649         * debug/test-stpcpy_chk-ifunc.c: New file.
9650         * debug/test-strcpy_chk-ifunc.c: Likewise.
9651
9652 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9653
9654         [BZ #13601]
9655         * elf/dl-load.c (open_verify): Retry read if the entire ELF
9656         header is not read in.
9657
9658 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
9659
9660         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
9661         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
9662         directly.  Pass built executable to script as
9663         $(built-program-cmd).
9664         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
9665         $testprogram without using LD_LIBRARY_PATH and $ldso.
9666
9667         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9668         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9669         $(rtld-installed-name).
9670         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9671         (rtld_installed_name): Likewise.
9672         (library_path): Likewise.
9673         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
9674         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9675         $(run-program-prefix) to tst-tables.sh.
9676         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
9677         it to run tst-table-from and tst-table-to.
9678         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9679         Pass it to tst-table.sh.
9680         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9681         $(run-program-prefix) to tst-gettext.sh.
9682         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9683         tst-translit.sh.
9684         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9685         tst-gettext2.sh.
9686         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
9687         to run tst-gettext.
9688         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
9689         to run tst-gettext2.
9690         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
9691         to run tst-translit.
9692         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9693         $(run-program-prefix) to tst-mtrace.sh.
9694         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
9695         to run tst-mtrace.
9696         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9697         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9698         $(rtld-installed-name).
9699         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9700         (rtld_installed_name): Likewise.
9701         (run_program_prefix): New variable.  Use it to run wordexp-test.
9702
9703         * Makeconfig (ARCH): Remove all definitions.
9704         (machine): Likewise.
9705         [ARCH]: Remove conditional code.
9706         [!objdir]: Give error.
9707         [!objdir] (objpfx): Remove.
9708         [!objdir] (common-objpfx): Likewise.
9709         [!objdir] (common-objdir): Likewise.
9710         * configure.in (config_makefile): Remove.  Hardcode Makefile in
9711         AC_CONFIG_FILES call.
9712         * configure: Regenerated.
9713
9714         [BZ #13888]
9715         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9716         or TMPDIR.
9717         (testout): Likewise.
9718
9719         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9720         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9721         $(rtld-installed-name).
9722         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9723         (rtld_installed_name): Likwise.
9724         (runit): Remove function.
9725         (run_getconf): New variable,  Use it for running getconf binary.
9726
9727 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
9728
9729         [BZ #14716]
9730         * string/test-memmem.c (check_result): New function.
9731         (do_one_test): Use it.
9732         (check1): New function.
9733         (test_main): Use it.
9734
9735 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
9736
9737         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9738
9739 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
9740
9741         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9742         (_G_LSEEK64): Likewise.
9743         (_G_MMAP64): Likewise.
9744         (_G_FSTAT64): Likewise.
9745         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9746         (_G_LSEEK64): Likewise.
9747         (_G_MMAP64): Likewise.
9748         (_G_FSTAT64): Likewise.
9749         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9750         unconditional.  Call __mmap64 directly.
9751         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9752         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
9753         __lseek64 directly.
9754         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9755         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
9756         __mmap64 directly.
9757         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9758         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
9759         __lseek64 directly.
9760         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9761         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
9762         __lseek64 directly.
9763         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9764         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
9765         __lseek64 directly.
9766         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9767         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
9768         __fxstat64 directly.
9769         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9770         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9771         unconditional.
9772         (freopen64) [!_G_OPEN64]: Remove conditional code.
9773         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9774         unconditional.
9775         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9776         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9777         unconditional.
9778         (ftello64) [!_G_LSEEK64]: Remove conditional code.
9779         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9780         unconditional.
9781         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9782         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9783         unconditional.
9784         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9785         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9786         unconditional.
9787         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9788         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9789         unconditional.
9790         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9791         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9792         unconditional.
9793         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9794
9795 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9796
9797         [BZ #12140]
9798         * manual/memory.texi (Malloc Tunable Parameters): Add note
9799         about free list pointers overwriting some perturb bytes.
9800         Wording suggested by Roland McGrath.
9801
9802 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
9803
9804         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9805         (lgamma_test): Likewise.
9806         (tgamma_test): Likewise.
9807
9808 2012-10-16  Florian Weimer  <fweimer@redhat.com>
9809
9810         [BZ #14700]
9811         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9812         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9813
9814 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
9815
9816         * NEWS: Mention BZ #14716.
9817         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9818         when removing AVAILABLE1_USES_J macro.
9819
9820 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9821
9822         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9823         (__bswap_64): __uint64_t for unsigned 64-bit int.
9824
9825 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
9826
9827         * include/string.h (memmem): Declare libc hidden alias.
9828         * string/memmem.c (memmem): Define libc hidden alias.
9829         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9830         __read, __close instead of open, read, close.
9831
9832 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
9833
9834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9835         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9836         global and hidden.
9837         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9838         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9839         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9840         Likewise.
9841         (__rawmemchr_sse2): Likewise.
9842         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9843         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9844         (__strchr_sse2): Likewise.
9845         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9846         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9847         (__strcasecmp_sse2): Likewise.
9848         (__strncasecmp_sse2): Likewise.
9849         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9850         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9851         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9852         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9853         (__strrchr_sse2): Likewise.
9854         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9855         ifunc-impl-list.c.
9856         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9857         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9858         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9859         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9860         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9861         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9862         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9863         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9864         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9865         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9866         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9867         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9868         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9869         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9870         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9871         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9872         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9873         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9874         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9875         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9876         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9877         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9878         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9879         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9880         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9881         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9882         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9883         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9884         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9885         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9886
9887         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9888         global and hidden.
9889         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9890         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9891         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9892         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9893         Likewise.
9894         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9895         Likewise.
9896         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9897         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9898         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9899         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9900         ifunc-impl-list.c.
9901         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9902         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9903         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9904         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9905         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9906         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9907         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9908         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9909         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9910         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9911         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9912         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9913         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9914         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9915         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9916         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9917         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9918         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9919         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9920         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9922         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9923         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9924         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9925         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9926         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9927         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9928         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9929         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9930         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9931         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9932         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9933         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9934         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9935         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9936         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9937         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9938         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9939         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9940         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9941         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9942
9943         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9944         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9945         * include/ifunc-impl-list.h: New file.
9946         * misc/ifunc-impl-list.c: Likewise.
9947         * misc/Makefile (routines): Add ifunc-impl-list.
9948         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9949         * string/test-string.h: Include <ifunc-impl-list.h>.
9950         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9951         impl_array): New variables.
9952         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9953         are defined.
9954         (test_init): Call __libc_ifunc_impl_list to initialize
9955         func_list if TEST_IFUNC and TEST_NAME are defined.
9956
9957         * string/Makefile (strop-tests): Add bcopy and bzero.
9958         * string/test-bcopy.c: New file.
9959         * string/test-bzero.c: Likewise.
9960         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9961         defined.
9962         * string/test-memset.c: Support bzero test if TEST_BZERO is
9963         defined.
9964         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9965         __libc_memmove.
9966         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9967         __libc_memset.
9968         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9969         of memset.
9970
9971 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
9972
9973         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9974         * configure: Regenerated.
9975
9976         * Makeconfig (+link-static-before-libc): Don't include
9977         $(link-static-libc).
9978
9979         * libio/libio.h (_IO_pos_t): Remove.
9980
9981 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
9982
9983         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
9984         McGrath.
9985
9986 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
9987
9988         * crypt/crypt-entry.c: Include fips-private.h.
9989         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9990         * crypt/md5c-test.c (main): Tolerate disabled MD5.
9991         * sysdeps/unix/sysv/linux/fips-private.h: New file.
9992         * sysdeps/generic/fips-private.h: New file, dummy fallback.
9993
9994 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
9995
9996         * crypt/crypt-private.h: Include stdbool.h.
9997         (_ufc_setup_salt_r): Return bool.
9998         * crypt/crypt-entry.c: Include errno.h.
9999         (__crypt_r): Return NULL with EINVAL for bad salt.
10000         * crypt/crypt_util.c (bad_for_salt): New.
10001         (_ufc_setup_salt_r): Check that salt is long enough and within
10002         the specified alphabet.
10003         * crypt/badsalttest.c: New file.
10004         * crypt/Makefile (tests): Add it.
10005         ($(objpfx)badsalttest): New.
10006
10007 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
10008
10009         * NEWS: Add entry for BZ #14602.
10010
10011 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
10012
10013         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10014         type-generic.
10015         * math/libm-test.inc: Update comment listing what functions and
10016         macros are tested.
10017         (isgreater_test): New function.
10018         (isgreaterequal_test): Likewise.
10019         (isless_test): Likewise.
10020         (islessequal_test): Likewise.
10021         (islessgreater_test): Likewise.
10022         (isunordered_test): Likewise.
10023         (main): Call the new functions.
10024
10025 2012-10-09  Roland McGrath  <roland@hack.frob.com>
10026
10027         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10028         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10029         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10030         * sysdeps/i386/configure: Regenerated.
10031         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10032         * sysdeps/mach/configure: Regenerated.
10033         * sysdeps/mach/hurd/configure: Regenerated.
10034         * sysdeps/powerpc/configure: Regenerated.
10035         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10036         * sysdeps/powerpc/powerpc64/configure: Regenerated.
10037         * sysdeps/s390/s390-32/configure: Regenerated.
10038         * sysdeps/s390/s390-64/configure: Regenerated.
10039         * sysdeps/sh/configure: Regenerated.
10040         * sysdeps/sparc/configure: Regenerated.
10041         * sysdeps/unix/sysv/linux/configure: Regenerated.
10042         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10043         * sysdeps/x86_64/configure: Regenerated.
10044
10045         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10046         defined.  Don't check if MAP is NULL.
10047
10048 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
10049
10050         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10051         (_G_stat64): Likewise.
10052         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10053         (_G_stat64): Likewise.
10054         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10055         instead of struct _G_stat64.
10056         * libio/fileops.c (mmap_remap_check): Likewise.
10057         (decide_maybe_mmap): Likewise.
10058         (_IO_new_file_seekoff): Likewise.
10059         (_IO_file_stat): Likewise.
10060         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10061         _G_off64_t.
10062         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10063         instead of struct _G_stat64.
10064         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10065
10066 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
10067
10068         [BZ #14602]
10069         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10070         Replace with ...
10071         (CHECK_EOL): New macro.
10072         (two_way_short_needle): Check beginning of haystack for EOL.  Use
10073         CHECK_EOL.
10074         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10075         Replace with CHECK_EOL.
10076         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10077         Replace with CHECK_EOL.
10078
10079 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
10080
10081         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10082         type-generic.
10083         * math/libm-test.inc: Update comment listing what functions and
10084         macros are tested.
10085         (finite_test): New function.
10086         (isinf_test): Likewise.
10087         (isnan_test): Likewise.
10088         (fpclassify_test): Test subnormal input.
10089         (isfinite_test): Likewise.
10090         (isnormal_test): Likewise.
10091         (main): Call the new functions.
10092
10093 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
10094
10095         [BZ #14660]
10096         * Makerules (%.dynsym): Force C locale when running
10097         $(OBJDUMP) --dynamic-syms.
10098
10099 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
10100
10101         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10102         <stdint.h>.
10103
10104 2012-10-06  David S. Miller  <davem@davemloft.net>
10105
10106         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10107         upper 32-bits of the length value in %o2 since we use branch-on-register
10108         tests which consider the entire 64-bit register.
10109
10110 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
10111
10112         * string/test-strstr.c (check2): Add a test for page boundary.
10113
10114 2012-10-05  David S. Miller  <davem@davemloft.net>
10115
10116         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10117         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10118         file.
10119         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10120         sysdep_routines.
10121         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10122         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10123         and bzero when HWCAP_SPARC_CRYPTO is present.
10124
10125 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
10126
10127         [BZ #14602]
10128         * string/test-strstr.c (check2): New function.
10129         (test_main): Call check2.
10130
10131         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10132         and bug-strchr1.
10133         * string/bug-strcasestr1.c (do_test): Moved to ...
10134         * string/test-strcasestr.c (check1): Here.  New function.
10135         (do_one_test): Break out result checking code into ...
10136         (check_result): This.  New function.
10137         (do_one_test): Call check_result.
10138         (test_main): Call check1.
10139         * string/bug-strchr1.c (do_test): Moved to ...
10140         * string/test-strchr.c (check1): Here.  New function.
10141         (do_one_test): Break out result checking code into ...
10142         (check_result): This.  New function.
10143         (do_one_test): Call check_result.
10144         (test_main): Call check1.
10145         * string/bug-strstr1.c (main): Moved to ...
10146         * string/test-strstr.c (check1): Here.  New function.
10147         (do_one_test): Break out result checking code into ...
10148         (check_result): This.  New function.
10149         (do_one_test): Call check_result.
10150         (test_main): Call check1.
10151         * string/bug-strcasestr1.c: Removed.
10152         * string/bug-strchr1.c: Likewise.
10153         * string/bug-strstr1.c: Likewise.
10154
10155         * elf/Makefile (dl-routines): Add hwcaps.
10156         * elf/dl-support.c (_dl_important_hwcaps): Removed.
10157         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10158         (_dl_important_hwcaps): Moved to ...
10159         * elf/dl-hwcaps.c: Here.  New file.
10160         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10161
10162         [BZ #14557]
10163         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10164         if IS_IN_rtld isn't defined.
10165
10166         * elf/dl-support.c (_dl_sysinfo_map): New.
10167         Include "get-dynamic-info.h" and "setup-vdso.h".
10168         (_dl_non_dynamic_init): Call setup_vdso.
10169         * elf/dynamic-link.h: Don't include <assert.h>.
10170         (elf_get_dynamic_info): Moved to ...
10171         * elf/get-dynamic-info.h: Here.  New file.
10172         * elf/dynamic-link.h: Include "get-dynamic-info.h".
10173         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10174         * elf/setup-vdso.h: Here.  New file.
10175         * elf/rtld.c: Include "setup-vdso.h".
10176         (dl_main): Call setup_vdso.
10177
10178 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
10179
10180         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10181         creal in comment listing functions tested.  List finite, isinf,
10182         isnan, isless, islessequal, isgreater, isgreaterequal,
10183         islessgreater, isunordered, lgamma_r and pow10 as functions and
10184         macros not tested.  Mention which functions not tested are aliases
10185         for other functions.  Fix typo.  Note that signs of NaNs are not
10186         tested.
10187
10188         * scripts/config.guess: Update from config.git.
10189         * scripts/config.sub: Likewise.
10190
10191 2012-10-04  Roland McGrath  <roland@hack.frob.com>
10192
10193         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10194         * misc/madvise.c (madvise): Renamed to __madvise.
10195         Make madvise a weak alias.
10196         * include/sys/mman.h: Declare __madvise.
10197         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10198         * sysdeps/unix/syscalls.list
10199         (madvise): Make __madvise the strong name, and madvise a weak alias.
10200         * sysdeps/unix/sysv/linux/syscalls.list
10201         (madvise, mmap): Remove redundant entries.
10202         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10203         * malloc/malloc.c (mtrim): Likewise.
10204         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10205
10206 2012-10-03  Roland McGrath  <roland@hack.frob.com>
10207
10208         * sysdeps/mach/hurd/dl-cache.c: File removed.
10209         * config.h.in (USE_LDCONFIG): New #undef.
10210         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10211         * configure: Regenerated.
10212         * elf/Makefile (dl-routines): Add dl-cache only under
10213         [$(use-ldconfig) = yes].
10214         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10215         cache on [USE_LDCONFIG].
10216         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10217         [USE_LDCONFIG].
10218         * elf/rtld.c (dl_main): Likewise.
10219
10220 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
10221
10222         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10223         _SC_LEVEL4_CACHE_LINESIZE.
10224
10225 2012-10-03  Roland McGrath  <roland@hack.frob.com>
10226
10227         * sysdeps/unix/bsd/confstr.h: File removed.
10228
10229 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
10230
10231         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10232         sys/sdt-config.h.
10233
10234 2012-10-02  Roland McGrath  <roland@hack.frob.com>
10235
10236         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10237         Make 'mapoff' field ElfW(Off) rather than off_t.
10238
10239 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
10240
10241         * nscd/Makefile: Remove nscd-cflags and all its users.
10242         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10243         (CFLAGS-nonlib): Add compiler flags for nscd modules.
10244
10245         [BZ #10631]
10246         * malloc.c (malloc_printerr): Clarify error message.
10247
10248 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
10249
10250         [BZ #14648]
10251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10252         Set bit_FMA_Usable if FMA is supported.
10253         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10254         macro.
10255         (bit_FMA4_Usable): Updated.
10256         (index_FMA_Usable): New macro.
10257         (CPUID_FMA): Likewise
10258         (HAS_FMA): Defined with bit_FMA_Usable.
10259
10260 2012-10-01  Roland McGrath  <roland@hack.frob.com>
10261
10262         * bits/types.h (__swblk_t): Type removed.
10263         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10264         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10266         (__SWBLK_T_TYPE): Likewise.
10267         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10268         (__SWBLK_T_TYPE): Likewise.
10269         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10270         (__SWBLK_T_TYPE): Likewise.
10271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10272         (__SWBLK_T_TYPE): Likewise.
10273
10274 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
10275             Honza Horak <hhorak@redhat.com>
10276
10277         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10278         (xdr_mapname): Use YPMAXMAP as maxsize.
10279         (xdr_peername): Use YPMAXPEER as maxsize.
10280         (xdr_keydat): Use YPAXRECORD as maxsize.
10281         (xdr_valdat): Use YPMAXRECORD as maxsize.
10282
10283 2012-10-01  Roland McGrath  <roland@hack.frob.com>
10284
10285         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10286
10287         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10288         * csu/init-first.c: ... here.
10289         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10290         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10291         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10292         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10293         * sysdeps/i386/init-first.c: File removed.
10294         * sysdeps/sh/init-first.c: File removed.
10295
10296 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
10297
10298         [BZ #14645]
10299         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10300         if x * y might underflow to zero and z is zero.
10301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10302         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10303         * math/libm-test.inc (min_subnorm_value): New variable.
10304         (fma_test): Add more tests.
10305         (fma_test_towardzero): Likewise.
10306         (fma_test_downward): Likewise
10307         (fma_test_upward): Likewise.
10308         (initialize): Set min_subnorm_value.
10309
10310 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
10311
10312         [BZ #14638]
10313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10314         0 + 0.
10315         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10316         mode for addition resulting in exact zero.
10317         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10319         exact 0 + 0.
10320         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10321         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10322         * math/libm-test.inc (fma_test): Add more tests.
10323         (fma_test_towardzero): New function.
10324         (fma_test_downward): Likewise.
10325         (fma_test_upward): Likewise.
10326         (main): Call the new functions.
10327
10328 2012-09-28  David S. Miller  <davem@davemloft.net>
10329
10330         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10331
10332 2012-09-28  Roland McGrath  <roland@hack.frob.com>
10333
10334         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10335         instead of SIGALRM.
10336
10337         * sysdeps/gnu/_G_config.h: Moved to ...
10338         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10339         * sysdeps/mach/hurd/_G_config.h: Moved to ...
10340         * sysdeps/generic/_G_config.h: ... here.
10341
10342         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
10343
10344         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10345
10346         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10347         Conditionalize target on [libnss_test1.so-version].
10348
10349         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10350
10351         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10352         (elfobjdir): Move out of conditionals.
10353
10354         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10355         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10356         (__nss_lookup_function): Conditionalize label remove_from_tree on
10357         [!DO_STATIC_NSS || SHARED], matching its only use.
10358
10359 2012-09-28  David S. Miller  <davem@davemloft.net>
10360
10361         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10362         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10363         file.
10364         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10365         sysdep_routines.
10366         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10367         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10368         when HWCAP_SPARC_CRYPTO is present.
10369
10370 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10371
10372         * io/tst-mknodat.c: Create a FIFO instead of a socket.
10373
10374 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
10375
10376         [BZ #6530]
10377         * stdio-common/vfprintf.c (process_string_arg): Revert
10378         2000-07-22 change.
10379
10380 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
10381
10382         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10383         for testcase.
10384         * stdio-common/tst-sprintf.c: Include <locale.h>
10385         (main): Test sprintf's handling of incomplete multibyte
10386         characters.
10387
10388 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
10389
10390         * elf/dl-runtime.c (VERSYMIDX): Removed.
10391         * elf/dl-version.c (VERSYMIDX): Likewise.
10392         * elf/do-rel.h (VERSYMIDX): Likewise.
10393         (VALIDX): Likewise.
10394         * elf/dynamic-link.h (VERSYMIDX): Likewise.
10395         * elf/rtld.c (VALIDX): Likewise.
10396         (ADDRIDX): Likewise.
10397         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10398         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10399         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10400         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10401         (VALIDX): Likewise.
10402         (ADDRIDX): Likewise.
10403
10404 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10405
10406         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10407
10408 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
10409
10410         [BZ #11438]
10411         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10412         to global scope.
10413         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10414         addresses are in the same scope as 192.0.2/24.
10415         * posix/gai.conf: Document new scope table defaults.
10416
10417 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10418
10419         [BZ #5298]
10420         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10421         for ftell.  Compute offsets from write pointers instead.
10422         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10423
10424 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10425
10426         [BZ #14543]
10427         * libio/Makefile (tests): New test case tst-fseek.
10428         * libio/tst-fseek.c: New test case to verify that fseek/ftell
10429         combination works in wide mode.
10430         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10431         state when the external buffer state changes.
10432
10433 2012-09-27  David S. Miller  <davem@davemloft.net>
10434
10435         [BZ #14376]
10436         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10437         pass reloc->r_addend in as the 'high' argument to
10438         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10439
10440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10441
10442 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
10443
10444         * rt/tst-aio2.c: Include <pthread.h>.
10445         * rt/tst-aio3.c: Likewise.
10446
10447 2012-09-27  Steve Ellcey  <sellcey@mips.com>
10448
10449         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10450
10451 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10452
10453         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10454         contents on [SHARED].
10455
10456 2012-09-26  Marek Polacek  <polacek@redhat.com>
10457
10458         [BZ #14530]
10459         [BZ #13741]
10460         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10461         for C++ and GCC <4.3 as well as for non GCC compilers.
10462
10463 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10464
10465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10466
10467 2012-09-25  Roland McGrath  <roland@hack.frob.com>
10468
10469         * Makefile.in (all, install): Declare with .PHONY.
10470         Reported by Michael Hope <michael.hope@linaro.org>.
10471
10472 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10473
10474         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10475         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10476         system header.
10477         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10478         Likewise.
10479         (sydep_routines): Add the new and the internal functions.
10480         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10481         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10483         (GLIBC_2.17): Add the new function.
10484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10485         (GLIBC_2.17): Likewise.
10486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10487         (GLIBC_2.17): Likewise.
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10489         (GLIBC_2.17): Likewise.
10490         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10491
10492 2012-09-25  Alan Modra  <amodra@gmail.com>
10493
10494         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10495         Add release barrier before setting once_control to say
10496         initialisation is done.  Add hints on lwarx.  Use macro in
10497         place of isync.
10498         (clear_once_control): Add release barrier.
10499
10500 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
10501
10502         [BZ #13629]
10503         * math/s_clog.c (__clog): Handle more values close to |z| = 1
10504         specially.
10505         * math/s_clog10.c (__clog10): Likewise.
10506         * math/s_clog10f.c (__clog10f): Likewise.
10507         * math/s_clog10l.c (__clog10l): Likewise.
10508         * math/s_clogf.c (__clogf): Likewise.
10509         * math/s_clogl.c (__clogl): Likewise.
10510         * math/Makefile (libm-calls): Add x2y2m1.
10511         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10512         (__x2y2m1): Likewise.
10513         (__x2y2m1l): Likewise.
10514         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10515         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10516         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10517         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10518         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10519         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10520         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10521         * sysdeps/i386/fpu/libm-test-ulps: Update.
10522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10523
10524         [BZ #14621]
10525         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10526         int as type of variable DEPTH.
10527         (glob): Use size_t instead of int as type of variables NEWCOUNT
10528         and OLD_PATHC.
10529
10530 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10531
10532         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10533         Add s_sincosf-sse2.
10534         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10535         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10536         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10537         macros for using routine as __sincosf_ia32.
10538         Use macro for function declaration and weak_alias.
10539         * sysdeps/i386/fpu/libm-test-ulps: Update.
10540
10541         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10543
10544         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10545         subnormal argument.
10546         * math/s_cexpf.c (__cexpf): Likewise.
10547         * math/s_csinf.c (__csinf): Likewise.
10548         * math/s_csinhf.c (__csinhf): Likewise.
10549         * math/s_ctanf.c (__ctanf): Likewise.
10550         * math/s_ctanhf.c (__ctanhf): Likewise.
10551         * math/s_ccosh.c (__ccoshf): Likewise.
10552         * math/s_cexp.c (__cexpl): Likewise.
10553         * math/s_csin.c (__csin): Likewise.
10554         * math/s_csinh.c (__csinh): Likewise.
10555         * math/s_ctan.c (__ctan): Likewise.
10556         * math/s_ctanh.c (ctanh): Likewise.
10557         * math/s_ccoshl.c (__ccoshl): Likewise.
10558         * math/s_cexpl.c (__cexpl): Likewise.
10559         * math/s_csinl.c (__csinl): Likewise.
10560         * math/s_csinhl.c (__csinhl): Likewise.
10561         * math/s_ctanl.c (__ctanl): Likewise.
10562         * math/s_ctanhl.c (__ctanhl): Likewise.
10563
10564 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
10565
10566         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10567         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10568         (_IO_off_t): Define to __off_t, not _G_off_t.
10569         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10570         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10571         (_IO_wint_t): Define to wint_t, not _G_wint_t.
10572         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10573         type of __dummy and __dummy2 fields.
10574         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10575         (_G_ssize_t): Likewise.
10576         (_G_off_t): Likewise.
10577         (_G_pid_t): Likewise.
10578         (_G_uid_t): Likewise.
10579         (_G_wchar_t): Likewise.
10580         (_G_wint_t): Likewise.
10581         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10582         (_G_ssize_t): Likewise.
10583         (_G_off_t): Likewise.
10584         (_G_pid_t): Likewise.
10585         (_G_uid_t): Likewise.
10586         (_G_wchar_t): Likewise.
10587         (_G_wint_t): Likewise.
10588         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10589         (_G_ssize_t): Likewise.
10590         (_G_off_t): Likewise.
10591         (_G_pid_t): Likewise.
10592         (_G_uid_t): Likewise.
10593         (_G_wchar_t): Likewise.
10594         (_G_wint_t): Likewise.
10595
10596 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10597
10598         * malloc/arena.c: Include malloc-sysdep.h.
10599         (shrink_heap): Use check_may_shrink_heap to decide if madvise
10600         is sufficient to shrink the heap or an unmap is needed.
10601         * sysdeps/generic/malloc-sysdep.h: New file.  Define
10602         new function check_may_shrink_heap.
10603         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
10604         new function check_may_shrink_heap.
10605
10606 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10607
10608         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10609         comments.
10610
10611 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
10612
10613         * catgets/test-gencat.sh: Add "set -e".
10614         * elf/tst-pathopt.sh: Likewise.
10615         * grp/tst_fgetgrent.sh: Likewise.
10616         * iconvdata/run-iconv-test.sh: Likewise.
10617         * intl/tst-gettext.sh: Likewise.
10618         * intl/tst-gettext2.sh: Likewise.
10619         * intl/tst-gettext4.sh: Likewise.
10620         * intl/tst-gettext6.sh: Likewise.
10621         * intl/tst-translit.sh: Likewise.
10622         * io/ftwtest-sh: Likewise.
10623         * libio/test-freopen.sh: Likewise.
10624         * malloc/tst-mtrace.sh: Likewise.
10625         * posix/globtest.sh: Likewise.
10626         * posix/tst-getconf.sh: Likewise.
10627         * posix/wordexp-tst.sh: Likewise.
10628         * stdio-common/tst-printf.sh: Likewise.
10629         * stdio-common/tst-unbputc.sh: Likewise.
10630         * stdlib/tst-fmtmsg.sh: Likewise.
10631         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10632         * catgets/Makefile: Do not specify -e option when running
10633         testsuite shell scripts.
10634         * elf/Makefile: Likewise.
10635         * grp/Makefile: Likewise.
10636         * iconvdata/Makefile: Likewise.
10637         * intl/Makefile: Likewise.
10638         * io/Makefile: Likewise.
10639         * libio/Makefile: Likewise.
10640         * malloc/Makefile: Likewise.
10641         * posix/Makefile: Likewise.
10642         * stdio-common/Makefile: Likewise.
10643         * stdlib/Makefile: Likewise.
10644         * sysdeps/x86_64/Makefile: Likewise.
10645
10646         * io/ftwtest-sh: Add copyright header.
10647         * posix/globtest.sh: Likewise.
10648         * posix/tst-getconf.sh: Likewise.
10649         * posix/wordexp-tst.sh: Likewise.
10650         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10651
10652 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
10653
10654         [BZ #13679]
10655         * Makeconfig (+link): Defined as $(+link-static) if
10656         $(build-shared) isn't yes.
10657         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10658         isn't yes.
10659         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10660
10661         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10662
10663         [BZ #14562]
10664         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10665         new chunk size with MALLOC_ALIGN_MASK.
10666
10667 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
10668
10669         [BZ #5044]
10670         * stdio-common/printf_fphex.c: Include <stdbool.h> and
10671         <rounding-mode.h>.
10672         (__printf_fphex): Determine rounding using get_rounding_mode and
10673         round_away.
10674         * stdio-common/tst-printf-round.c (struct hex_test): New
10675         structure.
10676         (hex_tests): New variable.
10677         (test_hex_in_one_mode): New function.
10678         (do_test): Also run tests for hex float output.
10679
10680 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
10681
10682         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10683         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10684         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10685         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10686         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10687         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10688         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10689         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10690
10691 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
10692
10693         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10694         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10695         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10696         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10697
10698 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
10699
10700         [BZ #14579]
10701         * elf/rtld.c (dl_main): Limit the check for self loading to normal
10702         mode only.
10703         * elf/tst-rtld-load-self.sh: New test.
10704         * elf/Makefile: Run it.
10705
10706 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
10707
10708         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10709         (tst-writev-ENV): Remove.
10710         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10711
10712 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
10713
10714         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10715
10716 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
10717
10718         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10719         unconditional.
10720         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10721         Likewise.
10722         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10723         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10724         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10725         Likewise.
10726
10727 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10728
10729         [BZ #14587]
10730         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10731         * config.make.in (have-cpp-asm-debuginfo): Removed.
10732         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10733         * configure: Regenerated.
10734
10735 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
10736
10737         [BZ #5044]
10738         * stdio-common/printf_fp.c: Include <stdbool.h> and
10739         <rounding-mode.h>.
10740         (___printf_fp): Determine rounding using get_rounding_mode and
10741         round_away.
10742         * stdio-common/tst-printf-round.c: New file.
10743         * stdio-common/Makefile (tests): Add tst-printf-round.
10744         (link-libm): New variable.
10745         ($(objpfx)tst-printf-round): Depend in $(link-libm).
10746
10747 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
10748
10749         [BZ #14576]
10750         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10751         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10752         Likewise.
10753         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10754         Likewise.
10755
10756 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
10757
10758         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10759         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10760         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10761         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10762
10763 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
10764
10765         [BZ #14518]
10766         * include/rounding-mode.h: New file.
10767         * sysdeps/generic/get-rounding-mode.h: Likewise.
10768         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10769         * stdlib/strtod_l.c: Include <rounding-mode.h>.
10770         (MAX_VALUE): New macro.
10771         (MIN_VALUE): Likewise.
10772         (overflow_value): New function.
10773         (underflow_value): Likewise.
10774         (round_and_return): Use overflow_value and underflow_value to
10775         determine return values in overflow and underflow cases.  Use
10776         round_away to determine rounding depending on rounding mode.
10777         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10778         determine return values in overflow and underflow cases.
10779         * stdlib/tst-strtod-round.c: Include <fenv.h>.
10780         (struct test_results): New structure.
10781         (struct test): Use struct test_results to store expected results
10782         for all rounding modes.
10783         (TEST): Include expected results for all rounding modes.
10784         (test_in_one_mode): New function.
10785         (do_test): Use test_in_one_mode to compute and check results.
10786         Check results for all rounding modes.
10787         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10788         $(link-libm).
10789
10790 2012-12-09  Allan McRae  <allan@archlinux.org>
10791
10792         * sysdeps/i386/fpu/libm-test-ulps: Update
10793
10794 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
10795
10796         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10797         (_G_int32_t): Likewise.
10798         (_G_uint16_t): Likewise.
10799         (_G_uint32_t): Likewise.
10800         (_G_HAVE_BOOL): Likewise.
10801         (_G_HAVE_ATEXIT): Likewise.
10802         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10803         (_G_HAVE_IO_FILE_OPEN): Likewise.
10804         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10805         (_G_int32_t): Likewise.
10806         (_G_uint16_t): Likewise.
10807         (_G_uint32_t): Likewise.
10808         (_G_HAVE_BOOL): Likewise.
10809         (_G_HAVE_ATEXIT): Likewise.
10810         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10811         (_G_HAVE_IO_FILE_OPEN): Likewise.
10812         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10813         (_G_int32_t): Likewise.
10814         (_G_uint16_t): Likewise.
10815         (_G_uint32_t): Likewise.
10816         (_G_HAVE_BOOL): Likewise.
10817         (_G_HAVE_ATEXIT): Likewise.
10818         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10819         (_G_HAVE_IO_FILE_OPEN): Likewise.
10820
10821 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
10822
10823         * csu/libc-tls.c: Update copyright years.
10824
10825 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
10826
10827         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10828         [!_G_USING_THUNKS]: Remove conditional code.
10829         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10830         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10831
10832         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10833         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10834         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10835         (_G_VTABLE_LABEL_PREFIX): Likewise.
10836         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10837         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10838         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10839         (_G_VTABLE_LABEL_PREFIX): Likewise.
10840         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10841         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10842         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10843         (_G_VTABLE_LABEL_PREFIX): Likewise.
10844         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10845
10846 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
10847
10848         * libio/Makefile: Include ../Makeconfig before tests.
10849         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10850         only if $(build-shared) is yes.
10851
10852         * iconv/gconv_db.c: Update copyright years.
10853
10854 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10855
10856         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10857         unwind info if defined PIC. Fix special cases description.
10858         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10859
10860         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10861         DP_HI_MASK entry.
10862         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10863
10864 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
10865
10866         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10867
10868         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10869         is NULL.
10870
10871         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10872         (LDLIBS-tst-chk4): This.
10873         (LDFLAGS-tst-chk5): Renamed to ...
10874         (LDLIBS-tst-chk5): This.
10875         (LDFLAGS-tst-chk6): Renamed to ...
10876         (LDLIBS-tst-chk6): This.
10877         (LDFLAGS-tst-lfschk4): Renamed to ...
10878         (LDLIBS-tst-lfschk4): This.
10879         (LDFLAGS-tst-lfschk5): Renamed to ...
10880         (LDLIBS-tst-lfschk5): This.
10881         (LDFLAGS-tst-lfschk6): Renamed to ...
10882         (LDLIBS-tst-lfschk6): This.
10883
10884         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10885         on $(common-objpfx)soversions.mk.
10886
10887 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
10888
10889         [BZ #10014]
10890         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10891         example host name.
10892
10893 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10894
10895         * malloc/arena.c (arena_get_retry): New function that gets
10896         another arena for the caller to try its request on.
10897         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10898         current arena cannot fulfill the request.
10899         (__libc_memalign): Likewise.
10900         (__libc_memalign): Likewise.
10901         (__libc_pvalloc): Likewise.
10902         (__libc_calloc): Likewise.
10903
10904 2012-09-05  John Tobey  <john.tobey@gmail.com>
10905
10906         [BZ #13542]
10907         * manual/arith.texi (Operations on Complex): Fix description
10908         of carg branch cut.
10909
10910 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
10911
10912         [BZ #10014]
10913         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10914         host name.
10915
10916         [BZ #10038]
10917         * manual/memory.texi (Memory): Make order of menu items match
10918         order of sections.
10919
10920 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10921
10922         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10923         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
10924         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10925
10926 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10927
10928         * csu/libc-tls.c (static_dtv): Renamed to ...
10929         (_dl_static_dtv): This.  Make it global.
10930         (_dl_initial_dtv): Removed.
10931         (__libc_setup_tls): Updated.
10932         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10933         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10934         DL_INITIAL_DTV.
10935
10936 2012-09-06  Petr Machata  <pmachata@redhat.com>
10937
10938         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10939         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10940         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10941         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10942
10943 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10944
10945         [BZ #14545]
10946         * csu/libc-tls.c (_dl_initial_dtv): New variable.
10947         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10948         freeing dtv[-1].
10949
10950 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10951
10952         [BZ #14544]
10953         * Makeconfig (link-static-before-libc): Replace $(+prector)
10954         with $(+prectorT).
10955         (link-static-after-libc): Replace $(+postctor) with
10956         $(+postctorT).
10957         (link-bounded): Replace $(+prector)/$(+postctor) with
10958         $(+prectorT)/$(+postctorT).
10959         (+prectorT): New macro.
10960         (+postctorT): Likewise.
10961
10962 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
10963
10964         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10965         (round_str): Handle values above the maximum for IBM long double
10966         as inexact.
10967         * stdlib/tst-strtod-round.c (tests): Regenerated.
10968
10969 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10970
10971         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10972         assembler flag.
10973         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10974         zarch_nohighgprs around the zarch optimized routines.
10975         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10976         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10977         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10978         for zarch.
10979
10980 2012-09-05  David S. Miller  <davem@davemloft.net>
10981
10982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10983
10984         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10985         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10986         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10987         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10988         entries.
10989
10990 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
10991
10992         * malloc/arena.c: Fold copyright years.
10993         * malloc/mcheck.c, malloc/memusage.c: Likewise.
10994
10995 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
10996
10997         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10998
10999 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11000
11001         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
11002
11003 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11004
11005         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11006         change internal state upon failure.
11007
11008 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11009
11010         * malloc/mcheck.c (mcheck_check_all): Fix typo.
11011         * malloc/memusage.c (mmap): Likewise.
11012         (mmap64, mremap): Likewise.  Adjust name in comment.
11013
11014 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11015
11016         * libio/fileops.c: Fix typos in comments.
11017         * libio/oldfileops.c: Likewise.
11018         * libio/wfileops.c: Likewise.
11019
11020 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11021
11022         [BZ #1349]
11023         * malloc/Makefile (tests): Add tst-malloc-usable test case.
11024         (tst-malloc-usable-ENV): Set environment for test case.
11025         * malloc/hooks.c (malloc_check_get_size): New function to get
11026         requested size.
11027         * malloc/malloc.c (musable): Use malloc_check_get_size.
11028         * malloc/tst-malloc-usable.c: New test case.
11029
11030 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11031
11032         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11033
11034 2012-09-05  Allan McRae  <allan@archlinux.org>
11035
11036         [BZ #13966]
11037         * configure.in (CXX_SYSINCLUDES): Use compiler output to
11038         determine header location.
11039         * configure: Regenerated.
11040
11041 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11042
11043         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11044         float format.
11045         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11046         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11047         format.
11048         (test): Regenerate.
11049
11050 2012-09-04  David S. Miller  <davem@davemloft.net>
11051
11052         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11053         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11054         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11055
11056 2012-09-04  Florian Weimer  <fweimer@redhat.com>
11057
11058         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11059         failures.
11060
11061         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11062
11063 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
11064
11065         [BZ #9914]
11066         * libio/iogetdelim.c: Include <limits.h>.
11067         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11068         + len + 1 would overflow.
11069
11070 2012-09-03  Andreas Jaeger  <aj@suse.de>
11071
11072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11073         * sysdeps/i386/fpu/libm-test-ulps: Update.
11074
11075 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11076
11077         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11078         Add s_sinf-sse2, s_conf-sse2.
11079
11080         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11081         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11082         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11083         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11084
11085         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11086         for using routine as __sinf_ia32.
11087         Use macro for function declaration and weak_alias.
11088         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11089         for using routine as __cosf_ia32.
11090         Use macro for function declaration and weak_alias.
11091
11092         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11093         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11094
11095         * sysdeps/x86_64/fpu/s_sinf.S: New file.
11096         * sysdeps/x86_64/fpu/s_cosf.S: New file.
11097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11098
11099         * math/libm-test.inc (cos_test): Add more test cases.
11100         (sin_test): Likewise.
11101         (sincos_test): Likewise.
11102
11103 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11104
11105         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11106         (IFUNC_RESOLVE): Make pointers to the specialized implementations
11107         hidden.
11108         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11109
11110 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
11111
11112         [BZ #14538]
11113         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11114         first element of the GOT.
11115         (elf_machine_load_address): Return the difference between
11116         the runtime address of _DYNAMIC and elf_machine_dynamic ().
11117
11118 2012-09-01  Allan McRae  <allan@archlinux.org>
11119
11120         [BZ #13412]
11121         * configure.in (AWK): Require gawk version 3.0 or later.
11122         * configure: Regenerated.
11123
11124 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
11125
11126         * sysdeps/unix/sysv/linux/kernel-features.h
11127         (__ASSUME_POSIX_CPU_TIMERS): Remove.
11128         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11129         [__NR_clock_getres]: Make code unconditional.
11130         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11131         (clock_getcpuclockid): Remove code left unreachable by removal of
11132         conditionals.
11133         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11134         code unconditional.
11135         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11136         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11137         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11138         Make code unconditional.
11139         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11140         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11141         * sysdeps/unix/sysv/linux/clock_settime.c
11142         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11143         conditional code.
11144         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11145         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11146
11147 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
11148
11149         [BZ #14476]
11150         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11151         scripts/test-installation.pl.
11152
11153         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11154         and $ld_so_version if it is set.
11155
11156 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11157
11158         [BZ #14516]
11159         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11160         failure if reading from procfs failed.
11161         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11162
11163 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
11164
11165         * sysdeps/unix/sysv/linux/kernel-features.h
11166         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11167         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11168         Remove conditional code.
11169         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11170         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11171         Remove conditional code.
11172         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11173         * sysdeps/unix/sysv/linux/i386/fxstat.c
11174         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11175         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11176         * sysdeps/unix/sysv/linux/i386/fxstatat.c
11177         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11178         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11179         * sysdeps/unix/sysv/linux/i386/lxstat.c
11180         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11181         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11182         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11183         Remove conditional code.
11184         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11185         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11186         Remove conditional code.
11187         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11188         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11189         <kernel-features.h>.
11190         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11191         Remove.
11192         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11193         Remove conditional code.
11194         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11195         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11196         Remove conditional.
11197
11198 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
11199
11200         [BZ #5400]
11201         * NEWS: Add fixed bug number.
11202
11203 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
11204
11205         [BZ #14519]
11206         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11207         underflowing exponent in case of negative sign.
11208         * stdlib/tst-strtod-round-data: Add more tests.
11209         * stdlib/tst-strtod-round.c (tests): Regenerated.
11210
11211         [BZ #3479]
11212         * stdlib/strtod_l.c (NDIG): Remove.
11213         (HEXNDIG): Likewise.
11214         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11215         smallest representable value.
11216         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11217         lie within an exact representation of 1/2 ulp of the result.
11218         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11219         unconditionally.
11220         (TENS_P9_IDX): Define unconditionally.
11221         (TENS_P9_SIZE): Likewise.
11222         (TENS_P10_IDX): Likewise.
11223         (TENS_P10_SIZE): Likewise.
11224         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11225         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11226         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11227         entries for 10^2^13 and 10^2^14.
11228         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11229         (TENS_P13_IDX): Define.
11230         (TENS_P13_SIZE): Likewise.
11231         (TENS_P14_IDX): Likewise.
11232         (TENS_P14_SIZE): Likewise.
11233         (_fpioconst_pow10): Change array size to
11234         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
11235         unconditional.
11236         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11237         1024]: Add entries for 10^2^13 and 10^2^14.
11238         [LAST_POW10 > _LAST_POW10]: Remove #error.
11239         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11240         (_fpioconst_pow10): Change array size to
11241         FPIOCONST_POW10_ARRAY_SIZE.
11242         * stdlib/gen-fpioconst.c: New file.
11243         * stdlib/gen-tst-strtod-round.c: Likewise.
11244         * stdlib/tst-strtod-round-data: Likewise.
11245         * stdlib/tst-strtod-round.c: Likewise.
11246         * stdlib/Makefile (tests): Add tst-strtod-round.
11247
11248         [BZ #14459]
11249         * stdlib/strtod_l.c: Include <stdint.h>.
11250         (NDEBUG): Do not define.
11251         (round_and_return): Change EXPONENT parameter to type intmax_t.
11252         Rearrange calculations to avoid internal overflow possibilities.
11253         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11254         Rearrange calculations to avoid internal overflow possibilities.
11255         Assert that number fits inside MPNSIZE limbs.
11256         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11257         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
11258         calculations and add assertions to avoid internal overflow
11259         possibilities.  Add casts to avoid signed/unsigned operations.
11260         * stdlib/tst-strtod-overflow.c: New file.
11261         * stdlib/Makefile (tests): Add tst-strtod-overflow.
11262
11263 2012-08-25  Marek Polacek  <polacek@redhat.com>
11264
11265         * time/time.h: Fix some typos in comments.
11266
11267 2012-08-23  Roland McGrath  <roland@hack.frob.com>
11268
11269         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11270         * posix/tst-rfc3484-2.c: Likewise.
11271         * posix/tst-rfc3484-3.c: Likewise.
11272
11273 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
11274
11275         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11276         (EF_ARM_ABI_FLOAT_HARD): Likewise.
11277
11278 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
11279
11280         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11281         #include of fxstatat64.c.
11282
11283 2012-08-22  Roland McGrath  <roland@hack.frob.com>
11284
11285         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11286         * shadow/getspent_r.c: Likewise.
11287         * shadow/getspnam.c: Likewise.
11288         * shadow/getspnam_r.c: Likewise.
11289         * gshadow/getsgent.c: Likewise.
11290         * gshadow/getsgent_r.c: Likewise.
11291         * gshadow/getsgnam.c: Likewise.
11292         * gshadow/getsgnam_r.c: Likewise.
11293         * inet/getnetbyad.c: Likewise.
11294         * inet/getnetbyad_r.c: Likewise.
11295         * inet/getnetbynm.c: Likewise.
11296         * inet/getnetbynm_r.c: Likewise.
11297         * inet/getnetent.c: Likewise.
11298         * inet/getnetent_r.c: Likewise.
11299         * inet/getproto.c: Likewise.
11300         * inet/getproto_r.c: Likewise.
11301         * inet/getprtent.c: Likewise.
11302         * inet/getprtent_r.c: Likewise.
11303         * inet/getprtname.c: Likewise.
11304         * inet/getprtname_r.c: Likewise.
11305         * inet/getrpcbyname.c: Likewise.
11306         * inet/getrpcbyname_r.c: Likewise.
11307         * inet/getrpcbynumber.c: Likewise.
11308         * inet/getrpcbynumber_r.c: Likewise.
11309         * inet/getrpcent.c: Likewise.
11310         * inet/getrpcent_r.c: Likewise.
11311         * inet/getaliasent.c: Likewise.
11312         * inet/getaliasent_r.c: Likewise.
11313         * inet/getaliasname.c: Likewise.
11314         * inet/getaliasname_r.c: Likewise.
11315         * nscd/getgrgid_r.c: Likewise.
11316         * nscd/getgrnam_r.c: Likewise.
11317         * nscd/gethstbyad_r.c: Likewise.
11318         * nscd/gethstbynm3_r.c: Likewise.
11319         * nscd/getpwnam_r.c: Likewise.
11320         * nscd/getpwuid_r.c: Likewise.
11321         * nscd/getsrvbynm_r.c: Likewise.
11322         * nscd/getsrvbypt_r.c: Likewise.
11323         * nscd/gai.c: Likewise.
11324
11325         * configure.in (build_nscd): New substituted variable, set
11326         by --disable-build-nscd and defaults to $use_nscd.
11327         * configure: Regenerated.
11328         * config.make.in (build-nscd): New substituted variable.
11329         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11330         Change conditional to require [$(build-nscd) = yes] as well.
11331         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11332
11333         [BZ# 13696]
11334         * configure.in (use_nscd): New substituted variable, set by
11335         --disable-nscd.  If enabled, define USE_NSCD.
11336         * configure: Regenerated.
11337         * config.h.in: Add USE_NSCD.
11338         * config.make.in (use-nscd): New substituted variable.
11339         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11340         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11341         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11342         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11343         (CFLAGS-getgrnam_r.c): Likewise.
11344         (CFLAGS-initgroups.c): Likewise.
11345         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11346         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11347         Variables removed.
11348         * inet/getnetgrent_r.c
11349         (nscd_setnetgrent): New function, broken out of ...
11350         (setnetgrent): ... here.  Call it.
11351         (innetgr): Conditionalize nscd bits on [USE_NSCD].
11352         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11353         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11354         * nscd/Makefile (routines, aux): Move definitions after include of
11355         Makeconfig.  Conditionalize on [$(use-nscd) != no].
11356         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11357         Conditionalize on [USE_NSCD].
11358         (is_nscd, nscd_init_cb): Likewise.
11359         (nss_load_library): Conditionalize init callback on [USE_NSCD].
11360         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11361         * nss/nss_db/db-init.c: Likewise.
11362         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11363         [USE_NSCD].
11364         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11365         (make_request): Use it.
11366         (cache_valid_p): New function.
11367         (__check_pf): Use it.
11368         * NEWS: Add item for --disable-nscd.
11369
11370 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
11371
11372         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11373         to support sed >= 4.2.1-20-ga9bf076.
11374         * configure: Regenerated.
11375
11376 2012-08-22  Roland McGrath  <roland@hack.frob.com>
11377
11378         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11379         Conditionalize whole body on [IREL].
11380
11381 2012-08-22  Jeff Law <law@redhat.com>
11382
11383         [BZ #14505]
11384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11385         if the family is PF_UNSPEC.
11386
11387 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
11388
11389         * Makerules (lib-version): Rename from V.
11390         (install-lib-nosubdir): Change V to lib-version.
11391
11392 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
11393
11394         [BZ #14252]
11395         * powerpc32/power6/wcschr.c: New file.
11396         * powerpc32/power6/wcscpy.c: New file.
11397         * powerpc32/power6/wcsrchr.c: New file.
11398         * powerpc64/power6/wcschr.c: New file.
11399         * powerpc64/power6/wcscpy.c: New file.
11400         * powerpc64/power6/wcsrchr.c: New file.
11401
11402 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
11403
11404         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11405         (two_way_short_needle): Use it.
11406         * string/strstr.c (AVAILABLE1_USES_J): Define.
11407         * string/strcasestr.c: Likewise.
11408
11409         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11410         array references.
11411         * string/strcasestr.c (TOLOWER): Make side-effect safe.
11412
11413         [BZ #11607]
11414         * NEWS: Add an entry.
11415         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11416         define their defaults.
11417         (two_way_short_needle): Detect end-of-string on-the-fly.
11418         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11419         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11420         * string/bug-strcasestr1.c: New test.
11421         * string/Makefile: Run it.
11422
11423 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
11424
11425         [BZ #11607]
11426         * string/str-two-way.h (two_way_short_needle): Optimize matching of
11427         the first character.
11428
11429 2012-08-21  Roland McGrath  <roland@hack.frob.com>
11430
11431         * csu/elf-init.c (__libc_csu_irel): Function removed.
11432         * csu/libc-start.c (apply_irel): New function.
11433         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11434
11435 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
11436
11437         * sysdeps/unix/sysv/linux/kernel-features.h
11438         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11439         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11440         <kernel-features.h>.
11441         [__NR_fadvise64_64]: Make code unconditional.
11442         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11443         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11444         !__NR_fadvise64_64)]: Likewise.
11445         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11446         !__NR_fadvise64_64))]: Likewise.
11447         [__NR_fadvise64]: Make code unconditional.
11448         [!__NR_fadvise64]: Remove conditional code.
11449         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11450         <kernel-features.h>.
11451         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11452         unconditional.
11453         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11454         conditional code.
11455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11456         not include <kernel-features.h>.
11457         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11458         unconditional.
11459         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11460         conditional code.
11461         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11462         include <kernel-features.h>.
11463         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11464         unconditional.
11465         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11466         conditional code.
11467
11468 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
11469
11470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11471         slight instruction rearrangements per scrollpipe analysis.
11472         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11473
11474 2012-08-20  Roland McGrath  <roland@hack.frob.com>
11475
11476         * manual/syslog.texi (syslog; vsyslog, closelog):
11477         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11478         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11479
11480         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11481         DSOCAPS to match condition on defining it.
11482
11483 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
11484
11485         * sysdeps/unix/sysv/linux/kernel-features.h
11486         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11488         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11489         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11491         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11492         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11494         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11495         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11496
11497         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11498         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11499
11500         * sysdeps/unix/sysv/linux/kernel-features.h
11501         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11502         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11503         unconditional.
11504         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11505         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11506         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11507         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11508         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11509         Make code unconditional.
11510         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11511         (__mmap64) [!__NR_mmap2]: Likewise.
11512         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11513         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11514         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11515         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11516         [__NR_mmap2]: Make code unconditional.
11517         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11518         (__mmap64) [!__NR_mmap2]: Likewise.
11519
11520 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11521
11522         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11523
11524 2012-08-18  Andreas Jaeger  <aj@suse.de>
11525
11526         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11527
11528 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
11529
11530         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11531         * include/unistd.h (__have_sock_cloexec): Likewise.
11532         (__have_pipe2): Likewise.
11533         (__have_dup3): Likewise.
11534
11535 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
11536
11537         [BZ #9685]
11538         * include/unistd.h (__have_pipe2): Change define into an extern int.
11539         (__have_dup3): Likewise.
11540         * socket/have_sock_cloexec.c: Include fcntl.h.
11541         (__have_pipe2): New variable.
11542         (__have_dup3): Likewise.
11543
11544 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
11545
11546         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11547
11548 2012-08-17  Marek Polacek  <polacek@redhat.com>
11549
11550         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11551         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11552
11553 2012-08-17  Roland McGrath  <roland@hack.frob.com>
11554
11555         * configure.in: Add AC_SUBST for sysheaders.
11556         * configure: Regenerated.
11557         * config.make.in (sysheaders): New substituted variable.
11558
11559         * sysdeps/unix/mkfifo.c: Moved ...
11560         * sysdeps/posix/mkfifo.c: ... here.
11561         * sysdeps/unix/mkfifoat.c: Moved ...
11562         * sysdeps/posix/mkfifoat.c: ... here.
11563
11564         * sysdeps/unix/utime.c: Moved ...
11565         * sysdeps/posix/utime.c: ... here.
11566
11567         * sysdeps/unix/time.c: Moved ...
11568         * sysdeps/posix/time.c: ... here.
11569         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11570         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11571
11572         * sysdeps/unix/nice.c: Moved ...
11573         * sysdeps/posix/nice.c: ... here.
11574
11575         * sysdeps/unix/alarm.c: Moved ...
11576         * sysdeps/posix/alarm.c: ... here.
11577
11578         * intl/Makefile ($(codeset_mo)): Depend on the input file.
11579
11580 2012-08-17  Jeff Law <law@redhat.com>
11581
11582         * intl/Makefile (codeset_mo): New variable.
11583         ($(codeset_mo)): New target.
11584         (tst-codeset.out): Depend on that.  Remove explicit rule.
11585         (tst-gettext3.out, tst-gettext5.out): Likewise.
11586         (LOCPATH-ENV, tst-codeset-ENV): New variables.
11587         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11588         * intl/tst-codeset.sh: Remove.
11589         * intl/tst-gettext3.sh: Likewise.
11590         * intl/tst-gettext5.sh: Likewise.
11591
11592 2012-08-17  Roland McGrath  <roland@hack.frob.com>
11593
11594         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
11595         * sysdeps/unix/syscalls.list: ... here.
11596
11597         * sysdeps/posix/getaddrinfo.c
11598         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11599         (gaiconf_init, gaiconf_reload): Use them.
11600         [!_STATBUF_ST_NSEC]
11601         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11602         Define using time_t rather than struct timespec.
11603
11604         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11605         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11606         Macros removed.
11607         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11608         [!NO_THREADS].
11609         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11610         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11611         Likewise.
11612
11613         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11614         __libc_cleanup_push argument.
11615
11616         * bits/param.h: New file.
11617         * misc/sys/param.h: New file.
11618         * include/sys/param.h: New file.
11619         * misc/Makefile (headers): Add bits/param.h.
11620         * sysdeps/generic/sys/param.h: File removed.
11621         * sysdeps/unix/sysv/linux/bits/param.h: New file.
11622         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11623         * sysdeps/mach/hurd/bits/param.h: New file.
11624         * sysdeps/mach/hurd/sys/param.h: File removed.
11625
11626         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11627         last change.
11628
11629         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11630         [_IO_MTSAFE_IO].
11631         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11632         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11633         New macros.
11634
11635         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11636         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11637         rather than -D_IO_MTSAFE_IO conditionally.
11638         * stdio-common/Makefile (CPPFLAGS): Likewise.
11639         * wcsmbs/Makefile (CPPFLAGS): Likewise.
11640         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11641         Use $(libio-mtsafe).
11642         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11643         of -D_IO_MTSAFE_IO.
11644         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11645         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11646         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11647         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11648         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11649         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11650         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11651         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11652         (CFLAGS-fread_u_chk.c): Likewise.
11653         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11654         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11655         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11656         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11657         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11658         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11659         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11660         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11661         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11662
11663         * libio/Makefile: Test [$(libc-reentrant) = yes]
11664         instead of [$(filter %REENTRANT, $(defines)) nonempty].
11665
11666         * Makeconfig
11667         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11668         * sysdeps/pthread/configure: File removed.
11669         * sysdeps/pthread/Makeconfig: New file.
11670         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11671         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11672
11673 2012-08-16  Gary Benson  <gbenson@redhat.com>
11674
11675         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11676         unmapping the first object in a namespace.
11677
11678 2012-08-16  Roland McGrath  <roland@hack.frob.com>
11679
11680         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11681         (__internal_setnetgrent): ... this.  Add internal_function to
11682         definition.  Add libc_hidden_def.
11683         (setnetgrent): Update caller.
11684         (internal_endnetgrent): Renamed to ...
11685         (__internal_endnetgrent): ... this.  Add internal_function to
11686         definition.  Add libc_hidden_def.
11687         (endnetgrent): Update caller.
11688         (internal_getnetgrent_r): Renamed to ...
11689         (__internal_getnetgrent_r): ... this.  Add internal_function to
11690         definition.  Add libc_hidden_def.
11691         (__getnetgrent_r): Update caller.
11692         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
11693
11694 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
11695
11696         * stdlib/longlong.h: Update from GCC.
11697
11698 2012-08-16  Roland McGrath  <roland@hack.frob.com>
11699
11700         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11701         on _QL, which is set by umul_ppmm but never used.
11702         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11703         variables, which are set by GMP macros but never used.
11704         * stdio-common/_itowa.c (_itowa): Likewise.
11705         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11706         * stdlib/mod_1.c (mpn_mod_1): Likewise.
11707
11708 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
11709
11710         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11711         struct La_sh_regs is not constant.
11712         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11713         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11714         and struct La_sparc64_regs are not constant.
11715
11716 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
11717
11718         * sysdeps/unix/sysv/linux/kernel-features.h
11719         (__ASSUME_POSIX_TIMERS): Remove.
11720         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11721         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11722         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11723         Make code unconditional.
11724         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11725         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11726         Make code unconditional.
11727         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11728         * sysdeps/unix/sysv/linux/clock_nanosleep.c
11729         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11730         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11731         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11732         Make code unconditional.
11733         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11734         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11735         (__libc_missing_posix_timers): Remove.
11736
11737 2012-08-15  Roland McGrath  <roland@hack.frob.com>
11738
11739         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11740         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11741
11742         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11743
11744         * elf/dl-sym.c: Include <stdlib.h>.
11745
11746         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11747         constants, which avoids warnings in 32-bit builds.
11748
11749         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11750         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11751
11752         * misc/lseek.c: File moved to ...
11753         * io/lseek.c: ... here.
11754
11755         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11756
11757         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11758         shifting LEN more than 31 bits at once.
11759
11760 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11761
11762         [BZ #14195]
11763         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11764         segmentation fault for a case of two empty input strings.
11765         * string/test-strncasecmp.c (check1): Renamed to...
11766         (bz12205): ...this.
11767         (bz14195): Add new testcase for two empty input strings and N > 0.
11768         (test_main): Call new testcase, adapt for renamed function.
11769
11770 2012-08-15  Andreas Jaeger  <aj@suse.de>
11771
11772         [BZ #14090]
11773         * crypt/md5test2.c: New test, based on test supplied by Serge
11774         Belyshev <belyshev@depni.sinp.msu.ru>.
11775         * crypt/Makefile (xtests): Add md5test-giant..
11776         * crypt/Makefile ($(objpfx)md5test-giant): Add.
11777
11778 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
11779
11780         [BZ #14090]
11781         * crypt/md5.c (md5_process_block): Don't assume the buffer
11782         length is less than 2**32.
11783         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11784         length is less than 2**64.
11785
11786 2012-08-15  Roland McGrath  <roland@hack.frob.com>
11787
11788         * string/str-two-way.h: Include <sys/param.h>.
11789         (MAX): Macro removed.
11790
11791         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11792         Move #define and #undef of memmove to just before and after
11793         including <string.h>.
11794
11795         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11796         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11797         and after including <string.h>.  Move declarations of
11798         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11799         to before #include "string/memmove.c".
11800
11801         * include/dirent.h: Declare __getdirentries.
11802
11803         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11804         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11805
11806 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
11807
11808         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11809         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11810         * sysdeps/i386/configure: Regenerated.
11811         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11812         STABS_CURRENT_FILE, and STABS_FUN.
11813         (END): Remove call to STABS_FUN_END.
11814         (STABS_CURRENT_FILE1): Delete.
11815         (STABS_CURRENT_FILE): Likewise.
11816         (STABS_FUN): Likewise.
11817         (STABS_FUN_END): Likewise.
11818         (STABS_FUN2): Likewise.
11819         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11820         * sysdeps/x86_64/configure: Regenerated.
11821
11822 2012-08-14  Roland McGrath  <roland@hack.frob.com>
11823
11824         * elf/dl-open.c: Include <atomic.h>.
11825         * elf/dl-lookup.c: Likewise.
11826
11827 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
11828
11829         * sysdeps/unix/sysv/linux/kernel-features.h
11830         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11831         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11832         unconditionally.
11833         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11834         unconditionally.
11835         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11836         condition on __ASSUME_CLONE_THREAD_FLAGS.
11837
11838 2012-08-14  Andreas Jaeger  <aj@suse.de>
11839
11840         * sysdeps/i386/fpu/libm-test-ulps: Update.
11841
11842 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
11843
11844         * include/atomic.h (atomic_exchange_and_add): Split into ...
11845         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11846         New atomic macros.
11847
11848 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
11849
11850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11851
11852 2012-08-13  Jeff Law <law@redhat.com>
11853
11854         * manual/stdio.texi (snprintf): Clarify handling of the trailing
11855         null byte in the output string.
11856
11857 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
11858
11859         * sysdeps/unix/sysv/linux/kernel-features.h
11860         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11861         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11862         (__ASSUME_ARG_MAX_STACK_BASED): Define.
11863         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11864         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11865         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
11866         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11867
11868 2012-08-09  Jeff Law <law@redhat.com>
11869
11870         [BZ #13939]
11871         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11872         When avoid_arena is set, don't retry in the that arena.  Pick the
11873         next one, whatever it might be.
11874         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11875         (arena_lock): Pass in new parameter to arena_get2.
11876         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11877         arena_get2.
11878         (__libc_malloc): Unify retrying after main arena failure with
11879         __libc_memalign version.
11880         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11881
11882 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11883
11884         [BZ #14166]
11885         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11886         to __redirect_strstr.
11887         (__strstr_sse42): Use typeof __redirect_strstr.
11888         (__strstr_ia32): Likewise.
11889         (__libc_strstr): New prototype.
11890         (strstr): Renamed to ...
11891         (__libc_strstr): This.
11892         (strstr): New strong alias of __libc_strstr.
11893         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11894         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11895         __redirect_time.
11896         Include <time.h>.
11897         (__libc_time): New prototype.
11898         (time_ifunc): Replace time with __libc_time.
11899         (time): New strong alias and hidden definition of __libc_time.
11900         (__GI_time): Remove strong alias.
11901         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11902         Include <stddef.h>.
11903         (memmove): Redefined to __redirect_memmove.
11904         (__memmove_sse2): Use typeof __redirect_memmove.
11905         (__memmove_ssse3): Likewise.
11906         (__memmove_ssse3_back): Likewise.
11907         (__libc_memmove): New prototype.
11908         (memmove): Renamed to ...
11909         (__libc_memmove): This.
11910         (memmove): New strong alias of __libc_memmove.
11911
11912 2012-08-08  Mark Salter  <msalter@redhat.com>
11913
11914         * elf/elf.h
11915         (R_MN10300_TLS_GD): Define.
11916         (R_MN10300_TLS_LD): Likewise.
11917         (R_MN10300_TLS_LDO): Likewise.
11918         (R_MN10300_TLS_GOTIE): Likewise.
11919         (R_MN10300_TLS_IE): Likewise.
11920         (R_MN10300_TLS_LE): Likewise.
11921         (R_MN10300_TLS_DTPMOD): Likewise.
11922         (R_MN10300_TLS_DTPOFF): Likewise.
11923         (R_MN10300_TLS_TPOFF): Likewise.
11924         (R_MN10300_SYM_DIFF): Likewise.
11925         (R_MN10300_ALIGN): Likewise.
11926         (R_MN10300_NUM): Update.
11927
11928 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
11929
11930         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11931         Remove.
11932
11933 2012-08-08  Roland McGrath  <roland@hack.frob.com>
11934
11935         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11936
11937         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11938         sysdeps/unix -> sysdeps/posix move.
11939         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11940
11941 2012-08-07      Allan McRae     <allan@archlinux.org>
11942
11943         [BZ #14303]
11944         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11945         (SUNOS_CPP): Likewise.
11946         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11947         not found.
11948         (open_input): Call CPP using execvp.
11949
11950 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
11951
11952         * sysdeps/unix/sysv/linux/kernel-features.h
11953         (__ASSUME_PROT_GROWSUPDOWN): Remove.
11954         (__ASSUME_NO_CLONE_DETACHED): Likewise.
11955         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11956         (__ASSUME_WAITID_SYSCALL): Likewise.
11957         * sysdeps/unix/sysv/linux/dl-execstack.c
11958         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11959         code unconditional.
11960         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11961         conditional code.
11962         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11963         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11964         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11965         code.
11966         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11967         unconditional.
11968         [__ASSUME_WAITID_SYSCALL]: Likewise.
11969         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11970
11971 2012-08-07  Roland McGrath  <roland@hack.frob.com>
11972
11973         * sysdeps/unix/closedir.c: Renamed to ...
11974         * sysdeps/posix/closedir.c: ... here.
11975         * sysdeps/unix/dirfd.c: Renamed to ...
11976         * sysdeps/posix/dirfd.c: ... here.
11977         * sysdeps/unix/dirstream.h: Renamed to ...
11978         * sysdeps/posix/dirstream.h: ... here.
11979         * sysdeps/unix/fdopendir.c: Renamed to ...
11980         * sysdeps/posix/fdopendir.c: ... here.
11981         * sysdeps/unix/opendir.c: Renamed to ...
11982         * sysdeps/posix/opendir.c: ... here.
11983         * sysdeps/unix/readdir.c: Renamed to ...
11984         * sysdeps/posix/readdir.c: ... here.
11985         * sysdeps/unix/readdir_r.c: Renamed to ...
11986         * sysdeps/posix/readdir_r.c: ... here.
11987         * sysdeps/unix/rewinddir.c: Renamed to ...
11988         * sysdeps/posix/rewinddir.c: ... here.
11989         * sysdeps/unix/seekdir.c: Renamed to ...
11990         * sysdeps/posix/seekdir.c: ... here.
11991         * sysdeps/unix/telldir.c: Renamed to ...
11992         * sysdeps/posix/telldir.c: ... here.
11993         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11994         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11995         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11996         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11997
11998         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11999         * bits/fcntl.h: ... here.
12000
12001         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12002         not 0.
12003         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12004         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12005         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12006         (struct flock): Move l_start, l_len to the beginning.
12007         Use __pid_t for l_pid.
12008         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12009         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12010         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12011         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12012         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12013         [__USE_LARGEFILE64] (struct flock64): New type.
12014         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12015
12016         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12017         * bits/dirent.h: ... here.
12018
12019         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12020         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12021
12022 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
12023
12024         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12025         Change from 2.6.0 to 2.6.16.
12026         * sysdeps/unix/sysv/linux/configure: Regenerated.
12027         * sysdeps/unix/sysv/linux/kernel-features.h
12028         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12029         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12030         version.
12031         (__ASSUME_UTIMES): Likewise.
12032         (__ASSUME_CLONE_STOPPED): Remove.
12033         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12034         architectures, not kernel version.
12035         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12036         (__ASSUME_NO_CLONE_DETACHED): Likewise.
12037         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12038         (__ASSUME_WAITID_SYSCALL): Likewise.
12039         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12040         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12041         * README: State 2.6.16 as minimum Linux kernel version.  Do not
12042         refer to older versions.
12043
12044 2012-08-06  Roland McGrath  <roland@hack.frob.com>
12045
12046         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12047         Define alphasort64 as an alias.
12048         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12049         Define versionsort64 as an alias.
12050         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12051         Define scandir64 as an alias.
12052         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12053         Define scandirat64 as an alias.
12054         * dirent/alphasort64.c (alphasort64):
12055         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12056         * dirent/versionsort64.c: Likewise.
12057         * dirent/scandir64.c: Likewise.
12058         * dirent/scandirat64.c: Likewise.
12059         * sysdeps/wordsize-64/alphasort.c: File removed.
12060         * sysdeps/wordsize-64/alphasort64.c: File removed.
12061         * sysdeps/wordsize-64/scandir.c: File removed.
12062         * sysdeps/wordsize-64/scandir64.c: File removed.
12063         * sysdeps/wordsize-64/scandirat.c: File removed.
12064         * sysdeps/wordsize-64/scandirat64.c: File removed.
12065         * sysdeps/wordsize-64/versionsort.c: File removed.
12066         * sysdeps/wordsize-64/versionsort64.c: File removed.
12067         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12068         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12069         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12070         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12071         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12072         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12073         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12074         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12075
12076         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12078         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12080         [defined __arch64__ || defined __sparcv9]
12081         (__INO_T_MATCHES_INO64_T): New macro.
12082         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12083         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12084         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12085         * sysdeps/unix/sysv/linux/bits/dirent.h
12086         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12087         (_DIRENT_MATCHES_DIRENT64): New macro.
12088
12089         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12090         Define lockf64 as an alias.
12091         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12092         Define fseeko64 as an alias.
12093         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12094         Define ftello64 as an alias.
12095         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12096         Define _IO_fgetpos64 and fgetpos64 as aliases.
12097         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12098         Define _IO_fsetpos64 and fsetpos64 as aliases.
12099         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12100         Conditionalize body on this.
12101         * libio/fseeko64.c: Likewise.
12102         * libio/ftello64.c: Likewise.
12103         * libio/iofgetpos64.c: Likewise.
12104         * libio/iofsetpos64.c: Likewise.
12105         * sysdeps/wordsize-64/lockf.c: File removed.
12106         * sysdeps/wordsize-64/lockf64.c: File removed.
12107         * sysdeps/wordsize-64/fseeko.c: File removed.
12108         * sysdeps/wordsize-64/fseeko64.c: File removed.
12109         * sysdeps/wordsize-64/ftello.c: File removed.
12110         * sysdeps/wordsize-64/ftello64.c: File removed.
12111         * sysdeps/wordsize-64/iofgetpos.c: File removed.
12112         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12113         * sysdeps/wordsize-64/iofsetpos.c: File removed.
12114         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12115         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12116         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12117         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12118         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12119         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12120         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12121         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12122         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12123         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12124         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12125
12126         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12127         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12128         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12129         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12130         [defined __arch64__ || defined __sparcv9]
12131         (__OFF_T_MATCHES_OFF64_T): New macro.
12132         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12133         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12134         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12135         (__OFF_T_MATCHES_OFF64_T): New macro.
12136
12137 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
12138
12139         * stdlib/secure-getenv.c (__secure_getenv): Replace
12140         GLIBC_2_16 with GLIBC_2_17.
12141
12142 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
12143
12144         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12145         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12146
12147 2012-08-03  David S. Miller  <davem@davemloft.net>
12148
12149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12150
12151 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
12152
12153         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12154         Remove.
12155         (__ASSUME_CORRECT_SI_PID): Likewise.
12156         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12157         (__ASSUME_TMPFS_NAME): Likewise.
12158         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12159         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12160         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12161         (HAVE_AUX_SECURE): Make definition unconditional.
12162         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12163         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12164
12165 2012-08-03  Roland McGrath  <roland@hack.frob.com>
12166
12167         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12168         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12169         * sysdeps/mach/hurd/eloop-threshold.h: New file.
12170         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12171         __eloop_threshold instead of SYMLOOP_MAX.
12172
12173         * sysdeps/generic/eloop-threshold.h: New file.
12174         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12175         of MAXSYMLINKS.
12176         * elf/chroot_canon.c (chroot_canon): Likewise.
12177
12178 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
12179
12180         [BZ #13717]
12181         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12182         Change to 2.6.0 everywhere.
12183         * sysdeps/unix/sysv/linux/configure: Regenerated.
12184         * sysdeps/unix/sysv/linux/kernel-features.h
12185         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12186         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12187         kernel versions.
12188         (__ASSUME_POSIX_TIMERS): Define unconditionally.
12189         (__ASSUME_FUTEX_REQUEUE): Remove.
12190         (__ASSUME_STATFS64): Define unconditionally.
12191         (__ASSUME_AT_SECURE): Likewise.
12192         (__ASSUME_CORRECT_SI_PID): Likewise.
12193         (__ASSUME_TGKILL): Define without depending on kernel version for
12194         i386.
12195         (__ASSUME_UTIMES): Likewise.
12196         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12197         kernel version.
12198         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12199         (__ASSUME_TMPFS_NAME): Likewise.
12200         * README: Update reference to Linux kernel versions.
12201
12202 2012-08-02  Marek Polacek  <polacek@redhat.com>
12203
12204         [BZ# 14150]
12205         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
12206         libc_cv_asm_type_prefix with %.
12207         * configure: Regenerated.
12208         * include/libc-symbols.h: Remove comment about
12209         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12210         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12211         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12212         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12213         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12214         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12215         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12216         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12217         * elf/tst-unique2mod1.c: Likewise.
12218         * elf/tst-unique1mod2.c: Likewise.
12219         * elf/tst-unique1mod1.c: Likewise.
12220         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12221         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12222         Replace ASM_TYPE_DIRECTIVE with .type.
12223         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12224         * sysdeps/i386/sysdep.h: Likewise.
12225         * sysdeps/x86_64/sysdep.h: Likewise.
12226         * sysdeps/sh/sysdep.h: Likewise.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12228         Do not define ASM_TYPE_DIRECTIVE.
12229         * sysdeps/powerpc/sysdep.h: Likewise.
12230         * sysdeps/powerpc/powerpc32/sysdep.h:
12231         Replace ASM_TYPE_DIRECTIVE with .type.
12232         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12233         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12234         * sysdeps/i386/fpu/e_powf.S: Likewise.
12235         * sysdeps/i386/fpu/e_expl.S: Likewise.
12236         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12237         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12238         * sysdeps/i386/fpu/e_pow.S: Likewise.
12239         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12240         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12241         * sysdeps/i386/fpu/s_expm1.S: Likewise.
12242         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12243         * sysdeps/i386/fpu/e_log2.S: Likewise.
12244         * sysdeps/i386/fpu/e_log2l.S: Likewise.
12245         * sysdeps/i386/fpu/e_scalb.S: Likewise.
12246         * sysdeps/i386/fpu/e_powl.S: Likewise.
12247         * sysdeps/i386/fpu/e_log10f.S: Likewise.
12248         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12249         * sysdeps/i386/fpu/e_logl.S: Likewise.
12250         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12251         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12252         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12253         * sysdeps/i386/fpu/e_log2f.S: Likewise.
12254         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12255         * sysdeps/i386/fpu/e_log.S: Likewise.
12256         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12257         * sysdeps/i386/fpu/e_logf.S: Likewise.
12258         * sysdeps/i386/fpu/e_log10l.S: Likewise.
12259         * sysdeps/i386/fpu/e_atanh.S: Likewise.
12260         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12261         * sysdeps/i386/fpu/e_log10.S: Likewise.
12262         * sysdeps/i386/fpu/s_frexp.S: Likewise.
12263         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12264         * sysdeps/i386/fpu/s_asinh.S: Likewise.
12265         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12266         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12267         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12268         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12269         * sysdeps/i386/i686/strtok.S: Likewise.
12270         * sysdeps/i386/i386-mcount.S: Likewise.
12271         * sysdeps/i386/strtok.S: Likewise.
12272         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12273         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12274         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12275         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12276         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12277         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12278         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12279         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12280         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12281         * sysdeps/x86_64/_mcount.S: Likewise.
12282         * sysdeps/x86_64/strtok.S: Likewise.
12283         * sysdeps/sh/_mcount.S: Likewise.
12284
12285 2012-08-01  Roland McGrath  <roland@hack.frob.com>
12286
12287         * libio/iofopen.c: Include <fcntl.h>.
12288         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12289         (_IO_fopen64, fopen64): Define as aliases.
12290         * libio/iofopen64.c: Include <fcntl.h>.
12291         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12292         Conditionalize body on this.
12293         * sysdeps/wordsize-64/iofopen.c: File removed.
12294         * sysdeps/wordsize-64/iofopen64.c: File removed.
12295
12296 2012-08-01  Marek Polacek  <polacek@redhat.com>
12297
12298         * libc/Makeconfig: Use elf in place of binfmt-subdir.
12299         Use dlfcn directly instead of a variable.
12300         (binfmt-subdir): Do not define.
12301         (dlfcn): Likewise.
12302
12303 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
12304
12305         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12306         Remove all definitions.
12307         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12308         <kernel-features.h>.
12309         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12310         (miss_F_GETOWN_EX): Remove all definitions.
12311         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12312         macro definition.
12313         [!__ASSUME_FCNTL64]: Remove conditional code.
12314         [__ASSUME_FCNTL64]: Make code unconditional.
12315         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12316         <kernel-features.h>.
12317         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12318         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12319         (lockf64) [__NR_fcntl64]: Make code unconditional.
12320         (lockf64) [__ASSUME_FCNTL64]: Likewise.
12321
12322         * sysdeps/unix/sysv/linux/kernel-features.h
12323         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12324         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12325         Make code unconditional.
12326         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12327         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12329         [__NR_vfork]: Make code unconditional.
12330         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12331         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12333         [__NR_vfork]: Make code unconditional.
12334         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12335         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12336
12337 2012-08-01  Roland McGrath  <roland@hack.frob.com>
12338
12339         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12340         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12341
12342         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12343         Define mkstemp64 as an alias.
12344         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12345         Define mkstemps64 as an alias.
12346         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12347         Define mkostemp64 as an alias.
12348         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12349         Define mkostemps64 as an alias.
12350         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12351         Conditionalize body on this.
12352         * misc/mkostemp64.c: Likewise.
12353         * misc/mkostemps64.c: Likewise.
12354         * misc/mkstemps64.c: Likewise.
12355         * sysdeps/wordsize-64/mkstemp64.c: File removed.
12356         * sysdeps/wordsize-64/mkostemp64.c: File removed.
12357         * sysdeps/wordsize-64/mkostemp.c: File removed.
12358         * sysdeps/wordsize-64/mkstemp.c: File removed.
12359         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12360         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12361         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12362         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12363
12364         [BZ #14138]
12365         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12366         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12367         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12368         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12369
12370         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12371         compat_symbol macros from <shlib-compat.h> rather than the underlying
12372         default_symbol_version and symbol_version macros, so that DEFAULT
12373         lines in shlib-versions are respected.
12374         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12375
12376 2012-08-01  Florian Weimer  <fweimer@redhat.com>
12377
12378         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12379         Declare with warn_unused_result.
12380         (setgid, setregid, setegid, setresgid): Likewise.
12381         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12382         Likewise.
12383         * WUR-REPORT: Remove set*id functions.
12384
12385 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
12386
12387         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12388
12389 2012-07-31  Roland McGrath  <roland@hack.frob.com>
12390
12391         [BZ #10191]
12392         * include/sys/socket.h (__libc_accept, __libc_accept4):
12393         Add attribute_hidden.
12394         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12395
12396         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12397         use of PTR_MANGLE.
12398         * inet/getnetgrent_r.c (setup): Likewise.
12399
12400         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12401
12402 2012-07-31  David S. Miller  <davem@davemloft.net>
12403
12404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12405
12406 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
12407
12408         [BZ #13629]
12409         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12410         value between 1.0 and 2.0 and smaller part has absolute value less
12411         than 1.0.
12412         * math/s_clog10.c (__clog10): Likewise.
12413         * math/s_clog10f.c (__clog10f): Likewise.
12414         * math/s_clog10l.c (__clog10l): Likewise.
12415         * math/s_clogf.c (__clogf): Likewise.
12416         * math/s_clogl.c (__clogl): Likewise.
12417         * math/libm-test.inc (clog_test): Add more tests.
12418         (clog10_test): Likewise.
12419         * sysdeps/i386/fpu/libm-test-ulps: Update.
12420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12421
12422 2012-07-31  Florian Weimer  <fweimer@redhat.com>
12423
12424         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12425         Exit with zero in case no suitable GID is found, and write a
12426         message to standard error.
12427
12428 2012-07-30  Roland McGrath  <roland@hack.frob.com>
12429
12430         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12431         rather than to 1.
12432         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12433         (MAXPATHLEN): Removed.
12434         (NOGROUP, NODEV): New macros.
12435         (setbit, clrbit, isset, isclr): New macros.
12436         (howmany, roundup, powerof2): New macros.
12437         (DEV_BSIZE): New macro.
12438
12439         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12440         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12441
12442         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12443         definition on [!__NO_LONG_DOUBLE_MATH].
12444
12445         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12446         PTR_MANGLE and PTR_DEMANGLE.
12447
12448         * socket/accept4.c (accept4): Rename to __libc_accept4.
12449         Define accept4 as a weak alias.
12450
12451         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12452         on [_DIRENT_HAVE_D_TYPE].
12453         * io/ftw.c (ftw_dir): Likewise.
12454
12455         * io/xmknod.c (__xmknod): Don't check PATH for being null.
12456
12457         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12458
12459         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12460         Use the BSD numbers rather than the arbitrary ones we had.
12461         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12462         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12463         (SIGXCPU, SIGXFSZ): New macros.
12464         (_NSIG): Now 32.
12465
12466         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12467         initializer on [_LIBC_REENTRANT].
12468
12469         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12470         definitions inside [_POSIX_MAPPED_FILES].
12471
12472         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12473
12474         * dirent/opendir.c: Include <fcntl.h>.
12475
12476         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12477         (__libc_getspecific): Likewise.
12478         (__libc_key_create): Likewise.
12479
12480         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12481         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12482         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12483         (tmpfile64): Define as alias.
12484         * sysdeps/wordsize-64/tmpfile.c: File removed.
12485         * sysdeps/wordsize-64/tmpfile64.c: File removed.
12486         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12487         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12488
12489         * stdio-common/vfscanf.c: Include <stdbool.h>.
12490         * nss/makedb.c: Likewise.
12491         * stdio-common/_i18n_number.h: Likewise.
12492         * argp/argp-help.c: Likewise.
12493         * posix/wordexp.c: Likewise.
12494         * sysdeps/posix/spawni.c: Likewise.
12495         * nss/nss_files/files-initgroups.c: Likewise.
12496         * stdio-common/reg-modifier.c: Include <stdlib.h>.
12497         * nss/nss_files/files-initgroups.c: Likewise.
12498         * nss/nss_db/db-netgrp.c: Likewise.
12499         * nss/nss_db/db-initgroups.c: Likewise.
12500         * io/fchmodat.c: Include <sys/stat.h>.
12501
12502         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12503         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12504
12505         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12506         [HAVE_MMAP].
12507
12508         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12509         Add multiple inclusion protection.
12510
12511 2012-07-27  David S. Miller  <davem@davemloft.net>
12512
12513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12514
12515 2012-07-27  Gary Benson  <gbenson@redhat.com>
12516
12517         [BZ #14298]
12518         * elf/rtld.c: Include <stap-probe.h>.
12519         (dl_main): Added static probes "init_start" and "init_complete".
12520         * elf/dl-load.c: Include <stap-probe.h>.
12521         (lose): Take new parameter "nsid".
12522         Added static probe "map_failed".
12523         (_dl_map_object_from_fd): Pass namespace id to lose.
12524         Added static probe "map_start".
12525         (open_verify): Pass namespace id to lose.
12526         * elf/dl-open.c: Include <stap-probe.h>.
12527         (dl_open_worker) Added static probes "map_complete", "reloc_start"
12528         and "reloc_complete".
12529         * elf/dl-close.c: Include <stap-probe.h>.
12530         (_dl_close_worker): Added static probes "unmap_start" and
12531         "unmap_complete".
12532         * elf/rtld-debugger-interface.txt: New file documenting the above.
12533
12534 2012-07-26  Roland McGrath  <roland@hack.frob.com>
12535
12536         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12537         rather than a string variable.
12538         * sunrpc/rpc_main.c (h_output): Likewise.
12539         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12540
12541 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
12542
12543         * inet/check_native.c: New file.
12544
12545 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
12546
12547         [BZ #13629]
12548         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12549         if larger part has absolute value 1.0.
12550         * math/s_clog10.c (__clog10): Likewise.
12551         * math/s_clog10f.c (__clog10f): Likewise.
12552         * math/s_clog10l.c (__clog10l): Likewise.
12553         * math/s_clogf.c (__clogf): Likewise.
12554         * math/s_clogl.c (__clogl): Likewise.
12555         * math/libm-test.inc (clog_test): Add more tests.
12556         (clog10_test): Likewise.
12557         * sysdeps/i386/fpu/libm-test-ulps: Update.
12558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12559
12560         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12561         (pltexit): Likewise.
12562         (La_regs): Likewise.
12563         (La_retval): Likewise.
12564         (int_retval): Likewise.
12565         Update #error for removed macros to refer only to definitions in
12566         tst-audit.h.
12567         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12568         macro.
12569         (pltexit): Likewise.
12570         (La_regs): Likewise.
12571         (La_retval): Likewise.
12572         (int_retval): Likewise.
12573         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12574         macro.
12575         (pltexit): Likewise.
12576         (La_regs): Likewise.
12577         (La_retval): Likewise.
12578         (int_retval): Likewise.
12579         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12580         macro.
12581         (pltexit): Likewise.
12582         (La_regs): Likewise.
12583         (La_retval): Likewise.
12584         (int_retval): Likewise.
12585         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12586         macro.
12587         (pltexit): Likewise.
12588         (La_regs): Likewise.
12589         (La_retval): Likewise.
12590         (int_retval): Likewise.
12591         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12592         macro.
12593         (pltexit): Likewise.
12594         (La_regs): Likewise.
12595         (La_retval): Likewise.
12596         (int_retval): Likewise.
12597         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12598         macro.
12599         (pltexit): Likewise.
12600         (La_regs): Likewise.
12601         (La_retval): Likewise.
12602         (int_retval): Likewise.
12603         * sysdeps/generic/tst-audit.h: Update comment to refer only to
12604         macro definitions in tst-audit.h.
12605         * sysdeps/i386/tst-audit.h: New file.
12606         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12607         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12608         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12609         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12610         * sysdeps/sh/tst-audit.h: Likewise.
12611         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12612         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12613         * sysdeps/x86_64/tst-audit.h: Likewise.
12614
12615 2012-07-26  Andreas Jaeger  <aj@suse.de>
12616
12617         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12618         ptrace.
12619
12620         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12621         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12622         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12623         PTRACE_O_MASK.
12624         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12625         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12626         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12627
12628         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12629         value.
12630
12631         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12632         _sigsys.
12633         (si_call_addr, si_syscall, si_arch): Define new macro.
12634         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12635         _sigsys.
12636         (si_call_addr, si_syscall, si_arch): Define new marcro.
12637         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12638         _sigsys.
12639         (si_call_addr, si_syscall, si_arch): Define new macro.
12640         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12641         _sigsys.
12642         (si_call_addr, si_syscall, si_arch): Define new macro.
12643
12644 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
12645
12646         [BZ #13717]
12647         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12648         Change to 2.4.21 where previously 2.4.1.
12649         * sysdeps/unix/sysv/linux/configure: Regenerated.
12650         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12651         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12652         Linux kernel version.
12653         (__ASSUME_STD_AUXV): Remove.
12654         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12655         kernel version.
12656         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12657         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12658         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12659         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12660         (__ASSUME_NETLINK_SUPPORT): Likewise.
12661         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12662         (__no_netlink_support): Remove conditional definition.
12663         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12664         Remove.
12665         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12666         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12667         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12668         (if_nameindex_ioctl): Remove.
12669         (if_nameindex_netlink): Do not handle __no_netlink_support.
12670         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12671         code.
12672         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12673         Remove conditional code.
12674         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12675         code.
12676         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12677         unconditional.
12678         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12679         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12680         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12681         Remove.
12682         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12683         [!__ASSUME_STD_AUXV]: Remove conditional code.
12684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12685         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12686         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12688         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12689         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12690         code.
12691         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12693         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12694         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12695         conditional code.
12696         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12698         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12699         code.
12700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12701         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12702         conditional code.
12703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12704         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12705         code unconditional.
12706         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12707         conditional code.
12708         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12709         unconditional.
12710         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12711         conditional code.
12712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12713         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12714         unconditional.
12715         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12716         conditional code.
12717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12718         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12719         code unconditional.
12720         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12721         conditional code.
12722         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12723         unconditional.
12724         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12725         conditional code.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12727         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12728         code unconditional.
12729         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12730         conditional code.
12731         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12732         unconditional.
12733         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12734         conditional code.
12735
12736 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
12737
12738         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12739         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12740         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12741         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12742         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12743         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12744         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12745         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12746         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12747         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12748         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12749         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12750         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12751         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12752         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12753         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12754         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12755         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12756         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12758         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12759         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12760         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12761
12762 2012-07-25  Florian Weimer  <fweimer@redhat.com>
12763
12764         * Versions.def: Add GLIBC_2.17.
12765         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12766         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12767         Introduce __libc_secure_getenv.
12768         * stdlib/Versions (2.17): Add secure_getenv
12769         (GLIBC_PRIVATE): Add __libc_secure_getenv.
12770         * stdlib/secure-getenv.c: Rename __secure_getenv to
12771         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
12772         symbol __secure_getenv for GLIBC_2.0.
12773         * stdlib/tst-secure-getenv.c: New.
12774         * stdlib/Makefile (tests): Add testcase.
12775         * manual/startup.texi (Environment Access): Document
12776         secure_getenv.
12777         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12778         __libc_secure_getenv.
12779         * inet/ruserpass.c (ruserpass): Likewise.
12780         * malloc/mtrace.c (mtrace): Likewise.
12781         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
12782         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12783         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12784         * sysdeps/posix/tempname.c: Likewise.  Evaluate
12785         HAVE_SECURE_GETENV.
12786         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
12787         __secure_getenv to __libc_secure_getenv.
12788         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12790         Likewise.
12791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12792         Likewise.
12793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12800
12801 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
12802
12803         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12804         (struct La_i86_retval): Likewise.
12805         (struct La_x86_64_regs): Likewise.
12806         (struct La_x86_64_retval): Likewise.
12807         (struct La_x32_regs): Likewise.
12808         (struct La_x32_retval): Likewise.
12809         (struct La_ppc32_regs): Likewise.
12810         (struct La_ppc32_retval): Likewise.
12811         (struct La_ppc64_regs): Likewise.
12812         (struct La_ppc64_retval): Likewise.
12813         (struct La_sh_regs): Likewise.
12814         (struct La_sh_retval): Likewise.
12815         (struct La_s390_32_regs): Likewise.
12816         (struct La_s390_32_retval): Likewise.
12817         (struct La_s390_64_regs): Likewise.
12818         (struct La_s390_64_retval): Likewise.
12819         (struct La_sparc32_regs): Likewise.
12820         (struct La_sparc32_retval): Likewise.
12821         (struct La_sparc64_regs): Likewise.
12822         (struct La_sparc64_retval): Likewise.
12823         (struct audit_ifaces): Remove architecture-specific pltenter and
12824         pltexit members.
12825         * sysdeps/i386/ldsodefs.h: New file.
12826         * sysdeps/powerpc/ldsodefs.h: Likewise.
12827         * sysdeps/s390/ldsodefs.h: Likewise.
12828         * sysdeps/sh/ldsodefs.h: Likewise.
12829         * sysdeps/sparc/ldsodefs.h: Likewise.
12830         * sysdeps/x86_64/ldsodefs.h: Likewise.
12831
12832 2012-07-25  Marek Polacek  <polacek@redhat.com>
12833
12834         [BZ #6808]
12835         * math/libm-test.inc (yn_test): Add another test.
12836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12837         to ERANGE when the result is +-Inf.
12838         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12839         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12840         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12841         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12842
12843 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
12844
12845         * conform/data/time.h-data (NULL): Use macro-constant.  Require
12846         equal to 0.
12847         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
12848         clock_t.
12849         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
12850
12851 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
12852
12853         * configure.in <sysdeps resolving>: Correct printing
12854         Implies_before.
12855         * configure: Regenerate.
12856
12857 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
12858
12859         * math/w_ilogb.c: Include <limits.h>.
12860         * math/w_ilogbl.c: Likewise.
12861
12862 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
12863
12864         * manual/lang.texi (__va_copy): Document primarily as ISO C99
12865         va_copy.  Document allowing for unavailable va_copy only as
12866         pre-C99 compatibility.
12867         * manual/string.texi (Copying and Concatenation): Use va_copy
12868         instead of __va_copy in concat example.
12869
12870 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
12871
12872         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12873         (__sendto): Use create_address_port.  Initialize APORT and deallocate
12874         it if not null.
12875
12876         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12877         with O_NOLINK passed to __file_name_lookup.
12878
12879         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12880         with O_NOLINK passed to __file_name_lookup.
12881
12882         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12883         negative N or less than NGIDS.
12884
12885         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12886         type to string_t.  Set ERANGE as errno and return it if NAME is not big
12887         enough.  Use memcpy instead of strncpy.
12888
12889 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
12890
12891         * elf/Makefile (check-data): Remove.
12892         (localplt.data): New vpath directive.
12893         ($(objpfx)check-localplt.out): Use localplt.data from vpath
12894         instead of $(check-data).
12895         * scripts/data/localplt-generic.data: Move to ...
12896         * sysdeps/generic/localplt.data: ... here.
12897         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12898         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12899         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12901         ... here.
12902         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12904         ... here.
12905         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12907         ... here.
12908         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12910         ... here.
12911         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12913         ... here.
12914         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12916         ... here.
12917
12918 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12919
12920         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12921         PPC32 and PPC64 files.
12922         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12923         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12924
12925 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12926
12927         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12928         __makecontext_ret to ...
12929         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12930         ... here and call exit if uc_link is NULL.  New file.
12931         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12932         __makecontext_ret.S.
12933         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12934         __makecontext_ret to ...
12935         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12936         ... here and call exit if uc_link is NULL.  New file.
12937         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12938         __makecontext_ret.S.
12939
12940 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12941
12942         * elf/elf.h (R_390_IRELATIVE): New definition.
12943         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12944         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
12945         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12946         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12947         (elf_machine_lazy_rel): Likewise.
12948         * sysdeps/s390/dl-irel.h: New file.
12949         * sysdeps/s390/s390-64/memcpy.S: New asm code.
12950         * sysdeps/s390/s390-64/memset.S: New asm code.
12951         * sysdeps/s390/s390-64/memcmp.S: New asm code.
12952         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12953         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12954         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12955         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12956         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12957         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12958         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12959         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12960         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12961         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12962         * sysdeps/s390/s390-32/memcpy.S: New asm code.
12963         * sysdeps/s390/s390-32/memset.S: New asm code.
12964         * sysdeps/s390/s390-32/memcmp.S: New asm code.
12965
12966 2012-07-17  Marek Polacek  <polacek@redhat.com>
12967
12968         [BZ #14349]
12969         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12970         * sysdeps/s390/s390-64/configure.in: Likewise.
12971         * sysdeps/sparc/configure.in: Likewise.
12972         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12973         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12974         * sysdeps/i386/configure.in: Likewise.
12975         * sysdeps/x86_64/configure.in: Likewise.
12976         * sysdeps/sh/configure.in: Likewise.
12977         * sysdeps/s390/s390-32/configure: Regenerated.
12978         * sysdeps/s390/s390-64/configure: Likewise.
12979         * sysdeps/x86_64/configure: Likewise.
12980         * sysdeps/sh/configure: Likewise.
12981         * sysdeps/powerpc/powerpc64/configure: Likewise.
12982         * sysdeps/powerpc/powerpc32/configure: Likewise.
12983         * sysdeps/sparc/configure: Likwise.
12984         * sysdeps/i386/configure: Likewise.
12985
12986         * elf/dl-open.c: Comment fixes.
12987
12988 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
12989
12990         * Makefile [CXX] (check-data): Remove.
12991         [CXX] (c++-types.data): New vpath directive.
12992         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12993         vpath.  Do not allow for C++ type data being missing.
12994         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12995         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12996         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12997         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12998         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12999         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13000         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13002         ... here.
13003         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13005         ... here.
13006         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13008         ... here.
13009         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13011         ... here.
13012         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13014         ... here.
13015         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13017         ... here.
13018         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13020         ... here.
13021         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13023
13024         * elf/tls-macros.h (TLS_LE): Move architecture-specific
13025         definitions to architecture-specific files.
13026         (TLS_IE): Likewise.
13027         (TLS_LD): Likewise.
13028         (TLS_GD): Likewise.
13029         * sysdeps/i386/tls-macros.h: New file.
13030         * sysdeps/powerpc/tls-macros.h: Likewise.
13031         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13032         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13033         * sysdeps/sh/tls-macros.h: Likewise.
13034         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13035         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13036         * sysdeps/x86_64/tls-macros.h: Likewise.
13037
13038 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
13039
13040         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13041         zero value for regular exit case.
13042
13043         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13044         (__start_context): Preserve zero value for regular exit case.
13045
13046 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
13047             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13048
13049         * manual/setjmp.texi (setcontext): Clarify normal process
13050         termination when uc_link is the null pointer.
13051         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13052         exit call.
13053
13054 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
13055
13056         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13057         preprocessor.  Test for each exception mask separately.
13058
13059 2012-07-16  Andreas Jaeger  <aj@suse.de>
13060
13061         * po/ru.po: Update from translation team.
13062
13063 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
13064
13065         * conform/data/string.h-data (NULL): Use macro-constant.  Require
13066         equal to 0.
13067         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13068         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13069         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13070         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13071         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13072
13073 2012-07-13  Andreas Jaeger  <aj@suse.de>
13074
13075         * po/fr.po: Update from translation team.
13076
13077 2012-07-12  Marek Polacek  <polacek@redhat.com>
13078
13079         [BZ #14173]
13080         * math/libm-test.inc (yn_test): Add test for BZ #14173.
13081         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13082         loop condition.
13083
13084 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
13085
13086         [BZ #13717]
13087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13088         Change to 2.4.1 where previously 2.4.0.
13089         * sysdeps/unix/sysv/linux/configure: Regenerated.
13090         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13091         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13092         version.
13093         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13094         (__ASSUME_AT_CLKTCK): Remove.
13095         (__ASSUME_AT_PAGESIZE): Likewise.
13096         (__ASSUME_AT_XID): Likewise.
13097         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13098         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13099         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13100         unconditionally.
13101         (HAVE_AUX_PAGESIZE): Likewise.
13102         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13103         [__ASSUME_AT_CLKTCK]: Make code unconditional.
13104         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13105
13106 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
13107
13108         [BZ #14307]
13109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13110         the temporary buffer used to invoke __gethostbyname2_r,
13111         __gethostbyaddr_r and gethostbyname4_r to make room for struct
13112         host_data / struct gaih_addrtuple.
13113         * resolv/nss_dns/dns-host.c (global scope): Move definition of
13114         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13115         header file nss/nsswitch.h.
13116         * nss/nsswitch.h (global scope): Add definition of implementation
13117         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13118         resolv/nss_dns/dns-host.c).
13119
13120 2012-07-11  Andreas Jaeger  <aj@suse.de>
13121
13122         * po/fr.po: Update from translation team.
13123
13124         * po/sv.po: Update from translation team
13125         * po/fr.po: Another update from translation team.
13126
13127 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13128
13129         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13130         for subnormals or multiply small sinh result by itself.
13131         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13133
13134 2012-07-11  David S. Miller  <davem@davemloft.net>
13135
13136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13137
13138 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
13139
13140         [BZ #14347]
13141         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13142         (INTERNAL_MARK): Shift it here.
13143
13144 2012-07-10  Marek Polacek  <polacek@redhat.com>
13145
13146         [BZ #14151]
13147         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
13148         libc_cv_asm_global_directive with .globl.
13149         * configure: Regenerated.
13150         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13151         with .globl.
13152         * sysdeps/i386/configure: Regenerated.
13153         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13154         with .globl.
13155         * sysdeps/x86_64/configure: Regenerated.
13156         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13157         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13158         * elf/tst-unique2mod2.c: Likewise.
13159         * elf/tst-unique2mod1.c: Likewise.
13160         * elf/tst-unique1mod2.c: Likewise.
13161         * elf/tst-unique1mod1.c: Likewise.
13162         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13163         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13164         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13165         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13166         * sysdeps/mach/sysdep.h: Likewise.
13167         * sysdeps/i386/sysdep.h: Likewise.
13168         * sysdeps/i386/i386-mcount.S: Likewise.
13169         * sysdeps/x86_64/_mcount.S: Likewise.
13170         * sysdeps/x86_64/sysdep.h: Likewise.
13171         * sysdeps/sh/_mcount.S: Likewise.
13172         * sysdeps/sh/sysdep.h: Likewise.
13173         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13174         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13175         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13176         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13177         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13178         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13179         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13180         * locale/localeinfo.h: Likewise.
13181         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13182         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13183
13184 2012-07-09  Roland McGrath  <roland@hack.frob.com>
13185
13186         [BZ #14336]
13187         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13188         system".
13189         * manual/message.texi (The Uniforum approach): Likewise.
13190         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13191         (glibc iconv Implementation): Likewise.
13192
13193 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
13194
13195         [BZ #14337]
13196         * math/s_clog.c (__clog): Avoid scaling a value down where that
13197         could result in underflow.
13198         * math/s_clog10.c (__clog10): Likewise.
13199         * math/s_clog10f.c (__clog10f): Likewise.
13200         * math/s_clog10l.c (__clog10l): Likewise.
13201         * math/s_clogf.c (__clogf): Likewise.
13202         * math/s_clogl.c (__clogl): Likewise.
13203         * math/libm-test.inc (clog_test): Add more tests.
13204         (clog10_test): Likewise.
13205         * sysdeps/i386/fpu/libm-test-ulps: Update.
13206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13207
13208 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
13209
13210         [BZ #14283]
13211         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13212         by 7 not 8 to examine high bit of fractional part.
13213
13214         [BZ #14042]
13215         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13216         for call to __mcount_internal.
13217         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13218         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13219         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13220
13221 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
13222
13223         [BZ #14154]
13224         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13225         approximation for values within 0x1p-13f of an odd multiple of
13226         pi/4.
13227         * math/libm-test.inc (tan_test): Do not allow spurious underflow
13228         exception.  Add more tests.
13229         * sysdeps/i386/fpu/libm-test-ulps: Update.
13230
13231         [BZ #6778]
13232         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13233         inputs and return -1 for them.  Do not check for +Inf in case not
13234         reachable for +Inf.
13235         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13236         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13237         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13238         and return -1 for them.  Do not check for +Inf in case not
13239         reachable for +Inf.
13240         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13241         define.
13242         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13243         and return -1 for them.  Do not check for +Inf in case not
13244         reachable for +Inf.
13245         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
13246         spurious underflow.
13247         * sysdeps/i386/fpu/libm-test-ulps: Update.
13248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13249
13250 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
13251
13252         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13253
13254 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
13255
13256         [BZ #14157]
13257         [BZ #14331]
13258         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13259         could result in spurious underflow.  Scale down values above
13260         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13261         * math/s_csqrtf.c (__csqrtf): Likewise.
13262         * math/s_csqrtl.c (__csqrtl): Likewise.
13263         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
13264         spurious underflow.
13265         * sysdeps/i386/fpu/libm-test-ulps: Update.
13266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13267
13268 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13269
13270         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13271         xopen-msg.sed.
13272         * catgets/xopen-msg.awk: New file.
13273         * catgets/xopen-msg.sed: Removed.
13274
13275         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13276         po2text.sed.
13277         * intl/po2test.awk: New file.
13278         * intl/po2test.sed: Removed.
13279
13280 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
13281
13282         [BZ #14328]
13283         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13284         or multiply small sinh result by itself.
13285         * math/s_ctanf.c (__ctanf): Likewise.
13286         * math/s_ctanh.c (__ctanh): Likewise.
13287         * math/s_ctanhf.c (__ctanhf): Likewise.
13288         * math/s_ctanhl.c (__ctanhl): Likewise.
13289         * math/s_ctanl.c (__ctanl): Likewise.
13290         * math/libm-test.inc (ctan_test_tonearest): New function.
13291         (ctan_test_towardzero): Likewise.
13292         (ctan_test_downward): Likewise.
13293         (ctan_test_upward): Likewise.
13294         (ctanh_test_tonearest): Likewise.
13295         (ctanh_test_towardzero): Likewise.
13296         (ctanh_test_downward): Likewise.
13297         (ctanh_test_upward): Likewise.
13298         (main): Call these new functions.
13299         * sysdeps/i386/fpu/libm-test-ulps: Update.
13300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13301
13302 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
13303
13304         * .gitignore: Delete /ports entry.
13305
13306 2012-07-03  Andreas Jaeger  <aj@suse.de>
13307
13308         * po/bg.po: Update from translation team.
13309         * po/cs.po: Likewise.
13310         * po/de.po: Likewise.
13311         * po/hr.po: Likewise.
13312         * po/nl.pl: Likewise.
13313         * po/pl.po: Likewise.
13314         * po/vi.po: Likewise.
13315
13316 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
13317
13318         * Makeconfig [!+link] (+link-before-libc): New variable.
13319         [!+link] (+link-after-libc): Likewise.
13320         [!+link] (+link-tests): Likewise.
13321         [!+link] (+link): Define in terms of $(+link-before-libc) and
13322         $(+link-after-libc).
13323         [!+link-static] (+link-static-before-libc): New variable.
13324         [!+link-static] (+link-static-after-libc): Likewise.
13325         [!+link-static] (+link-static-tests): Likewise.
13326         [!+link-static] (+link-static): Define in terms of
13327         $(+link-static-before-libc) and $(+link-static-after-libc).
13328         [build-shared] (link-libc-before-gnulib): New variable.
13329         [build-shared] (link-libc-tests): Likewise.
13330         [build-shared] (link-libc): Define in terms of
13331         $(link-libc-before-gnulib).
13332         [!build-shared] (link-libc-tests): New variable.
13333         (link-libc-static-tests): New variable.
13334         [!gnulib] (gnulib-arch): New variable.
13335         [!gnulib] (gnulib-tests): Likewise.
13336         [!gnulib] (static-gnulib-arch): Likewise.
13337         [!gnulib] (static-gnulib-tests): Likewise.
13338         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
13339         Define with "=" instead of ":=".
13340         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
13341         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
13342         * Rules (binaries-all-notests): New variable.
13343         (binaries-all-tests): Likewise.
13344         (binaries-static-notests): Likewise.
13345         (binaries-static-tests): Likewise.
13346         (binaries-all): Define using $(binaries-all-notests) and
13347         $(binaries-all-tests).
13348         (binaries-static): Define using $(binaries-static-notests) and
13349         $(binaries-static-tests).
13350         (binaries-shared-tests): New variable.
13351         (binaries-shared-notests): Likewise.
13352         (binaries-shared): Remove variable.
13353         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13354         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13355         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13356         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13357         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13358         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13359         * elf/Makefile (sln-modules): New variable.
13360         (extra-objs): Add $(sln-modules:=.o).
13361         (ldconfig-modules): Add static-stubs.
13362         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13363         * elf/static-stubs.c: New file.
13364
13365         [BZ #14283]
13366         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13367         by 7 not 8 to examine high bit of fractional part.  Use volatile
13368         variables when splitting into final array of floats if
13369         __FLT_EVAL_METHOD__ != 0.
13370         * math/libm-test.inc (cos_test): Add another test.
13371         (sin_test): Likewise.
13372         * sysdeps/i386/fpu/libm-test-ulps: Update.
13373
13374         [BZ #14273]
13375         * math/libm-test.inc (cosh_test): Add more tests.
13376
13377         * version.h (RELEASE): Set to "development".
13378         (VERSION): Set to "2.16.90".
13379
13380 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
13381
13382         * NEWS: Update copyright. Remove last-updated date.
13383         Mention math library bug fixes and timezone data changes.
13384         * README: Mention GNU/Hurd, x32, and HPPA support status.
13385
13386 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
13387
13388         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13389
13390 2012-06-27  Andreas Jaeger  <aj@suse.de>
13391
13392         * manual/contrib.texi (Contributors): Add Samuel Thibault.
13393
13394 2012-06-25  Andreas Jaeger  <aj@suse.de>
13395
13396         * sysdeps/s390/fpu/libm-test-ulps: Update.
13397
13398 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
13399             Thomas Schwinge  <thomas@codesourcery.com>
13400
13401         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13402         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13404         fanotify_mark.
13405
13406 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
13407
13408         * sysdeps/mach/start.c: Remove file.
13409         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13410         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13411         * sysdeps/sh/init-first.c: Likewise.
13412
13413         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13414         registers for frame unwinding purposes, add CFI directives.
13415         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13416         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13417         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13418         Likewise.
13419
13420         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13421         __fortify_fail returning.
13422         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13423
13424         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13425         sysdeps/sh/____longjmp_chk.S.
13426         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13427         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13428         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13429         (gen-as-const-headers): Append sigaltstack-offsets.sym.
13430
13431         * sysdeps/sh/abort-instr.h: New file.
13432         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13433         process in case exit returns.
13434
13435         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13436         initialize the GOT register before use.
13437
13438         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13439         calculation of ARGC > 4.
13440
13441         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13442         meaningful names to some local labels.
13443
13444 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13445             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13446
13447         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13448         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13449         (__arch_compare_and_exchange_val_16_acq): Likewise.
13450         (__arch_compare_and_exchange_val_32_acq): Likewise.
13451         (atomic_exchange_and_add): Fix gUSA sequence.
13452         (atomic_add): Likewise.
13453         (atomic_add_negative): Likewise.
13454         (atomic_add_zero): Likewise.
13455         (atomic_bit_test_set): Likewise.
13456
13457 2012-06-22  Andreas Schwab  <schwab@redhat.com>
13458
13459         [BZ #13579]
13460         * include/link.h (struct link_map): Add l_free_initfini.
13461         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13462         l_initfini.
13463         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13464         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13465         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13466         set.
13467
13468 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
13469
13470         * configure.in: Use AC_LANG_SOURCE.
13471         * configure: Regenerate.
13472
13473 2012-06-22  Roland McGrath  <roland@hack.frob.com>
13474
13475         * configure.in (libc_cv_localstatedir): New substituted variable.
13476         * configure: Regenerated.
13477         * config.make.in (localstatedir): New variable, substituted from
13478         libc_cv_localstatedir.
13479         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13480         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13481         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13482         * sysdeps/gnu/configure: Regenerated.
13483
13484 2012-06-21  Jeff Law  <law@redhat.com>
13485
13486         [BZ #14277]
13487         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13488         free.  Simplify list management for _LIBC case.
13489
13490 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
13491
13492         [BZ #14273]
13493         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13494         Clear sign bit of 64-bit integer value before comparing against
13495         overflow value.
13496
13497         * sysdeps/mach/configure: Regenerated.
13498
13499 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
13500
13501         [BZ #14278]
13502         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13503
13504 2012-06-21  Jeff Law  <law@redhat.com>
13505
13506         [BZ #13882]
13507         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
13508         uint16_t for elements in the "seen" array to avoid char overflows.
13509         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13510         * elf/dl-open.c (dl_open_worker): Likewise.
13511
13512 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
13513
13514         * scripts/list-sources.sh: Scan PORTS for translations.
13515         * po/libc.pot: Regenerated.
13516
13517 2012-06-21  Andreas Jaeger  <aj@suse.de>
13518
13519         [BZ #12194]
13520         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13521         warning.
13522         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13523         * bits/byteswap-16.h (__bswap_16): Likewise.
13524         * bits/byteswap.h (__bswap_constant_16): Likewise.
13525
13526 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
13527
13528         [BZ #14117]
13529         * sysdeps/i386/fpu_control.h: Removed.
13530         * sysdeps/x86_64/fpu_control.h: Moved to ...
13531         * sysdeps/x86/fpu_control.h: Here.
13532
13533         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13534         (_FPU_SETCW): Likewise.
13535
13536 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
13537
13538         [BZ #14117]
13539         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13540         * sysdeps/x86/fpu/bits/mathinline.h: This.
13541         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13542
13543         [BZ #14050]
13544         [BZ #14117]
13545         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13546         functions if __x86_64__ is defined.
13547
13548 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
13549
13550         * string/endian.h: Add !__ASSEMBLER__ condition for including
13551         conversion interfaces.
13552
13553 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
13554
13555         [BZ #14241]
13556         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13557         of ABS(x) in calculating zero to negative powers other than odd
13558         integers.
13559         * math/libm-test.inc (pow_test): Add more tests.
13560
13561 2012-06-15  Andreas Jaeger  <aj@suse.de>
13562
13563         * manual/contrib.texi (Contributors): Update entry of Liubov
13564         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13565         Machado Filho.
13566
13567 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
13568
13569         * string/string.h: Add __wur to GNU version of strerror_r.
13570
13571 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
13572
13573         [BZ #14229]
13574         * string/Makefile (tests): Add tst-strtok_r.
13575         * string/tst-strtok_r.c: New file.
13576         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13577         RAX_LP/RDX_LP on SAVE_PTR.
13578
13579 2012-06-14  Roland McGrath  <roland@hack.frob.com>
13580
13581         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13582
13583 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
13584
13585         * libm_test.inc (csqrt_test): Allow more spurious underflow
13586         exceptions.
13587         (j0_test): Likewise.
13588         (j1_test): Likewise.
13589         (y0_test): Likewise.
13590         (y1_test): Likewise.
13591
13592 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
13593
13594         * po/Makefile (libc.pot): Use UTF-8 charset.
13595
13596 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
13597
13598         [BZ #14210]
13599         Suppress sign-conversion warning from FD_SET.
13600         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13601         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13602         not unsigned long int.
13603         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13604
13605 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
13606
13607         [BZ #14050]
13608         [BZ #14117]
13609         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13610         __extern_always_inline instead of __extern_inline.
13611         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13612         (__signbit): Likewise.
13613         (__signbitl): Support C++ namespace.
13614         (lrintf): New inline function.
13615         (lrint): Likewise.
13616         (llrintf): Likewise.
13617         (llrint): Likewise.
13618         (fmaxf): Likewise.
13619         (fmax): Likewise.
13620         (fminf): Likewise.
13621         (fmin): Likewise.
13622         (rint): Likewise.
13623         (rintf): Likewise.
13624         (ceil): Likewise.
13625         (ceilf): Likewise.
13626         (floor): Likewise.
13627         (floorf): Likewise.
13628         (nearbyint): Likewise.
13629         (nearbyintf): Likewise.
13630
13631 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
13632
13633         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13634         non-default versions.
13635
13636 2012-06-11  Roland McGrath  <roland@hack.frob.com>
13637
13638         [BZ #14218]
13639         * manual/argp.texi (Argp): Reword argp_parse description slightly.
13640
13641 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
13642
13643         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13644         (FE_UPWARD, FE_DOWNWARD): Don't define.
13645         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13646         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13647
13648         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13649         reading it.
13650         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13651         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13652
13653 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13654
13655         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13656         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13657         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13658         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13659
13660 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13661
13662         [BZ #14117]
13663         * sysdeps/i386/fpu/bits/fenv.h: Removed.
13664         * sysdeps/i386/fpu/Implies: New file.
13665         * sysdeps/x86_64/fpu/Implies: Likewise.
13666         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13667         * sysdeps/x86/fpu/bits/fenv.h: This.
13668
13669         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13670         __SSE_MATH__.
13671
13672 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13673
13674         [BZ #14134]
13675         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13676         character 0xffff that matches the last element of the
13677         conversion table.
13678
13679 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13680
13681         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13682         fmodl commit.
13683
13684 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13685
13686         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13687         values higher than 25.6283.
13688
13689 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13690
13691         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13692         subnormal exponent extraction and add some __builtin_expect.
13693         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13694         Fix for subnormal mantissa calculation.
13695
13696 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
13697
13698         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13699         cpu2 is -1 and errno is not ENOSYS.
13700
13701 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
13702
13703         [BZ #14117]
13704         * sysdeps/i386/i486/bits/string.h: Renamed to ...
13705         * sysdeps/x86/bits/string.h: This.
13706         * sysdeps/x86_64/bits/string.h: Removed.
13707
13708         * sysdeps/i386/i486/bits/string.h: Define inline functions only
13709         if not compiling for x86-64, but compiling for >= i486.
13710
13711         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13712         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13713
13714         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13715         New macro from Linux kernel 3.4.0.
13716         (FP_XSTATE_MAGIC2): Likewise.
13717         (FP_XSTATE_MAGIC2_SIZE): Likewise.
13718         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13719         (struct _fpx_sw_bytes): New struct.
13720         (struct _xsave_hdr): Likewise.
13721         (struct _ymmh_state): Likewise.
13722         (struct _xstate): Likewise.
13723
13724         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13725         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13726         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13727         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13728         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13729         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13730
13731         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13732         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13733         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13734         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13735         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13736         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13737
13738 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13739
13740         [BZ #13743]
13741         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13742         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13743         (sysdep_headers): Include sys/platform/ppc.h.
13744         * sysdeps/powerpc/test-gettimebase.c: Test for
13745         __ppc_get_timebase() to catch future ISA opcode/insn changes.
13746         * manual/Makefile (appendices): Include platform.texi.
13747         * manual/contrib.texi (Contributors): Update @node pointers.
13748         * manual/maint.texi (Maintenance): Likewise.
13749         (Platform): New node.
13750         * manual/platform.texi: New file.  Document the new features.
13751
13752 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13753             Jakub Jelinek  <jakub@redhat.com>
13754
13755         [BZ #14188]
13756         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13757         where __builtin_expect is unavailable.
13758
13759 2012-06-03  David S. Miller  <davem@davemloft.net>
13760
13761         * stdlib/longlong.h: Updated from GCC.
13762
13763 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
13764
13765         [BZ #14042]
13766         * sysdeps/powerpc/powerpc32/mcount.c: New file.
13767         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13768         __mcount_internal.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13770         (GLIBC_2.16): Likewise.
13771
13772 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
13773
13774         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13775
13776 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
13777
13778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13779         (default-abi): New variable.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13781         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13782         variable.
13783         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13784         Likewise.
13785         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13786         Likewise.
13787         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13788         Likewise.
13789
13790         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13791         definition.  Document in comment.
13792
13793 2012-06-01  David S. Miller  <davem@davemloft.net>
13794
13795         * stdlib/longlong.h: Updated from GCC.
13796
13797 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
13798
13799         [BZ #14117]
13800         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13801         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13802         sys/debugreg.h sys/io.h here.
13803         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13804         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13805         sys/io.h.
13806         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13807         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13808         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13809         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13810         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13811         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13812
13813         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13814         Define only if __x86_64__ is defined.
13815
13816 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
13817
13818         [BZ #14048]
13819         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13820         Use int64_t for variable i.
13821         * math/libm-test.inc (fmod_test): Add more tests.
13822
13823         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13824         z computation is not scheduled after fetestexcept.
13825         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13826         Use math_force_eval instead of asm to ensure calculation scheduled
13827         before exception test.
13828         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13829         Ensure a1 + u.d computation is not scheduled after fetestexcept.
13830
13831 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
13832
13833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13834         computation is not scheduled after fetestexcept.
13835
13836 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
13837
13838         [BZ #14117]
13839         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13840         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13841
13842 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13843
13844         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13845         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13846
13847 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
13848
13849         [BZ #14117]
13850         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13851         <bits/wordsize.h>.
13852         (__WCHAR_MIN): Support __WORDSIZE == 64.
13853         (__WCHAR_MAX): Likewise.
13854
13855         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13856         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13857
13858         [BZ #14183]
13859         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13860         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13861
13862         [BZ #14117]
13863         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13864         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13865
13866         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13867         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13868
13869         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13870         Defined to 1 if __x86_64__ isn't defined.
13871         (_STAT_VER_LINUX_OLD): New.
13872         (st_atime): Remove duplicate.
13873         (st_mtime): Likewise.
13874         (st_ctime): Likewise.
13875
13876 2012-05-31  David S. Miller  <davem@davemloft.net>
13877
13878         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13879         entries.
13880
13881 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
13882
13883         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13884         gen-libm-test.pl.
13885
13886         [BZ #14132]
13887         * elf/dl-reloc.c: Include <_itoa.h>.
13888         (_dl_reloc_bad_type): Remove use of INTUSE.
13889         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13890         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13891         * stdio-common/psiginfo.c (psiginfo): Likewise.
13892         * stdio-common/psignal.c (psignal): Likewise.
13893         * string/strsignal.c (strsignal): Likewise.
13894         * include/signal.h (_sys_siglist): Declare hidden proto.
13895         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
13896         INTVARDEF with libc_hidden_data_def.
13897         * stdio-common/itoa-udigits.c: Likewise.
13898         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13899         (_itoa_lower_digits_internal): Remove declaration.
13900         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13901         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13902         (_sys_sigabbrev_internal): Remove aliases.
13903         (_sys_siglist): Define hidden alias.
13904
13905 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
13906
13907         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13908         bits/sysctl.h.
13909
13910 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
13911
13912         [BZ #14117]
13913         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13914         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13915
13916         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13917         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13918         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13919         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13920         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13921         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13922
13923         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13924         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13925         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13926
13927         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13928         with __addr.
13929         (insw): Likewise.
13930         (insl): Likewise.
13931         (outsb): Likewise.
13932         (outsw): Likewise.
13933         (outsl): Likewise.
13934
13935         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13936         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13937         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13938
13939         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13940         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13941         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13942         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13943         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13944         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13945
13946         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13947         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13948
13949         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13950         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13951
13952         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13953         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13954         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13955
13956         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13957         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13958         to ...
13959         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13960
13961         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13962         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13963         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13964
13965         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13966         for x86-64.
13967         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13968
13969 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
13970
13971         * math/math.h (M_El): Use two more decimal places.
13972         (M_LOG2El): Likewise.
13973         (M_LOG10El): Likewise.
13974         (M_LN2l): Likewise.
13975         (M_LN10l): Likewise.
13976         (M_PIl): Likewise.
13977         (M_PI_2l): Likewise.
13978         (M_PI_4l): Likewise.
13979         (M_1_PIl): Likewise.
13980         (M_2_PIl): Likewise.
13981         (M_2_SQRTPIl): Likewise.
13982         (M_SQRT2l): Likewise.
13983         (M_SQRT1_2l): Likewise.
13984
13985 2012-05-31  David S. Miller  <davem@davemloft.net>
13986
13987         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13988         values between float registers.
13989         * sysdeps/sparc/sparc64/memset.S: Likewise.
13990         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13991
13992 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
13993
13994         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13995         -D_FORTIFY_SOURCE=1.
13996         (CPPFLAGS-tst-longjmp_chk.c): Define.
13997         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13998         (CPPFLAGS-tst-longjmp_chk2.c): Define.
13999         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14000         CFLAGS-tst-wchar-h.c.
14001
14002 2012-05-31  Marek Polacek  <polacek@redhat.com>
14003
14004         [BZ #14132]
14005         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14006         __endmntent_internal): Remove declaration.
14007         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14008         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14009         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14010
14011 2012-05-30  David S. Miller  <davem@davemloft.net>
14012
14013         * sysdeps/sparc/sparc32/soft-fp/q_util.c
14014         (___Q_simulate_exceptions): Use real FP ops rather than writing
14015         into the %fsr.
14016         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14017         Likewise.
14018
14019 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14020
14021         [BZ #14117]
14022         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14023         * sysdeps/x86/bits/xtitypes.h: This.
14024
14025         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14026         * sysdeps/x86/bits/wordsize.h: This.
14027
14028         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14029         * sysdeps/x86/bits/huge_vall.h: This.
14030
14031         * sysdeps/i386/bits/select.h: Removed.
14032         * sysdeps/x86_64/bits/select.h: Renamed to ...
14033         * sysdeps/x86/bits/select.h: This.
14034
14035         * sysdeps/i386/bits/setjmp.h: Removed.
14036         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14037         * sysdeps/x86/bits/setjmp.h: This.
14038
14039         * sysdeps/i386/bits/mathdef.h: Removed.
14040         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14041         * sysdeps/x86/bits/mathdef.h: This.
14042
14043 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
14044
14045         [BZ #14132]
14046         * include/sys/socket.h (__connect_internal)
14047         (__libc_sa_len_internal): Remove declaration.
14048         (__connect, __libc_sa_len): Declare hidden_proto.
14049         (SA_LEN): Remove use of INTUSE.
14050         * socket/connect.c: Add libc_hidden_def.
14051         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14052         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14053         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14054         alias.
14055         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14056         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14057         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14058         of adding _internal alias.
14059
14060 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14061
14062         [BZ #14117]
14063         * sysdeps/i386/bits/link.h: Removed.
14064         * sysdeps/i386/bits/linkmap.h: Likewise.
14065         * sysdeps/x86_64/bits/link.h: Renamed to ...
14066         * sysdeps/x86/bits/link.h: This.
14067         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14068         * sysdeps/x86/bits/linkmap.h: This.
14069
14070         * sysdeps/i386/bits/endian.h: Removed.
14071         * sysdeps/x86_64/bits/endian.h: Renamed to ...
14072         * sysdeps/x86/bits/endian.h: This.
14073
14074         * sysdeps/i386/bits/byteswap.h: Removed.
14075         * sysdeps/i386/bits/byteswap-16.h: Likewise.
14076         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14077         * sysdeps/x86/bits/byteswap.h: This.
14078         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14079         * sysdeps/x86/bits/byteswap-16.h: This.
14080         * sysdeps/i386/Implies: Add x86.
14081         * sysdeps/x86_64/Implies: Likewise.
14082
14083 2012-05-30  David S. Miller  <davem@davemloft.net>
14084
14085         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14086         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14087         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14088         (FP_TRAPPING_EXCEPTIONS): Define.
14089         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14090         (FP_TRAPPING_EXCEPTIONS): Define.
14091         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14092         subnormals only when inexact has been signalled or underflow
14093         exceptions are enabled.
14094         (_FP_PACK_CANONICAL): Likewise.
14095
14096 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14097
14098         [BZ #14183]
14099         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14100         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14101
14102 2012-05-30  Richard Henderson  <rth@twiddle.net>
14103
14104         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14105         with #ifndef NOT_IN_libc.
14106
14107         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
14108         marked to avoid plt entry.
14109
14110 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14111
14112         [BZ #14112]
14113         * Makeconfig (default-abi): New macro.
14114         (abi-includes): Likewise.
14115         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
14116         $(abi-$(default-abi)-lib-soname) for soname if defined.
14117         ($(common-objpfx)gnu/lib-names.stmp): Generate from
14118         abi-variants.
14119         * Makefile (installed-stubs): Likewise.
14120         * include/stubs-biarch.h: Removed.
14121         * scripts/lib-names.awk: Only handle one library at a time.
14122         * scripts/soversions.awk: Remove WORDSIZE support.
14123         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14124         entries.
14125         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14126         Removed.
14127         (syscall-list-default-condition): Likewise.
14128         (syscall-list-default-condition): Likewise.
14129         (syscall-list-includes): Likewise.
14130         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14131         syscall-list-* with abi-*.  Handle undefined abi-variants.
14132         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14133         * sysdeps/unix/sysv/linux/i386/Implies: New file.
14134         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14135         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14136         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14137         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14138         Removed.
14139         (syscall-list-32-options): Likewise.
14140         (syscall-list-32-condition): Likewise.
14141         (syscall-list-64-options): Likewise.
14142         (syscall-list-64-condition): Likewise.
14143         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14144         macro.
14145         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14146         Renamed to ...
14147         (abi-*): This.
14148         (abi-64-ld-soname): New macro.
14149         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14150         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14151         Renamed to ...
14152         (abi-*): This.
14153         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14154         * sysdeps/x86_64/x32/shlib-versions: Likewise.
14155
14156 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
14157
14158         * sysdeps/unix/sysv/linux/kernel-features.h
14159         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14160         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14161         include <kernel-features.h>.
14162         [!__NR_ftruncate64]: Remove conditional code.
14163         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14164         [__NR_ftruncate64]: Make code unconditional.
14165         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14166         * sysdeps/unix/sysv/linux/truncate64.c: Do not
14167         include <kernel-features.h>.
14168         [!__NR_ftruncate64]: Remove conditional code.
14169         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14170         [__NR_ftruncate64]: Make code unconditional.
14171         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14173         include <kernel-features.h>.
14174         [!__NR_ftruncate64]: Remove conditional code.
14175         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14176         [__NR_ftruncate64]: Make code unconditional.
14177         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14179         include <kernel-features.h>.
14180         [!__NR_ftruncate64]: Remove conditional code.
14181         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14182         [__NR_ftruncate64]: Make code unconditional.
14183         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14184
14185         * configure.in (libc_cv_fpie): Weaken to a compile test using
14186         LIBC_TRY_CC_OPTION.
14187         * configure: Regenerated.
14188
14189 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14190
14191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14195         Refreshed.
14196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14202         Refreshed.
14203
14204 2012-05-27  David S. Miller  <davem@davemloft.net>
14205
14206         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14207         (___Q_zero): New.
14208         (__Q_simulate_exceptions): Return void.  Change to simulate
14209         exceptions by writing into the %fsr.
14210         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14211         (__Qp_handle_exceptions): Likewise.
14212         (numbers): Delete.
14213         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14214         __Qp_handle_exceptions.
14215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14216         __Qp_handle_exceptions.
14217         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14218         as unused and give dummy FP_RND_NEAREST initializer.
14219         (FP_INHIBIT_RESULTS): Define.
14220         (___Q_simulate_exceptions): Update declaration.
14221         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14222         formatting.
14223         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14224         as unused and give dummy FP_RND_NEAREST initializer.
14225         (__Qp_handle_exceptions): Update declaration.
14226         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14227         formatting.
14228
14229 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
14230
14231         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14232         the temporary FPU control word.
14233         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14234         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14235         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14236         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14237         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14238         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14239         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14240         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14241         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14242         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14243         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14244
14245 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14246
14247         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14248         fields.
14249
14250 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
14251
14252         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14253         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14254         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14255         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14256         Likewise.
14257         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14258         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14259         Likewise.
14260
14261 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
14262
14263         * po/h.po: Update from translation team.
14264
14265 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
14266
14267         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14268
14269         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14270         handling of denormals.
14271         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14272         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14273         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14274         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14276         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14278         Likewise.
14279
14280 2012-05-26  Marek Polacek  <polacek@redhat.com>
14281
14282         [BZ #14152]
14283         * math/libm-test.inc (fma_test): Don't always expect underflow
14284         exception.
14285
14286 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14287
14288         [BZ #12416]
14289         * elf/tst-execstack.c: Include stackinfo.h.
14290         (do_test): Adjust test case to ensure that pthread_getattr_np
14291         behaviour remains the same after marking stack executable.
14292
14293 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
14294
14295         * sysdeps/unix/sysv/linux/kernel-features.h
14296         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14297         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14298         kernel-features.h.
14299         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14300         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14301         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14302         kernel-features.h.
14303         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14304         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14305
14306 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
14307
14308         * configure.in: Define the default includes to being none.
14309         * configure: Regenerated.
14310
14311 2012-05-25  Roland McGrath  <roland@hack.frob.com>
14312
14313         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14314         * sysdeps/x86_64/setjmp.S: Likewise.
14315         * sysdeps/i386/bsd-setjmp.S: Likewise.
14316         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14317         * sysdeps/i386/setjmp.S: Likewise.
14318         * sysdeps/i386/__longjmp.S: Likewise.
14319         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14320         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14321
14322         * include/stap-probe.h: New file.
14323         * configure.in: Handle --enable-systemtap.
14324         * configure: Regenerated.
14325         * config.h.in (USE_STAP_PROBE): New #undef.
14326         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14327         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14328         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14329
14330 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
14331
14332         [BZ #13717]
14333         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14334         to 2.4.0 where earlier.
14335         * sysdeps/unix/sysv/linux/configure: Regenerated.
14336         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14337         <kernel-features.h>.
14338         [__ASSUME_32BITUIDS]: Make code unconditional.
14339         [!__ASSUME_32BITUIDS]: Remove conditional code.
14340         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14341         <kernel-features.h>.
14342         [__ASSUME_32BITUIDS]: Make code unconditional.
14343         [!__ASSUME_32BITUIDS]: Remove conditional code.
14344         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14345         [__ASSUME_32BITUIDS]: Make code unconditional.
14346         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14347         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14348         <kernel-features.h>.
14349         [__ASSUME_32BITUIDS]: Make code unconditional.
14350         [!__ASSUME_32BITUIDS]: Remove conditional code.
14351         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14352         <kernel-features.h>.
14353         [__ASSUME_32BITUIDS]: Make code unconditional.
14354         [!__ASSUME_32BITUIDS]: Remove conditional code.
14355         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14356         <kernel-features.h>.
14357         [__ASSUME_32BITUIDS]: Make code unconditional.
14358         [!__ASSUME_32BITUIDS]: Remove conditional code.
14359         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14360         <kernel-features.h>.
14361         [__ASSUME_32BITUIDS]: Make code unconditional.
14362         [!__ASSUME_32BITUIDS]: Remove conditional code.
14363         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14364         <kernel-features.h>.
14365         [__ASSUME_32BITUIDS]: Make code unconditional.
14366         [!__ASSUME_32BITUIDS]: Remove conditional code.
14367         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14368         <kernel-features.h>.
14369         [__ASSUME_32BITUIDS]: Make code unconditional.
14370         [!__ASSUME_32BITUIDS]: Remove conditional code.
14371         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14372         <kernel-features.h>.
14373         [__ASSUME_32BITUIDS]: Make code unconditional.
14374         [!__ASSUME_32BITUIDS]: Remove conditional code.
14375         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14376         <kernel-features.h>.
14377         [__ASSUME_32BITUIDS]: Make code unconditional.
14378         [!__ASSUME_32BITUIDS]: Remove conditional code.
14379         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14380         <kernel-features.h>.
14381         [__ASSUME_32BITUIDS]: Make code unconditional.
14382         [!__ASSUME_32BITUIDS]: Remove conditional code.
14383         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14384         <kernel-features.h>.
14385         [__ASSUME_32BITUIDS]: Make code unconditional.
14386         [!__ASSUME_32BITUIDS]: Remove conditional code.
14387         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14388         <kernel-features.h>.
14389         [__NR_setresgid] (__setresgid): Do not declare.
14390         [__ASSUME_32BITUIDS]: Make code unconditional.
14391         [!__ASSUME_32BITUIDS]: Remove conditional code.
14392         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14393         <kernel-features.h>.
14394         [__NR_setresuid] (__setresuid): Do not declare.
14395         [__ASSUME_32BITUIDS]: Make code unconditional.
14396         [!__ASSUME_32BITUIDS]: Remove conditional code.
14397         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14398         <kernel-features.h>.
14399         [__ASSUME_32BITUIDS]: Make code unconditional.
14400         [!__ASSUME_32BITUIDS]: Remove conditional code.
14401         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14402         <kernel-features.h>.
14403         [__ASSUME_32BITUIDS]: Make code unconditional.
14404         [!__ASSUME_32BITUIDS]: Remove conditional code.
14405         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14406         <kernel-features.h>.
14407         [__ASSUME_32BITUIDS]: Make code unconditional.
14408         [!__ASSUME_32BITUIDS]: Remove conditional code.
14409         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14410         <kernel-features.h>.
14411         [__ASSUME_32BITUIDS]: Make code unconditional.
14412         [!__ASSUME_32BITUIDS]: Remove conditional code.
14413         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14414         <kernel-features.h>.
14415         [__ASSUME_32BITUIDS]: Make code unconditional.
14416         [!__ASSUME_32BITUIDS]: Remove conditional code.
14417         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14418         <kernel-features.h>.
14419         [__ASSUME_32BITUIDS]: Make code unconditional.
14420         [!__ASSUME_32BITUIDS]: Remove conditional code.
14421         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14422         <kernel-features.h>.
14423         [__ASSUME_32BITUIDS]: Make code unconditional.
14424         [!__ASSUME_32BITUIDS]: Remove conditional code.
14425         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14426         <kernel-features.h>.
14427         [__ASSUME_32BITUIDS]: Make code unconditional.
14428         [!__ASSUME_32BITUIDS]: Remove conditional code.
14429         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14430         <kernel-features.h>.
14431         [__ASSUME_32BITUIDS]: Make code unconditional.
14432         [!__ASSUME_32BITUIDS]: Remove conditional code.
14433         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14434         <kernel-features.h>.
14435         [__ASSUME_32BITUIDS]: Make code unconditional.
14436         [!__ASSUME_32BITUIDS]: Remove conditional code.
14437         * sysdeps/unix/sysv/linux/kernel-features.h
14438         (__ASSUME_SETRESUID_SYSCALL): Remove.
14439         (__ASSUME_SETRESGID_SYSCALL): Likewise.
14440         (__ASSUME_32BITUIDS): Likewise.
14441         (__ASSUME_LDT_WORKS): Likewise.
14442         (__ASSUME_O_DIRECTORY): Likewise.
14443         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14444         architecture but not kernel version.
14445         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14446         (__ASSUME_MMAP2_SYSCALL): Likewise.
14447         (__ASSUME_STAT64_SYSCALL): Likewise.
14448         (__ASSUME_IPC64): Likewise.
14449         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14450         <kernel-features.h>.
14451         [__ASSUME_32BITUIDS]: Make code unconditional.
14452         [!__ASSUME_32BITUIDS]: Remove conditional code.
14453         * sysdeps/unix/sysv/linux/opendir.c: Do not include
14454         <kernel-features.h>.
14455         [__ASSUME_O_DIRECTORY]: Make code unconditional.
14456         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14457         132096]: Remove conditional code.
14458         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14459         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14460         <kernel-features.h>.
14461         [__ASSUME_32BITUIDS]: Make code unconditional.
14462         [!__ASSUME_32BITUIDS]: Remove conditional code.
14463         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14464         <kernel-features.h>.
14465         [__ASSUME_32BITUIDS]: Make code unconditional.
14466         [!__ASSUME_32BITUIDS]: Remove conditional code.
14467         * sysdeps/unix/sysv/linux/setegid.c: Do not include
14468         <kernel-features.h>.
14469         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14470         unconditional.
14471         (__setresgid): Do not declare.
14472         [__ASSUME_32BITUIDS]: Make code unconditional.
14473         [!__ASSUME_32BITUIDS]: Remove conditional code.
14474         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14475         <kernel-features.h>.
14476         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14477         unconditional.
14478         (__setresuid): Do not declare.
14479         [__ASSUME_32BITUIDS]: Make code unconditional.
14480         [!__ASSUME_32BITUIDS]: Remove conditional code.
14481         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14482         <kernel-features.h>.
14483         [__ASSUME_32BITUIDS]: Make code unconditional.
14484         [!__ASSUME_32BITUIDS]: Remove conditional code.
14485         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14486         <kernel-features.h>.
14487         [__ASSUME_32BITUIDS]: Make code unconditional.
14488         [!__ASSUME_32BITUIDS]: Remove conditional code.
14489
14490 2012-05-25  Richard Henderson  <rth@twiddle.net>
14491
14492         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14493         dl_hwcap to ifunc resolver.
14494         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14495         elf_ifunc_invoke.
14496         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14497         dl_hwcap to ifunc resolver.
14498         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14499
14500 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
14501
14502         [BZ #14153]
14503         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14504         for |x| <= 2**-26, not 2**-57.
14505         * math/libm-test.inc (acos_test): Do not allow spurious underflow
14506         exception.
14507
14508 2012-05-24  Jeff Law  <law@redhat.com>
14509
14510         * stdio-common/Makefile (tests): Add bug25.
14511         * stdio-common/bug25.c: New test.
14512
14513 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14514
14515         [BZ #13576]
14516         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14517         multiple of MALLOC_ALIGNMENT in size.
14518         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14519
14520 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
14521
14522         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14523         Require >= 256.
14524         (FILENAME_MAX): Use macro-int-constant.
14525         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
14526         (_IOFBF): Use macro-int-constant.
14527         (_IOLBF): Likewise.
14528         (_IONBF): Likewise.
14529         (SEEK_CUR): Likewise.
14530         (SEEK_END): Likewise.
14531         (SEEK_SET): Likewise.
14532         (TMP_MAX): Likewise.
14533         (EOF): Use macro-int-constant.  Require < 0.
14534         (NULL): Use macro-constant.  Require == 0.
14535         (stdin): Require type to be FILE *.
14536         (stdout): Likewise.
14537         (stderr): Likewise.
14538         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14539         macro-int-constant.
14540         (EXIT_SUCCESS): Likewise.
14541         (NULL): Use macro-constant.  Require == 0.
14542         (RAND_MAX): Use macro-int-constant.
14543         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14544         [C99-based standards] (strtof): Require function.
14545         [C99-based standards] (strtold): Likewise.
14546         [C99-based standards] (strtoll): Likewise.
14547         [C99-based standards] (strtoull): Likewise.
14548         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14549         [ISO || ISO99 || ISO11] (limits.h): Likewise.
14550         [ISO || ISO99 || ISO11] (math.h): Likewise.
14551         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14552         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14553         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14554
14555 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
14556
14557         [BZ #14132]
14558         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14559         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14560         * intl/dgettext.c (DCGETTEXT): Likewise.
14561         * intl/gettext.c (DCGETTEXT): Likewise.
14562         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14563         * posix/regex_internal.h (gettext): Likewise.
14564         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14565         Remove declaration.
14566         * include/argz.h (__argz_count_internal)
14567         (__argz_stringify_internal): Remove declaration.
14568         (__argz_count, __argz_stringify): Declare hidden proto.
14569         * intl/dcgettext.c: Remove use of INTDEF.
14570         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14571         * string/argz-stringify.c: Likewise.
14572         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14573         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14574         Declare hidden proto.
14575         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14576         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14577         Declare hidden proto.
14578         * include/stdio.h (__asprintf_internal): Don't declare.
14579         (__asprintf): Don't define as macro.  Declare hidden proto.
14580         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14581         (__fsetlocking): Declare hidden proto.
14582         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14583         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14584         hidden proto.
14585         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14586         (_IO_setlinebuf): Remove use of INTUSE.
14587         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14588         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14589         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14590         Remove declaration.
14591         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14592         (_IO_do_flush): Remove use of INTUSE.
14593         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14594         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14595         (_IO_adjust_column, _IO_least_wmarker)
14596         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14597         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14598         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14599         (_IO_default_doallocate, _IO_wdefault_doallocate)
14600         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14601         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14602         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14603         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14604         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14605         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14606         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14607         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14608         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14609         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14610         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14611         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14612         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14613         proto.
14614         (_IO_flush_all_internal, _IO_adjust_column_internal)
14615         (_IO_default_uflow_internal, _IO_default_finish_internal)
14616         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14617         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14618         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14619         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14620         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14621         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14622         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14623         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14624         (_IO_file_close_internal, _IO_file_close_it_internal)
14625         (_IO_file_underflow_internal, _IO_file_overflow_internal)
14626         (_IO_file_init_internal, _IO_file_attach_internal)
14627         (_IO_file_fopen_internal, _IO_file_read_internal)
14628         (_IO_file_sync_internal, _IO_file_seek_internal)
14629         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14630         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14631         (_IO_str_underflow_internal, _IO_str_overflow_internal)
14632         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14633         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14634         (_IO_list_all_internal, _IO_link_in_internal)
14635         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14636         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14637         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14638         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14639         (_IO_do_write_internal, _IO_padn_internal)
14640         (_IO_getline_info_internal, _IO_getline_internal)
14641         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14642         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14643         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14644         (_IO_vfscanf_internal, _IO_vfprintf_internal)
14645         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14646         (_IO_init_internal, _IO_un_link_internal): Don't declare.
14647         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14648         with libc_hidden_ver, remove use of INTUSE.
14649         * libio/genops.c: Likewise.
14650         * libio/freopen.c: Likewise.
14651         * libio/freopen64.c: Likewise.
14652         * libio/iofclose.c: Likewise.
14653         * libio/iofdopen.c: Likewise.
14654         * libio/iofflush.c: Likewise.
14655         * libio/iofflush_u.c: Likewise.
14656         * libio/iofgets.c: Likewise.
14657         * libio/iofgets_u.c: Likewise.
14658         * libio/iofopen.c: Likewise.
14659         * libio/iofopncook.c: Likewise.
14660         * libio/iofread.c: Likewise.
14661         * libio/iofread_u.c: Likewise.
14662         * libio/ioftell.c: Likewise.
14663         * libio/iofwrite.c: Likewise.
14664         * libio/iogetline.c: Likewise.
14665         * libio/iogets.c: Likewise.
14666         * libio/iogetwline.c: Likewise.
14667         * libio/iopadn.c: Likewise.
14668         * libio/iopopen.c: Likewise.
14669         * libio/ioseekoff.c: Likewise.
14670         * libio/ioseekpos.c: Likewise.
14671         * libio/iosetbuffer.c: Likewise.
14672         * libio/iosetvbuf.c: Likewise.
14673         * libio/ioungetc.c: Likewise.
14674         * libio/ioungetwc.c: Likewise.
14675         * libio/iovdprintf.c: Likewise.
14676         * libio/iovsprintf.c: Likewise.
14677         * libio/iovsscanf.c: Likewise.
14678         * libio/memstream.c: Likewise.
14679         * libio/obprintf.c: Likewise.
14680         * libio/oldfileops.c: Likewise.
14681         * libio/oldiofclose.c: Likewise.
14682         * libio/oldiofdopen.c: Likewise.
14683         * libio/oldiofopen.c: Likewise.
14684         * libio/oldiopopen.c: Likewise.
14685         * libio/oldstdfiles.c: Likewise.
14686         * libio/putc.c: Likewise.
14687         * libio/setbuf.c: Likewise.
14688         * libio/setlinebuf.c: Likewise.
14689         * libio/stdfiles.c: Likewise.
14690         * libio/strops.c: Likewise.
14691         * libio/vasprintf.c: Likewise.
14692         * libio/vscanf.c: Likewise.
14693         * libio/vsnprintf.c: Likewise.
14694         * libio/vswprintf.c: Likewise.
14695         * libio/wfiledoalloc.c: Likewise.
14696         * libio/wfileops.c: Likewise.
14697         * libio/wgenops.c: Likewise.
14698         * libio/wmemstream.c: Likewise.
14699         * libio/wstrops.c: Likewise.
14700         * libio/__fpurge.c: Likewise.
14701         * libio/__fsetlocking.c: Likewise.
14702         * assert/assert.c: Likewise.
14703         * debug/fgets_chk.c: Likewise.
14704         * debug/fgets_u_chk.c: Likewise.
14705         * debug/fread_chk.c: Likewise.
14706         * debug/fread_u_chk.c: Likewise.
14707         * debug/gets_chk.c: Likewise.
14708         * debug/obprintf_chk.c: Likewise.
14709         * debug/vasprintf_chk.c: Likewise.
14710         * debug/vdprintf_chk.c: Likewise.
14711         * debug/vsnprintf_chk.c: Likewise.
14712         * debug/vsprintf_chk.c: Likewise.
14713         * malloc/mtrace.c: Likewise.
14714         * misc/error.c: Likewise.
14715         * misc/syslog.c: Likewise.
14716         * stdio-common/asprintf.c: Likewise.
14717         * stdio-common/fxprintf.c: Likewise.
14718         * stdio-common/getw.c: Likewise.
14719         * stdio-common/isoc99_fscanf.c: Likewise.
14720         * stdio-common/isoc99_scanf.c: Likewise.
14721         * stdio-common/isoc99_vfscanf.c: Likewise.
14722         * stdio-common/isoc99_vscanf.c: Likewise.
14723         * stdio-common/isoc99_vsscanf.c: Likewise.
14724         * stdio-common/printf-prs.c: Likewise.
14725         * stdio-common/printf_fp.c: Likewise.
14726         * stdio-common/printf_fphex.c: Likewise.
14727         * stdio-common/printf_size.c: Likewise.
14728         * stdio-common/putw.c: Likewise.
14729         * stdio-common/scanf.c: Likewise.
14730         * stdio-common/sprintf.c: Likewise.
14731         * stdio-common/tmpfile.c: Likewise.
14732         * stdio-common/vfprintf.c: Likewise.
14733         * stdio-common/vfscanf.c: Likewise.
14734         * stdlib/strfmon_l.c: Likewise.
14735         * sunrpc/openchild.c: Likewise.
14736         * sunrpc/xdr_stdio.c: Likewise.
14737         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14738         * sysdeps/mach/hurd/tmpfile.c: Likewise.
14739
14740 2012-05-24  Roland McGrath  <roland@hack.frob.com>
14741
14742         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14743
14744         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14745         in the third column, to generate for the shared library an IFUNC
14746         that uses _dl_vdso_vsym.
14747         * Makerules (COMPILE.c, compile-stdin.c): New variables.
14748         * Makeconfig (object-suffixes-noshared): New variable.
14749
14750         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14751         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14752         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14753         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14754
14755         [BZ #14132]
14756         * include/sys/time.h (__gettimeofday): Remove macro.
14757         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14758         * time/gettimeofday.c (__gettimeofday): Remove #undef.
14759         Remove INTDEF.
14760         (__gettimeofday): Add libc_hidden_def.
14761         (gettimeofday): Add libc_hidden_weak.
14762         * sysdeps/mach/gettimeofday.c: Likewise.
14763         * sysdeps/posix/gettimeofday.c: Likewise.
14764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14765         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14767         (__gettimeofday_internal): Remove strong_alias.
14768         (__gettimeofday): Add libc_hidden_def.
14769         (gettimeofday): Add libc_hidden_weak.
14770         * sysdeps/unix/syscalls.list (gettimeofday):
14771         Remove __gettimeofday_internal alias.
14772
14773 2012-05-24  Daniel Jacobowitz  <drow@false.org>
14774             H.J. Lu  <hongjiu.lu@intel.com>
14775
14776         [BZ #12495]
14777         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14778         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14779         (largebin_index_32_big): New.
14780         (largebin_index): Use it for 16-byte alignment.
14781         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
14782         correction with front_misalign.
14783
14784 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14785
14786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14788         Likewise.
14789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14790         Likewise.
14791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14792         Likewise.
14793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14794         Likewise.
14795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14796         Likewise.
14797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14798         Likewise.
14799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14800         Likewise.
14801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14802         Likewise.
14803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14804         Likewise.
14805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14806         Likewise.
14807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14808         Likewise.
14809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14810         Likewise.
14811
14812         * scripts/data/c++-types-x32-linux-gnu.data: New file.
14813         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14814
14815 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
14816
14817         [BZ #10846]
14818         [BZ #14036]
14819         * math/libm-test.inc (exp_test): Add test from bug 14036.
14820         (pow_test): Add test from bug 10846.
14821
14822         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14823         and other flags.
14824         (special_function): Do not include flags in test name.
14825         (parse_args): Likewise.
14826         * sysdeps/i386/fpu/libm-test-ulps: Update.
14827         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14828         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14829         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831
14832         * math/gen-libm-test.pl (%beautify): Add entries for underflow
14833         exceptions.
14834         * math/libm-test.inc ("Philosophy"): Update comment about
14835         exception testing.
14836         (UNDERFLOW_EXCEPTION): New macro.
14837         (UNDERFLOW_EXCEPTION_OK): Likewise.
14838         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14839         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14840         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14841         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14842         (INVALID_EXCEPTION_OK): Update value.
14843         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14844         (OVERFLOW_EXCEPTION_OK): Likewise.
14845         (IGNORE_ZERO_INF_SIGN): Likewise.
14846         (test_exceptions): Handle underflow exceptions.
14847         (acos_test): Update for underflow exception expectations.
14848         (cexp_test): Likewise.
14849         (clog_test): Likewise.
14850         (clog10_test): Likewise.
14851         (csqrt_test): Likewise.
14852         (ctan_test): Likewise.
14853         (ctanh_test): Likewise.
14854         (exp_test): Likewise.
14855         (exp10_test): Likewise.
14856         (exp2_test): Likewise.
14857         (expm1_test): Likewise.
14858         (fma_test): Likewise.
14859         (j0_test): Likewise.
14860         (jn_test): Likewise.
14861         (nexttoward_test): Likewise.
14862         (pow_test): Likewise.
14863         (scalbn_test): Likewise.
14864         (scalbln_test): Likewise.
14865         (tan_test): Likewise.
14866         (y1_test): Likewise.
14867         * sysdeps/i386/fpu/libm-test-ulps: Update.
14868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14869
14870 2012-05-23  David S. Miller  <davem@davemloft.net>
14871
14872         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14873         (__libc_sigaction): Remove unused local variables.
14874
14875 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
14876
14877         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14878
14879 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
14880
14881         mktime: avoid signed integer overflow
14882         * time/mktime.c (__mktime_internal): Do not mishandle the case
14883         where diff == INT_MIN.
14884
14885         mktime: simplify computation of average
14886         * time/mktime.c (ranged_convert): Use new time_t_avg function
14887         instead of rolling our own (probably-slower) code.
14888
14889         mktime: do not assume signed right shift propagates sign bit
14890         * time/mktime.c (isdst_differ): New static function.
14891         (__mktime_internal): No need to normalize tm_isdst now.
14892         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14893         tm_isdst values.
14894
14895         mktime: merge another wrapv change from gnulib
14896         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14897         from some compilers.
14898
14899         mktime: remove incorrect attempt at unusual arithmetics
14900         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14901         The code didn't really work on such machines anyway.
14902         (TYPE_MINIMUM): Assume two's complement.
14903         (twos_complement_arithmetic): Verify that long_int and time_t
14904         are two's complement (or unsigned, in the latter case).
14905
14906         mktime: check signed shifts on long_int and time_t, too
14907         * time/mktime.c (SHR): Check that shifts work as desired
14908         on the types long_int and time_t too, as SHR is used on
14909         such types.
14910
14911         mktime: do not assume 'long' is wide enough
14912         * time/mktime.c (verify): Move decl up.
14913         (long_int): New type.
14914         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14915         to remove assumption in the code that 'long' is wide enough to
14916         store year values.  This assumption is not true on x32 and on
14917         some non-glibc platforms.
14918
14919         mktime: merge wrapv change from gnulib
14920         * time/mktime.c (WRAPV): New macro.
14921         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14922         (guess_time_tm, __mktime_internal): Do not assume that signed
14923         integer overflow wraps around; modern compilers generate code
14924         where this assumption is no longer valid.
14925
14926 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
14927
14928         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14929         Replace "jmp L(pseudo_end)" with "ret".
14930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14931         Likewise.
14932
14933 2012-05-23  Andreas Jaeger  <aj@suse.de>
14934
14935         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14936         * sysdeps/unix/sysv/linux/poll.c: Remove file.
14937
14938 2012-05-23  Andreas Jaeger  <aj@suse.de>
14939             Maximilian Attems  <max@stro.at>
14940
14941         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14942         New macros.
14943
14944 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
14945
14946         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14947         code so that pseudo_end is just ret and the stack pointer is
14948         correct also for static library in error case.
14949
14950 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
14951
14952         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14953         move to syscalls.list.
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14958
14959         * manual/install.texi (Running make install): Do not mention Linux
14960         kernel version for which pt_chown is not needed.
14961         (Linux): Do not mention problems with nscd with 2.0 kernels.
14962         * INSTALL: Regenerated.
14963
14964 2012-05-23  Andreas Jaeger  <aj@suse.de>
14965
14966         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14967         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14968         macro.
14969         * sysdeps/unix/sysv/linux/s390/bits/mman.h
14970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14971         * sysdeps/unix/sysv/linux/sh/bits/mman.h
14972         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14973         * sysdeps/unix/sysv/linux/i386/bits/mman.h
14974         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14975         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14976         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14977         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14978         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14979         * sysdeps/unix/sysv/linux/bits/in.h
14980         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14981
14982 2012-05-22  Roland McGrath  <roland@hack.frob.com>
14983
14984         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14985         (PREPARE_VERSION): Just use assert instead, it will be elided
14986         under [NDEBUG] anyway.
14987
14988 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14989
14990         * sysdeps/unix/sysv/linux/Makefile: Include
14991         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14992         (sysdep_routines): Remove sysctl.
14993         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14994         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14995         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14996         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14997         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14998
14999 2012-05-22  Andreas Jaeger  <aj@suse.de>
15000
15001         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15002         that pseudo_end is just ret and the stack pointer is correct also
15003         for static library in error case.
15004
15005 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15006
15007         [BZ #14122]
15008         * nss/nsswitch.c (defconfig_entries): New variable.
15009         (__nss_database_lookup): Don't leak defconfig entries.
15010         (nss_parse_service_list): Don't leak on error paths.
15011         (free_database_entries): New function.
15012         (free_defconfig): New function.
15013         (free_mem): Move common code to free_database_entries.
15014
15015 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15016
15017         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15018         Add arch_prctl.
15019         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15020
15021         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15022         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15024         New macro.
15025         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15026         (INTERNAL_SYSCALL_TYPES): Likewise.
15027         (LOAD_ARGS_TYPES_[1-6]): Likewise.
15028         (LOAD_REGS_TYPES_[1-6]): Likewise.
15029         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15030         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15031
15032 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15033
15034         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15035         copysignl for GLIBC_2_0.
15036         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15037         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15038         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15039         logbl for GLIBC_2_0.
15040         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15041         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15042
15043 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15044
15045         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15046         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
15047
15048         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15049         Use "neg %eax".
15050
15051         * time/mktime.c: Update copyright years.
15052
15053 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15054
15055         mktime: merge comment-quoting-style change from gnulib
15056         * time/mktime.c: Quote 'like this' in comments.
15057         The GNU coding standards suggest that we no longer quote `like this',
15058         as "`" and "'" are typically rendered asymmetrically nowadays.
15059         The typical gnulib style is to quote 'like this' when quoting
15060         code, and "like this" when quoting English.
15061
15062         * time/mktime.c (compile-command): Add "-I.".
15063
15064         mktime: merge mktime-internal.h change from gnulib
15065         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15066
15067         mktime: merge time_r change from gnulib
15068         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15069
15070         mktime: merge DEBUG change from gnulib
15071         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15072         case system <time.h> has a #define.
15073
15074         mktime: merge <sys/types.h> change from gnulib
15075         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15076         since <time.t> is now guaranteed to define time_t.
15077
15078         mktime: merge HAVE_CONFIG_H change from gnulib
15079         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15080
15081 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15082
15083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15084         Use "neg %eax".
15085
15086         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15087         __rlim_t cast.
15088         (struct rusage): Use anonymous union to pad each field to
15089         __syscall_slong_t.
15090
15091 2012-05-21  David S. Miller  <davem@davemloft.net>
15092
15093         * Makefules (o-iterator): Remove .s cases.
15094         (compile-command.s): Delete.
15095         (COMPILE.s): Delete.
15096         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15097
15098 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
15099
15100         * configure.in (libc_cv_predef_stack_protector): Only consider
15101         "foobar" and "__stack_chk_fail" lines in libc_undefs.
15102         * configure: Regenerated.
15103
15104 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15105
15106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15107         New macro.  Use R*LP on int and pointer.
15108         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15109         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15110         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15111         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15112
15113         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15114         [__WORDSIZE_TIME64_COMPAT32] instead of
15115         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15116         (struct utmp): Likewise.
15117         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15118         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15119         Renamed to ...
15120         (__WORDSIZE_TIME64_COMPAT32): This.
15121         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15122         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15123         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15124         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15125         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15126         (__WORDSIZE_TIME64_COMPAT32): New macro.
15127
15128 2012-05-21  Andreas Jaeger  <aj@suse.de>
15129
15130         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15131         only if [SHARED]. Add prototype for __wcschr_ia32.
15132
15133 2012-05-21  Roland McGrath  <roland@hack.frob.com>
15134
15135         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15136         of %rbp unmolested in the jmp_buf while mangling the low bits.
15137         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15138         unmolested high bits of %rbp while demangling the low bits.
15139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15140
15141 2012-05-21  Andreas Jaeger  <aj@suse.de>
15142
15143         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15144         * sunrpc/svc_simple.c: Use it for registerrpc.
15145         * sunrpc/xcrypt.c: Use it for passwd2des.
15146
15147         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15148
15149 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15150
15151         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15152         Don't define if [__SYSCALL_WORDSIZE != 32].
15153         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15154         New macro.
15155
15156 2012-05-21  Bruno Haible  <bruno@clisp.org>
15157             Andreas Jaeger  <aj@suse.de>
15158
15159         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15160         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15161         inptr and inend for must_buffer_ch.
15162         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15163         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15164         * stdio-common/Makefile (tests): Remove bug15.
15165         (bug15-ENV): Remove macro.
15166         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15167         anymore.
15168
15169 2012-05-19  Andreas Jaeger  <aj@suse.de>
15170             Roland McGrath  <roland@hack.frob.com>
15171
15172         * manual/contrib.texi: Completely rewritten. It contains now an
15173         alphabetical list of contributors and their contributions.
15174
15175 2012-05-21  Richard Henderson  <rth@twiddle.net>
15176
15177         * misc/getauxval.c (__getauxval): Use unsigned long int.
15178         * misc/sys/auxv.h: Include <sys/cdefs.h>.
15179         (getauxval): Use unsigned long int.
15180
15181 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15182
15183         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15184
15185 2012-05-21  Roland McGrath  <roland@hack.frob.com>
15186
15187         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15188         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15189         __alignof__ (long double).
15190
15191 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15192
15193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15194
15195 2012-05-20  Richard Henderson  <rth@twiddle.net>
15196
15197         * misc/getauxval.c: New file.
15198         * misc/sys/auxv.h: New file.
15199         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15200         (routines): Add getauxval.
15201         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15202         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15203         * elf/dl-sysdep.c (_dl_auxv): Remove.
15204         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15205         * elf/dl-support.c (_dl_auxv): New variable.
15206         (_dl_aux_init): Initialize it.
15207         * manual/startup.texi (Auxiliary Vector): New node.
15208         * sysdeps/generic/bits/hwcap.h: New file.
15209         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15210         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
15211         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15212         * sysdeps/sparc/sysdep.h: ... here.  Include it.
15213         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15214         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15216         Update.
15217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15220         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15225
15226 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15227
15228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15229
15230 2012-05-19  David S. Miller  <davem@davemloft.net>
15231
15232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15233
15234 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
15235
15236         [BZ #14123]
15237         * math/s_ccosh.c: Include <float.h>
15238         (__ccosh): Avoid internal overflow calculating sinh and cosh
15239         values before multiplying by sin and cos values.
15240         * math/s_ccoshf.c: Likewise.
15241         * math/s_ccoshl.c: Likewise.
15242         * math/s_csin.c: Likewise.
15243         * math/s_csinf.c: Likewise.
15244         * math/s_csinl.c: Likewise.
15245         * math/s_csinh.c: Likewise.
15246         * math/s_csinhf.c: Likewise.
15247         * math/s_csinhl.c: Likewise.
15248         * math/libm-test.inc (ccos_test): Add more tests.
15249         (ccosh_test): Likewise.
15250         (csin_test): Likewise.
15251         (csinh_test): Likewise.
15252         * sysdeps/i386/fpu/libm-test-ulps: Update.
15253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15254
15255 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15256
15257         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15258         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15259
15260         * sysdeps/x86_64/x32/_itoa.h: Add comment.
15261
15262 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
15263
15264         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15265         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15266         * sysdeps/powerpc/soft-fp/Versions: Likewise.
15267         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15268         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15269         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15270         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15271         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15272         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15273         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15274         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15275         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15276         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15277         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15278         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15279         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15280         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15281         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15282         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15283         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15284         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15285         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15286         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15287         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15288         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15289         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15290         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15291         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15292         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15293         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15294         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15295
15296 2012-05-18  Andreas Jaeger  <aj@suse.de>
15297
15298         * csu/.gitignore: Delete.
15299
15300 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15301
15302         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15303         (timex): Use __syscall_slong_t.
15304
15305 2012-05-18  Andreas Jaeger  <aj@suse.de>
15306             Carlos O'Donell  <carlos_odonell@mentor.com>
15307
15308         * manual/install.texi (Configuring and compiling): Update
15309         description about files modified in the source directory.
15310         * INSTALL: Regenerated.
15311
15312 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15313
15314         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15315         value.  Use "or" to set return value to -1.
15316         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15317         negate return value.
15318
15319 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15320
15321         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15322         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15323         failure if the compiler has Graphite support disabled.
15324         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15325         Likewise.
15326         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15327         CFLAGS-memmove.c): Likewise.
15328         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15329         Likewise.
15330
15331 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15332
15333         * sysdeps/x86_64/x32/_itoa.h: New file.
15334
15335         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15336         getdents system call only if kernel and user dirents have the
15337         same d_ino and d_off.
15338
15339         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15340         LLONG_MAX != LONG_MAX.
15341         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15342         (_fitoa_word): Likewise.
15343
15344         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15345         years.
15346         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15347         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15348         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15349
15350         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15351         include <bits/wordsize.h>.  Check __x86_64__ instead of
15352         __WORDSIZE.
15353         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15354         if __x86_64__ is defined.  Use anonymous union on fpstate.
15355
15356         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15357         anonymous union.
15358
15359 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
15360
15361         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15362         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15363         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15364         Refer to _rtld_local_ro instead of _rtld_global_ro.
15365         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15366         Likewise.
15367         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15368         Likewise.
15369         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15370         Likewise.
15371         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15372         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15373         of _rtld_global, and rtld_progname instead of _dl_argv[0].
15374
15375         * sysdeps/powerpc/powerpc32/dl-machine.c
15376         (__elf_machine_runtime_setup) [PROF]: Don't reference
15377         _dl_prof_resolve.
15378
15379 2012-05-18  Andreas Jaeger  <aj@suse.de>
15380
15381         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15382         function only available for GCCs before 3.4 since GCC 3.4
15383         introduced a builtin.
15384         (lrint): Likewise.
15385         (llrintf): Likewise.
15386         (llrint): Likewise.
15387         (fmaxf): Likewise.
15388         (fmax): Likewise.
15389         (fminf): Likewise.
15390         (fmin): Likewise.
15391         (rint): Likewise.
15392         (rintf): Likewise.
15393         (nearbyint): Likewise.
15394         (nearbyintf): Likewise.
15395         (ceil): Likewise.
15396         (ceilf): Likewise.
15397         (floor): Likewise.
15398         (floorf): Likewise.
15399
15400 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15401
15402         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15403         on both fields and cast pointer to __syscall_ulong_t.
15404
15405         * bits/types.h (__fsword_t): New type.
15406         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15407         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15408         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15409         (__FSWORD_T_TYPE): Likewise.
15410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15411         (__FSWORD_T_TYPE): Likewise.
15412         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15413         (__FSWORD_T_TYPE): Likewise.
15414         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15415         (__FSWORD_T_TYPE): Likewise.
15416         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15417         __SWORD_TYPE with __fsword_t.
15418         (statfs64): Likewise.
15419
15420 2012-05-17  David S. Miller  <davem@davemloft.net>
15421
15422         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15423
15424 2012-05-17  Andreas Jaeger  <aj@suse.de>
15425
15426         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15427         warning.
15428
15429 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15430
15431         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15432
15433 2012-05-17  Andreas Jaeger  <aj@suse.de>
15434
15435         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15436         when it is used.
15437
15438 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
15439
15440         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15441
15442 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15443
15444         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15445         * sysdeps/x86_64/tst-mallocalign1.c: New file.
15446
15447 2012-05-17  Andreas Jaeger  <aj@suse.de>
15448             Carlos O'Donell  <carlos_odonell@mentor.com>
15449
15450         [BZ #14059]
15451         * sysdeps/x86_64/multiarch/init-arch.h
15452         (bit_YMM_Usable): Rename to...
15453         (bit_AVX_Usable): ... this.
15454         (bit_FMA4_Usable): New macro.
15455         (bit_XMM_state): New macro.
15456         (bit_YMM_state): New macro.
15457         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15458         [__ASSEMBLER__] (index_AVX_Usable): ... this.
15459         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15460         (CPUID_OSXSAVE): New macro.
15461         (CPUID_AVX): New macro.
15462         (CPUID_FMA4): New macro.
15463         (index_YMM_Usable): Rename to...
15464         (index_AVX_Usable): ... this.
15465         (HAS_AVX): Use HAS_ARCH_FEATURE.
15466         (HAS_FMA4): Likewise.
15467         (HAS_YMM_USABLE): Remove.
15468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15469         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15470         are present.
15471         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15472         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15473         * sysdeps/x86_64/multiarch/Makefile: Likewise.
15474         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15475         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15476
15477 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
15478
15479         * math/libm-test.c: Support platforms without multiple rounding modes.
15480         * math/bug-nextafter.c: Support platforms without FP exceptions.
15481         * math/bug-nexttoward.c: Likewise.
15482         * math/test-fenv.c: Likewise.
15483         * math/test-misc.c: Likewise.
15484         * stdlib/bug-getcontext.c: Likewise.
15485
15486 2012-05-17  Andreas Jaeger  <aj@suse.de>
15487
15488         * manual/examples/search.c (critter_cmp): Change signature to
15489         avoid warnings.
15490         * manual/string.texi (Collation Functions): Likewise.
15491
15492 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15493
15494         * bits/types.h: Fold copyright years.
15495         * bits/typesizes.h: Likewise.
15496         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15497         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15498         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15499         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15500         * time/time.h: Likewise.
15501
15502 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
15503
15504         [BZ #208]
15505         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15506         in instead of returning them.  Return void.
15507         (__libc_mallinfo): Accumulate over all arenas.
15508         (__malloc_stats): Adjust for change in int_mallinfo interface.
15509
15510 2012-05-16  Roland McGrath  <roland@hack.frob.com>
15511
15512         [BZ #10375]
15513         * configure.in (NM): Add AC_CHECK_TOOL for it.
15514         (libc_extra_cflags): New substituted variable.
15515         Check for -fstack-protector being used implicitly.
15516         * configure: Regenerated.
15517         * config.make.in (config-extra-cflags): New variable,
15518         gets @libc_extra_cflags@.
15519         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15520
15521         [BZ #10375]
15522         * configure.in: Check for _FORTIFY_SOURCE being predefined.
15523         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15524         * configure: Regenerated.
15525         * config.make.in (CPPUNDEFS): New substituted variable.
15526         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15527         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15528         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15529
15530 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15531
15532         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15533         (mq_attr): Use __syscall_slong_t.
15534
15535 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15536
15537         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15538         Check __x86_64__ instead of __WORDSIZE.
15539         (_STAT_VER_LINUX): Likewise.
15540         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
15541         __syscall_ulong_t and __syscall_slong_t.
15542         (stat64): Likewise.
15543
15544 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15545
15546         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15547
15548 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15549
15550         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15551
15552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15553
15554         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15555         __syscall_ulong_t.
15556
15557         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15558         include <bits/wordsize.h>.  Check __x86_64__ instead of
15559         __WORDSIZE.
15560         (greg_t): Use "__extension__ long long int" if __x86_64__ is
15561         defined.
15562         (mcontext_t): Replace "unsigned long" with "unsigned long long".
15563
15564         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15565         include <bits/wordsize.h>.  Check __x86_64__ instead of
15566         __WORDSIZE.
15567         (user_regs_struct): Use "__extension__ unsigned long long"
15568         instead of "unsigned long" if __x86_64__ is defined.
15569         (user): Likewise.  Pad after pointer field if __ILP32__ is
15570         defined.
15571
15572 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
15573
15574         * configure.in (makeinfo): Require version 4.5 or later.  Allow
15575         versions 5 to 9.
15576         * configure: Regenerated.
15577         * manual/install.texi (texinfo): Increase version requirement to
15578         4.5 or later.
15579         * INSTALL: Regenerated.
15580
15581         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15582
15583 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15584
15585         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15586
15587         * sysdeps/x86_64/x32/ffs.c: New file.
15588
15589         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15590         __syscall_ulong_t.
15591         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15592         defined.  Use __syscall_ulong_t.
15593         (shminfo): Use __syscall_ulong_t.
15594         (shm_info): Likewise.
15595
15596         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15597         __syscall_ulong_t.
15598
15599         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15600         <bits/wordsize.h>.
15601         (msgqnum_t): Use __syscall_ulong_t.
15602         (msglen_t): Likewise.
15603         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
15604         __syscall_ulong_t.
15605
15606         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15607         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
15608
15609         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15610
15611         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15612         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15613
15614         * sysvipc/sys/msg.h (msgbuf): Replace long int with
15615         __syscall_slong_t.
15616
15617         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15618         include <bits/wordsize.h>.  Check __x86_64__ instead of
15619         __WORDSIZE.
15620
15621         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15622         "unsigned long long int" if __x86_64__ is defined.
15623         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15624
15625         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15626         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
15627         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15628
15629         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15630         <stdint.h>.
15631         (GET_PC): Cast to uintptr_t first.
15632         (GET_FRAME): Likewise.
15633         (GET_STACK): Likewise.
15634
15635         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15636         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15637         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15638         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15639         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15640         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15641         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15642         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15643         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15644         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15645         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15646         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15647         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15648         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15649         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15650         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15651         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15652         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15653         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15654         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15655         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15656         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15657         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15658         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15659         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15660         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15661         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15662         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15663         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15664
15665 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
15666
15667         * Makerules (+depfiles): Also collect depfiles from .oS in
15668         $(extra-objs).
15669         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15670         .oS, $(libnldbl-routines)).
15671
15672         * Makerules (native-compile-mkdep-flags): Define.
15673         * sunrpc/Makefile (extra-objs): Add $(addprefix
15674         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15675         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15676         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
15677         calling $(make-target-directory).
15678
15679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15680
15681         * bits/types.h (__snseconds_t): Removed.
15682         * time/time.h (struct timespec): Replace __snseconds_t with
15683         __syscall_slong_t.
15684         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15685         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15686         Likewise.
15687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15688         (__SNSECONDS_T_TYPE): Likewise.
15689         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15690         (__SNSECONDS_T_TYPE): Likewise.
15691         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15692         (__SNSECONDS_T_TYPE): Likewise.
15693
15694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15695
15696         * sysdeps/mach/hurd/bits/typesizes.h
15697         (__SYSCALL_SLONG_TYPE): New macro.
15698         (__SYSCALL_ULONG_TYPE): Likewise.
15699
15700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15701
15702         * bits/types.h (__syscall_slong_t): New type.
15703         (__syscall_ulong_t): Likewise.
15704
15705         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15706         (__SYSCALL_ULONG_TYPE): Likewise.
15707         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15708         (__SYSCALL_SLONG_TYPE): Likewise.
15709         (__SYSCALL_ULONG_TYPE): Likewise.
15710         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15711         (__SYSCALL_SLONG_TYPE): Likewise.
15712         (__SYSCALL_ULONG_TYPE): Likewise.
15713         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15714         (__SYSCALL_SLONG_TYPE): Likewise.
15715         (__SYSCALL_ULONG_TYPE): Likewise.
15716
15717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15718
15719         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15720         Add sigaltstack-offsets.sym.
15721         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15722         <sigaltstack-offsets.h>.
15723         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
15724         longjmp_msg pointer.
15725         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
15726         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15727         signal stack.
15728         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15729
15730 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
15731
15732         * elf/stackguard-macros.h: Remove file.
15733         * sysdeps/generic/stackguard-macros.h: New file.
15734         * sysdeps/i386/stackguard-macros.h: Likewise.
15735         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15736         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15737         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15738         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15739         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15740         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15741         * sysdeps/x86_64/stackguard-macros.h: Likewise.
15742         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15743         <elf/stackguard-macros.h>.
15744
15745         [BZ #14109]
15746         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15747         __aligned__ in attribute.
15748         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15749         (gregset_t): Likewise.
15750
15751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15752
15753         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15754         * sysdeps/x86_64/64/Implies-after: Here.  New file.
15755         * sysdeps/x86_64/x32/Implies-after: New file.
15756
15757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15758
15759         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15760         and access return value for _dl_profile_fixup.  Use R10_LP to
15761         load frame size.
15762
15763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15764
15765         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15766
15767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15768
15769         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15770         * sysdeps/x86_64/x32/sysdep.h: New file.
15771
15772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15773
15774         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15775         * sysdeps/x86_64/setjmp.S: Likewise.
15776
15777 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15778
15779         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15780         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15781         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15782         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15783         remove unused global constant.
15784
15785 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
15786
15787         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15788         include of <not-cancel.h>.
15789
15790 2012-05-15  Roland McGrath  <roland@hack.frob.com>
15791
15792         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15793
15794 2012-05-15  Jeff Law  <law@redhat.com>
15795             Andreas Jaeger  <aj@suse.de>
15796
15797         [BZ #13594]
15798         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15799         out from...
15800         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15801         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15802         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15803         code changing __hst_map_handle.map.
15804
15805 2012-05-15  Roland McGrath  <roland@hack.frob.com>
15806
15807         * configure.in (sysnames): Look for Implies-before and Implies-after
15808         files.
15809         * configure: Regenerated.
15810
15811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15812
15813         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15814         8-byte data alignment with LP_SIZE alignment.
15815
15816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15817
15818         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15819         into R10_LP.
15820
15821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15822
15823         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15824
15825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15826
15827         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15828         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15829         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15830         Likewise.
15831         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15832
15833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15834
15835         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15836         (stackinfo_sub_sp): Likewise.
15837
15838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15839
15840         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15841         RAX_LP.
15842
15843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15844
15845         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15846         into R*_LP.
15847
15848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15849
15850         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15851         sizes into R*_LP.
15852
15853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15854
15855         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15856
15857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15858
15859         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15860         into R11_LP and load __x86_64_shared_cache_size_half into
15861         R8_LP.
15862
15863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
15864
15865         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15866         R8_LP.
15867
15868 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15869
15870         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15871         logb for POWER7.
15872         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15873         logbf for POWER7.
15874         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15875         logbl for POWER7.
15876         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15877         powerpc32/power7/fpu/s_logb.c via #include.
15878         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15879         powerpc32/power7/fpu/s_logbf.c via #include.
15880         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15881         powerpc32/power7/fpu/s_logbl.c via #include.
15882
15883 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
15884
15885         * README.libm: Remove file.
15886
15887 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15888
15889         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15890         count for x32.  Use R*_LP and omit operand-size suffix.
15891
15892 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15893
15894         * shlib-versions: Move x86_64-.*-linux.* entries to ...
15895         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
15896         * sysdeps/x86_64/x32/shlib-versions: New file.
15897
15898 2012-05-14  Roland McGrath  <roland@hack.frob.com>
15899
15900         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15901         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15902         Use _dl_fatal_printf instead.
15903
15904 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
15905
15906         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15907         set if not set by the user.  Do not allow for being unset.
15908         * sysdeps/unix/sysv/linux/configure: Regenerated.
15909
15910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15911
15912         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15913         the `q' suffix from lea and replace .quad with ASM_ADDR.
15914
15915 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15916
15917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15918         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
15919         instead of $17.
15920         (PTR_DEMANGLE): Likewise.
15921
15922 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15923
15924         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15925         (LP_OP): Likewise.
15926         (ASM_ADDR): Likewise.
15927         (RAX_LP): Likewise.
15928         (RBP_LP): Likewise.
15929         (RBX_LP): Likewise.
15930         (RCX_LP): Likewise.
15931         (RDI_LP): Likewise.
15932         (RSI_LP): Likewise.
15933         (RSP_LP): Likewise.
15934         (R8_LP): Likewise.
15935         (R9_LP): Likewise.
15936         (R10_LP): Likewise.
15937         (R10_LP): Likewise.
15938         (R11_LP): Likewise.
15939         (R12_LP): Likewise.
15940         (R13_LP): Likewise.
15941         (R14_LP): Likewise.
15942         (R15_LP): Likewise.
15943
15944 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
15945
15946         * sysdeps/x86_64/x32/dl-machine.h: New file.
15947
15948 2012-05-14  Andreas Jaeger  <aj@suse.de>
15949
15950         * manual/Makefile (subdir): Remove export of subdir.
15951         (all): Remove target.
15952         (.PHONY): Remove all from list.
15953         (mkinstalldirs): Remove.
15954         (.PHONY): Remove installdirs from list.
15955         ($(inst_infodir)/libc.info): Use make-target-directory.
15956         (installdirs): Remove.
15957         (subdir_%): Remove.
15958         (glibc-targets): Remove.
15959         (lib): Remove.
15960         (stubs): Remove.
15961         ($(objpfx)stubs ../po/manual.pot): Remove.
15962         ($(objpfx)stamp%): Remove.
15963         (make-target-directory): Remove.
15964         (subdir_install): Remove.
15965         (routines): Remove.
15966         (aux): Remove.
15967         (sources): Remove.
15968         (objects): Remove.
15969         (headers): Remove.
15970
15971         [BZ #13750]
15972         * manual/.gitignore: Remove, it's not needed anymore.
15973         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15974         all files in it.
15975         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15976         directory.
15977         (texis): Renamed to $(objpfx)texis.
15978         (texis-path): New, contains path to generated files.
15979         (chapters.%): Use texis-path for complete path, add extra argument
15980         libc-texinfo.sh.
15981         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15982         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15983         (summary,texi, stamp-summary): Use complete path of
15984         files. Generate files in build dir.
15985         (dir-add.texi): Build in build dir.
15986         (libm-err.texi,stamp-libm-err): Likewise.
15987         (version.texi, stamp-version): Likewise.
15988         (.%c.texi): Likewise.
15989         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15990         (mostlyclean): Remove target.
15991         (realclean): Remove target.
15992         (generated): Add new variable with contents from mostlyclean and
15993         realclean, remove entries duplicated in common-mostlyclean, add
15994         stamp-libm-err and stamp-version.
15995         (generated-dirs): Add libc directory.
15996         ($(inst_infodir)/libc.info): Install files from build dir.
15997
15998         * manual/install.texi (Configuring and compiling): Adjust since
15999         the info files are not part of the tar ball anymore.
16000
16001 2012-05-14  Andreas Jaeger  <aj@suse.de>
16002
16003         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16004         variable.
16005
16006 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
16007
16008         [BZ #13717]
16009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16010         to 2.2.0 where earlier.
16011         * sysdeps/unix/sysv/linux/configure: Regenerated.
16012         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16013         Remove conditional code.
16014         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16015         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16016         Remove conditional code.
16017         [!__NR_lchown]: Likewise.
16018         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16019         [__NR_lchown]: Likewise.
16020         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16021         comment referencing __ASSUME_LCHOWN_SYSCALL.
16022         * sysdeps/unix/sysv/linux/i386/sigaction.c
16023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16025         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16026         Remove conditional code.
16027         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16028         (__protocol_available): Remove #if 0 code.
16029         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16030         conditional code.
16031         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16032         * sysdeps/unix/sysv/linux/kernel-features.h
16033         (__ASSUME_GETCWD_SYSCALL): Don't define.
16034         (__ASSUME_REALTIME_SIGNALS): Likewise.
16035         (__ASSUME_PREAD_SYSCALL): Likewise.
16036         (__ASSUME_PWRITE_SYSCALL): Likewise.
16037         (__ASSUME_POLL_SYSCALL): Likewise.
16038         (__ASSUME_LCHOWN_SYSCALL): Likewise.
16039         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16040         non-SPARC.
16041         (__ASSUME_SIOCGIFNAME): Don't define.
16042         (__ASSUME_MSG_NOSIGNAL): Likewise.
16043         (__ASSUME_SENDFILE): Define unconditionally.
16044         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16045         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16046         conditional code.
16047         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16048         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16049         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16050         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16051         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16052         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16053         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16055         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16058         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16059         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16061         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16062         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16064         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16065         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16067         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16068         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16070         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16071         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16073         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16074         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16076         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16077         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16078         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16079         Remove conditional code.
16080         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16081         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16082         Remove conditional code.
16083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16084         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16085         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16086         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16087         Remove conditional code.
16088         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16089         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16090         Remove conditional code.
16091         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16092         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16093         Remove conditional code.
16094         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16095         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16096         Remove conditional code.
16097         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16098         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16099         Remove conditional code.
16100         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16101         * sysdeps/unix/sysv/linux/sh/pwrite64.c
16102         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16103         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16104         * sysdeps/unix/sysv/linux/sigaction.c
16105         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16106         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16107         * sysdeps/unix/sysv/linux/sigpending.c
16108         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16109         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16110         * sysdeps/unix/sysv/linux/sigprocmask.c
16111         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16112         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16113         * sysdeps/unix/sysv/linux/sigsuspend.c
16114         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16115         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16116         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16117         (__libc_missing_rt_sigs): Remove.
16118         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16119         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16120         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16121         Remove conditional code.
16122         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16123         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16124         return 1.
16125         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16126         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16127         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16128         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16129
16130 2012-05-14  Andreas Jaeger  <aj@suse.de>
16131
16132         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16133         it's not used in glibc.
16134         (__coshm1): Likewise.
16135         (__acosh1p): Likewise.
16136         (__sgn): Likewise.
16137
16138         * manual/string.texi (Copying and Concatenation): Add missing
16139         variable in concat example.
16140         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16141
16142 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16143
16144         [BZ #14103]
16145         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16146         __builtin_clzl with __builtin_clzll.
16147
16148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16149
16150         [BZ #14104]
16151         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16152         libc_freeres_ptr.
16153
16154 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16155
16156         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16157         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16158         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16159         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16160
16161 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
16162
16163         * NEWS: Update ia64 info.
16164
16165 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
16166
16167         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16168         used as bcopy.
16169
16170 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
16171
16172         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16173         * sysdeps/unix/syscalls.list (dup3): Likewise.
16174         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16175         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16176
16177 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16178
16179         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16180         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16181
16182 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16183
16184         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16185         thread pointer.
16186         (TLS_IE): Use mov/add instead of movq/addq to load thread
16187         pointer.
16188         (TLS_GD_PREFIX): New.
16189         (TLS_GD): Use it.
16190
16191 2012-05-11  David S. Miller  <davem@davemloft.net>
16192
16193         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16194         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16195         (_FPU_SETCW): Likewise.
16196
16197 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16198
16199         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16200         is 32-byte aligned.
16201
16202 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
16203
16204         [BZ #11837]
16205         * iconvdata/gb18030.c: Update tables.
16206         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
16207         characters specially.
16208         (BODY for TO_LOOP): Add encoding of missing ranges.
16209
16210 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
16211
16212         [BZ #13673]
16213         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16214         * sysdeps/mach/hurd/dup3.c: Likewise.
16215         * sysdeps/mach/hurd/readlinkat.c: Likewise.
16216         * sysdeps/powerpc/memmove.c:: Likewise.
16217
16218 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16219
16220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16221         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16222
16223 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16224
16225         * elf/elf.h (R_X86_64_RELATIVE64): New.
16226         (R_X86_64_NUM): Updated.
16227         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16228         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
16229         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16230         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16231         tst-quad1pie tst-quad2pie
16232         (modules-names): Add tst-quadmod1 tst-quadmod2.
16233         ($(objpfx)tst-quad1): New dependency.
16234         ($(objpfx)tst-quad2): Likewise.
16235         ($(objpfx)tst-quad1pie): Likewise.
16236         ($(objpfx)tst-quad2pie): Likewise.
16237         * sysdeps/x86_64/tst-quad1.c: New file.
16238         * sysdeps/x86_64/tst-quad1pie.c: New file.
16239         * sysdeps/x86_64/tst-quad2.c: Likewise.
16240         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16241         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16242         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16243         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16244         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16245
16246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16247
16248         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16249         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16250         * streams/stropts.h (t_scalar_t): Define type.
16251
16252         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16253         (_PATH_PRESERVE): Set to "/var/lib".
16254         (_PATH_RWHODIR): Set to "/var/spool/rwho".
16255
16256         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16257         instead of int.
16258
16259         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16260         if __dir_mkfile succeeded.
16261
16262         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16263         checking for _hurd_dtablesize.  Unlock it right after having
16264         finished _hurd_dtable allocation.
16265
16266 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16267
16268         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16269         * sysdeps/mach/hurd/configure: Regenerated.
16270         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16271         special-casing to...
16272         * sysdeps/gnu/configure.in: ... this new file.
16273         * sysdeps/unix/sysv/linux/configure: Regenerated.
16274         * sysdeps/gnu/configure: New generated file.
16275
16276         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16277         for Linux: use nsec instead of usec, as well as:
16278         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16279         members of type struct timespec.
16280         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16281         New macros.
16282         (struct stat64): Likewise.
16283         (_STATBUF_ST_NSEC): New macro.
16284         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16285
16286         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16287         __strtoul_internal rather than strtoul.
16288
16289 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16290
16291         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16292         and reject them.
16293
16294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16295
16296         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16297         which preserves existing values.
16298         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16299
16300 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16301
16302         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16303         TIMEOUT values.  Return EINVAL for NFDS values either negative or
16304         greater than FD_SETSIZE.
16305
16306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16307
16308         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16309         allocated, call __vm_protect to finish enabling the existing space, and
16310         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16311         allocate the remainder.
16312
16313 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16314
16315         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16316         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
16317
16318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16319
16320         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16321         sysdeps/mach/hurd/readlink.c.
16322
16323         * posix/tst-sysconf.c (posix_options): Only use
16324         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16325         _POSIX_SYNCHRONIZED_IO when they are defined
16326         * sysdeps/mach/hurd/bits/posix_opt.h:
16327         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16328         (_XOPEN_REALTIME): Undefine macro.
16329         (_XOPEN_REALTIME_THREADS): Undefine macro.
16330         (_XOPEN_SHM): Undefine macro.
16331         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16332         macro to -1.
16333         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16334         macro to -1.
16335         (_POSIX_ASYNC_IO): Undefine macro.
16336         (_POSIX_PRIORITIZED_IO): Undefine macro.
16337         (_POSIX_SPIN_LOCKS): Define macro to -1.
16338
16339         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16340         SA_NODEFER, SA_RESETHAND.
16341         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16342         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16343         F_DUPFD_CLOEXEC.
16344
16345 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16346
16347         * elf/Makefile (pldd-modules): Define unconditionally.
16348
16349 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16350
16351         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16352
16353 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16354
16355         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16356         Return ENOENT when name is empty.
16357         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16358
16359 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16360
16361         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16362
16363         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16364
16365 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16366
16367         Fix mlock in all cases except non-readable pages.
16368         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16369         instead of VM_PROT_ALL as parameter to __vm_wire function.
16370
16371         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16372         (__mkdir): When path is `/', just fail with EEXIST.
16373         * sysdeps/mach/hurd/mkdirat.c: Likewise.
16374
16375 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16376
16377         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16378         <sys/uio.h> (for writev).
16379         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16380         and <sys/param.h> (for MIN).
16381
16382 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16383
16384         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16385         REQUESTED_TIME.  Properly set the remaining time and return EINTR
16386         if interrupted.
16387
16388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16389
16390         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16391         Depend on against $(link-rpcuserlibs).
16392
16393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16394
16395         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16396         (__libc_stack_end): Do not use attribute_relro.
16397         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16398         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16399         to libthread-provided value.
16400         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16401         attribute_relro.
16402
16403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16404
16405         [BZ #3748]
16406         * bits/libc-lock.h (__libc_once_get): New macro.
16407         * sysdeps/mach/bits/libc-lock.h: Likewise.
16408         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16409         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16410         instead of using implementation details.
16411
16412         * libio/fileops.c: Unconditionally include <kernel-features.h>.
16413         * libio/freopen.c: Likewise.
16414         * libio/freopen64.c: Likewise.
16415         * misc/syslog.c: Likewise.
16416         * nscd/connections.c: Likewise.
16417         * nscd/netgroupcache.c: Likewise.
16418         * sysdeps/posix/getcwd.c: Likewise.
16419
16420 2012-05-10  Roland McGrath  <roland@hack.frob.com>
16421
16422         * math/w_ilogbf.c: Add #include <limits.h>.
16423
16424 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16425
16426         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16427         path instead of returning without unlocking.
16428
16429         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16430         immediate-write ioctls.
16431         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16432
16433 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16434
16435         * sysdeps/mach/hurd/i386/init-first.c (init): Use
16436         __builtin_frame_address instead of making assumptions about the
16437         location of the return address relative to DATA.  Force early load of
16438         the return address.
16439         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16440         __builtin_frame_address.
16441
16442         dup3 for GNU Hurd.
16443         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16444         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
16445         implement dup3 and do some further code clean-ups.
16446         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16447         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16448
16449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16450
16451         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16452
16453         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16454         HURD_CRITICAL_END around holding _hurd_dtable_lock.
16455         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16456         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16457         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16458         d->port.lock.
16459
16460         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16461         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
16462         when handler == SIG_ERR, not when handler != SIG_ERR.
16463
16464 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16465
16466         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16467         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16468         definitions.
16469
16470         accept4 for GNU Hurd.
16471         * include/sys/socket.h (__libc_accept4): New prototype.
16472         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
16473         to implement __libc_accept4.
16474         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16475         __libc_accept4.
16476         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16477
16478         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16479         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16480         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16481         signal-defines.sym.
16482
16483 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16484
16485         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16486
16487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
16488
16489         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16490         assertion on O_CLOEXEC flag.
16491         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16492         * hurd/intern-fd.c: Likewise.
16493         * hurd/port2fd.c: Likewise.
16494
16495 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16496
16497         [BZ #3906]
16498         * bits/in.h (IPV6_PKTINFO): Define new macro.
16499         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16500
16501 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16502
16503         [BZ #13954]
16504         [BZ #13955]
16505         [BZ #13956]
16506         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16507         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16508         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16509         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16510         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16511         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16512         * math/libm-test.inc (logb_test) : Additional logb tests.
16513
16514 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
16515             Andreas Jaeger  <aj@suse.de>
16516
16517         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16518         * configure: Regenerated.
16519         * config.h.in (LINK_OBSOLETE_RPC): New macro.
16520         * config.make.in (link-obsolete-rpc): New substituted variable.
16521         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16522         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16523         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16524         (shared-only-routines): Don't set it under [link-obsolete-rpc],
16525         so that libc.a contains the symbols.
16526         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16527         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16528         * sunrpc/auth_none.c: Likewise.
16529         * sunrpc/auth_unix.c: Likewise.
16530         * sunrpc/authdes_prot.c: Likewise.
16531         * sunrpc/authuxprot.c: Likewise.
16532         * sunrpc/clnt_gen.c: Likewise.
16533         * sunrpc/clnt_perr.c: Likewise.
16534         * sunrpc/clnt_raw.c: Likewise.
16535         * sunrpc/clnt_simp.c: Likewise.
16536         * sunrpc/clnt_tcp.c: Likewise.
16537         * sunrpc/clnt_udp.c: Likewise.
16538         * sunrpc/clnt_unix.c: Likewise.
16539         * sunrpc/des_crypt.c: Likewise.
16540         * sunrpc/des_soft.c: Likewise.
16541         * sunrpc/get_myaddr.c: Likewise.
16542         * sunrpc/key_call.c: Likewise.
16543         * sunrpc/key_prot.c: Likewise.
16544         * sunrpc/netname.c: Likewise.
16545         * sunrpc/pm_getmaps.c: Likewise.
16546         * sunrpc/pm_getport.c: Likewise.
16547         * sunrpc/pmap_clnt.c: Likewise.
16548         * sunrpc/pmap_prot.c: Likewise.
16549         * sunrpc/pmap_prot2.c: Likewise.
16550         * sunrpc/pmap_rmt.c: Likewise.
16551         * sunrpc/publickey.c: Likewise.
16552         * sunrpc/rpc_cmsg.c: Likewise.
16553         * sunrpc/rpc_common.c: Likewise.
16554         * sunrpc/rpc_dtable.c: Likewise.
16555         * sunrpc/rpc_prot.c: Likewise.
16556         * sunrpc/rpc_thread.c: Likewise.
16557         * sunrpc/rtime.c: Likewise.
16558         * sunrpc/svc.c: Likewise.
16559         * sunrpc/svc_auth.c: Likewise.
16560         * sunrpc/svc_raw.c: Likewise.
16561         * sunrpc/svc_run.c: Likewise.
16562         * sunrpc/svc_tcp.c: Likewise.
16563         * sunrpc/svc_udp.c: Likewise.
16564         * sunrpc/svc_unix.c: Likewise.
16565         * sunrpc/svcauth_des.c: Likewise.
16566         * sunrpc/xcrypt.c: Likewise.
16567         * sunrpc/xdr.c: Likewise.
16568         * sunrpc/xdr_array.c: Likewise.
16569         * sunrpc/xdr_float.c: Likewise.
16570         * sunrpc/xdr_intXX_t.c: Likewise.
16571         * sunrpc/xdr_mem.c: Likewise.
16572         * sunrpc/xdr_rec.c: Likewise.
16573         * sunrpc/xdr_ref.c: Likewise.
16574         * sunrpc/xdr_sizeof.c: Likewise.
16575         * sunrpc/xdr_stdio.c: Likewise.
16576
16577 2012-05-10  Roland McGrath  <roland@hack.frob.com>
16578
16579         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16580         change.  Update copyright years.
16581
16582 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
16583
16584         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16585
16586 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
16587             Joseph Myers  <joseph@codesourcery.com>
16588             Paul Pluzhnikov  <ppluzhnikov@google.com>
16589
16590         [BZ #14012]
16591         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16592         requiring rpcgen.
16593         [cross-compiling] (extra-libs): Likewise.
16594         [cross-compiling] (extra-libs-others): Likewise.
16595         [cross-compiling] (librpcsvc-routines): Likewise.
16596         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16597         [cross-compiling] (omit-deps): Likewise.
16598         (sunrpc-CPPFLAGS): New variable.
16599         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16600         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16601         (cross-rpcgen-objs): New variable.
16602         (extra-objs): Append $(cross-rpcgen-objs).
16603         ($(cross-rpcgen-objs)): New rule.
16604         ($(objpfx)cross-rpcgen): Likewise.
16605         (rpcgen-cmd): Define to use $(built-program-file).  Expand
16606         comment.
16607         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16608         ($(objpfx)x%.stmp): Likewise.
16609         * sunrpc/proto.h [IS_IN_build] (_): Define.
16610         [IS_IN_build] (_libc_intl_domainname): Likewise.
16611
16612 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16613
16614         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16615         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16616         and R_X86_64_TPOFF64.
16617
16618 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
16619
16620         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16621         sysdeps/unix/sysv/syscalls.list.
16622         (stime): Likewise.
16623         (utime): Likewise.
16624         * sysdeps/unix/sysv/syscalls.list: Remove file.
16625
16626 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
16627
16628         [BZ #3440]
16629         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16630         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16631         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16632         (__LC_IDENTIFICATION): Make these macros useful in #if
16633         expressions, as required by C99.
16634
16635 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
16636
16637         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16638         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
16639         after this.
16640
16641 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
16642
16643         * stdlib/longlong.h: Updated from GCC.
16644
16645 2012-05-09  Andreas Jaeger  <aj@suse.de>
16646
16647         * nscd/nscd.c (run_modes): Make named enum, reorder so that
16648         default is first entry.
16649         (run_mode): Set type.
16650         (main): Remove informal message about syslog.
16651         (options): Fix typo.
16652
16653         [BZ #14053]
16654         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
16655         to asm.
16656         (lrint): Likewise.
16657         (llrintf): Likewise.
16658         (llrint): Likewise.
16659         (rint): Likewise.
16660         (rintf): Likewise.
16661         (nearbyint): Likewise.
16662         (nearbyintf): Likewise.
16663
16664 2012-05-09  Andreas Jaeger  <aj@suse.de>
16665             Pedro Alves  <palves@redhat.com>
16666
16667         * nscd/nscd.c (run_mode): Use enum.
16668         (main): Cleanup coding style issue.
16669
16670 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
16671             Andreas Jaeger  <aj@suse.de>
16672
16673         * nscd/nscd.c (go_background): Replaced with...
16674         (run_mode): ... this.
16675         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
16676         (options): Add -F --foreground.
16677         (main): Implement it.
16678         (parse_opt): Parse it.
16679
16680 2012-05-09  Andreas Jaeger  <aj@suse.de>
16681
16682         [BZ #14083]
16683         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16684         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16685         -Wconversion warning.
16686         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16687         Likewise.
16688
16689 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
16690
16691         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
16692         == 0.
16693         (LC_ALL): Use macro-int-constant.
16694         (LC_COLLATE): Likewise.
16695         (LC_CTYPE): Likewise.
16696         (LC_MESSAGES): Likewise.
16697         (LC_MONETARY): Likewise.
16698         (LC_NUMERIC): Likewise.
16699         (LC_TIME): Likewise.
16700         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16701         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16702         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16703         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16704         Specify type.
16705         [C99-based standards] (float_t): Expect type.
16706         [C99-based standards] (double_t): Expect type.
16707         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
16708         type.
16709         [C99-based standards] (HUGE_VALL): Likewise.
16710         [C99-based standards] (INFINITY): Likewise.
16711         [C99-based standards] (NAN): Likewise.
16712         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16713         [C99-based standards] (FP_NAN): Likewise.
16714         [C99-based standards] (FP_NORMAL): Likewise.
16715         [C99-based standards] (FP_SUBNORMAL): Likewise.
16716         [C99-based standards] (FP_ZERO): Likewise.
16717         [C99-based standards] (FP_FAST_FMA): Use
16718         optional-macro-int-constant.  Specify type.  Require == 1.
16719         [C99-based standards] (FP_FAST_FMAF): Likewise.
16720         [C99-based standards] (FP_FAST_FMAL): Likewise.
16721         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16722         [C99-based standards] (FP_ILOGBNAN): Likewise.
16723         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16724         Specify type.
16725         [C99-based standards] (MATH_ERREXCEPT): Likewise.
16726         [C99-based standards] (math_errhandling): Specify type.
16727         [ISO99 || ISO11] (signgam): Do not allow.
16728         [non-C99-based standards] (copysignf): Do not allow.
16729         [non-C99-based standards] (exp2f): Likewise.
16730         [non-C99-based standards] (log2f): Likewise.
16731         [non-C99-based standards] (modff): Allow.
16732         [non-C99-based standards] (erff): Do not allow.
16733         [non-C99-based standards] (erfcf): Likewise.
16734         [non-C99-based standards] (gammaf): Likewise.
16735         [non-C99-based standards] (hypotf): Likewise.
16736         [non-C99-based standards] (j0f): Likewise.
16737         [non-C99-based standards] (j1f): Likewise.
16738         [non-C99-based standards] (jnf): Likewise.
16739         [non-C99-based standards] (lgammaf): Likewise.
16740         [non-C99-based standards] (tgammaf): Likewise.
16741         [non-C99-based standards] (y0f): Likewise.
16742         [non-C99-based standards] (y1f): Likewise.
16743         [non-C99-based standards] (ynf): Likewise.
16744         [non-C99-based standards] (isnanf): Likewise.
16745         [non-C99-based standards] (acoshf): Likewise.
16746         [non-C99-based standards] (asinhf): Likewise.
16747         [non-C99-based standards] (atanhf): Likewise.
16748         [non-C99-based standards] (cbrtf): Likewise.
16749         [non-C99-based standards] (expm1f): Likewise.
16750         [non-C99-based standards] (ilogbf): Likewise.
16751         [non-C99-based standards] (log1pf): Likewise.
16752         [non-C99-based standards] (logbf): Likewise.
16753         [non-C99-based standards] (nextafterf): Likewise.
16754         [non-C99-based standards] (remainderf): Likewise.
16755         [non-C99-based standards] (rintf): Likewise.
16756         [non-C99-based standards] (scalbf): Likewise.
16757         [non-C99-based standards] (copysignl): Likewise.
16758         [non-C99-based standards] (exp2l): Likewise.
16759         [non-C99-based standards] (log2l): Likewise.
16760         [non-C99-based standards] (modfl): Allow.
16761         [non-C99-based standards] (erfl): Do not allow.
16762         [non-C99-based standards] (erfcl): Likewise.
16763         [non-C99-based standards] (gammal): Likewise.
16764         [non-C99-based standards] (hypotl): Likewise.
16765         [non-C99-based standards] (j0l): Likewise.
16766         [non-C99-based standards] (j1l): Likewise.
16767         [non-C99-based standards] (jnl): Likewise.
16768         [non-C99-based standards] (lgammal): Likewise.
16769         [non-C99-based standards] (tgammal): Likewise.
16770         [non-C99-based standards] (y0l): Likewise.
16771         [non-C99-based standards] (y1l): Likewise.
16772         [non-C99-based standards] (ynl): Likewise.
16773         [non-C99-based standards] (isnanl): Likewise.
16774         [non-C99-based standards] (acoshl): Likewise.
16775         [non-C99-based standards] (asinhl): Likewise.
16776         [non-C99-based standards] (atanhl): Likewise.
16777         [non-C99-based standards] (cbrtl): Likewise.
16778         [non-C99-based standards] (expm1l): Likewise.
16779         [non-C99-based standards] (ilogbl): Likewise.
16780         [non-C99-based standards] (log1pl): Likewise.
16781         [non-C99-based standards] (logbl): Likewise.
16782         [non-C99-based standards] (nextafterl): Likewise.
16783         [non-C99-based standards] (remainderl): Likewise.
16784         [non-C99-based standards] (rintl): Likewise.
16785         [non-C99-based standards] (scalbl): Likewise.
16786         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16787         [non-C99-based standards] (FP_*): Do not allow.
16788         [C99-based standards] (FP_*): Change to
16789         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16790         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16791         allow.
16792         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16793         (SIG_ERR): Likewise.
16794         [X/Open-based standards] (SIG_HOLD): Likewise.
16795         (SIG_IGN): Likewise.
16796         (SIGABRT): Use macro-int-constant.  Specify type.  Require
16797         positive value.
16798         (SIGFPE): Likewise.
16799         (SIGILL): Likewise.
16800         (SIGINT): Likewise.
16801         (SIGSEGV): Likewise.
16802         (SIGTER): Likewise.
16803         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16804         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16805         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16806         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16807         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16808         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16809         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16810         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16811         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16812         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16813         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16814         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16815         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16816         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16817         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16818         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16819         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16820         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16821         [X/Open-based standards] (SIGTRAP): Likewise.
16822         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16823         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16824         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16825         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16826         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16827         allow.
16828
16829 2012-05-08  Ian Wienand  <ianw@vmware.com>
16830
16831         [BZ #14080]
16832         * time/tzset.c (__tzset_parse_tz): Update default rules for
16833         daylight time changes in the Energy Policy Act of 2005.
16834
16835 2012-05-09  Andreas Jaeger  <aj@suse.de>
16836
16837         [BZ #13983]
16838         * elf/ldconfig.c (parse_conf): Change string to make clear that
16839         ldconfig only issued a warning if ld.so.conf does not exist.
16840
16841 2012-05-08  David S. Miller  <davem@davemloft.net>
16842
16843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16844         movxtod instead of popping the value on the stack.
16845
16846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16847
16848 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
16849
16850         * config.h.in: Add HAVE_ARM_PCS_VFP.
16851
16852 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
16853
16854         [BZ #13979]
16855         * include/features.h: Warn if user requests __FORTIFY_SOURCE
16856         checking but the checks are disabled for any reason.
16857
16858 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16859
16860         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16861         and ELF64_R_TYPE with ELFW(R_TYPE).
16862
16863 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
16864
16865         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16866         (ulimit): Likewise.
16867
16868         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16869         (settimeofday): Likewise.
16870
16871 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
16872
16873         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
16874         a struct th_u2 inside the union, and move tu_block/tu_code into
16875         a new th_u3 union of tu_block/tu_code inside of that.  Move
16876         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
16877         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
16878         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16879         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16880         (th_stuff): Change to th_u1.tu_stuff.
16881         (th_data): Define.
16882         (th_msg): Change to th_u1.th_u2.tu_data.
16883
16884 2012-05-07  David S. Miller  <davem@davemloft.net>
16885
16886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16887
16888         [BZ #14074]
16889         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16890         (SETUP_PIC_REG): Use it.
16891         (SETUP_PIC_REG_LEAF): Use it.
16892
16893 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
16894
16895         [BZ #13885]
16896         [BZ #13923]
16897         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16898         USE_AS_EXPM1L.
16899         (EXPL_FINITE): Likewise.
16900         (FLDLOG): Likewise.
16901         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16902         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16903         e_expl.S.
16904         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16905         USE_AS_EXPM1L.
16906         (EXPL_FINITE): Likewise.
16907         (FLDLOG): Likewise.
16908         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16909         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16910         e_expl.S.
16911         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
16912         test of -max_value argument for long double.
16913         * sysdeps/i386/fpu/libm-test-ulps: Update.
16914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16915
16916 2012-05-06  David S. Miller  <davem@davemloft.net>
16917
16918         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16919         quad soft-float symbols whose references which are compiler
16920         generated.
16921         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16922
16923 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
16924
16925         [BZ #13884]
16926         [BZ #13914]
16927         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16928         USE_AS_EXP10L.
16929         (EXPL_FINITE): Likewise.
16930         (FLDLOG): Likewise.
16931         (c0): Likewise.
16932         (c1): Likewise.
16933         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
16934         Adjust comments for base varying.
16935         (__expl_finite): Change alias to EXPL_FINITE.
16936         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16937         e_expl.S.
16938         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16939         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16940         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16941         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16942         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16943         USE_AS_EXP10L.
16944         (EXPL_FINITE): Likewise.
16945         (FLDLOG): Likewise.
16946         (c0): Likewise.
16947         (c1): Likewise.
16948         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
16949         Adjust comments for base varying.
16950         (__expl_finite): Change alias to EXPL_FINITE.
16951         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
16952         tests for bugs.
16953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16954
16955         [BZ #14064]
16956         * math/libm-test.inc (check_float_internal): Correct ulp
16957         calculation for subnormal expected results.
16958
16959 2012-05-06  Andreas Jaeger  <aj@suse.de>
16960
16961         * Makeconfig (+math-flags): New, set to -frounding-math.
16962         (+cflags): Add +math-flags so that all of glibc gets compiled with
16963         it.
16964
16965         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16966
16967 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
16968
16969         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16970         Disable one test.
16971
16972         [BZ #13787]
16973         [BZ #13922]
16974         [BZ #14036]
16975         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16976         (__ieee754_expl): Allow for and saturate large arguments.
16977         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16978         (u_threshold): Likewise.
16979         (__exp): Call __ieee754_exp before checking for overflow and
16980         underflow.
16981         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16982         (u_threshold): Likewise.
16983         (__expf): Call __ieee754_expf before checking for overflow and
16984         underflow.
16985         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16986         (u_threshold): Likewise.
16987         (__expl): Call __ieee754_expl before checking for overflow and
16988         underflow.
16989         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16990         (__ieee754_expl): Allow for and saturate large arguments.
16991         * math/libm-test.inc (exp_test): Add another test.  Do not allow
16992         missing overflow exception on overflow.
16993         (expm1_test): Do not allow missing overflow exception on overflow.
16994
16995         * sysdeps/i386/fpu/e_expl.c: Move to ...
16996         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
16997         rather than using inline asm.
16998         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16999         * sysdeps/x86_64/fpu/e_expl.S: Copy from
17000         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17001
17002         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17003         (nice): Likewise.
17004         (poll): Likewise.
17005         (signal): Likewise.
17006         (time): Likewise.
17007         (times): Likewise.
17008
17009 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17010
17011         * sysdeps/unix/syscalls.list (adjtime): Add entry from
17012         sysdeps/unix/common/syscalls.list.
17013         (fchmod): Likewise.
17014         (fchown): Likewise.
17015         (ftruncate): Likewise.
17016         (getrusage): Likewise.
17017         (gettimeofday): Likewise.
17018         (setpgid): Likewise.
17019         (setregid): Likewise.
17020         (setreuid): Likewise.
17021         (sigaction): Likewise.
17022         (truncate): Likewise.
17023         (vhangup): Likewise.
17024         * sysdeps/unix/common/syscalls.list: Remove file.
17025         * sysdeps/unix/bsd/Implies: Don't include unix/common.
17026         * sysdeps/unix/sysv/linux/Implies: Likewise.
17027
17028 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
17029
17030         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17032         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17033         Moved to ...
17034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17035         Here.
17036         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17037         to ...
17038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17039         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17040         to ...
17041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17042         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17043         to ...
17044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17045         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17046         to ...
17047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17048         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17049         to ...
17050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17051         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17052         to ...
17053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17054         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17055         to ...
17056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17057         Here.
17058         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17059         to ...
17060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17061         Here.
17062         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17063         to ...
17064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17065         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17066         Moved to ...
17067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17068         Here.
17069         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17070         to ...
17071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17072
17073 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17074
17075         * sysdeps/unix/common/bits/dirent.h: Remove file.
17076         * sysdeps/unix/common/bits/fcntl.h: Likewise.
17077
17078         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17079         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17080         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17081         * sysdeps/unix/bsd/isatty.c: Likewise.
17082         * sysdeps/unix/bsd/tcdrain.c: Likewise.
17083         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17084         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17085
17086 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17087
17088         [BZ #13563]
17089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17090         long double comparison inaccuracies.
17091         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17093
17094 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
17095
17096         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17097         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17098
17099 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17100
17101         [BZ #14049]
17102         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17103         nonzero digits before rounding a hex value.
17104         * stdlib/tst-strtod.c (tests): Add another test.
17105
17106 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17107
17108         * sysdeps/s390/fpu/libm-test-ulps: Update.
17109
17110 2012-05-03  Andreas Jaeger  <aj@suse.de>
17111
17112         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17113         does not get optimized out.
17114         (malloc_opt_barrier): New.
17115
17116 2012-05-03  Andreas Jaeger  <aj@suse.de>
17117             Roland McGrath  <roland@hack.frob.com>
17118
17119         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17120         intermediate file deletion.
17121         (generated): Add .symlist files.
17122
17123 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
17124
17125         [BZ #13775]
17126         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17127         Redirect under this condition.
17128         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17129         [__USE_GNU] (__dprintf_chk): Not under this condition.
17130         [__USE_GNU] (__vdprintf_chk): Likewise.
17131         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17132         under this condition.
17133         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17134         [__USE_XOPEN2K8] (dprintf): Define under this condition.
17135         [__USE_XOPEN2K8] (vdprintf): Likewise.
17136         [__USE_GNU] (__dprintf_chk): Not under this condition.
17137         [__USE_GNU] (__vdprintf_chk): Likewise.
17138         [__USE_GNU] (dprintf): Likewise.
17139         [__USE_GNU] (vdprintf): Likewise.
17140
17141 2012-05-03  Roland McGrath  <roland@hack.frob.com>
17142
17143         * elf/Makefile (common-generated): Set this instead of generated for
17144         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
17145         $(all-built-dso)-derived lists.
17146
17147 2012-05-03  Andreas Jaeger  <aj@suse.de>
17148
17149         * sysdeps/i386/fpu/libm-test-ulps: Update.
17150
17151         * FAQ: Removed.
17152         * FAQ.in: Likewise.
17153         * scripts/gen-FAQ.pl: Likewise.
17154         * manual/install.texi (Installation): Point to online location of
17155         FAQ.
17156         * Makefile (files-for-dist): Remove FAQ.
17157         (FAQ): Remove.
17158
17159 2012-05-02  Allan McRae  <allan@archlinux.org>
17160
17161         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17162         (LDFLAGS-reldepmod5.so): Likewise.
17163         (LDFLAGS-reldep6mod1.so): Likewise.
17164         (LDFLAGS-reldep6mod4.so): Likewise.
17165         (LDFLAGS-reldep8mod3.so): Likewise.
17166         (LDFLAGS-unload4mod1.so): Likewise.
17167         (LDFLAGS-unload4mod2.so): Likewise.
17168         (LDFLAGS-tst-initorder): Likewise.
17169         (LDFLAGS-tst-initordera2.so): Likewise.
17170         (LDFLAGS-tst-initordera3.so): Likewise.
17171         (LDFLAGS-tst-initordera4.so): Likewise.
17172         (LDFLAGS-tst-initorderb2.so): Likewise.
17173         (LDFLAGS-noload): Likewise.
17174         (LDFLAGS-next): Likewise.
17175         (LDFLAGS-order2mod1.so): Likewise.
17176         (LDFLAGS-order2mod2.so): Likewise.
17177         (LDFLAGS-tst-initorder2): Likewise.
17178         (LDFLAGS-tst-initorder2a.so): Likewise.
17179         (LDFLAGS-tst-initorder2b.so): Likewise.
17180         (LDFLAGS-tst-initorder2c.so): Likewise.
17181         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17182
17183 2012-05-02  David S. Miller  <davem@davemloft.net>
17184
17185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17186
17187 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17188
17189         [BZ #14055]
17190         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17191
17192 2012-05-02  Andreas Jaeger  <aj@suse.de>
17193
17194         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17195         since we manipulate rounding mode.
17196         (CPPFLAGS-test-idouble.c): Likewise.
17197         (CPPFLAGS-test-ifloat.c): Likewise.
17198         (CFLAGS-test-ldouble.c): Likewise.
17199         (CFLAGS-test-double.c): Likewise.
17200         (CFLAGS-test-float.c): Likewise.
17201         (CFLAGS-test-misc.c): Likewise.
17202         (CFLAGS-test-test-fenv.c): Likewise.
17203
17204 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17205
17206         [BZ #2550]
17207         [BZ #2570]
17208         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17209         comparisons to determine direction to adjust input.
17210
17211 2012-05-01  Roland McGrath  <roland@hack.frob.com>
17212
17213         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17214         output to the target.
17215
17216         * scripts/localplt.awk: New file.
17217         * elf/Makefile ($(objpfx)check-localplt): Target removed.
17218         (check-localplt-CFLAGS): Variable removed.
17219         ($(all-built-dso:=.jmprel)): New static pattern rule.
17220         (generated): Add those targets.
17221         (localplt-built-dso): New variable.
17222         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17223
17224         * elf/check-localplt.c: File removed.
17225
17226         * scripts/check-execstack.awk: New file.
17227         * elf/Makefile ($(objpfx)check-execstack): Target removed.
17228         (check-execstack-CFLAGS): Variable removed.
17229         ($(objpfx)check-execstack.h): Target removed.
17230         ($(objpfx)execstack-default): New target.
17231         (generated): Add that instead of check-execstack.h.
17232         ($(all-built-dso:=.phdr)): New static pattern rule.
17233         (generated): Add those targets.
17234         * elf/check-execstack.c: File removed.
17235
17236         * scripts/check-textrel.awk: New file.
17237         * elf/Makefile ($(objpfx)check-textrel): Target removed.
17238         (check-textrel-CFLAGS): Variable removed.
17239         (all-built-dso): Use := to define.o
17240         ($(all-built-dso:=.dyn)): New static pattern rule.
17241         (generated): Add those targets.
17242         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17243         * config.make.in (READELF): New substituted variable.
17244         * elf/check-textrel.c: File removed.
17245
17246 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
17247
17248         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17249         allow.
17250         * conform/data/ctype.h-data [C99-based standards] (isblank):
17251         Expect function.
17252         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17253         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17255         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17256         Specify type.  Require positive value.
17257         (EILSEQ): Likewise.
17258         (ERANGE): Likewise.
17259         [ISO || POSIX] (EILSEQ): Do not expect.
17260         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17261         Specify type.  Require positive value.
17262         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17263         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17264         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17265         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17266         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17267         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17268         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17269         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17270         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17271         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17272         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17273         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17274         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17275         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17276         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17277         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17278         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17279         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17280         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17281         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17282         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17283         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17284         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17285         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17286         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17287         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17288         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17289         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17290         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17291         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17292         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17293         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17294         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17295         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17296         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17297         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17298         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17299         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17300         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17301         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17302         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17303         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17304         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17305         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17306         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17307         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17308         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17309         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17310         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17311         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17312         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17313         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17314         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17315         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17316         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17317         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17318         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17319         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17320         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17321         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17322         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17323         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17324         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17325         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17326         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17327         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17328         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17329         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17330         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17331         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17332         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17333         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17334         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17335         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17336         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17337         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17338         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17339         Require >= 2.
17340         (FLT_ROUNDS): Expect as macro, not constant.
17341         (FLT_MANT_DIG): Use macro-int-constant.
17342         (DBL_MANT_DIG): Likewise.
17343         (LDBL_MANT_DIG): Likewise.
17344         (FLT_DIG): Likewise.
17345         (DBL_DIG): Likewise.
17346         (LDBL_DIG): Likewise.
17347         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
17348         (DBL_MIN_EXP): Likewise.
17349         (LDBL_MIN_EXP): Likewise.
17350         (FLT_MAX_EXP): Use macro-int-constant.
17351         (DBL_MAX_EXP): Likewise.
17352         (LDBL_MAX_EXP): Likewise.
17353         (FLT_MAX_10_EXP): Likewise.
17354         (DBL_MAX_10_EXP): Likewise.
17355         (LDBL_MAX_10_EXP): Likewise.
17356         (FLT_MAX): Use macro-constant.
17357         (DBL_MAX): Likewise.
17358         (LDBL_MAX): Likewise.
17359         (FLT_EPSILON): Use macro-constant.  Give upper bound.
17360         (DBL_EPSILON): Likewise.
17361         (LDBL_EPSILON): Likewise.
17362         (FLT_MIN): Likewise.
17363         (DBL_MIN): Likewise.
17364         (LDBL_MIN): Likewise.
17365         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17366         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17367         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17368         [ISO11] (FLT_HAS_SUBNORM): Likewise.
17369         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17370         [ISO11] (DBL_DECIMAL_DIG): Likewise.
17371         [ISO11] (FLT_DECIMAL_DIG): Likewise.
17372         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17373         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17374         [ISO11] (FLT_TRUE_MIN): Likewise.
17375         [ISO11] (LDBL_TRUE_MIN): Likewise.
17376         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17377         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17378         (SCHAR_MIN): Use macro-int-constant.  Specify type.
17379         (SCHAR_MAX): Likewise.
17380         (UCHAR_MAX): Likewise.
17381         (CHAR_MIN): Likewise.
17382         (CHAR_MAX): Likewise.
17383         (MB_LEN_MAX): Use macro-int-constant.
17384         (SHRT_MIN): Use macro-int-constant.  Specify type.
17385         (SHRT_MAX): Likewise.
17386         (USHRT_MAX): Likewise.
17387         (INT_MAX): Likewise.
17388         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
17389         bound negative.
17390         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17391         bound with "U".
17392         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17393         bound with "L".
17394         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
17395         bound negative.  Suffix upper bound with "L".
17396         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
17397         bound with "UL".
17398         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17399         Specify type.
17400         [C99-based standards] (LLONG_MAX): Likewise.
17401         [C99-based standards] (ULLONG_MAX): Likewise.
17402         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
17403         == 0.
17404         [ISO11] (max_align_t): Require type.
17405         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17406
17407         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17408         from $CFLAGS, without defining away __attribute__ calls.
17409         (checknamespace): Use $CFLAGS_namespace.
17410
17411         * conform/conformtest.pl (@keywords): Only include C99 keywords
17412         for standards based on C99 or C11.
17413
17414         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17415         Disable tests.
17416         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17417         UNIX98]: Likewise.
17418
17419         * conform/conformtest.pl: Handle "macro-int-constant" and test for
17420         usability of symbols in #if.
17421
17422         * conform/conformtest.pl: If macro or constant types start
17423         "promoted:", expect the symbol to be of the following type
17424         promoted by the integer promotions.
17425
17426         * conform/conformtest.pl: Parse all "constant" and "macro" lines
17427         in one place.  Also handle "macro-constant".
17428
17429         * conform/conformtest.pl: Only accept expected macro values with
17430         "==".  Parse all "macro" lines in one place.
17431         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17432
17433         * conform/conformtest.pl: Handle braced types on "constant" lines
17434         instead of handling "typed-constant".
17435         * conform/data/signal.h-data: Use "constant" instead of
17436         "typed-constant".
17437
17438         * conform/conformtest.pl: Handle "optional-" at start of lines in
17439         one place rather than duplicating several cases.  Handle each
17440         format of "macro" line with initial "optional-".
17441
17442         * conform/conformtest.pl: Only accept expected constant or
17443         optional-constant values with "==".  Parse all "constant" lines in
17444         one place.  Parse all "optional-constant" lines in one place.
17445         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17446         * conform/data/fmtmsg.h-data: Likewise.
17447         * conform/data/netinet/in.h-data: Likewise.
17448         * conform/data/tar.h-data: Likewise.
17449         * conform/data/limits.h-data: Use "==" form on "constant" and
17450         "optional-constant" lines.
17451
17452         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17453         Use -std=c99 for XOPEN2K.
17454         (@knownproblems): Remove.
17455         (newtoken): Don't check %isknown.
17456
17457         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17458         Do not expect macro.
17459         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17460         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17461         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17462         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17463         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17464         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17465         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17466         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17467         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17468         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17469         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17470         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17471         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17472         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17473         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17474         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17475         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17476         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17477         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17478         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17479         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17480         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17481         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17482         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17483         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17484         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17485         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17486         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17487         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17488         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17489         [XPG3] (acosh): Likewise.
17490         [XPG3] (asinh): Likewise.
17491         [XPG3] (atanh): Likewise.
17492         [XPG3] (cbrt): Likewise.
17493         [XPG3] (expm1): Likewise.
17494         [XPG3] (ilogb): Likewise.
17495         [XPG3] (log1p): Likewise.
17496         [XPG3] (logb): Likewise.
17497         [XPG3] (nextafter): Likewise.
17498         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17499         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17500         [XPG3] (remainder): Likewise.
17501         [XPG3] (rint): Likewise.
17502         [XPG3 || XPG4 || UNIX98] (round): Likewise.
17503         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17504         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17505         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17506         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17507         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17508         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17509         [UNIX98 || XOPEN2K] (scalb): Expect.
17510         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17511         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17512         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17513         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17514         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17515         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17516         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17517         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17518         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17519         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17520         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17521         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17522         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17523         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17524         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17525         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17526         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17527         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17528         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17529         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17530         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17531         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17532         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17533         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17534         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17535         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17536         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17537         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17538         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17539         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17540         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17541         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17542         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17543         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17544         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17545         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17546         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17547         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17548         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17549         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17550         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17551         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17552         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17553         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17554         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17555         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17556         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17557         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17558         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17559         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17560         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17561         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17562         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17563         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17564         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17565         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17566         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17567         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17568         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17569         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17570         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17571         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17572         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17573         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17574         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17575         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17576         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17577         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17578         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17579         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17580         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17581         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17582         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17583         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17584         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17585         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17586         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17587         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17588         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17589         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17590         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17591         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17592         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17593         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17594         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17595         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17596         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17597         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17598         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17599         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17600         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17601         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17602         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17603         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17604         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17605         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17606         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17607         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17608         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17609         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17610         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17611         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17612         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17613         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17614         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17615         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17616         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17617         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17618         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17619         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17620         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17621         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17622         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17623         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17624         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17625         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17626         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17627         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17628         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17629         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17630         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17631         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17632         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17633         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17634         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17635         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17636         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17637         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17638         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17639         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17640         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17641         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17642         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17643         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17644         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17645         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17646         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17647
17648         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17649         _XOPEN_SOURCE_EXTENDED for XPG4.
17650
17651         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17652
17653         * Makeconfig (localtime): Remove variable.
17654         (inst_localtime-file): Likewise.
17655
17656 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17657
17658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17659         Update.
17660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17661         Update.
17662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17663         Update.
17664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17665         Update.
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17667         Update.
17668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17669         Update.
17670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17671         Update.
17672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17673         Update.
17674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17675         Update.
17676
17677 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
17678
17679         [BZ #2550]
17680         [BZ #2570]
17681         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17682         comparisons to determine direction to adjust input.
17683         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17684         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17685         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17686         Likewise.
17687         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17688         Likewise.
17689         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17690         Likewise.
17691         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17692         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17693         Likewise.
17694         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17695         Likewise.
17696         * math/libm-test.inc (nexttoward_test): Add more tests.
17697
17698 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17699
17700         [BZ #14040]
17701         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17702         in version GLIBC_2.1, not GLIBC_2.0.
17703         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17704         Likewise.
17705
17706 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
17707
17708         [BZ #13942]
17709         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17710         (1 - x) * (1 + x).
17711         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17712         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17713         * math/libm-test.inc (acos_test): Add more tests.
17714         (asin_test): Likewise.
17715         * sysdeps/i386/fpu/libm-test-ulps: Update.
17716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17717
17718         [BZ #14034]
17719         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17720         of square root.
17721         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17722         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17723         * math/libm-test.inc (acos_test_tonearest): New function.
17724         (acos_test_towardzero): Likewise.
17725         (acos_test_downward): Likewise.
17726         (acos_test_upward): Likewise.
17727         (asin_test_tonearest): Likewise.
17728         (asin_test_towardzero): Likewise.
17729         (asin_test_downward): Likewise.
17730         (asin_test_upward): Likewise.
17731         (main): Call the new functions.
17732         * sysdeps/i386/fpu/libm-test-ulps: Update.
17733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17734
17735         [BZ #13884]
17736         [BZ #13924]
17737         * math/e_exp10.c: Include <float.h>.
17738         (__ieee754_exp10): Handle underflow here rather than multiplying
17739         large negative argument by M_LN10.
17740         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17741         of __ieee754_expf.
17742         * math/e_exp10l.c: Include <float.h>.
17743         (__ieee754_exp10l): Handle underflow here rather than multiplying
17744         large negative argument by M_LN10l.
17745         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
17746         spurious overflow exception on underflow.
17747
17748 2012-04-29  Marek Polacek  <polacek@redhat.com>
17749
17750         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17751         (__fortify_function): New macro.
17752         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17753         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17754         __extern_always_inline.
17755         * libio/bits/stdio2.h: Likewise.
17756         * libio/bits/stdio.h: Likewise.
17757         * string/string.h: Likewise.
17758         * string/bits/string3.h: Likewise.
17759         * include/stdio.h: Likewise.
17760         * stdlib/bits/stdlib.h: Likewise.
17761         * stdlib/stdlib.h: Likewise.
17762         * rt/bits/mqueue2.h: Likewise.
17763         * rt/mqueue.h: Likewise.
17764         * posix/bits/unistd.h: Likewise.
17765         * posix/unistd.h: Likewise.
17766         * io/bits/poll2.h: Likewise.
17767         * io/bits/fcntl2.h: Likewise.
17768         * io/fcntl.h: Likewise.
17769         * io/sys/poll.h: Likewise.
17770         * misc/bits/syslog.h: Likewise.
17771         * misc/bits/syslog-ldbl.h: Likewise.
17772         * misc/sys/syslog.h: Likewise.
17773         * socket/bits/socket2.h: Likewise.
17774         * socket/sys/socket.h: Likewise.
17775         * debug/tst-chk1.c: Likewise.
17776         * wcsmbs/bits/wchar2.h: Likewise.
17777         * wcsmbs/bits/wchar-ldbl.h: Likewise.
17778         * wcsmbs/wchar.h: Likewise.
17779
17780 2012-04-29  Andreas Jaeger  <aj@suse.de>
17781
17782         * Makerules (tests): Remove enable-check-abi protection.
17783         (check-abi-warn): Remove.
17784         (check-abi-%): Remove check-abi-warn usage.
17785
17786         * configure.in: Remove check-abi configure option.
17787         * configure: Regenerated.
17788         * config.make.in (enable-check-abi): Remove.
17789
17790 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
17791
17792         [BZ #14033]
17793         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17794         double functions to double *_finite functions.
17795
17796         [BZ #13941]
17797         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17798         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17799         LDBL_MIN_EXP.
17800         * stdio-common/Makefile (tests): Add tst-sprintf3.
17801         * stdio-common/tst-sprintf3.c: New file.
17802
17803         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17804         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17805
17806 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
17807
17808         * conform/conformtest.pl: Remove duplicate typed-constant
17809         handling.
17810
17811 2012-04-28  David S. Miller  <davem@davemloft.net>
17812
17813         * Makerules (%.abilist): Add vpath on sysdep_dirs.
17814         (check-abi-%): Remove AWK script prerequisite and explicit
17815         abilist directory.
17816         (check-abi): Rewrite to just diff the symlist with the abilist.
17817         (config-tls, config-abi-config): Delete, no longer used.
17818         (update-abi-%): Remove AWK script and explicit abilist directory.
17819         (update-abi): Rewrite to simply compare and conditionally copy the
17820         symlist and the sysdep abilist file.  Remove update-abi-config
17821         checks.
17822         * abilist/ld.abilist: Remove.
17823         * abilist/libBrokenLocale.abilist: Remove.
17824         * abilist/libanl.abilist: Remove.
17825         * abilist/libcrypt.abilist: Remove.
17826         * abilist/libdl.abilist: Remove.
17827         * abilist/librt.abilist: Remove.
17828         * abilist/libthread_db.abilist: Remove.
17829         * abilist/libutil.abilist: Remove.
17830         * scripts/extract-abilist.awk: Remove.
17831         * scripts/merge-abilist.awk: Remove.
17832         * sysdeps/generic/libcidn.abilist: New file.
17833         * sysdeps/generic/libnss_compat.abilist: New file.
17834         * sysdeps/generic/libnss_db.abilist: New file.
17835         * sysdeps/generic/libnss_dns.abilist: New file.
17836         * sysdeps/generic/libnss_files.abilist: New file.
17837         * sysdeps/generic/libnss_hesiod.abilist: New file.
17838         * sysdeps/generic/libnss_nis.abilist: New file.
17839         * sysdeps/generic/libnss_nisplus.abilist: New file.
17840         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17841         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17842         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17843         file.
17844         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17845         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17846         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17847         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17848         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17849         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17850         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17851         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17852         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17853         file.
17854         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17855         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17856         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17857         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17858         file.
17859         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17860         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17861         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17862         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17863         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17864         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17865         file.
17866         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17867         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17868         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17869         file.
17870         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17872         New file.
17873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17874         New file.
17875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17876         New file.
17877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17878         New file.
17879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17880         New file.
17881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17882         New file.
17883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17884         New file.
17885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17886         New file.
17887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17888         New file.
17889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17890         New file.
17891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17892         New file.
17893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17894         New file.
17895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17896         New file.
17897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17898         file.
17899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17900         New file.
17901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17902         New file.
17903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17904         file.
17905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17906         New file.
17907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17908         New file.
17909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17910         file.
17911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17912         New file.
17913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17914         New file.
17915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17916         New file.
17917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17918         New file.
17919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17920         New file.
17921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17922         New file.
17923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17925         file.
17926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17927         New file.
17928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17929         file.
17930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17931         file.
17932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17933         file.
17934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17935         file.
17936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17937         file.
17938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17939         New file.
17940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17941         file.
17942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17943         file.
17944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17945         New file.
17946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17947         file.
17948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17950         file.
17951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17952         New file.
17953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17954         file.
17955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17956         file.
17957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17958         file.
17959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17960         file.
17961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17962         file.
17963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17964         New file.
17965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17966         file.
17967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17968         file.
17969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17970         New file.
17971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17972         file.
17973         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17974         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17975         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17976         file.
17977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17978         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17979         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17980         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17981         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17982         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17983         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17984         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17985         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17986         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17989         file.
17990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17991         New file.
17992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17993         file.
17994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17995         file.
17996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17997         file.
17998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17999         file.
18000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18001         file.
18002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18003         New file.
18004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18005         New file.
18006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18007         file.
18008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18009         New file.
18010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18011         file.
18012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18014         file.
18015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18016         New file.
18017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18018         file.
18019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18020         file.
18021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18022         file.
18023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18024         file.
18025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18026         file.
18027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18028         New file.
18029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18030         New file.
18031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18032         file.
18033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18034         New file.
18035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18036         file.
18037
18038 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18039
18040         * conform/conformtest.pl: Fix typo in handling typed-constant from
18041         allow-header.
18042
18043 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
18044
18045         * README: Cut down references to pre-2.6 Linux kernels and
18046         Linuxthreads.  Update lists of configurations in libc and ports
18047         and sort alphabetically.  Say "or newer" with Linux kernel version
18048         requirements.
18049
18050         * config.h.in [IS_IN_build]: Allow compiling without optimization.
18051
18052 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18053
18054         [BZ #887]
18055         * math/libm-test.inc (logb_test_downward): New test to expose
18056         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18057         rounding mode.
18058
18059 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
18060
18061         [BZ #14027]
18062         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18063         to be done.
18064         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18065         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18066
18067 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
18068
18069         * sysdeps/unix/i386/brk.S: Remove file.
18070         * sysdeps/unix/i386/dl-brk.S: Likewise.
18071         * sysdeps/unix/i386/pipe.S: Likewise.
18072         * sysdeps/unix/i386/sigreturn.S: Likewise.
18073         * sysdeps/unix/i386/syscall.S: Likewise.
18074         * sysdeps/unix/i386/vfork.S: Likewise.
18075         * sysdeps/unix/i386/wait.S: Likewise.
18076
18077         * sysdeps/unix/common/tcsendbrk.c: Move to ...
18078         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18079
18080         * configure.in (arm*-none*): Do not allow without
18081         --enable-hacker-mode.
18082         (netbsd*): Remove case setting base_os.
18083         (386bsd*): Likewise.
18084         (freebsd*): Likewise.
18085         (bsdi*): Likewise.
18086         (osf*): Likewise.
18087         (sunos*): Likewise.
18088         (ultrix*): Likewise.
18089         (newsos*): Likewise.
18090         (dynix*): Likewise.
18091         (*bsd*): Likewise.
18092         (sysv*): Likewise.
18093         (isc*): Likewise.
18094         (esix*): Likewise.
18095         (sco*): Likewise.
18096         (minix*): Likewise.
18097         (irix4*): Likewise.
18098         (irix6*): Likewise.
18099         (solaris[2-9]*): Likewise.
18100         (none): Likewise.
18101         * configure: Regenerated.
18102
18103 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18104
18105         [BZ #11521]
18106         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18107         overflow or cancellation in calculating denominator.
18108         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18110         down expression to avoid unexpected rounding in newer GCCs.
18111         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18112
18113 2012-04-26  David S. Miller  <davem@davemloft.net>
18114
18115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18116         long-double compat symbols.
18117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18130
18131 2012-04-25  David S. Miller  <davem@davemloft.net>
18132
18133         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18134         HWCAP_* values only after the memory barriers have been defined.
18135         (atomic_full_barrier): Define.
18136         (atomic_read_barrier): Define.
18137         (atomic_write_barrier): Define.
18138
18139 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18140
18141         * shlib-versions: Add libgcc_s version information.
18142         * sysdeps/generic/libgcc_s.h: Remove.
18143         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18144         libgcc_s.h.
18145         * sysdeps/gnu/unwind-resume.c: Likewise.
18146         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18147
18148 2012-04-25  David S. Miller  <davem@davemloft.net>
18149
18150         * sysdeps/unix/sparc/brk.S: Delete.
18151         * sysdeps/unix/sparc/dl-brk.S: Delete.
18152         * sysdeps/unix/sparc/pipe.S: Delete.
18153         * sysdeps/unix/sparc/sysdep.S: Delete.
18154         * sysdeps/unix/sparc/sysdep.h: Delete.
18155         * sysdeps/unix/sparc/vfork.S: Delete.
18156         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18157         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18158         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18159         ret_ERRVAL, r0, r1, MOVE): Define.
18160         (JUMPTARGET): Remove.
18161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18162         sysdeps/unix/sparc/sysdep.h
18163         (ENTRY, END): Remove.
18164         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18165
18166 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
18167
18168         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18169         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18170         -DIS_IN_build.
18171
18172         * timezone/README: Update upstream location and email address for
18173         tzcode and tzdata.
18174         * timezone/zdump.c: Update from tzcode 2012b.
18175         * timezone/zic.c: Likewise.
18176
18177         * configure.in (libc_cv_as_needed): Remove test.
18178         * configure: Regenerated.
18179         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18180         conditional definition.
18181         [$(have-as-needed) != yes] (no-as-needed): Likewise.
18182         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18183         * config.make.in (have-as-needed): Remove variable.
18184
18185 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18186             Paul Pluzhnikov  <ppluzhnikov@google.com>
18187
18188         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18189         strings correctly.
18190
18191 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18192
18193         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18194         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18195         * sysdeps/sh/strlen.S: Likewise.
18196
18197 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18198
18199         * sysdeps/unix/fork.S: Remove file.
18200         * sysdeps/unix/i386/fork.S: Likewise.
18201         * sysdeps/unix/sparc/fork.S: Likewise.
18202
18203         * sysdeps/unix/system.c: Remove file.
18204         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18205
18206         * sysdeps/unix/getegid.S: Remove file.
18207         * sysdeps/unix/geteuid.S: Likewise.
18208
18209 2012-04-24  Roland McGrath  <roland@hack.frob.com>
18210
18211         * scripts/check-localplt.awk: New file.
18212         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18213         of diff.
18214         * scripts/data/localplt-generic.data: Add a comment.
18215
18216         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18217         NODE when __dir_mkfile failed.
18218         * sysdeps/mach/hurd/symlinkat.c: Likewise.
18219         Reported by Ludovic Courtès <ludo@gnu.org>.
18220
18221 2012-04-24  Andreas Jaeger  <aj@suse.de>
18222
18223         * Makerules (common-clean): Also remove gen-as-const-headers
18224         files.
18225
18226 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18227
18228         * Makerules (native-compile): Do not change working directory for
18229         build.  Use $(OUTPUT_OPTION) in command.
18230         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18231
18232 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18233
18234         [BZ #13886]
18235         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18236         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18237         * math/libm-test.inc (floor_test): Add more tests.
18238         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18239
18240 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18241
18242         * sysdeps/unix/getdents.c: Remove file.
18243         * sysdeps/unix/sysv/getdents.c: Likewise.
18244         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18245
18246         * sysdeps/unix/syscalls.list (madvise): Add syscall from
18247         sysdeps/unix/mman/syscalls.list.
18248         (mmap): Likewise.
18249         (mprotect): Likewise.
18250         (msync): Likewise.
18251         (munmap): Likewise.
18252         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18253         * sysdeps/unix/mman/syscalls.list: Remove.
18254         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18255
18256         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18257         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18258         * configure: Regenerated.
18259         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18260         $(libgcc_s_suffix).
18261         * config.make.in (libgcc_s_suffix): Remove variable.
18262
18263 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
18264
18265         * sysdeps/unix/sysv/gethostname.c: Move to ...
18266         * sysdeps/posix/gethostname.c: ... here.
18267
18268         * sysdeps/unix/execve.S: Remove file.
18269
18270         * sysdeps/unix/_exit.S: Remove file.
18271
18272 2012-04-23  Andreas Jaeger  <aj@suse.de>
18273
18274         [BZ #13739]
18275         * manual/Makefile: Remove make dist support, there's no
18276         need for a stand-alone documentation tar ball.
18277         (TEXI2DVI): Define always, it's not in Makeconfig.
18278         (dist): Removed.
18279         (tar-it): Removed.
18280         (edition): Removed.
18281         (glibc-doc-$(edition).tar): Removed
18282         (%.Z): Removed.
18283         (%.gz): Removed.
18284         (%.uu): Removed.
18285         (ETAGS): Remove, it's in Makeconfig.
18286         (move-if-change): Remove, it's in Makeconfig.
18287
18288 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
18289
18290         [BZ #13970]
18291         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18292         (strtod, strtof, strtold, strtol, strtoul, strtoq)
18293         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18294         (strtod_l, strtof_l, strtold_l): Remove __wur.
18295         It is not necessarily an error to ignore strtol's return value.
18296         One can reliably look at the stored endptr to decide whether
18297         the number had valid syntax.
18298
18299 2012-04-21  Andreas Jaeger  <aj@suse.de>
18300
18301         [BZ #13739]
18302         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18303
18304 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
18305
18306         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18307         * sysdeps/unix/sysv/Versions: Remove file.
18308
18309 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
18310
18311         [BZ #13927]
18312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18313
18314 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
18315
18316         [BZ #7064]
18317         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18318         version from __vm86.
18319
18320 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
18321
18322         * sysdeps/unix/common/lxstat.c: Remove file.
18323         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18324
18325         * sysdeps/unix/sysv/Makefile: Remove file.
18326
18327         * sysdeps/unix/sysv/direct.h: Remove file.
18328
18329         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18330         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18331         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18332         * sysdeps/unix/sysv/bits/signum.h: Likewise.
18333         * sysdeps/unix/sysv/bits/stat.h: Likewise.
18334         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18335         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18336
18337         * sysdeps/unix/sysv/setrlimit.c: Remove file.
18338
18339         * sysdeps/unix/xmknod.c: Remove file.
18340         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18341
18342         * sysdeps/unix/sysv/settimeofday.c: Remove file.
18343
18344         * sysdeps/unix/sysv/i386/time.S: Remove file.
18345
18346         * sysdeps/unix/fxstat.c: Remove file.
18347         * sysdeps/unix/xstat.c: Likewise.
18348         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18349
18350         * sysdeps/unix/sysv/sigaction.c: Remove file.
18351
18352         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18353         (sysdep_headers): Remove variable.
18354         [termio.h not in sysdep_headers] (generated): Likewise.
18355         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18356         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18357         * sysdeps/unix/sysv/tcdrain.c: Likewise.
18358         * sysdeps/unix/sysv/tcflow.c: Likewise.
18359         * sysdeps/unix/sysv/tcflush.c: Likewise.
18360         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18361         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18362         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18363         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18364         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18365
18366         * sysdeps/unix/siglist.c: Remove file.
18367
18368         * sysdeps/unix/getppid.S: Remove file.
18369
18370         * sysdeps/unix/mkdir.c: Remove file.
18371         * sysdeps/unix/rmdir.c: Likewise.
18372
18373 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
18374
18375         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18376         ERR_MAX value.
18377         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18378         errlist-compat value.
18379
18380 2012-04-18  David S. Miller  <davem@davemloft.net>
18381
18382         * sysdeps/generic/memcopy.h (reg_char): Delete.
18383         * debug/strcat_chk.c: Use char, not reg_char.
18384         * debug/strcpy_chk.c: Likewise.
18385         * debug/strncat_chk.c: Likewise.
18386         * debug/strncpy_chk.c: Likewise.
18387         * string/memchr.c: Likewise.
18388         * string/memrchr.c: Likewise.
18389         * string/rawmemchr.c: Likewise.
18390         * string/strcat.c: Likewise.
18391         * string/strchr.c: Likewise.
18392         * string/strchrnul.c: Likewise.
18393         * string/strcmp.c: Likewise.
18394         * string/strcpy.c: Likewise.
18395         * string/strncat.c: Likewise.
18396         * string/strncmp.c: Likewise.
18397         * string/strncpy.c: Likewise.
18398
18399 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18400
18401         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18402         __builtin_memcopy is called when src and dest ranges are known to not
18403         overlap.
18404
18405 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18406
18407         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18408         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18409         fwd_align_merge macro call.
18410         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18411         bwd_align_merge macro call.
18412         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18413
18414 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
18415
18416         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18417         bwd_align_merge macros.
18418         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18419         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18420         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18421
18422 2012-04-18  David S. Miller  <davem@davemloft.net>
18423
18424         * sysdeps/sparc/sparc64/memcopy.h: Delete.
18425
18426 2012-04-18  Andreas Jaeger  <aj@suse.de>
18427
18428         [BZ# 6794]
18429         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18430         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18431         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18432
18433         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18434         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18435         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18436
18437         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18438         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18439         Adjust for changed ldbl-128 files.
18440
18441         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18442         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18443         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18444
18445 2012-04-17  David S. Miller  <davem@davemloft.net>
18446
18447         * sysdeps/sparc/sparc32/memcopy.h: Delete.
18448
18449 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
18450
18451         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18452         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18453         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18454         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18455         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18456         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18457
18458 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18459
18460         [BZ #6794]
18461         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18462         * math/libm-test.inc: Add ilogb errno and exception tests.
18463         * math/w_ilogb.c: New file: ilogb wrapper.
18464         * math/w_ilogbf.c: New file: ilogbf wrapper.
18465         * math/w_ilogbl.c: New file: ilogbl wrapper.
18466         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18467         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18468         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18469         exception being thrown with 0.0 as argument.
18470         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18471         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18472         exception being thrown with 0.0 as argument.
18473         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18474         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18475         exception being thrown with 0.0 as argument.
18476         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18477         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18478         exception being thrown with 0.0 as argument.
18479         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18480         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18481         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18482         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18483         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18484         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18485         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18486         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18487         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18488
18489 2012-04-17  Petr Baudis  <pasky@ucw.cz>
18490
18491         * include/sys/uio.h: Change __vector to __iovec to avoid clash
18492         with altivec.
18493
18494 2012-04-16  Marek Polacek  <polacek@redhat.com>
18495
18496         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18497
18498 2012-04-16  Marek Polacek  <polacek@redhat.com>
18499
18500         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18501         operands of fdivp instruction.
18502
18503 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
18504
18505         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18506         * elf/tst-auditmod3b.c: Likewise.
18507         * elf/tst-auditmod4b.c: Likewise.
18508         * elf/tst-auditmod5b.c: Likewise.
18509         * elf/tst-auditmod6b.c: Likewise.
18510         * elf/tst-auditmod6c.c: Likewise.
18511         * elf/tst-auditmod7b.c: Likewise.
18512         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18513         * sysdeps/x86_64/preconfigure.in: Likewise.
18514         * sysdeps/x86_64/preconfigure: Regenerated.
18515
18516 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
18517
18518         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18519         __ILP32__.
18520
18521 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
18522
18523         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18524         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18525
18526 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
18527
18528         [BZ #13973]
18529         * locale/iso-639.def: Fix gl language name. Spotted by
18530         Yaron Shahrabani.
18531
18532 2012-04-12  Roland McGrath  <roland@hack.frob.com>
18533
18534         [BZ #2074]
18535         * libio/libio.h (__io_write_fn): Update comment.
18536
18537 2012-04-12  Petr Baudis  <pasky@ucw.cz>
18538
18539         [BZ #2074]
18540         * stdio.texi (Hook Functions): The user provided writer function
18541         is not allowed to return -1.
18542
18543 2012-04-11  David S. Miller  <davem@davemloft.net>
18544
18545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18546
18547 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
18548
18549         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18550         Add a leading slash to rtkaio.
18551
18552 2012-04-11  Jim Meyering  <meyering@redhat.com>
18553
18554         [BZ #11959]
18555         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18556         It is not necessarily an error to ignore fwrite's return
18557         value.  One can reliably use ferror to test for errors after
18558         the fact.
18559
18560 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
18561
18562         * bits/types.h (__snseconds_t): New type.
18563         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18564
18565         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18567         (__SNSECONDS_T_TYPE): Likewise.
18568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18569         (__SNSECONDS_T_TYPE): Likewise.
18570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18571         (__SNSECONDS_T_TYPE): Likewise.
18572
18573 2012-04-10  Andreas Jaeger  <aj@suse.de>
18574
18575         [BZ #2636]
18576         * manual/time.texi (Processor Time): Return type of times is
18577         elapsed real time since an arbitrary point in the past.
18578         (CPU Time): Move CLK_TCK from here...
18579         (Processor Time): ...to here.  Correct description.
18580         * manual/conf.texi (Constants for Sysconf): Correct description of
18581         _SC_CLK_TCK.
18582
18583 2012-04-10  David S. Miller  <davem@davemloft.net>
18584
18585         [BZ #13967]
18586         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18587         where the is a gap between DT_REL(A) and DT_JMPREL.
18588
18589 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
18590
18591         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18592         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18593         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18594
18595 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18596
18597         * elf/dl-support.c (_dl_inhibit_cache): New variable.
18598         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18599         (dl_main): Handle --inhibit-cache.
18600         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18601         _dl_inhibit_cache.
18602         * elf/dl-load.c (_dl_map_object): Use it.
18603         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18604
18605 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
18606
18607         [BZ #13872]
18608         * sysdeps/i386/fpu/e_powl.S (p78): New object.
18609         (__ieee754_powl): Saturate large exponents rather than testing for
18610         overflow of y*log2(x).
18611         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18612         * math/libm-test.inc (pow_test): Do not permit spurious overflow
18613         exceptions.
18614
18615         [BZ #11521]
18616         * math/s_ctan.c: Include <float.h>.
18617         (__ctan): Avoid internal overflow or cancellation in calculating
18618         denominator.
18619         * math/s_ctanf.c: Likewise.
18620         * math/s_ctanl.c: Likewise.
18621         * math/s_ctanh.c: Likewise.
18622         * math/s_ctanhf.c: Likewise.
18623         * math/s_ctanhl.c: Likewise.
18624         * math/libm-test.inc (ctan_test): Add more tests.
18625         (ctanh_test): Likewise.
18626         * sysdeps/i386/fpu/libm-test-ulps: Update.
18627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18628
18629 2012-04-09  Andreas Jaeger  <aj@suse.de>
18630
18631         [BZ #6894]
18632         * manual/filesys.texi (Directory Entries): Mention that d_namlen
18633         is an optional BSD extension.
18634
18635         [BZ #10254]
18636         * manual/stdio.texi (Opening Streams): Document additional fopen
18637         parameters.
18638
18639 2012-04-09  Roland McGrath  <roland@hack.frob.com>
18640
18641         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18642         %eax without telling the compiler.
18643
18644 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
18645
18646         [BZ # 13963]
18647         * manual/install.texi: Use sourceware.org.
18648
18649 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
18650
18651         [BZ #13873]
18652         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18653         (__ieee754_pow): Generate overflow and underflow using huge*huge
18654         and tiny*tiny rather than just returning constant infinity or zero
18655         for large exponents.
18656         * math/libm-test.inc (pow_test): Require overflow exceptions for
18657         applicable cases of large exponents.
18658
18659         [BZ #706]
18660         * sysdeps/i386/fpu/e_pow.S (p10): New object.
18661         (__ieee754_pow): Use iterative multiplication algorithm only for
18662         integer exponents with absolute value below 1024.  Check for odd
18663         integer exponents when using algorithm for real exponents.
18664         * math/libm-test.inc (pow_test): Add more tests.
18665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18666
18667 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
18668
18669         [BZ #13705]
18670         * math/libm-test.inc (exp_test): Do not allow overflow exception
18671         on underflow test.
18672
18673 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
18674
18675         [BZ #13705]
18676         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18677         instead of __kernel_standard_f.
18678
18679 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
18680
18681         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18682         * sysdeps/x86_64/memset_chk.S: Likewise.
18683
18684 2012-04-08  Andreas Jaeger  <aj@suse.de>
18685
18686         [BZ #10153]
18687         * manual/startup.texi (Environment Access): Describe return value
18688         for putenv and setenv.
18689
18690         [BZ #6895]
18691         * manual/filesys.texi (Directory Entries): Add description for
18692         DT_LNK.
18693
18694         [BZ #6890]
18695         * manual/filesys.texi (Directory Entries): Clarify that it's file
18696         system not operating system in the description of DT_UNKNOWN.
18697
18698         [BZ #6578]
18699         * manual/syslog.texi (closelog): Fix reference, it's openlog.
18700
18701 2012-04-08  Stephen Compall  <s11@member.fsf.org>
18702
18703         [BZ #6649]
18704         * manual/llio.texi (Opening and Closing Files): Add cross
18705         reference to explain mode argument.
18706
18707 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
18708
18709         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18710         * sysdeps/x86_64/memset_chk.S: Likewise.
18711
18712 2012-04-07  David S. Miller  <davem@davemloft.net>
18713
18714         * elf/elf.h (R_SPARC_WDISP10): Define.
18715         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18716         R_SPARC_SIZE32.
18717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18718         R_SPARC_SIZE64 and R_SPARC_H34.
18719
18720 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
18721
18722         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18723         conditions and remove no longer applicable assertion.
18724
18725 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
18726
18727         * bits/byteswap.h: Include <features.h>.
18728         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18729         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18730
18731 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
18732
18733         * bits/byteswap.h (__bswap_16): Removed.
18734         Include <bits/byteswap-16.h> to get __bswap_16.
18735         * sysdeps/i386/bits/byteswap.h: Likewise.
18736         * sysdeps/s390/bits/byteswap.h: Likewise.
18737         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18738         * bits/byteswap-16.h: New file.
18739         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18740         * sysdeps/s390/bits/byteswap-16.h: Likewise.
18741         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18742         * string/Makefile (headers): Add bits/byteswap-16.h.
18743
18744 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18745
18746         [BZ #13895]
18747         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18748         extra indirection.
18749         * nss/Makefile (tests-static, tests): Add tst-nss-static.
18750         * nss/tst-nss-static.c: New.
18751
18752 2012-04-06  Robert Millan  <rmh@gnu.org>
18753
18754         [BZ #6486]
18755         * manual/llio.texi (File Position Primitive): lseek
18756         refers to WHENCE when it really means OFFSET.
18757
18758 2012-04-06  Andreas Jaeger  <aj@suse.de>
18759
18760         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18761         strncmp declarations.
18762
18763         * abilist/libc.abilist: Add __poll and __ppoll.
18764
18765 2012-04-05  David S. Miller  <davem@davemloft.net>
18766
18767         * scripts/check-local-headers.sh: Accept a host triplet in the
18768         path matched by the exclude regexp.
18769
18770         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18771         definition.
18772         * sysdeps/powerpc/powerpc32/dl-machine.h
18773         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18774         * sysdeps/s390/s390-32/dl-machine.h
18775         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18776         * sysdeps/sparc/sparc32/dl-machine.h
18777         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18778         * sysdeps/sparc/sparc64/dl-machine.h
18779         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18780
18781         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18782         lazy binding.
18783         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
18784         undefined symbol errors.
18785
18786         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
18787         DT_NEEDED entries.
18788
18789 2012-04-05  Michael Matz  <matz@suse.de>
18790
18791         [BZ #13592]
18792         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18793
18794 2012-04-05  Andreas Jaeger  <aj@suse.de>
18795
18796         [BZ #13908]
18797         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18798         comment.
18799
18800 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18801
18802         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18803         which ROUND is no valid rounding mode.
18804
18805 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18806
18807         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18808         read again.
18809         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18810
18811 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18812
18813         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18814         an exception using FPU order intentionally.
18815
18816 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18817
18818         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18819         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18820         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18821         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18822
18823 2012-04-05  Simon Josefsson  <simon@josefsson.org>
18824
18825         [BZ #12340]
18826         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18827         EINVAL when BUFLEN is too smal.
18828
18829 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18830
18831         [BZ #13553]
18832         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18833         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18834
18835 2012-04-03  Andreas Jaeger  <aj@suse.de>
18836
18837         [BZ #13938]
18838         * manual/setjmp.texi (System V contexts): Fix sentence.
18839
18840         [BZ #13926]
18841         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18842         New macro for this case.
18843         [!__GNUC__] (__bswap_64): New inline function for this case.
18844         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18845         * bits/byteswap.h: Likewise.
18846         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18847         ull, guard with __GLIBC_HAVE_LONG_LONG.
18848
18849         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18850         __GLIBC_HAVE_LONG_LONG.
18851
18852         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18853         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18854
18855 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18856
18857         [BZ #13691]
18858         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18859         inptr and inend, rather than using last_ch.
18860
18861 2012-04-02  David S. Miller  <davem@davemloft.net>
18862
18863         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18864         * stdio-common/printf-parse.h (read_int): Change return type to
18865         'int', return -1 on INT_MAX overflow.
18866         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18867         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
18868         overflows INT_MAX.  Check for overflow of in-format-string precision
18869         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
18870         SIZE_MAX not INT_MAX for integer overflow test.
18871         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18872         skip the construct in the format string but do not record anything.
18873         * stdio-common/bug22.c: Adjust to test both width/prevision
18874         INT_MAX overflow as well as total length INT_MAX overflow.  Check
18875         explicitly for proper errno values.
18876
18877 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18878
18879         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18880         CHAR_MAX.
18881         * string/test-strcmp.c [! WIDE]: Likewise.
18882         * time/tst-mktime2.c: Likewise for INT_MAX.
18883         * string/test-string.h: #include <sys/param.h> for MIN.
18884
18885         * csu/init-first.c (__libc_init_first): Call __ctype_init.
18886         * sysdeps/i386/init-first.c (init): Likewise.
18887         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18888         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18889         * sysdeps/sh/init-first.c (init): Likewise.
18890
18891 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
18892
18893         * po/ru.po: Update from translation team.
18894         * po/vi.po: Likewise.
18895
18896 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18897
18898         * resolv/nss_dns/dns-host.c: Merge copyright years.
18899
18900 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18901
18902         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18903         Optimize memcpy with prefetch if
18904         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
18905         src, dst pointers have unequal 16 byte alignments.
18906
18907 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18908
18909         [BZ #13928]
18910         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18911         from a CNAME entry and return the minimum ttl for the query.
18912         (gaih_getanswer_slice): Likewise.
18913
18914 2012-03-30  Jeff Law  <law@redhat.com>
18915
18916         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18917         due to long keys.
18918         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18919         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18920
18921         * resolv/nss_dns/dns-host.c: Update copyright year.
18922
18923 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
18924
18925         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18926         requests to save a system call.  Fix check that all bytes are sent.
18927
18928         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18929         comments for sendmmsg.
18930
18931 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18932
18933         [BZ #13691]
18934         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18935         with only 1 character between 0x0041 and 0x01b0.
18936         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18937         * wcsmbs/tst-mbsnrtowcs.c: New file.
18938
18939 2012-03-29  David S. Miller  <davem@davemloft.net>
18940
18941         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18942         small copies by hand.
18943
18944 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18945
18946         [BZ #13761]
18947         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18948         _nss_compat_initgroups_dyn): Fall back to malloc/free
18949         for large group memberships.
18950
18951 2012-03-28  David S. Miller  <davem@davemloft.net>
18952
18953         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18954         that branches into memcpy.
18955         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18956         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18957         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18958         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18960         bits.
18961         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18962         implementation too.
18963         * sysdeps/sparc/mempcpy.S: New file.
18964
18965         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18966         the IFUNC routine in the libc case.
18967         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18968
18969         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18970         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18971         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18972         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18973         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18974         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18975         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18976         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18977
18978         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18979         loop to 256 bytes instead of 64 bytes and fix test signedness.
18980
18981         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18982         * sysdeps/sparc/sparc32/Makefile: rather than here...
18983         * sysdeps/sparc/sparc64/Makefile: and here.
18984
18985 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
18986
18987         * malloc/mallocbug.c: Avoid warnings about unused variables.
18988
18989 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18990
18991         [BZ #13760]
18992         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18993         in the right place. Discard and retry query if response is
18994         larger than input buffer size.
18995
18996 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
18997
18998         [BZ #369]
18999         [BZ #2678]
19000         [BZ #3866]
19001         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19002         x for large integer exponent.
19003         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19004         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
19005         sign of result as needed afterwards.
19006         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19007         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19008         result for underflowing pow the same as for overflow.
19009         (__kernel_standard_l): Handle powl overflow and underflow here
19010         rather than calling __kernel_standard.
19011         * math/libm-test.inc (pow_test): Add more tests.
19012
19013         [BZ #3868]
19014         [BZ #13879]
19015         [BZ #13910]
19016         [BZ #13911]
19017         [BZ #13912]
19018         [BZ #13913]
19019         [BZ #13915]
19020         [BZ #13916]
19021         [BZ #13917]
19022         [BZ #13918]
19023         [BZ #13919]
19024         [BZ #13920]
19025         [BZ #13921]
19026         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19027         * sysdeps/ieee754/k_standard.c: Include <float.h>.
19028         (__kernel_standard_l): New function.
19029         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19030         __kernel_standard.
19031         * math/w_acosl.c (__acosl): Likewise.
19032         * math/w_asinl.c (__asinl): Likewise.
19033         * math/w_atan2l.c (__atan2l): Likewise.
19034         * math/w_atanhl.c (__atanhl): Likewise.
19035         * math/w_coshl.c (__coshl): Likewise.
19036         * math/w_exp10l.c (__exp10l): Likewise.
19037         * math/w_exp2l.c (__exp2l): Likewise.
19038         * math/w_fmodl.c (__fmodl): Likewise.
19039         * math/w_hypotl.c (__hypotl): Likewise.
19040         * math/w_j0l.c (__j0l, __y0l): Likewise.
19041         * math/w_j1l.c (__j1l, __y1l): Likewise.
19042         * math/w_jnl.c (__jnl, __ynl): Likewise.
19043         * math/w_lgammal.c (__lgammal): Likewise.
19044         * math/w_log10l.c (__log10l): Likewise.
19045         * math/w_log2l.c (__log2l): Likewise.
19046         * math/w_logl.c (__logl): Likewise.
19047         * math/w_powl.c (__powl): Likewise.
19048         * math/w_remainderl.c (__remainderl): Likewise.
19049         * math/w_scalbl.c (sysv_scalbl): Likewise.
19050         * math/w_sinhl.c (__sinhl): Likewise.
19051         * math/w_sqrtl.c (__sqrtl): Likewise.
19052         * math/w_tgammal.c (__tgammal): Likewise.
19053         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19054         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19055         * math/libm-test.inc (acos_test): Add more tests.
19056         (acosh_test): Likewise.
19057         (asin_test): Likewise.
19058         (atanh_test): Likewise.
19059         (exp_test): Likewise.
19060         (exp10_test): Likewise.
19061         (exp2_test): Likewise.
19062         (expm1_test): Likewise.
19063         (lgamma_test): Likewise.
19064         (log_test): Likewise.
19065         (log10_test): Likewise.
19066         (log1p_test): Likewise.
19067         (log2_test): Likewise.
19068         (pow_test): Do not allow some spurious overflow exceptions.
19069         (sqrt_test): Add more tests.
19070         (tgamma_test): Likewise.
19071         (y0_test): Likewise.
19072         (y1_test): Likewise.
19073         (yn_test): Likewise.
19074
19075 2012-03-27  Anton Blanchard  <anton@samba.org>
19076
19077         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19078         MAP_HUGETLB.
19079         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19080         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19081         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19082
19083 2012-03-27  David S. Miller  <davem@davemloft.net>
19084
19085         * conform/Makefile: Run run-conformtest.sh using $(BASH).
19086
19087         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19088         have-as-vis3 check.
19089
19090 2012-03-27  Andreas Jaeger  <aj@suse.de>
19091
19092         * sysdeps/x86_64/elf/configure.in: Moved to ...
19093         * sysdeps/x86_64/configure.in: ... here.
19094         * sysdeps/x86_64/elf/start.S: Moved to ...
19095         * sysdeps/x86_64/start.S: ... here.
19096         * sysdeps/x86_64/elf/configure: Delete.
19097
19098         * sysdeps/x86_64/configure.in: Merge contents from
19099         sysdeps/i386/configure.in (without i686 check).
19100
19101         * sysdeps/i386/elf/Versions: Merge into ...
19102         * sysdeps/i386/Versions: ... this.
19103         * sysdeps/i386/elf/Versions: Delete file.
19104         * sysdeps/i386/elf/start.S: Moved to ...
19105         * sysdeps/i386/start.S: ...here.
19106         * sysdeps/i386/elf/configure.in: Merge into...
19107         * sysdeps/i386/configure.in: ...here.
19108         * sysdeps/i386/elf/configure.in: Delete file.
19109         * sysdeps/i386/elf/configure: Delete file.
19110
19111         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19112         * debug/backtracesyms.c: ... here.
19113         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19114         * debug/backtracesymsfd.c: ... here.
19115         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19116         * sysdeps/generic/ifunc-sel.h: ... here.
19117
19118         * sysdeps/unix/i386/start.c: Delete file.
19119         * sysdeps/unix/sparc/start.c: Delete file.
19120         * sysdeps/unix/start.c: Delete file.
19121
19122         * sysdeps/sh/elf/configure.in: Moved to ...
19123         * sysdeps/sh/configure.in: ... here.
19124         * sysdeps/sh/elf/start.S: Moved to ...
19125         * sysdeps/sh/start.S: ... here.
19126         * sysdeps/sh/elf/configure: Delete file.
19127
19128         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19129         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19130         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19131         * sysdeps/powerpc/powerpc64/entry.h: ... here.
19132         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19133         * sysdeps/powerpc/powerpc64/start.S: here.
19134         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19135         * sysdeps/powerpc/powerpc64/Makefile: ... this.
19136         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19137         * sysdeps/powerpc/powerpc64/configure.in: ... this.
19138         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19139
19140         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19141         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19142         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19143         * sysdeps/powerpc/powerpc32/start.S: ... here.
19144         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19145         * sysdeps/powerpc/powerpc32/configure.in: ... this.
19146         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19147
19148         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19149         * sysdeps/powerpc/ifunc-sel.h: ... here.
19150         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19151         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19152
19153         * sysdeps/sparc/elf/configure.in: Moved to ...
19154         * sysdeps/sparc/configure.in: ... here.
19155         * sysdeps/sparc/elf/configure: Delete file.
19156         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19157         * sysdeps/sparc/sparc32/start.S: ... here.
19158         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19159         * sysdeps/sparc/sparc64/start.S: ... here.
19160         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19161         * sysdeps/sparc/sparc32/Makefile: ... this.
19162         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19163         * sysdeps/sparc/sparc64/Makefile: ... this.
19164
19165         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19166         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19167         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19168         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19169         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19170         * sysdeps/s390/s390-32/setjmp.S: ... here.
19171         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19172         * sysdeps/s390/s390-32/configure.in: ... here.
19173         * sysdeps/s390/s390-32/elf/configure: Delete file.
19174         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19175         * sysdeps/s390/s390-32/start.S: ... here.
19176
19177         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19178         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19179         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19180         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19181         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19182         * sysdeps/s390/s390-64/setjmp.S: ... here.
19183         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19184         * sysdeps/s390/s390-64/configure.in: ... here
19185         * sysdeps/s390/s390-64/elf/configure: Delete file.
19186         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19187         * sysdeps/s390/s390-64/start.S: ... here.
19188         * sysdeps/s390/s390-64/elf/configure: Delete.
19189
19190         * configure.in: Remove support for elf directories in sysdeps.
19191
19192         * configure: Regenerated.
19193         * sysdeps/i386/configure: Regenerated.
19194         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19195         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19196         * sysdeps/s390/s390-32/configure: Regenerated.
19197         * sysdeps/s390/s390-64/configure: Regenerated.
19198         * sysdeps/sh/configure: Regenerated.
19199         * sysdeps/sparc/configure: Regenerated.
19200         * sysdeps/x86_64/configure: Regenerated.
19201
19202 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
19203
19204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19205
19206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19207         denormal result into account.
19208
19209 2012-03-25  Roland McGrath  <roland@hack.frob.com>
19210
19211         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19212         Reported by Allan McRae <allan@archlinux.org>.
19213
19214 2012-03-23  Jeff Law  <law@redhat.com>
19215
19216         * nss/getnssent.c (__nss_getent): Fix typo.
19217
19218 2012-03-23  David S. Miller  <davem@davemloft.net>
19219
19220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19221
19222 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
19223
19224         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19225         to pad to uint64_t for each field.
19226         (dl_tls_index): Replace unsigned long with uint64_t.
19227
19228 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
19229         Paul Pluzhnikov  <ppluzhnikov@google.com>
19230
19231         [BZ #6528]
19232         * grp/Makefile (otherlibs): Don't set it.
19233         * inet/Makefile (otherlibs): Likewise.
19234         * login/Makefile (otherlibs): Likewise.
19235         * nscd/Makefile (otherlibs): Likewise.
19236         * posix/Makefile (otherlibs): Likewise.
19237         * pwd/Makefile (otherlibs): Likewise.
19238         * rt/Makefile (otherlibs): Likewise.
19239         * sunrpc/Makefile (otherlibs): Likewise.
19240         * nss/Makefile (otherlibs): Likewise.
19241         Add libnss_files to routines and static-only-routines.
19242         ($(objpfx)getent): Remove rule.
19243         * resolv/Makefile: Add libnss_dns and libresolv to routines and
19244         static-only-routines.
19245
19246 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
19247
19248         [BZ #13892]
19249         * math/s_cexp.c: Include <float.h>.
19250         (__cexp): Handle exp result overflowing not necessarily
19251         overflowing both real and imaginary parts of result.
19252         * math/s_cexpf.c: Likewise.
19253         * math/s_cexpl.c: Likewise.
19254         * math/libm-test.inc (cexp_test): Add more tests.
19255         * sysdeps/i386/fpu/libm-test-ulps: Update.
19256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19257
19258 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19259
19260         * include/link.h (ELFW): New macro.
19261         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19262         Replace ELF64_R_TYPE with ELFW(R_TYPE).
19263
19264 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19265
19266         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19267         with uint64_t.
19268
19269 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19270
19271         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19272         declaration.
19273         (struct La_x32_retval): Likewise.
19274
19275 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19276
19277         * sysdeps/x86_64/preconfigure.in: New file.
19278         * sysdeps/x86_64/preconfigure: New generated file.
19279
19280 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
19281
19282         [BZ #13824]
19283         * math/e_exp2l.c: Include <float.h>.
19284         (__ieee754_exp2l): Handle overflow and underflow cases
19285         separately.  Only pass fractional part of argument to
19286         __ieee754_expl.
19287         * math/libm-test.inc (exp2_test): Add more tests.
19288
19289         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19290         negating x to take absolute value.
19291         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19292         Likewise.
19293         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19294         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19295         Likewise.
19296         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19297         computing low part if x was negated.
19298         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19299
19300 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19301
19302         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19303         la_x32_gnu_pltexit.
19304         (pltexit): Cast int_retval to ptrdiff_t.
19305         * elf/tst-auditmod3b.c: Likewise.
19306         * elf/tst-auditmod4b.c: Likewise.
19307         * elf/tst-auditmod5b.c: Likewise.
19308         * elf/tst-auditmod6b.c: Likewise.
19309         * elf/tst-auditmod6c.c: Likewise.
19310         * elf/tst-auditmod7b.c: Likewise.
19311
19312         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19313         and x32_gnu_pltexit.
19314
19315         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19316         __ELF_NATIVE_CLASS.
19317         (La_x32_regs): New macro.
19318         (La_x32_retval): Likewise.
19319         (la_x32_gnu_pltenter): New function prototype.
19320         (la_x32_gnu_pltexit): Likewise.
19321
19322 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
19323
19324         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19325         exponent.
19326
19327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19328
19329         * configure.in (libc_cv_cc_nofma): Check for option to disable
19330         generation of FMA instructions.
19331         * configure: Regenerate.
19332         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19333         * sysdeps/ieee754/dbl-64/Makefile: New file.
19334         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19335         Remove brandred-fma4.
19336         (CFLAGS-brandred-fma4.c): Remove.
19337         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19338         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19339         define.
19340         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19341         define.
19342
19343 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19344
19345         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19346         LLONG_MAX != LONG_MAX.
19347         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19348         (_fitoa_word): Likewise.
19349         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19350         LLONG_MAX != LONG_MAX.
19351         * stdio-common/_itowa.h: Include <_itoa.h>.
19352         (_itowa_word): Use _ITOA_WORD_TYPE on value.
19353         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
19354         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
19355         only if not defined.
19356         (_ITOA_WORD_TYPE): Likewise.
19357         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19358         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19359
19360 2012-03-21  David S. Miller  <davem@davemloft.net>
19361
19362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19363
19364 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19365
19366         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19367         of x86_64 when setting libc_cv_slibdir, libdir and
19368         libc_cv_localedir.
19369         * sysdeps/unix/sysv/linux/configure: Regenerated.
19370
19371 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19372
19373         * manual/lang.texi (Old Varargs): Remove section.
19374         (How Variadic): Update menu.
19375         (va_start): Do not mention varargs.h.
19376
19377 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19378             Joseph Myers  <joseph@codesourcery.com>
19379
19380         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19381         link test.
19382         * configure: Regenerated.
19383
19384 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19385
19386         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19387         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19388         conformtest.pl
19389
19390 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19391
19392         * NOTES: Remove.
19393         * Makefile (files-for-dist): Remove NOTES.
19394         (NOTES): Remove rule.
19395         * README: Don't refer to NOTES.
19396         * manual/creature.texi: Don't include macros.texi.
19397         * manual/intro.texi (creature.texi): Remove comment referring to
19398         NOTES.
19399
19400         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19401         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19402         * configure: Regenerated.
19403         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19404         LIBC_TRY_CC_OPTION.
19405         (libc_cv_as_i686): Likewise.
19406         (libc_cv_cc_avx): Likewise.
19407         (libc_cv_cc_sse2avx): Likewise.
19408         (libc_cv_cc_fma4): Likewise.
19409         (libc_cv_cc_novzeroupper): Likewise.
19410         * sysdeps/i386/configure: Regenerated.
19411
19412         [BZ #13883]
19413         * sysdeps/i386/fpu/s_cexp.S: Remove.
19414         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19415         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19416         * math/libm-test.inc (cexp_test): Add more tests.
19417         * sysdeps/i386/fpu/libm-test-ulps: Update.
19418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19419
19420 2012-03-21  Allan McRae  <allan@archlinux.org>
19421
19422         * timezone/Makefile: Do not install iso3166.tab and zone.tab
19423
19424 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
19425
19426         [BZ #13871]
19427         * math/w_exp2.c: Do not include <float.h>.
19428         (o_threshold, u_threshold): Remove.
19429         (__exp2): Calculate result before checking finiteness and calling
19430         __kernel_standard.
19431         * math/w_exp2f.c: Likewise.
19432         * math/w_exp2l.c: Likewise.
19433         * math/libm-test.inc (exp2_test): Require overflow exception for
19434         1e6 input.
19435
19436         [BZ #3866]
19437         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19438         range of signed 64-bit integers before using fistpll.  Remove
19439         checks for whether integers fit in mantissa bits.
19440         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19441         the range of signed 32-bit integers before using fistpl.  Remove
19442         checks for whether integers fit in mantissa bits.
19443         * sysdeps/i386/fpu/e_powl.S (p64): New object.
19444         (__ieee754_powl): Test for y outside the range of signed 64-bit
19445         integers before using fistpll.  Reduce 64-bit values to 63-bit
19446         ones as needed.
19447         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19448         divide-by-zero is raised for zero to large negative powers.
19449         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19450         (__ieee754_powl): Test for y outside the range of signed 64-bit
19451         integers before using fistpll.  Reduce 64-bit values to 63-bit
19452         ones as needed.
19453         * math/libm-test.inc (pow_test): Add more tests.
19454
19455 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19456
19457         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19458         <stdio-common/_itoa.h>.
19459         * debug/segfault.c: Likewise.
19460         * elf/dl-cache.c: Likewise.
19461         * elf/dl-minimal.c: Likewise.
19462         * elf/dl-misc.c: Likewise.
19463         * elf/dl-sysdep.c: Likewise.
19464         * elf/dl-version.c: Likewise.
19465         * elf/rtld.c: Likewise.
19466         * hurd/hurdsock.c: Likewise.
19467         * hurd/lookup-retry.c: Likewise.
19468         * malloc/malloc.c: Likewise.
19469         * malloc/mtrace.c: Likewise.
19470         * nscd/nscd_getgr_r.c: Likewise.
19471         * nscd/nscd_getpw_r.c: Likewise.
19472         * nscd/nscd_getserv_r.c: Likewise.
19473         * posix/getopt_init.c: Likewise.
19474         * posix/wordexp.c: Likewise.
19475         * stdio-common/_itoa.c: Likewise.
19476         * stdio-common/printf_fphex.c: Likewise.
19477         * stdio-common/vfprintf.c: Likewise.
19478         * string/_strerror.c: Likewise.
19479         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19480         * sysdeps/i386/i686/hp-timing.h: Likewise.
19481         * sysdeps/mach/_strerror.c: Likewise.
19482         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19483         * sysdeps/mach/hurd/sethostid.c: Likewise.
19484         * sysdeps/mach/hurd/xmknodat.c: Likewise.
19485         * sysdeps/mach/xpg-strerror.c: Likewise.
19486         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19487         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19488         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19489         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19490         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19491         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19492         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19493         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19494         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19495         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19496         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19497         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19498         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19499         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19500         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19501         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19502         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19503         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19504         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19505         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19506         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19507
19508         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19509
19510         * stdio-common/_itoa.h: Moved to ...
19511         * sysdeps/generic/_itoa.h: Here.
19512
19513         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19514
19515         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19516         instead of "_itoa.h" and "_itowa.h".
19517         * stdio-common/vfprintf.: Likewise.
19518
19519 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19520
19521         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19522         <bits/wordsize.h>.
19523         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19524         (__signbit): Likwise.
19525         (llrintf): Likwise.
19526         (llrint): Likwise.
19527
19528 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19529
19530         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19531         __WORDSIZE != 64.
19532
19533 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
19534
19535         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19536         OVERFLOW_EXCEPTION_OK.
19537         * math/libm-test.inc ("Philosophy"): Update comment about
19538         exception testing.
19539         (OVERFLOW_EXCEPTION): Define.
19540         (OVERFLOW_EXCEPTION_OK): Likewise.
19541         (INVALID_EXCEPTION_OK): Renumber.
19542         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19543         (IGNORE_ZERO_INF_SIGN): Likewise.
19544         (test_exceptions): Handle FE_OVERFLOW.
19545         (exp10_test): Expect overflow exceptions.
19546         (exp2_test): Likewise.
19547         (expm1_test): Likewise.
19548         (nextafter_test): Likewise.
19549         (pow_test): Likewise.
19550         (scalbn_test): Likewise.
19551         (scalbln_test): Likewise.
19552
19553 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19554
19555         * sysdeps/x86_64/bits/atomic.h
19556         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19557         64bit integer.
19558         (atomic_exchange_acq): Likewise.
19559         (__arch_exchange_and_add_body): Likewise.
19560         (__arch_add_body): Likewise.
19561         (atomic_add_negative): Likewise.
19562         (atomic_add_zero): Likewise.
19563
19564 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19565
19566         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19567         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19568
19569 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19570
19571         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19572         Check __x86_64__ instead of __WORDSIZE.
19573
19574 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19575
19576         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19577
19578 2012-03-19  David S. Miller  <davem@davemloft.net>
19579
19580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19581
19582         * sysdeps/sparc/fpu/fenv_private.h: New file.
19583         * sysdeps/sparc/fpu/math_private.h: Use it.
19584         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19585         Remove.
19586         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19587         (libc_feholdexcept_setroundl): Remove.
19588         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19589         Remove.
19590         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19591         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19592
19593 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19594
19595         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19596         int64_t instead of long int.
19597         (INSERT_WORDS64): Likwise.
19598
19599 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
19600
19601         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19602         _Unwind_GetCFA return to _Unwind_Ptr first.
19603
19604 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
19605
19606         [BZ #13629]
19607         * math/s_clog.c: Include <float.h>.
19608         (__clog): Scale large or subnormal inputs.
19609         * math/s_clogf.c: Likewise.
19610         * math/s_clogl.c: Likewise.
19611         * math/s_clog10.c: Include <float.h>.
19612         (M_LOG10_2): Define.
19613         (__clog10): Scale large or subnormal inputs.
19614         * math/s_clog10f.c: Likewise.
19615         * math/s_clog10l.c: Likewise.
19616         * math/libm-test.inc (clog_test): Add more tests.
19617         (clog10_test): Likewise.
19618         * sysdeps/i386/fpu/libm-test-ulps: Update.
19619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19620
19621         [BZ #11451]
19622         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19623         x and y.
19624         * math/libm-test.inc (atan2_test): Add another test.
19625
19626         * Makerules (common-objdir-compile): Remove.
19627         * sysdeps/unix/Makefile (config-generated): Do not add
19628         $(unix-generated) to variable.
19629         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19630         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19631         Remove rule.
19632         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19633         Likewise.
19634         [generic bits/local_lim.h] (before-compile): Do not append to
19635         variable.
19636         [generic bits/local_lim.h] (common-generated): Likewise.
19637         [generic sys/param.h] (before-compile): Do not append to variable.
19638         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19639         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19640         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19641         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19642         include.
19643         [generic sys/param.h] (sys/param.h-includes): Remove variable.
19644         [generic sys/param.h] (sys/param.h-includes): Remove rule.
19645         [generic sys/param.h] ($(addprefix
19646         $(common-objpfx),$(sys/param.h-includes))): Likewise.
19647         [generic sys/param.h] (common-generated): Do not append to
19648         variable.
19649         [generic sys/param.h] (sysdep_headers): Likewise.
19650         [generic bits/errno.h] (before-compile): Do not append to
19651         variable.
19652         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19653         rule.
19654         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19655         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19656         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19657         [generic bits/errno.h] (common-generated): Do not append to
19658         variable.
19659         [generic bits/ioctls.h] (before-compile): Do not append to
19660         variable.
19661         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19662         rule.
19663         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19664         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19665         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19666         rule.
19667         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19668         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19669         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19670         [generic bits/ioctls.h] (common-generated): Do not append to
19671         variable.
19672         [generic sys/syscall.h] (syscall.h): Remove variable.
19673         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19674         rule.
19675         [generic sys/syscall.h] (before-compile): Do not append to
19676         variable.
19677         [generic sys/syscall.h] (common-generated): Likewise.
19678         * sysdeps/unix/errnos-tmpl.c: Remove file.
19679         * sysdeps/unix/errnos.awk: Likewise.
19680         * sysdeps/unix/ioctls-tmpl.c: Likewise.
19681         * sysdeps/unix/ioctls.awk: Likewise.
19682         * sysdeps/unix/mk-local_lim.c: Likewise.
19683         * sysdeps/unix/snarf-ioctls: Likewise.
19684
19685 2012-03-19  Richard Henderson  <rth@twiddle.net>
19686
19687         * sysdeps/i386/fpu/fenv_private.h: New file.
19688         * sysdeps/i386/fpu/math_private.h: Use it.
19689         (math_opt_barrier, math_force_eval): Remove.
19690         (libc_feholdexcept_setround_53bit): Remove.
19691         (libc_feupdateenv_53bit): Remove.
19692         * sysdeps/x86_64/fpu/math_private.h: Likewise.
19693         (math_opt_barrier, math_force_eval): Remove.
19694         (libc_feholdexcept): Remove.
19695         (libc_feholdexcept_setround): Remove.
19696         (libc_fetestexcept, libc_fesetenv): Remove.
19697         (libc_feupdateenv_test): Remove.
19698         (libc_feupdateenv, libc_feholdsetround): Remove.
19699         (libc_feresetround): Remove.
19700
19701         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19702         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19703
19704         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19705         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19706         (libc_feupdateenv_testl): New.
19707         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19708         (libc_feupdateenv_testf): New.
19709         (libc_feupdateenv): Use libc_feupdateenv_test.
19710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19711         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19712
19713         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19714         (libc_feholdsetroundf, libc_feholdsetroundl): New.
19715         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19716         (libc_feresetround_noex): New.
19717         (libc_feresetround_noexf): New.
19718         (libc_feresetround_noexl): New.
19719         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19720         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19721         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19722         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19723         SET_RESTORE_ROUND.
19724         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19725         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19726         (__cos): Likewise.
19727         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19728         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19729         SET_RESTORE_ROUND_NOEX.
19730         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19731         SET_RESTORE_ROUND_NOEXF.
19732         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19733         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19734         (libc_feholdsetroundf): New.
19735         (libc_feresetround, libc_feresetroundf): New.
19736
19737         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19738         (libc_feholdexcept_setround_53bit): Convert from macro to function.
19739         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
19740
19741         * sysdeps/generic/math_private.h: Include <fenv.h>.
19742         (default_libc_feholdexcept): New.
19743         (default_libc_feholdexcept_setround): New.
19744         (default_libc_fesetenv, default_libc_feupdateenv): New.
19745         (libc_feholdexcept): Only define if undefined.
19746         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19747         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19748         (libc_feholdexcept_setroundl): Likewise.
19749         (libc_feholdexcept_setround_53bit): Likewise.
19750         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19751         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19752         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19753         (libc_feupdateenv_53bit): Likewise.
19754         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19755         (libc_feholdexcept): Convert from macro to inline function.
19756         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19757         (libc_fesetenv, libc_feupdateenv): Likewise.
19758
19759         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19760         not previously defined.
19761         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19762         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19763         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19764         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19765         * sysdeps/ieee754/flt-32/math_private.h: New file.
19766         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19767         math_private.h below SET_FLOAT_WORD.
19768         (__isnan, __isinf_ns, __finite): Remove.
19769         (__isnanf, __isinf_nsf, __finitef): Remove.
19770
19771 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
19772
19773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19774
19775 2012-03-17  David S. Miller  <davem@davemloft.net>
19776
19777         [BZ #6471]
19778         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19779         for 2.16.
19780
19781 2012-03-16  David S. Miller  <davem@davemloft.net>
19782
19783         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19784         warnings.
19785
19786         [BZ #6471]
19787         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19788         properly.
19789         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19790         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19791         sysdep_routines when subdir is sysvipc.
19792         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19793         __getshmlba helper.
19794
19795         * sysdeps/sparc/fpu/libm-test/ulps: Update.
19796
19797 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19798
19799         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19800         [__LP64__].
19801
19802 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19803
19804         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19805         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19806         (__lround): Renamed to ...
19807         (__llround): This.  Replace long int with long long int.
19808         Define lround functions as aliases of llround functions.
19809         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19810
19811 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19812
19813         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19814         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
19815         adresses to uintptr_t.  Replace "long int" and "unsigned long
19816         int" with "greg_t" on va_arg.
19817
19818 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19819
19820         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19821         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19822
19823         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19824         Move e_machine check before EI_CLASS check.  Handle x32
19825         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19826         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19827         SKIP_EM_IA_64 and include
19828         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19829
19830         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19831         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19832         (add_system_dir): New macro.
19833
19834         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19835         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19836
19837 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
19838
19839         [BZ #2551]
19840         [BZ #2552]
19841         [BZ #2553]
19842         [BZ #2554]
19843         [BZ #2562]
19844         [BZ #2563]
19845         [BZ #2565]
19846         [BZ #2566]
19847         [BZ #2576]
19848         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19849         (y0): Likewise.
19850         * math/w_j0f.c (j0f): Likewise.
19851         (y0f): Likewise.
19852         * math/w_j0l.c (__j0l): Likewise.
19853         (__y0l): Likewise.
19854         * math/w_j1.c (j1): Likewise.
19855         (y1): Likewise.
19856         * math/w_j1f.c (j1f): Likewise.
19857         (y1f): Likewise.
19858         * math/w_j1l.c (__j1l): Likewise.
19859         (__y1l): Likewise.
19860         * math/w_jn.c (jn): Likewise.
19861         (yn): Likewise.
19862         * math/w_jnf.c (jnf): Likewise.
19863         (ynf): Likewise.
19864         * math/w_jnl.c (__jnl): Likewise.
19865         (__ynl): Likewise.
19866         * math/libm-test.inc (j0_test): Add more tests.
19867         (j1_test): Likewise.
19868         (jn_test): Likewise.  Add trailing semicolon to existing test.
19869         (y0_test): Likewise.
19870         (y1_test): Likewise.
19871         * sysdeps/i386/fpu/libm-test-ulps: Update.
19872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19873
19874         [BZ #13851]
19875         [BZ #13854]
19876         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19877         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19878         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19879         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19880         (__tanl): Set errno for infinite argument.
19881         * sysdeps/i386/fpu/mptan.c: Remove.
19882         * sysdeps/i386/fpu/s_tan.S: Likewise.
19883         * sysdeps/i386/fpu/s_tanl.S: Likewise.
19884         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19885         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19886         * math/libm-test.inc (tan_test): Add more tests and enable more
19887         tests for double and long double.
19888         * sysdeps/i386/fpu/libm-test-ulps: Update.
19889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19890
19891 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
19892
19893         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19894         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19895
19896 2012-03-16  Roland McGrath  <roland@hack.frob.com>
19897
19898         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19899         * configure.in: Use it for both main tree and add-ons.
19900         * configure: Regenerated.
19901
19902 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19903
19904         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19905
19906 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
19907
19908         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19909         in comment.
19910
19911         [BZ #13851]
19912         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19913         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19914         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19915         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19916         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19917         infinite argument.
19918         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19919         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19920         != 0 for prec == 2.
19921         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19922         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19923         * sysdeps/i386/fpu/s_cosl.S: Likewise.
19924         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19925         * sysdeps/i386/fpu/s_sinl.S: Likewise.
19926         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19927         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19928         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19929         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19930         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19931         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19932         * math/libm-test.inc (cos_test): Add more tests and enable more
19933         tests for long double.
19934         (sin_test): Likewise.
19935         (sincos_test): Likewise.
19936         * sysdeps/i386/fpu/libm-test-ulps: Update.
19937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19938
19939 2012-03-16  David S. Miller  <davem@davemloft.net>
19940
19941         * sysdeps/sparc/fpu/math_private.h: New file.
19942
19943 2012-03-15  David S. Miller  <davem@davemloft.net>
19944
19945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19946         file.
19947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19949         file.
19950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19955         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19956         sysdep routines.
19957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19958
19959         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19960         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19961
19962         * sysdeps/sparc/sparc-ifunc.h: New file.
19963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19964         sparc-ifunc.h
19965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19967         Likewise.
19968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19969         Likewise.
19970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19974         Likewise.
19975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19980         Likewise.
19981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19982         Likewise.
19983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19989         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19990         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20000         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20001         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20002         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20003         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20004         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20005         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20006         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20007
20008 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
20009
20010         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20011         scaling.
20012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20013
20014 2012-03-15  Andreas Jaeger  <aj@suse.de>
20015
20016         [BZ #13852]
20017         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20018         ieee754/flt-32 implementation for sin, cos and sincos.
20019         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20020         * sysdeps/i386/fpu/s_cosf.S: Likewise.
20021         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20022         * sysdeps/i386/fpu/s_sinf.S: Likewise.
20023         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20024         ieee754/flt-32 implementation for tan.
20025
20026         * math/libm-test.inc (cos_test): Enable some large input tests for
20027         float as well
20028         (sin_test): Likewise.
20029         (sincos_test): Likewise.
20030         (tan_test): Add tests for large input.
20031
20032         * sysdeps/i386/fpu/libm-test-ulps: Update.
20033
20034 2012-03-15  Andreas Jaeger  <aj@suse.de>
20035
20036         [BZ #13658]
20037         * math/libm-test.inc (cos_test): Add more test cases.
20038         (sin_test): Likewise.
20039         (sincos_test): Likewise.
20040
20041 2012-03-15  Andreas Jaeger  <aj@suse.de>
20042
20043         [BZ #13837]
20044         * math/libm-test.inc (cos_test): Add a test case for large input
20045         value.
20046         (sin_test): Likewise.
20047         (sincos_test): Likewise.
20048
20049 2012-03-15  Andreas Jaeger  <aj@suse.de>,
20050         Joseph Myers  <joseph@codesourcery.com>
20051
20052         [BZ #13658]
20053         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20054         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20055         * sysdeps/i386/fpu/branred.c: Likewise.
20056         * sysdeps/i386/fpu/dosincos.c: Likewise.
20057         * sysdeps/i386/fpu/mpa.c: Likewise.
20058         * sysdeps/i386/fpu/s_cos.S: Likewise.
20059         * sysdeps/i386/fpu/s_sin.S: Likewise.
20060         * sysdeps/i386/fpu/s_sincos.S: Likewise.
20061         * sysdeps/i386/fpu/sincos32.c: Likewise.
20062
20063         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20064         Define.
20065         (libc_feupdateenv_53bit): Define.
20066         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20067         Define.
20068         (libc_feupdateenv_53bit): Define.
20069
20070         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20071         53 bit (without extend i386 double precision).
20072
20073         * math/libm-test.inc (sincos_test): Add tests for large input.
20074         (sin): Likewise.
20075         (cos): Likewise.
20076
20077         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20078
20079 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
20080
20081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20082
20083 2012-03-15  David S. Miller  <davem@davemloft.net>
20084
20085         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20086         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20087         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20088         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20101         file.
20102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20104         file.
20105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20107         file.
20108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20110         file.
20111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20113         fmin/fmax sysdep routines.
20114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20115
20116 2012-03-14  David S. Miller  <davem@davemloft.net>
20117
20118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20122         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20124         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20125         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20138         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20140         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20141         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20142         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20143         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20144         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20145         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20146         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20147         routines.
20148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20149         file.
20150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20152         file.
20153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20155         file.
20156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20158         file.
20159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20161         file.
20162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20164         file.
20165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20166         file.
20167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20168         file.
20169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20170         file.
20171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20172         New file.
20173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20174         file.
20175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20176         file.
20177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20179         file.
20180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20182         file.
20183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20185         file.
20186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20188         VIS3 routines.
20189
20190         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20191         New file.
20192
20193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20194
20195         * sysdeps/sparc/configure.in: New file.
20196         * sysdeps/sparc/configure: Generate.
20197         * configure.in (libc_cv_sparc_as_vis3): Substitute.
20198         * configure: Regenerate.
20199         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20200         * config.make.in (have-as-vis3): New.
20201         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20202         available use -Av9d instead of -Av9a.
20203         * sysdeps/sparc/sparc64/Makefile: Likewise.
20204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20206         New file.
20207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20208         file.
20209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20210         New file.
20211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20212         file.
20213         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20214         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20215         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20217         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20218
20219         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20220         fzeros/fnegs to load 0x80000000 into a float register instead of
20221         using the stack.
20222         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20223
20224 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
20225
20226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20227         bits/syscall.h.
20228         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20229         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20230         ($(inst_includedir)/bits/syscall.h): Remove rule.
20231         ($(objpfx)bits/syscall.d): Include instead of
20232         $(objpfx)syscall-list.d.
20233         (generated): Change syscall-list.h and syscall-list.d to
20234         bits/syscall.h and bits/syscall.d.
20235
20236 2012-03-14  Roland McGrath  <roland@hack.frob.com>
20237
20238         [BZ #13846]
20239         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20240
20241 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
20242
20243         [BZ #13841]
20244         * math/s_csqrt.c: Include <float.h>.
20245         (__csqrt): Scale large or subnormal inputs.
20246         * math/s_csqrtf.c: Likewise.
20247         * math/s_csqrtl.c: Likewise.
20248         * math/libm-test.inc (csqrt_test): Add more tests.
20249         * sysdeps/i386/fpu/libm-test-ulps: Update.
20250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251
20252         [BZ #13840]
20253         * math/libm-test.inc (hypot_test): Add more tests.
20254
20255 2012-03-13  David S. Miller  <davem@davemloft.net>
20256
20257         [BZ #13840]
20258         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20259         double-precision for the calculation instead of scaling.
20260
20261 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
20262
20263         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20264         manipulate bits before adding and subtracting TWO52[sx].
20265         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20266         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20267         Likewise.
20268         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20269
20270 2012-03-13  David S. Miller  <davem@davemloft.net>
20271
20272         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20273         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20274         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20275         rtld-global-offsets.h
20276         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20277
20278         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20279         large parameters.
20280
20281         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20282
20283         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20284         'err' in the ifdef scope in which it is actually used.
20285
20286         * nss/nss_db/db-init.c: Include string.h
20287
20288 2012-03-12  David S. Miller  <davem@davemloft.net>
20289
20290         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20291         masking out of the most significant byte of random value used.
20292         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20293         Fix coding style in previous change.
20294
20295         * sysdeps/unix/sysv/linux/kernel-features.h
20296         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20297         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20298         expression.
20299         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20300         later.
20301
20302 2012-03-11  David S. Miller  <davem@davemloft.net>
20303
20304         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20305         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20306         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20307         for 'resultvar' otherwise things get truncated on 64-bit.
20308
20309         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20310         Fix masking out of the most significant byte of random value used.
20311
20312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20313
20314 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
20315
20316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20317
20318 2012-03-09  David S. Miller  <davem@davemloft.net>
20319
20320         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20321         variables with appropriate CPP guards.
20322         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20323         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
20324         on resulting framesize and the management of the outregs buffer for pltexit.
20325         Preserve floating point return values across _dl_call_pltexit call.
20326         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20327         framesize and the management of the outregs buffer for pltexit.
20328         Preserve floating point return values across _dl_call_pltexit
20329         call.
20330         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20331         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20332         (print_exit): Fix format string for return register value.
20333
20334 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
20335
20336         * sunrpc/Makefile (others): Add rpcgen.
20337         ($(objpfx)rpcgen): Remove special build rule and dependency on
20338         libc.
20339         * sunrpc/rpcgen.c: New file.
20340
20341 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
20342
20343         [BZ #13673]
20344         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20345         * stdio-common/bug-vfprintf-nargs.c: Likewise.
20346         * sysdeps/i386/crti.S: Likewise.
20347         * sysdeps/i386/crtn.S: Likewise.
20348         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20349         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20350         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20351         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20352         * sysdeps/sh/crti.S: Likewise.
20353         * sysdeps/sh/crtn.S: Likewise.
20354         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20355
20356         [BZ #13673]
20357         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20358         with URL.
20359         * locale/programs/locfile-kw.gperf: Likewise.
20360         * locale/programs/charmap-kw.h: Regenerated.
20361         * locale/programs/locfile-kw.h: Likewise.
20362
20363         [BZ #13673]
20364         * intl/plural.y: Replace FSF snail mail address with URL.
20365         * intl/plural.c: Regenerated.
20366
20367 2012-03-09  Richard Henderson  <rth@twiddle.net>
20368
20369         * include/math_private.h: Remove file.
20370         * math/math_private.h: Move file ...
20371         * sysdeps/generic/math_private.h: ... here.
20372
20373         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20374         * sysdeps/powerpc/fpu/math_private.h: Likewise.
20375         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20376
20377         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20378         and <math_private.h>.
20379         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20380         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20381         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20382         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20383         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20384         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20385         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20387         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20388         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20390         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20391         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20392         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20393         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20394         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20395         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20396         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20397         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20398         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20400         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20401         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20402         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20403         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20404         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20405         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20406         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20407         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20409         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20410         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20411         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20412         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20413         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20414         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20415         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20416         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20417         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20418         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20419         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20420         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20421         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20422         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20423         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20424         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20425         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20426         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20427         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20428         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20429         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20430         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20431         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20432         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20433         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20434         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20435         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20436         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20437         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20438         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20439         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20440         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20441         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20442         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20443         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20444         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20445         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20446         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20447         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20448         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20449         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20450         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20451         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20452         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20453         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20454         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20456         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20457         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20458         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20459         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20460         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20461         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20462         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20463         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20464         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20465         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20466         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20467         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20468         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20469         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20470         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20471         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20472         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20473         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20474         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20475         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20476         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20477         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20478         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20479         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20480         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20481         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20482         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20483         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20484         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20485         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20486         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20487         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20488         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20489         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20490         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20491         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20492         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20493         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20494         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20495         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20496         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20497         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20498         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20499         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20500         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20501         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20502         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20503         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20504         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20505         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20506         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20507         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20508         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20509         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20510         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20511         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20512         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20513         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20514         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20515         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20516         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20517         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20518         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20519         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20520         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20521         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20522         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20523         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20524         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20525         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20526         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20527         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20528         * sysdeps/ieee754/k_standard.c: Likewise.
20529         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20530         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20531         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20532         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20533         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20534         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20535         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20536         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20537         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20538         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20539         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20540         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20541         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20542         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20543         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20544         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20545         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20546         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20547         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20548         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20549         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20550         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20551         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20552         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20553         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20554         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20555         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20556         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20557         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20558         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20559         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20560         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20561         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20562         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20563         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20564         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20565         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20566         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20567         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20568         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20569         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20570         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20571         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20572         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20573         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20574         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20575         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20576         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20577         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20578         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20579         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20580         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20581         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20582         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20583         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20584         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20585         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20586         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20587         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20588         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20589         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20590         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20591         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20592         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20593         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20594         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20595         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20596         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20597         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20598         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20599         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20600         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20601         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20602         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20603         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20604         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20605         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20606         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20607         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20608         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20609         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20610         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20611         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20612         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20613         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20614         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20615         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20616         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20617         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20618         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20619         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20620         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20621         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20622         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20623         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20624         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20625         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20626         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20627         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20629         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20630         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20631         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20632         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20633         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20634         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20635         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20636         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20637         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20638         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20639         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20640         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20641         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20642         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20643         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20644         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20645         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20646         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20647         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20648         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20649         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20650         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20651         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20652         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20653         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20654         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20655         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20656         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20657         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20658         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20659         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20660         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20661         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20662         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20663         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20664         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20665         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20666         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20667         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20668         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20669         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20670         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20671         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20672         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20673         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20674         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20675         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20676         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20677         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20678         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20679         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20680         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20681         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20682         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20683         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20684         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20685         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20686         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20687         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20688         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20689         * sysdeps/ieee754/s_lib_version.c: Likewise.
20690         * sysdeps/ieee754/s_matherr.c: Likewise.
20691         * sysdeps/ieee754/s_signgam.c: Likewise.
20692         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20693         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20694         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20695         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20696         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20697         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20698         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20699         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20700         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20701         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20702         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20703         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20704         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20705         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20706         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20707         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20708         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20709         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20710         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20711         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20712         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20713
20714 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
20715
20716         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20717         * sunrpc/rpc_main.c: Likewise.
20718         * sunrpc/rpc_svcout.c: Likewise.
20719
20720 2012-03-09  David S. Miller  <davem@davemloft.net>
20721
20722         * include/math_private.h: New file.
20723
20724 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
20725
20726         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20727         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20728         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20729         from <bits/socket_type.h>.
20730         (enum __socket_type): Don't define here.
20731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20732         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20733         bits/socket_type.h.
20734
20735         [BZ #13566]
20736         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20737         checking __USE_GNU.
20738
20739         * Makerules ($(inst_includedir)/%.h): New rule.
20740         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20741         (install-others): Remove variable setting.
20742         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20743
20744 2012-03-08  Richard Henderson  <rth@twiddle.net>
20745
20746         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20747         from macro to inline function; merge with the
20748         !__LIBC_INTERNAL_MATH_INLINES version.
20749         (__ieee754_sqrtf): Likewise.
20750
20751         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20752         to inline function.
20753         (__rintf, __floor, __floorf): Likewise.
20754
20755         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20756         macro to inline function.
20757         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20758
20759         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20760         not <math/math_private.h>.
20761
20762 2012-03-08  David S. Miller  <davem@davemloft.net>
20763
20764         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20765         copyright year.
20766         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20767
20768 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
20769
20770         * resolv/gai_misc.c (handle_requests): Fix struct timespec
20771         normalization.
20772         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20773         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20774
20775 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
20776
20777         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
20778         be defined individually, they must be defined as a block.  Define
20779         S for printing a string instead of hidint the different by using a
20780         macro for adding the 'l'.
20781         * stdio-common/tst-fphex-wide.c: Adjust.
20782
20783 2012-03-07  Marek Polacek  <polacek@redhat.com>
20784
20785         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20786
20787 2012-03-08  Marek Polacek  <polacek@redhat.com>
20788
20789         [BZ #13806]
20790         * stdio-common/Makefile (tests): Add tst-fphex-wide.
20791         * stdio-common/tst-fphex.c: Define a few macros to make the
20792         test reusable.  Use them.
20793         * stdio-common/tst-fphex-wide.c: New file.
20794
20795 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
20796
20797         [BZ #6911]
20798         * manual/macros.texi (gnusystems): New macro.
20799         (nongnusystems): Likewise.
20800         (gnulinuxhurdsystems): Likewise.
20801         (gnuhurdsystems): Likewise..
20802         (gnulinuxsystems): Likewise.
20803         * manual/charset.texi: Use new macros or @theglibc{} to refer to
20804         variants of the GNU system, not "GNU system".
20805         * manual/conf.texi: Likewise.
20806         * manual/errno.texi: Likewise.  Update example of errno macro
20807         expansion.
20808         * manual/filesys.texi: Likewise.
20809         (getumask): Document as specific to GNU/Hurd.
20810         * manual/install.texi: Likewise.  Reword some references to
20811         GNU/Linux.
20812         * manual/intro.texi: Likewise.
20813         * manual/io.texi: Likewise.
20814         (File Name Portability): Detail which constraints are inapplicable
20815         to all GNU systems and which are only inapplicable to GNU/Hurd.
20816         * manual/job.texi: Likewise.
20817         * manual/llio.texi: Likewise.
20818         (O_NOCTTY): Document as present on GNU/Linux.
20819         * manual/maint.texi: Likewise.
20820         * manual/memory.texi: Likewise.
20821         * manual/pattern.texi: Likewise.
20822         * manual/pipe.texi: Likewise.
20823         * manual/process.texi: Likewise.
20824         * manual/resource.texi: Likewise.
20825         (RUSAGE_CHILDREN): Remove statement about specifying a particular
20826         child on GNU/Hurd.
20827         * manual/setjmp.texi: Likewise.
20828         * manual/signal.texi: Likewise.
20829         * manual/startup.texi: Likewise.
20830         * manual/stdio.texi: Likewise.
20831         * manual/terminal.texi: Likewise.
20832         (ONLCR): Document as POSIX.
20833         (OXTABS): Document availability on GNU/Linux as XTABS.
20834         (ONOEOT): Document availability separately from other bits.
20835         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20836         * manual/time.texi: Likewise.
20837         * manual/users.texi: Likewise.
20838         * INSTALL: Regenerated.
20839         * sysdeps/gnu/errlist.c: Regenerated.
20840
20841         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20842         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20843         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
20844         puts.
20845         * configure: Regenerated.
20846
20847 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
20848
20849         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20850         default includes instead of AC_HEADER_CHECK.
20851         * sysdeps/i386/configure: Regenerated.
20852
20853         [BZ #10716]
20854         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20855         * math/s_cacoshf.c (__cacoshf): Likewise.
20856         * math/s_cacoshl.c (__cacoshl): Likewise.
20857         * math/s_casinh.c (__casinh): Set signs of result from argument.
20858         * math/s_casinhf.c (__casinhf): Likewise.
20859         * math/s_casinhl.c (__casinhl): Likewise.
20860         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20861         (casinh_test): Add more tests.
20862         * sysdeps/i386/fpu/libm-test-ulps: Update.
20863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20864
20865 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
20866
20867         * po/zh_TW.po: Update from translation team.
20868
20869         * login/Makefile (distribute): Remove variable.
20870         * catgets/Makefile: Likewise.
20871         * mach/Makefile: Likewise.
20872         * malloc/Makefile: Likewise.
20873         * misc/Makefile: Likewise.
20874         * iconv/Makefile: Likewise.
20875         * nscd/Makefile: Likewise.
20876         * hurd/Makefile: Likewise.
20877         * manual/Makefile: Likewise.
20878         * locale/Makefile: Likewise.
20879         * intl/Makefile: Likewise.
20880         * conform/Makefile: Likewise.
20881         * nss/Makefile: Likewise.
20882         * time/Makefile: Likewise.
20883         * soft-fp/Makefile: Likewise.
20884         * dirent/Makefile: Likewise.
20885         * gmon/Makefile: Likewise.
20886         * po/Makefile: Likewise.
20887         * rt/Makefile: Likewise.
20888         * socket/Makefile: Likewise.
20889         * math/Makefile: Likewise.
20890         * signal/Makefile: Likewise.
20891         * debug/Makefile: Likewise.
20892         * elf/Makefile: Likewise.
20893         * timezone/Makefile: Likewise.
20894         * stdlib/Makefile: Likewise.
20895         * iconvdata/Makefile: Likewise.
20896         * sunrpc/Makefile: Likewise.
20897         * io/Makefile: Likewise.
20898         * argp/Makefile: Likewise.
20899         * inet/Makefile: Likewise.
20900         * hesiod/Makefile: Likewise.
20901         * grp/Makefile: Likewise.
20902         * csu/Makefile: Likewise.
20903         * wctype/Makefile: Likewise.
20904         * crypt/Makefile: Likewise.
20905         * libio/Makefile: Likewise.
20906         * string/Makefile: Likewise.
20907         * nis/Makefile: Likewise.
20908         * resolv/Makefile: Likewise.
20909         * stdio-common/Makefile: Likewise.
20910         * wcsmbs/Makefile: Likewise.
20911         * dlfcn/Makefile: Likewise.
20912         * posix/Makefile: Likewise.
20913
20914         [BZ #6959]
20915         * timezone/Makefile: Don't install timezone files, just the programs
20916         and scripts.
20917
20918 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
20919
20920         * nss/databases.def: Add missing gshadow entry.
20921
20922         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
20923
20924 2012-03-06  Marek Polacek  <polacek@redhat.com>
20925
20926         [BZ #13726]
20927         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20928         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20929         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20930         * stdio-common/tst-long-dbl-fphex.c: New file.
20931
20932 2012-03-06  David S. Miller  <davem@davemloft.net>
20933
20934         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20935         (set_obp_int): New function.
20936         (get_obp_int): New function.
20937         (__get_clockfreq_via_dev_openprom): Likewise.
20938         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20939         Avoid unused variable warnings on 'val' and use builtin_expect.
20940         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20941         __builtin_expect.
20942         (INLINE_CLONE_SYSCALL): Likewise.
20943
20944 2012-03-05  David S. Miller  <davem@davemloft.net>
20945
20946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20947
20948 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
20949
20950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20951
20952         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20953         only for |x| >= 40.
20954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20955
20956 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20957
20958         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20959         Replace gettimeofday with __vdso_gettimeofday.
20960
20961         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20962         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20963         __vdso_clock_gettime and __vdso_getcpu.
20964
20965         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20966         time with __vdso_time.
20967
20968 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
20969
20970         * manual/lang.texi (size_t): Note types to which size_t may be
20971         equivalent with the GNU C Library, but do not describe when
20972         differences between them are significant.
20973
20974 2012-03-05  Andreas Jaeger  <aj@suse.de>
20975
20976         * sysdeps/i386/fpu/libm-test-ulps: Update.
20977
20978 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
20979
20980         [BZ #3976]
20981         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20982         (__ieee754_pow): Save and restore rounding mode and use
20983         round-to-nearest for main computations.
20984         * math/libm-test.inc (pow_test_tonearest): New function.
20985         (pow_test_towardzero): Likewise.
20986         (pow_test_downward): Likewise.
20987         (pow_test_upward): Likewise.
20988         (main): Call the new functions.
20989         * sysdeps/i386/fpu/libm-test-ulps: Update.
20990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20991
20992         [BZ #3976]
20993         * math/libm-test.inc (cosh_test_tonearest): New function.
20994         (cosh_test_towardzero): Likewise.
20995         (cosh_test_downward): Likewise.
20996         (cosh_test_upward): Likewise.
20997         (sinh_test_tonearest): Likewise.
20998         (sinh_test_towardzero): Likewise.
20999         (sinh_test_downward): Likewise.
21000         (sinh_test_upward): Likewise.
21001         (main): Call the new functions.
21002         * sysdeps/i386/fpu/libm-test-ulps: Update.
21003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21004
21005 2012-03-05  Tom de Vries  <tom@codesourcery.com>
21006
21007         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21008         default stack guard is set in last bytes.
21009         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21010
21011 2012-03-05  Kees Cook  <keescook@chromium.org>
21012
21013         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21014
21015         [BZ #13656]
21016         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21017         possibly allocate from heap instead of stack.
21018         * stdio-common/bug-vfprintf-nargs.c: New file.
21019         * stdio-common/Makefile (tests): Add nargs overflow test.
21020
21021 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
21022
21023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21024
21025 2012-03-03  Marek Polacek  <polacek@redhat.com>
21026
21027         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21028         * math/math_private.h: Likewise.
21029         * stdlib/tst-strtod.c: Likewise.
21030         * sysdeps/i386/i486/bits/atomic.h: Likewise.
21031         * sysdeps/x86_64/bits/atomic.h: Likewise.
21032
21033 2012-03-02  David S. Miller  <davem@davemloft.net>
21034
21035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21039         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21040         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21041         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21042         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21043
21044 2012-03-02  Roland McGrath  <roland@hack.frob.com>
21045
21046         [BZ #13792]
21047         * manual/examples/README: New file, says the example source files
21048         can be used under GPL>=2.
21049         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21050         line containing just "*/".
21051         * manual/examples/add.c: Add copyright header (GPL>=2).
21052         * manual/examples/argp-ex1.c: Likewise.
21053         * manual/examples/argp-ex2.c: Likewise.
21054         * manual/examples/argp-ex3.c: Likewise.
21055         * manual/examples/argp-ex4.c: Likewise.
21056         * manual/examples/atexit.c: Likewise.
21057         * manual/examples/db.c: Likewise.
21058         * manual/examples/dir.c: Likewise.
21059         * manual/examples/dir2.c: Likewise.
21060         * manual/examples/execinfo.c: Likewise.
21061         * manual/examples/filecli.c: Likewise.
21062         * manual/examples/filesrv.c: Likewise.
21063         * manual/examples/fmtmsgexpl.c: Likewise.
21064         * manual/examples/genpass.c: Likewise.
21065         * manual/examples/inetcli.c: Likewise.
21066         * manual/examples/inetsrv.c: Likewise.
21067         * manual/examples/isockad.c: Likewise.
21068         * manual/examples/longopt.c: Likewise.
21069         * manual/examples/memopen.c: Likewise.
21070         * manual/examples/memstrm.c: Likewise.
21071         * manual/examples/mkfsock.c: Likewise.
21072         * manual/examples/mkisock.c: Likewise.
21073         * manual/examples/mygetpass.c: Likewise.
21074         * manual/examples/pipe.c: Likewise.
21075         * manual/examples/popen.c: Likewise.
21076         * manual/examples/rprintf.c: Likewise.
21077         * manual/examples/search.c: Likewise.
21078         * manual/examples/select.c: Likewise.
21079         * manual/examples/setjmp.c: Likewise.
21080         * manual/examples/sigh1.c: Likewise.
21081         * manual/examples/sigusr.c: Likewise.
21082         * manual/examples/stpcpy.c: Likewise.
21083         * manual/examples/strdupa.c: Likewise.
21084         * manual/examples/strftim.c: Likewise.
21085         * manual/examples/strncat.c: Likewise.
21086         * manual/examples/subopt.c: Likewise.
21087         * manual/examples/swapcontext.c: Likewise.
21088         * manual/examples/termios.c: Likewise.
21089         * manual/examples/testopt.c: Likewise.
21090         * manual/examples/testpass.c: Likewise.
21091         * manual/examples/timeval_subtract.c: Likewise.
21092
21093         [BZ #13792]
21094         * manual/time.texi (Elapsed Time): Move timeval_subtract example
21095         function to ...
21096         * manual/timeval_subtract.c.texi: ... here, new file.
21097
21098 2012-03-02  David S. Miller  <davem@davemloft.net>
21099
21100         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21101
21102 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
21103
21104         [BZ #3976]
21105         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21106         (__sin): Save and restore rounding mode and use round-to-nearest
21107         for all computations.
21108         (__cos): Save and restore rounding mode and use round-to-nearest
21109         for all computations.
21110         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21111         <fenv.h>.
21112         (tan): Save and restore rounding mode and use round-to-nearest for
21113         all computations.
21114         * math/libm-test.inc (cos_test_tonearest): New function.
21115         (cos_test_towardzero): Likewise.
21116         (cos_test_downward): Likewise.
21117         (cos_test_upward): Likewise.
21118         (sin_test_tonearest): Likewise.
21119         (sin_test_towardzero): Likewise.
21120         (sin_test_downward): Likewise.
21121         (sin_test_upward): Likewise.
21122         (tan_test_tonearest): Likewise.
21123         (tan_test_towardzero): Likewise.
21124         (tan_test_downward): Likewise.
21125         (tan_test_upward): Likewise.
21126         (main): Call the new functions.
21127         * sysdeps/i386/fpu/libm-test-ulps: Update.
21128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21129
21130         [BZ #10135]
21131         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21132         small n, then large n, before computing and testing k+n.
21133         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21134         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21135         Likewise.
21136         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21137         Likewise.
21138         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21139         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21140         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21141         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21142         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21143         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21144         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21145         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21146         * math/libm-test.inc (scalbn_test): Add more tests.
21147         (scalbln_test): Likewise.
21148
21149         * manual/filesys.texi (mode_t): Describe constraints on size and
21150         signedness, not exact equivalence to a particular type.
21151         (ino_t): Likewise.
21152         (ino64_t): Likewise.
21153         (dev_t): Likewise.
21154         (nlink_t): Likewise.
21155         (blkcnt_t): Likewise.
21156         (blkcnt64_t): Likewise.
21157         * manual/llio.texi (off_t): Likewise.
21158
21159         [BZ #3976]
21160         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21161         (__ieee754_exp): Save and restore rounding mode and use
21162         round-to-nearest for all computations.
21163         * math/libm-test.inc (exp_test_tonearest): New function.
21164         (exp_test_towardzero): Likewise.
21165         (exp_test_downward): Likewise.
21166         (exp_test_upward): Likewise.
21167         (main): Call the new functions.
21168         * sysdeps/i386/fpu/libm-test-ulps: Update.
21169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21170
21171 2012-03-01  Chris Demetriou  <cgd@google.com>
21172
21173         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21174         have predictable order.
21175
21176 2012-03-01  David S. Miller  <davem@davemloft.net>
21177
21178         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21179
21180         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21181         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21182         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21183         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21184
21185         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21186         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21187         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21189         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21190         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21191         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21192         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21193         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21194
21195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21196
21197         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21198         * sysdeps/sparc/fpu/libm-test-ulps: to here.
21199         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21200
21201         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21202         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21203         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21204         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21205         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21206         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21207         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21208         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21209         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21210         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21211         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21212         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21213         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21214         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21215         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21216         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21217         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21218         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21219         * sysdeps/sparc/elf/configure: Regenerated.
21220
21221 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
21222
21223         * configure.in (AS, LD): Require binutils 2.20 or later.
21224         * configure: Regenerated.
21225         * manual/install.texi (Tools for Compilation): Give binutils 2.20
21226         as required minimum version.
21227         * INSTALL: Regenerated.
21228
21229         [BZ #2541]
21230         [BZ #4108]
21231         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21232         before squaring exponent.
21233         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21234         bottom long double and 27 bits of top long double before squaring
21235         exponent.
21236         * math/libm-test.inc (erfc_test): Add more tests.
21237         * sysdeps/i386/fpu/libm-test-ulps: Update.
21238         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21240
21241 2012-03-01  Kai Tietz  <ktietz@redhat.com>
21242
21243         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21244         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21245         containing bit-fields.
21246         * soft-fp/extended.h (_FP_UNION_E): Likewise.
21247         * soft-fp/single.h (_FP_UNION_S): Likewise.
21248         * soft-fp/double.h (_FP_UNION_D): Likewise.
21249
21250 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
21251
21252         [BZ #13786]
21253         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21254         not include ../strcmp.S.
21255         [USE_AS_STRNCASECMP_L]: Likewise.
21256         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21257         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21258         * sysdeps/i386/i686/multiarch/strncase_l-c.c
21259         (__strncasecmp_l_ia32): Define as alias to
21260         __strncasecmp_l_nonascii.
21261
21262         [BZ #5794]
21263         * math/libm-test.inc (expm1_test): Add test for bug 5794.
21264         * sysdeps/i386/fpu/libm-test-ulps: Update.
21265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21266
21267         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21269
21270 2012-02-29  Jeff Law  <law@redhat.com>
21271
21272         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21273         out of bounds read.
21274
21275 2012-02-29  Marek Polacek  <polacek@redhat.com>
21276
21277         [BZ #13706]
21278         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21279         * elf/Makefile: Add rules to run tst-unused-dep.out.
21280
21281 2012-02-28  David S. Miller  <davem@davemloft.net>
21282
21283         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21284         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21285         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21286         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21287         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21288         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21289
21290 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
21291
21292         * math/libm-test.inc (llround_test): Move one test from
21293         lround_test.  Use TEST_f_L in moved test.
21294         (lround_test): Move misplaced test to llround_test.  Add testcase
21295         from bug 2561.
21296
21297 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
21298
21299         * sysdeps/x86_64/fpu/e_expf.S: New file.
21300         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21301
21302 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
21303
21304         [BZ #13637]
21305         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21306         of remain_len that may cause incomplete multi-byte character and
21307         false match.
21308         * posix/bug-regex33.c: New file.
21309         * posix/Makefile (tests): Add bug-regex33.
21310
21311 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
21312
21313         * manual/macros.texi: New file.
21314         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21315         * manual/libc.texinfo: Include macros.texi.
21316         * manual/creatute.texi: Likewise.
21317         * manual/install.texi: Likewise.
21318         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21319         @glibcadj{} in references to the GNU C Library.
21320         * manual/charset.texi: Likewise.
21321         * manual/conf.texi: Likewise.
21322         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
21323         when not using those macros.
21324         * manual/creature.texi: Likewise.
21325         * manual/crypt.texi: Likewise.
21326         * manual/errno.texi: Likewise.
21327         * manual/filesys.texi: Likewise.
21328         * manual/header.texi: Likewise.
21329         * manual/install.texi: Likewise.
21330         * manual/intro.texi: Likewise.
21331         * manual/io.texi: Likewise.
21332         * manual/job.texi: Likewise.
21333         * manual/lang.texi: Likewise.
21334         * manual/libc.texiinfo: Likewise.
21335         * manual/llio.texi: Likewise.
21336         * manual/locale.texi: Likewise.
21337         * manual/maint.texi: Likewise.
21338         * manual/math.texi: Likewise.
21339         * manual/memory.texi: Likewise.
21340         * manual/message.texi: Likewise.
21341         * manual/nss.texi: Likewise.
21342         * manual/pattern.texi: Likewise.
21343         * manual/process.texi: Likewise.
21344         * manual/resource.texi: Likewise.
21345         * manual/search.texi: Likewise.
21346         * manual/setjmp.texi: Likewise.
21347         * manual/signal.texi: Likewise.
21348         * manual/socket.texi: Likewise.
21349         * manual/startup.texi: Likewise.
21350         * manual/stdio.texi: Likewise.
21351         * manual/string.texi: Likewise.
21352         * manual/sysinfo.texi: Likewise.
21353         * manual/syslog.texi: Likewise.
21354         * manual/terminal.texi: Likewise.
21355         * manual/time.texi: Likewise.
21356         * manual/users.texi: Likewise.
21357         * INSTALL: Regenerated.
21358         * NOTES: Regenerated.
21359         * sysdeps/gnu/errlist.c: Regenerated.
21360
21361 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
21362
21363         * include/dirent.h: Include <dirstream.h> before
21364         <dirent/dirent.h>.
21365
21366 2012-02-28  David S. Miller  <davem@davemloft.net>
21367
21368         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21369         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21370         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21371         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21372
21373 2012-02-27  David S. Miller  <davem@davemloft.net>
21374
21375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21377         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21378         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21379
21380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21381         frame pointer instead of stack pointer relative arg slot.
21382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21383         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21384         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21385
21386 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
21387
21388         [BZ #3992]
21389         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21390
21391 2012-02-27  David S. Miller  <davem@davemloft.net>
21392
21393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21397         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21398         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21399         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21400         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21401
21402 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
21403
21404         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21405         later.  Allow versions 5-9.
21406         * configure: Regenerated.
21407         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21408         required minimum version and 4.6 as recommended version.  Do not
21409         mention bugs in GCC 2.7 and 2.8.
21410         * INSTALL: Regenerated.
21411
21412 2012-02-27  David S. Miller  <davem@davemloft.net>
21413
21414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21418         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21419         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21420         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21421         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21422
21423         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21424         manipulate bits before adding and subtracting TWO112[sx].
21425         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21426
21427 2012-02-27  Roland McGrath  <roland@hack.frob.com>
21428
21429         [BZ #13775]
21430         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21431         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21432         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21433         being in POSIX, because they are in 1003.1-2008.
21434
21435         * rt/tst-aio.c: Include <fcntl.h>.
21436         * rt/tst-aio7.c: Likewise.
21437         * rt/tst-aio64.c: Likewise.
21438
21439         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21440
21441 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
21442
21443         * manual/install.texi (--with-headers): Describe headers as
21444         interface headers, not private headers.
21445         (Specific advice for GNU/Linux systems): Describe use of headers
21446         from "make headers_install", not private headers from older
21447         kernels.
21448         * INSTALL: Regenerated.
21449         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21450         Change to 2.6.19.
21451         * sysdeps/unix/sysv/linux/configure: Regenerated.
21452
21453         * manual/llio.texi (fclean): Remove documentation.
21454
21455         * manual/Makefile (libc-texi-generated): New variable.  Include
21456         version.texi.
21457         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21458         $(libc-texi-generated), not duplicated list of files.
21459         (version.texi, stamp-version): New rules.
21460         (realclean): Remove $(libc-texi-generated), not individual files
21461         from that list.  Do not remove dir-add.texinfo.
21462         * manual/libc.texinfo: Comment out uses of edition numbers and
21463         references to printed manual.  Remove last-updated dates.
21464         (EDITION): Comment out.
21465         (ISBN): Likewise.
21466         (VERSION, UPDATED): Remove.
21467         (version.texi): Include.
21468
21469 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
21470
21471         * sysdeps/posix/spawni.c: Include <signal.h>.
21472         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21473         * sysdeps/pthread/aio_fsync.c: Likewise.
21474
21475 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
21476
21477         * conform/Makefile (tests): Run only when not cross-compiling and
21478         when fast-check is not defined.
21479
21480         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21481         * conform/data/limits.h-data: Fixes for POSIX2008.
21482         * conform/run-conformtest.sh: Run all tests.
21483         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21484         headers.
21485         * include/bits/dlfcn.h: Likewise.
21486         * include/langinfo.h: Likewise.
21487         * include/monetary.h: Likewise.
21488         * include/sys/poll.h: Likewise.
21489
21490         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21491         for __USE_GNU.
21492         * posix/spawn.h: Define __need_sigset_t.
21493         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21494         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21495         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
21496         to get sigevent_t only.
21497         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21498         only for __USE_GNU.
21499         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21500         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21501         process_vm_writev only for __USE_GNU.
21502         * termios/termios.h: Declare tcgetsid also for POSIX2008.
21503
21504         * conform/Makefile: For now ignore errors from run-conformtest.
21505         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
21506         POSIX to avoid namespace pollution.  Don't prepend headers.
21507         * conform/data/aio.h-data: Fixes for POSIX testing.
21508         * conform/data/fcntl.h-data: Likewise.
21509         * conform/data/glob.h-data: Likewise.
21510         * conform/data/grp.h-data: Likewise.
21511         * conform/data/pthread.h-data: Likewise.
21512         * conform/data/pwd.h-data: Likewise.
21513         * conform/data/signal.h-data: Likewise.
21514         * conform/data/spawn.h-data: Likewise.
21515         * conform/data/stdio.h-data: Likewise.
21516         * conform/data/stdlib.h-data: Likewise.
21517         * conform/data/stropts.h-data: Likewise.
21518         * conform/data/sys/mman.h-data: Likewise.
21519         * conform/data/sys/stat.h-data: Likewise.
21520         * conform/data/sys/types.h-data: Likewise.
21521         * conform/data/sys/wait.h-data: Likewise.
21522         * conform/data/time.h-data: Likewise.
21523         * conform/data/unistd.h-data: Likewise.
21524         * conform/data/utime.h-data: Likewise.
21525
21526         * io/sys/stat.h: fchmod was always in POSIX.
21527         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21528         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21529         * rt/aio.h: Define __need_timespec before including <time.h>.
21530         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21531         struct.  Add forward declaration of pthread_attr_t and use it in
21532         sigevent.
21533         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21534         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21535         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21536         always remove CLK_TCK definition.
21537
21538 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
21539
21540         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21541
21542 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
21543
21544         * conform/run-conformtest.sh: New file.
21545         * conform/Makefile: Run run-conformtest for tests.
21546         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
21547         support.
21548
21549         * conform/data/uchar.h-data: New file.
21550         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21551         * conform/data/arpa/inet.h-data: Likewise.
21552         * conform/data/assert.h-data: Likewise.
21553         * conform/data/complex.h-data: Likewise.
21554         * conform/data/cpio.h-data: Likewise.
21555         * conform/data/ctype.h-data: Likewise.
21556         * conform/data/dirent.h-data: Likewise.
21557         * conform/data/dlfcn.h-data: Likewise.
21558         * conform/data/errno.h-data: Likewise.
21559         * conform/data/fcntl.h-data: Likewise.
21560         * conform/data/float.h-data: Likewise.
21561         * conform/data/fmtmsg.h-data: Likewise.
21562         * conform/data/fnmatch.h-data: Likewise.
21563         * conform/data/ftw.h-data: Likewise.
21564         * conform/data/glob.h-data: Likewise.
21565         * conform/data/grp.h-data: Likewise.
21566         * conform/data/iconv.h-data: Likewise.
21567         * conform/data/inttypes.h-data: Likewise.
21568         * conform/data/langinfo.h-data: Likewise.
21569         * conform/data/libgen.h-data: Likewise.
21570         * conform/data/limits.h-data: Likewise.
21571         * conform/data/locale.h-data: Likewise.
21572         * conform/data/math.h-data: Likewise.
21573         * conform/data/monetary.h-data: Likewise.
21574         * conform/data/mqueue.h-data: Likewise.
21575         * conform/data/ndbm.h-data: Likewise.
21576         * conform/data/net/if.h-data: Likewise.
21577         * conform/data/netdb.h-data: Likewise.
21578         * conform/data/netinet/in.h-data: Likewise.
21579         * conform/data/nl_types.h-data: Likewise.
21580         * conform/data/poll.h-data: Likewise.
21581         * conform/data/pthread.h-data: Likewise.
21582         * conform/data/pwd.h-data: Likewise.
21583         * conform/data/regex.h-data: Likewise.
21584         * conform/data/sched.h-data: Likewise.
21585         * conform/data/search.h-data: Likewise.
21586         * conform/data/semaphore.h-data: Likewise.
21587         * conform/data/setjmp.h-data: Likewise.
21588         * conform/data/signal.h-data: Likewise.
21589         * conform/data/spawn.h-data: Likewise.
21590         * conform/data/stdarg.h-data: Likewise.
21591         * conform/data/stdio.h-data: Likewise.
21592         * conform/data/stdlib.h-data: Likewise.
21593         * conform/data/string.h-data: Likewise.
21594         * conform/data/strings.h-data: Likewise.
21595         * conform/data/stropts.h-data: Likewise.
21596         * conform/data/sys/ipc.h-data: Likewise.
21597         * conform/data/sys/mman.h-data: Likewise.
21598         * conform/data/sys/msg.h-data: Likewise.
21599         * conform/data/sys/resource.h-data: Likewise.
21600         * conform/data/sys/select.h-data: Likewise.
21601         * conform/data/sys/sem.h-data: Likewise.
21602         * conform/data/sys/shm.h-data: Likewise.
21603         * conform/data/sys/socket.h-data: Likewise.
21604         * conform/data/sys/stat.h-data: Likewise.
21605         * conform/data/sys/statvfs.h-data: Likewise.
21606         * conform/data/sys/time.h-data: Likewise.
21607         * conform/data/sys/timeb.h-data: Likewise.
21608         * conform/data/sys/times.h-data: Likewise.
21609         * conform/data/sys/types.h-data: Likewise.
21610         * conform/data/sys/uio.h-data: Likewise.
21611         * conform/data/sys/un.h-data: Likewise.
21612         * conform/data/sys/utsname.h-data: Likewise.
21613         * conform/data/sys/wait.h-data: Likewise.
21614         * conform/data/syslog.h-data: Likewise.
21615         * conform/data/tar.h-data: Likewise.
21616         * conform/data/termios.h-data: Likewise.
21617         * conform/data/utime.h-data: Likewise.
21618         * conform/data/utmpx.h-data: Likewise.
21619         * conform/data/varargs.h-data: Likewise.
21620         * conform/data/wchar.h-data: Likewise.
21621         * conform/data/wctype.h-data: Likewise.
21622         * conform/data/wordexp.h-data: Likewise.
21623
21624         * include/stropts.h: New file.
21625         * include/uchar.h: New file.
21626         * include/aio.h: Changes to allow conformtest.pl to use the headers.
21627         * include/assert.h: Likewise.
21628         * include/ctype.h: Likewise.
21629         * include/dirent.h: Likewise.
21630         * include/dlfcn.h: Likewise.
21631         * include/fcntl.h: Likewise.
21632         * include/fnmatch.h: Likewise.
21633         * include/glob.h: Likewise.
21634         * include/grp.h: Likewise.
21635         * include/libio.h: Likewise.
21636         * include/locale.h: Likewise.
21637         * include/math.h: Likewise.
21638         * include/net/if.h: Likewise.
21639         * include/netdb.h: Likewise.
21640         * include/netinet/in.h: Likewise.
21641         * include/pthread.h: Likewise.
21642         * include/pwd.h: Likewise.
21643         * include/regex.h: Likewise.
21644         * include/sched.h: Likewise.
21645         * include/search.h: Likewise.
21646         * include/setjmp.h: Likewise.
21647         * include/signal.h: Likewise.
21648         * include/stdio.h: Likewise.
21649         * include/stdlib.h: Likewise.
21650         * include/string.h: Likewise.
21651         * include/sys/cdefs.h: Likewise.
21652         * include/sys/mman.h: Likewise.
21653         * include/sys/msg.h: Likewise.
21654         * include/sys/resource.h: Likewise.
21655         * include/sys/select.h: Likewise.
21656         * include/sys/socket.h: Likewise.
21657         * include/sys/stat.h: Likewise.
21658         * include/sys/statvfs.h: Likewise.
21659         * include/sys/time.h: Likewise.
21660         * include/sys/times.h: Likewise.
21661         * include/sys/uio.h: Likewise.
21662         * include/sys/utsname.h: Likewise.
21663         * include/sys/wait.h: Likewise.
21664         * include/termios.h: Likewise.
21665         * include/time.h: Likewise.
21666         * include/ulimit.h: Likewise.
21667         * include/unistd.h: Likewise.
21668         * include/utime.h: Likewise.
21669         * include/wchar.h: Likewise.
21670         * include/wctype.h: Likewise.
21671         * include/wordexp.h: Likewise.
21672
21673         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21674
21675         * time/time.h: TIME_UTC must be a macro.
21676         Make timespec_get available for ISO C11 only as well.
21677
21678 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
21679
21680         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21681         Reported by Peng Haitao <penght@cn.fujitsu.com>.
21682
21683 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
21684
21685         * configure.in: Use -o not -a in test for unsupported multi-arch.
21686
21687 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
21688
21689         * manual/texinfo.tex: Update to version 2012-01-19.16.
21690
21691 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
21692
21693         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21694
21695 2012-02-24  Roland McGrath  <roland@hack.frob.com>
21696
21697         [BZ #13738]
21698         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21699         * manual/fdl-1.3.texi: New file.
21700         * manual/fdl-1.1.texi: File removed.
21701
21702         [BZ #13738]
21703         * manual/libc.texinfo (FDL_VERSION): New @set.
21704         Use it for mention of FDL in cover text.
21705         (Documentation License): Use it in @include file name.
21706
21707 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21708             Roland McGrath  <roland@hack.frob.com>
21709
21710         [BZ #5461]
21711         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21712         not LONG_LONG_MAX and LONG_LONG_MIN.
21713         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21714         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
21715         name.
21716         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21717
21718 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21719
21720         [BZ #2547]
21721         [BZ #11365]
21722         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21723         manipulate bits before adding and subtracting TWO23[sx].
21724         * math/libm-test.inc (nearbyint_test): Add more tests.
21725
21726 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21727
21728         [BZ #2548]
21729         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21730         bits before adding and subtracting TWO23[sx].
21731         * math/libm-test.inc (rint_test): Add more tests.
21732         (rint_test_tonearest): Likewise.
21733         (rint_test_towardzero): Likewise.
21734         (rint_test_downward): Likewise.
21735         (rint_test_upward: Likewise.
21736
21737 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21738
21739         [BZ #10110]
21740         * include/stdc-predef.h: New file.  Extracted from features.h.
21741         * include/features.h: Include stdc-predef.h.
21742         * Makefile (headers): Add stdc-predef.h.
21743         * CONFORMANCE (Compiler limitations): Update.
21744
21745 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
21746
21747         * manual/libc.texinfo (VERSION, UPDATED): Revert.
21748
21749 2012-02-21  David S. Miller  <davem@davemloft.net>
21750
21751         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21752         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21753
21754 2012-02-20  David S. Miller  <davem@davemloft.net>
21755
21756         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21757         using a normal save/restore sequence, rather than allocating a
21758         dummy stack frame just to store a frame pointer and restore.
21759         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21760
21761 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
21762
21763         * manual/install.texi: Fix stray word in line-wrapped comment.
21764
21765 2012-02-20  David S. Miller  <davem@davemloft.net>
21766
21767         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21768         both binutils and gcc support GOTDATA.
21769
21770         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21771         "rd %pc" in the PIC register setup sequences.
21772
21773         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21774         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21775         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21776         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21777         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21778         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21779         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21780         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21781         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21782         (SYSCALL_ERROR_HANDLER): Likewise.
21783         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21784         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21785         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21786         (SYSCALL_ERROR_HANDLER): Likewise.
21787
21788         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21789         (HAVE_GCC_GOTDATA): New.
21790         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21791         relocation support in both binutils and gcc.
21792         * sysdeps/sparc/elf/configure: Regenerate.
21793
21794         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21795         * sysdeps/sparc/sparc32/elf/configure: Delete.
21796         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21797         * sysdeps/sparc/sparc64/elf/configure: Delete.
21798         * sysdeps/sparc/elf/configure.in: New file.
21799         * sysdeps/sparc/elf/configure: Generate.
21800
21801         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21802         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21803         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21804         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21805         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21806
21807 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
21808
21809         * manual/install.texi: Do not mention specific glibc version
21810         numbers.
21811         * manual/libc.texinfo (VERSION, UPDATED): Update.
21812         (@copying): Use @copyright{} and range of years.
21813
21814 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
21815
21816         [BZ #13695]
21817         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21818         [crti.S not in sysdirs] (generated): Do not append.
21819         [crti.S not in sysdirs] (omit-deps): Likewise.
21820         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21821         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21822         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21823         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21824         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21825         Likewise.
21826         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21827         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21828         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21829         * csu/defs.awk: Remove file.
21830         * sysdeps/generic/initfini.c: Likewise.
21831         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21832         variable.
21833         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21834         Likewise.
21835
21836 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
21837
21838         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21839         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21840         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21841         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21842         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21843         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21844         <bits/epoll.h>.
21845         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21846         (__EPOLL_PACKED): Define to empty if not defined by
21847         <bits/epoll.h>.
21848         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21849         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21850         bits/epoll.h.
21851
21852 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
21853
21854         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21855         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21856         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21857         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21858         <bits/timerfd.h>.
21859         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21860         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21861         bits/timerfd.h.
21862
21863 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
21864
21865         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21866         in C locale.
21867         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21868         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21869         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21871
21872 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
21873
21874         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21875         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21876
21877 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
21878
21879         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21880         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21881         defined.
21882         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21883         Likewise.
21884         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21885         entry for 2.16.
21886
21887 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
21888
21889         * math/w_acos.c: Use non-signaling floating-point comparisons.
21890         * math/w_acosf.c: Likewise.
21891         * math/w_acosh.c: Likewise.
21892         * math/w_acoshf.c: Likewise.
21893         * math/w_acoshl.c: Likewise.
21894         * math/w_acosl.c: Likewise.
21895         * math/w_asin.c: Likewise.
21896         * math/w_asinf.c: Likewise.
21897         * math/w_asinl.c: Likewise.
21898         * math/w_atanh.c: Likewise.
21899         * math/w_atanhf.c: Likewise.
21900         * math/w_atanhl.c: Likewise.
21901         * math/w_exp2.c: Likewise.
21902         * math/w_exp2f.c: Likewise.
21903         * math/w_exp2l.c: Likewise.
21904         * math/w_j0.c: Likewise.
21905         * math/w_j0f.c: Likewise.
21906         * math/w_j0l.c: Likewise.
21907         * math/w_j1.c: Likewise.
21908         * math/w_j1f.c: Likewise.
21909         * math/w_j1l.c: Likewise.
21910         * math/w_jn.c: Likewise.
21911         * math/w_jnf.c: Likewise.
21912         * math/w_log.c: Likewise.
21913         * math/w_log10.c: Likewise.
21914         * math/w_log10f.c: Likewise.
21915         * math/w_log10l.c: Likewise.
21916         * math/w_log2.c: Likewise.
21917         * math/w_log2f.c: Likewise.
21918         * math/w_log2l.c: Likewise.
21919         * math/w_logf.c: Likewise.
21920         * math/w_logl.c: Likewise.
21921         * math/w_sqrt.c: Likewise.
21922         * math/w_sqrtf.c: Likewise.
21923         * math/w_sqrtl.c: Likewise.
21924         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21925         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21926         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21927         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21928         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21929
21930 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
21931
21932         [BZ #9739]
21933         * manual/string.texi (strnlen): Use correct parameter name in
21934         equivalent expression.
21935
21936 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
21937
21938         [BZ #11174]
21939         * manual/users.texi (seteuid): Consistently use neweuid for
21940         argument name.
21941
21942 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
21943
21944         [BZ #13704]
21945         * manual/nss.texi (Services in the NSS configuration): Correct
21946         list of services in example configuration file.
21947
21948 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
21949
21950         [BZ #11322]
21951         * manual/arith.texi: Remove statements about negative zero
21952         behaving identically to zero.
21953
21954 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
21955
21956         [BZ #5993]
21957         * manual/install.texi: Do not document upgrading from libc5.
21958
21959 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
21960
21961         [BZ #4596]
21962         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21963
21964 2012-02-18  David S. Miller  <davem@davemloft.net>
21965
21966         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21967         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21968         %o7 across the call.
21969         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21970         instead.
21971         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21972         SETUP_PIC_REG_LEAF.
21973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21974         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21975         * sysdeps/sparc/crtn.S: Likewise.
21976
21977 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
21978
21979         * aout/Makefile: Remove.
21980
21981 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
21982
21983         [BZ #13058]
21984         * manual/examples/argp-ex1.c (main): Format definition in GNU
21985         style.
21986         * manual/examples/argp-ex2.c (main): Likewise.
21987         * manual/examples/argp-ex3.c (main): Likewise.
21988         * manual/examples/argp-ex4.c (main): Likewise.
21989         * manual/examples/longopt.c (main): Use new-style prototype
21990         definition.
21991         * manual/examples/strncat.c (main): Specify return type and use
21992         (void) for arguments.
21993         * manual/examples/subopt.c (main): Use char **argv argument.
21994
21995 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
21996
21997         [BZ #5077]
21998         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21999         rounding modes.
22000
22001 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
22002
22003         [BZ #6907]
22004         * manual/string.texi (strchr): Change when strchrnul is
22005         recommended.
22006
22007 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
22008
22009         [BZ #174]
22010         * manual/locale.texi (setlocale): Document LOCPATH.
22011
22012 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22013
22014         [BZ #10210]
22015         * manual/process.texi (execle): Move @dots{} before last argument.
22016
22017 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
22018
22019         [BZ #12047]
22020         * manual/charset.texi (Generic Charset Conversion): Fix typo
22021         (LC_TYPE -> LC_CTYPE).
22022
22023 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
22024
22025         [BZ #5805]
22026         * manual/arith.texi (scalbn): Use @var{} on parameter names.
22027         (scalbnf): Likewise.
22028         (scalbnl): Likewise.
22029         (scalbln): Likewise.
22030         (scalblnf): Likewise.
22031         (scalblnl): Likewise.
22032         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22033         (vwarnx): Likewise.
22034         (verr): Likewise.
22035         (verrx): Likewise.
22036         * manual/filesys.texi (telldir): Use braces around return type.
22037         * manual/llio.texi (mmap): Add space after comma.
22038         (mmap64): Likewise.
22039         * manual/math.texi (jn): Use @var{} on parameter names.
22040         (jnf): Likewise.
22041         (jnl): Likewise.
22042         (yn): Likewise.
22043         (ynf): Likewise.
22044         (ynl): Likewise.
22045         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22046         line.
22047         * manual/resource.texi (ulimit): Use @dots{} instead of literal
22048         "...".
22049         (sched_get_priority_min): Remove semicolon on @deftypefun line.
22050         (sched_get_priority_max): Likewise.
22051         * manual/signal.texi (sigvec): Add space after comma.
22052         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22053         names.
22054         (if_indextoname): Likewise.
22055         (if_freenameindex): Likewise.
22056         (sendto): Use ',' instead of '.' in prototype.
22057         * manual/startup.texi (syscall): Use @dots{} instead of literal
22058         "...".
22059         * manual/stdio.texi (__fpending): Separate initial words of
22060         paragraph from @deftypefun line.
22061         * manual/syslog.texi (syslog): Use @dots{} instead of literal
22062         "...".
22063         (vsyslog): Use @var{} on parameter names.
22064         * manual/terminal.texi (stty): Use @var{} on parameter names.
22065         * manual/users.texi (getutmp): Use @var{} on parameter names.
22066         (getutmpx): Likewise.
22067
22068 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22069
22070         [BZ #6884]
22071         * manual/stdio.texi (fopen): Fix typos in description of
22072         ",ccs=STRING".
22073
22074 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
22075
22076         [BZ #4026]
22077         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22078         get clock_id definition.
22079
22080 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
22081
22082         [BZ #4822]
22083         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22084         (madvise): Cast every argument to void on its own.
22085
22086 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22087
22088         [BZ #9902]
22089         * manual/startup.texi (Exit Status): Fix typo.
22090
22091 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22092
22093         [BZ #10140]
22094         * manual/examples/argp-ex1.c: Include <stdlib.h>.
22095         * manual/examples/argp-ex2.c: Likewise.
22096         * manual/examples/argp-ex3.c: Likewise.
22097
22098 2012-02-16  Richard Henderson  <rth@redhat.com>
22099
22100         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22101         * sysdeps/s390/s390-32/initfini.c: Remove.
22102         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22103         * sysdeps/s390/s390-64/initfini.c: Remove.
22104
22105 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22106
22107         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22108         compiler output for sysdeps/generic/initfini.c.
22109         * sysdeps/sh/elf/initfini.c: Remove file.
22110
22111 2012-02-16  David S. Miller  <davem@davemloft.net>
22112
22113         [BZ #11494]
22114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22115
22116         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22117         * sysdeps/sparc/crti.S: New file.
22118         * sysdeps/sparc/crtn.S: New file.
22119         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22120         * sysdeps/sparc/sparc64/Makefile: Likewise.
22121
22122 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
22123
22124         [BZ #3335]
22125         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22126
22127 2012-02-15  Roland McGrath  <roland@hack.frob.com>
22128
22129         [BZ #4822]
22130         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22131
22132         * mach/devstream.c (cookie_io_functions_t): Macro removed.
22133         (write, read, close): Likewise.
22134         Patch by Aurelien Jarno <aurelien@aurel32.net>.
22135
22136 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
22137
22138         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22139         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22140         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22141         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22142         <bits/signalfd.h>.
22143         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22145         bits/signalfd.h.
22146
22147 2012-02-14  Marek Polacek  <polacek@redhat.com>
22148
22149         * sysdeps/x86_64/crti.S: New file.
22150         * sysdeps/x86_64/crtn.S: New file.
22151         * sysdeps/x86_64/elf/initfini.c: Remove file.
22152
22153 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
22154
22155         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22156         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22157         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22158         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22159         <bits/inotify.h>.
22160         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22162         bits/inotify.h.
22163
22164 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
22165
22166         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22167         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22168         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22169         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22170         <bits/eventfd.h>.
22171         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22173         bits/eventfd.h.
22174
22175 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
22176
22177         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22178         __feraiseexcept instead of feraiseexcept.
22179
22180         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22181         nanosleep invocations.
22182         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22183         strings, and add error checking for a nanosleep invocations.
22184
22185 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
22186
22187         Replace FSF snail mail address with URLs, as per GNU coding standards.
22188         Most of the snail mail addresses were wrong anyway, and omitting
22189         them makes the source code easier to maintain.  Almost all of the
22190         changes are to license notices and to locale LC_IDENTIFICATION
22191         addresses, except for this one:
22192         * manual/libc.texinfo: In "Published by", give the FSF's URL,
22193         not its snail mail address.
22194
22195 2012-02-09  Richard Henderson  <rth@twiddle.net>
22196
22197         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22198         of kernel-features.h.
22199
22200         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22201
22202 2012-02-08  Marek Polacek  <polacek@redhat.com>
22203
22204         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22205         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22206         * sysdeps/gnu/_G_config.h: Likewise.
22207         * sysdeps/generic/_G_config.h: Likewise.
22208
22209 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
22210
22211         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22212         tests.
22213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22214
22215         * sysdeps/powerpc/powerpc32/crti.S: New file.
22216         * sysdeps/powerpc/powerpc32/crtn.S: New file.
22217         * sysdeps/powerpc/powerpc64/crti.S: New file.
22218         * sysdeps/powerpc/powerpc64/crtn.S: New file.
22219
22220         * Makeconfig (have-initfini): Don't set.
22221         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22222         * configure.in (nopic_initfini): Don't substitute.
22223         * config.h.in (HAVE_INITFINI): Don't #undef.
22224         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22225         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22226
22227 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
22228
22229         Support crti.S and crtn.S provided directly by architectures.
22230         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22231         [crti.S in sysdirs] (omit-deps): Likewise.
22232         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22233         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22234         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22235         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22236         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22237         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22238         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22239         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22240         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22241         compiler output for sysdeps/generic/initfini.c.
22242         * sysdeps/i386/elf/Makefile: Remove file.
22243         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22244
22245 2012-02-07  Marek Polacek  <polacek@redhat.com>
22246
22247         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22248         * sysdeps/gnu/_G_config.h: Likewise.
22249         * sysdeps/mach/hurd/_G_config.h: Likewise.
22250
22251 2012-02-07  Marek Polacek  <polacek@redhat.com>
22252
22253         * math/Makefile (tests): Add tst-CMPLX2.
22254         * math/tst-CMPLX2.c: New file.
22255
22256 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
22257
22258         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22259
22260         * math/libm-test.inc (jn_test): Add missing L suffix.
22261
22262 2012-02-06  Marek Polacek  <polacek@redhat.com>
22263
22264         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22265         * sysdeps/i386/fpu/e_powf.S: Likewise.
22266         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22267         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22268         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22269         * sysdeps/i386/fpu/e_pow.S: Likewise.
22270         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22271         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22272         * sysdeps/i386/fpu/s_expm1.S: Likewise.
22273         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22274         * sysdeps/i386/fpu/e_log2.S: Likewise.
22275         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22276         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22277         * sysdeps/i386/fpu/e_powl.S: Likewise.
22278         * sysdeps/i386/fpu/s_log1p.S: Likewise.
22279         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22280         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22281         * sysdeps/i386/fpu/e_logl.S: Likewise.
22282         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22283         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22284         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22285         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22286         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22287         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22288         * sysdeps/i386/fpu/e_log.S: Likewise.
22289         * sysdeps/i386/fpu/s_cexp.S: Likewise.
22290         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22291         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22292         * sysdeps/i386/fpu/e_logf.S: Likewise.
22293         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22294         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22295         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22296         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22297         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22298         * sysdeps/i386/fpu/e_log10.S: Likewise.
22299         * sysdeps/i386/fpu/s_frexp.S: Likewise.
22300         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22301         * sysdeps/i386/fpu/s_asinh.S: Likewise.
22302         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22303         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22304         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22305         * sysdeps/i386/asm-syntax.h: Likewise.
22306         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22307         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22308         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22309         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22310         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22311         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22312         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22313         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22314         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22315         * sysdeps/powerpc/sysdep.h: Likewise.
22316         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22317         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22318
22319 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
22320
22321         [BZ #411]
22322         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22323
22324 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
22325
22326         * sysdeps/i386/sysdep.h: Include <features.h>.
22327         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22328         version.
22329
22330 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
22331
22332         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22333         Define.
22334         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22335         LOAD_PIC_REG_STR.
22336
22337 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22338
22339         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22340         (SETUP_PIC_REG): Use GET_PC_THUNK.
22341         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22342         macro.
22343
22344 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22345
22346         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22347         for non-PIC compilation.
22348         (SETUP_PIC_REG): Add .p2align directive.
22349         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22350         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22351         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22352         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22353         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22354         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22355         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22356         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22357         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22358         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22359         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22360         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22361         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22362         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22363         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22364         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22365         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22366         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22367         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22368         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22369         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22370         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22371         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22372         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22373         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22374         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22375         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22376         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22377         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22378         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22379         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22380         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22381         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22382         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22383         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22384         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22385         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22386         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22387         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22388         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22389         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22390
22391 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
22392
22393         * math/tst-CMPLX.c: Include <stdio.h>.
22394
22395 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
22396
22397         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22398         float.
22399         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22400         * sysdeps/sparc/bits/mathdef.h: Likewise.
22401
22402 2012-01-31  Marek Polacek  <polacek@redhat.com>
22403
22404         * libio/libio.h: Don't define _PARAMS.
22405         * locale/programs/config.h: Don't define PARAMS.
22406         * stdlib/strtol_l.c: Likewise.
22407         (__strtol_l): Remove PARAMS from the prototype.
22408
22409 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
22410
22411         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
22412         names.  Just use the correct names.  Remove unnecessary wrapper
22413         functions.
22414         * malloc/arena.c: Likewise.
22415         * malloc/hooks.c: Likewise.
22416
22417         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22418         ARENA_TEST says not to.  Simplify test for creation of a new arena.
22419         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22420
22421 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
22422
22423         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22424         into tail calls.
22425         (update_get_addr): New function.
22426         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22427         GET_ADDR_MODULE parameter.
22428
22429 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
22430
22431         * crypt/cert.c: Remove __STDC__ conditionals.
22432         * crypt/crypt-entry.c: Likewise.
22433         * crypt/crypt_util.c: Likewise.
22434         * libio/filedoalloc.c: Likewise.
22435         * libio/fileops.c: Likewise.
22436         * libio/genops.c: Likewise.
22437         * libio/iofclose.c: Likewise.
22438         * libio/iofdopen.c: Likewise.
22439         * libio/iofopen.c: Likewise.
22440         * libio/iofopen64.c: Likewise.
22441         * libio/iogetdelim.c: Likewise.
22442         * libio/iopopen.c: Likewise.
22443         * libio/obprintf.c: Likewise.
22444         * libio/oldfileops.c: Likewise.
22445         * libio/oldiofclose.c: Likewise.
22446         * libio/oldiofdopen.c: Likewise.
22447         * libio/oldiofopen.c: Likewise.
22448         * libio/oldiopopen.c: Likewise.
22449         * libio/wfiledoalloc.c: Likewise.
22450         * libio/wgenops.c: Likewise.
22451         * locale/programs/xmalloc.c: Likewise.
22452         * misc/syslog.c: Likewise.
22453         * stdio-common/xbug.c: Likewise.
22454         * string/memchr.c: Likewise.
22455         * string/memcmp.c: Likewise.
22456         * string/memrchr.c: Likewise.
22457         * string/rawmemchr.c: Likewise.
22458         * sysdeps/posix/getcwd.c: Likewise.
22459         * time/strftime_l.c: Likewise.
22460
22461 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
22462
22463         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22464         * config.make.in (config-cflags-sse2avx): Define.
22465         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22466         Fix typo.
22467
22468 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
22469
22470         * scripts/config.guess: Update from upstream config git repository.
22471         * scripts/config.sub: Likewise.
22472
22473 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
22474
22475         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22476         (EM_NUM): Update.
22477         (R_TILEPRO_*, R_TILEGX_*): New macros.
22478
22479         * scripts/firstversions.awk: Fix bug in version range handling.
22480
22481         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22482
22483         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22484
22485         * include/sys/epoll.h: New file.
22486         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22487         libc_hidden_def.
22488
22489 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
22490
22491         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22492         Avoid unnecessary __WORDSIZE == 64 test.
22493         (fmaxf): Use VEX format if possible.
22494         (fmax): Likewise.
22495         (fminf): Likewise.
22496         (fmin): Likewise.
22497
22498         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22499         * math/math_private.h: Remove libc_fegetround* and
22500         libc_fesetround*.
22501         * sysdeps/i386/configure.in: Check for -msse2avx.
22502         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22503         also if SSE2AVX is defined.
22504         Remove libc_fegetround* and libc_fesetround*.
22505         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22506         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
22507         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22508         of HAS_YMM_USABLE.
22509         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22510         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22511         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22512         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22513         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22514
22515         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22516
22517 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22518
22519         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22520         size is not set.
22521         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22522
22523 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
22524
22525         [BZ #13618]
22526         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22527         relocation.
22528         * Makeconfig (libm): Define.
22529         * elf/Makefile: Add rules to build and run tst-relsort1.
22530         * elf/tst-relsort1.c: New file.
22531         * elf/tst-relsort1mod1.c: New file.
22532         * elf/tst-relsort1mod2.c: New file.
22533
22534 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
22535
22536         * math/s_ldexp.c: Remove __STDC__ conditionals.
22537         * math/s_ldexpf.c: Likewise.
22538         * math/s_ldexpl.c: Likewise.
22539         * math/s_nextafter.c: Likewise.
22540         * math/s_nexttowardf.c: Likewise.
22541         * math/s_significand.c: Likewise.
22542         * math/s_significandf.c: Likewise.
22543         * math/s_significandl.c: Likewise.
22544         * math/w_jnl.c: Likewise.
22545         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22546         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22547         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22548         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22549         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22550         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22551         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22552         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22553         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22554         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22556         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22557         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22558         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22559         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22560         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22561         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22562         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22564         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22565         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22566         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22567         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22568         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22569         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22570         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22571         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22572         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22573         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22574         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22575         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22576         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22577         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22578         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22579         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22580         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22581         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22582         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22583         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22584         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22585         * sysdeps/ieee754/k_standard.c: Likewise.
22586         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22587         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22588         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22589         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22590         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22591         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22593         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22594         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22595         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22596         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22597         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22598         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22599         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22600         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22601         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22602         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22603         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22605         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22606         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22607         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22608         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22609         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22610         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22611         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22612         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22613         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22614         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22615         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22616         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22617         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22618         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22619         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22621         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22622         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22623         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22624         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22625         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22626         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22628         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22629         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22630         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22631         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22632         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22633         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22634         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22635         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22636         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22637         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22638         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22639         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22640         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22641         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22642         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22643         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22644         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22645         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22646         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22647         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22648         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22649         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22650         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22651         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22652         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22653         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22654         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22655         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22656         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22657         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22658         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22659         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22660         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22661         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22662         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22663         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22664         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22665         * sysdeps/ieee754/s_matherr.c: Likewise.
22666         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22667         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22668         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22669         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22670
22671 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
22672
22673         * crypt/md5.h: Remove __STDC__ conditionals.
22674         * libio/libioP.h: Likewise.
22675         * locale/programs/config.h: Likewise.
22676         * sysdeps/generic/sysdep.h: Likewise.
22677         * sysdeps/i386/asm-syntax.h: Likewise.
22678         * sysdeps/s390/asm-syntax.h: Likewise.
22679         * sysdeps/unix/sysdep.h: Likewise.
22680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22682
22683 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
22684
22685         * libio/libio.h: Remove __STDC__ conditionals.
22686         * malloc/obstack.h: Likewise.
22687         * math/complex.h: Likewise.
22688         * math/math.h: Likewise.
22689         * sysdeps/generic/_G_config.h: Likewise.
22690         * sysdeps/gnu/_G_config.h: Likewise.
22691         * sysdeps/mach/hurd/_G_config.h: Likewise.
22692         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22693         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22694         * sysdeps/sparc/bits/mathdef.h: Likewise.
22695
22696 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
22697
22698         [BZ #13583]
22699         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
22700         Clean up HAS_* macros.
22701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
22702         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22703         possible.
22704         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22705         HAS_AVX.
22706         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22707         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22708         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22709         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22710         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22711
22712 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
22713
22714         * elf/tst-unique3.cc (gets): Remove declaration.
22715         * elf/tst-unique3lib.cc (gets): Likewise.
22716         * elf/tst-unique3lib2.cc (gets): Likewise.
22717         * elf/tst-unique4.cc (gets): Likewise.
22718
22719 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
22720
22721         * include/stdio.h: Add C++ protection.  Add gets declarations and
22722         definitions.
22723         * debug/tst-chk1.c: Don't declare gets here.
22724         * stdio-common/tst-gets.c: Likewise.
22725
22726 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
22727
22728         * posix/glob: Remove directory.
22729
22730 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
22731
22732         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22733
22734 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
22735
22736         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22737         of the non-standard EPFNOSUPPORT.
22738
22739 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22740
22741         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22742         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22743         ANYWHERE set to 1 only on KERN_NO_SPACE error.
22744
22745 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
22746
22747         * wcsmbs/uchar.h: Test __STDC_VERSION__.
22748
22749 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
22750
22751         * nscd/aicache.c (addhstaiX): Do not cache negative results of
22752         transient errors.
22753         * nscd/grpcache.c (cache_addgr): Likewise.
22754         * nscd/hstcache.c (cache_addhst): Likewise.
22755         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22756         * nscd/pwdcache.c (cache_addpw): Likewise.
22757         * nscd/servicescache.c (cache_addserv): Likewise.
22758
22759 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
22760
22761         * malloc/malloc.c: Various cleanups.
22762         * malloc/hooks.c: Likewise.
22763
22764         * stdlib/Makefile (tests): Add bug-fmtmsg1.
22765         * stdlib/bug-fmtmsg1.c: New file.
22766
22767         * stdlib/fmtmsg.c (init): Add missing unlock.
22768         Patch by Peng Haitao <penght@cn.fujitsu.com>.
22769
22770 2012-01-12  Marek Polacek  <polacek@redhat.com>
22771
22772         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22773         and _GNU_SOURCE.
22774
22775 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22776
22777         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22778         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22779         macro to ensure uniqueness of label name.
22780         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22781         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22782
22783 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
22784
22785         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22786
22787         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22788         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22789         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22790         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22791
22792 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
22793
22794         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22795
22796         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22797         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22798         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22799
22800         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22801
22802         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
22803         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22804         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
22806
22807         * math/bits/math-finite.h: Add ldexp support.
22808
22809 2012-01-10  Marek Polacek  <polacek@redhat.com>
22810
22811         * locale/programs/localedef.h (show_archive_content): Add noreturn
22812         attribute.
22813
22814 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
22815
22816         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22817
22818 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
22819
22820         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22821
22822         * io/Makefile (headers): Add bits/poll2.h.
22823
22824 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
22825
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22827         typo #include statement.
22828
22829 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
22830
22831         * include/sys/cdefs.h: Define __attribute_alloc_size.
22832         * catgets/gencat.c: Add alloc_size attribute and apply consistently
22833         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22834         * elf/pldd.c: Likewise.
22835         * iconv/iconv_charmap.c: Likewise.
22836         * iconv/iconvconfig.c: Likewise.
22837         * iconv/strtab.c: Likewise.
22838         * locale/programs/locale.c: Likewise.
22839         * locale/programs/localedef.h: Likewise.
22840         * locale/programs/simple-hash.c: Likewise.
22841         * nscd/nscd.h: Likewise.
22842         * nss/makedb.c: Likewise.
22843         * sysdeps/generic/ldconfig.h: Likewise.
22844         * locale/programs/localedef.c: Remove xmalloc prototype.
22845         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22846
22847 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22848
22849         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22850         appropriate.
22851
22852 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
22853
22854         * math/Makefile (tests): Add tst-CMPLX.
22855         * math/tst-CMPLX.c: New file.
22856
22857         * math/complex.h (CMPLXL): Fix typo.
22858
22859         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22860         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22861         GLIBC_2.16.
22862         * debug/tst-chk1.c: Add poll and ppoll tests.
22863         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22864         * include/sys/poll.h: Add hidden proto for ppoll.
22865         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22866         * sysdeps/mach/hurd/ppoll.c: Likewise.
22867         * io/ppoll.c: Likewise.
22868         * debug/poll_chk.c: New file.
22869         * debug/ppoll_chk.c: New file.
22870         * include/bits/poll2.h: New file.
22871         * io/bits/poll2.h: New file.
22872
22873         [BZ #1350]
22874         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22875
22876         * configure.in: static is always set to yes.  Remove.
22877         * config.make.in: Don't set build-static.
22878         * Makeconfig: Remove use of build-static.
22879         * dlfcn/Makefile: Likewise.
22880         * elf/Makefile: Likewise.
22881         * math/Makefile: Likewise.
22882         * misc/Makefile: Likewise.
22883         * nptl/Makefile: Likewise.
22884         * sysdeps/mach/hurd/Makefile: Likewise.
22885
22886         * configure.in: PWD_P is not used anymore.
22887         * config.make.in: Remove PWD_P entry.
22888
22889         * configure.in: Remove last remnants of RANLIB.
22890         No need to check for signed size_t anymore.
22891         Don't set libc_commonpagesize and libc_relro_required here for Alpha
22892         and IA-64.
22893         Remove __builtin_expect test because we require at least gcc 3.4.
22894         * aclocal.m4: Likewise.
22895
22896         * wcsmbs/mbrtoc16.c: Implement using towc function.
22897         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22898         * wcsmbs/wcsmbsload.c: Likewise.
22899         * iconv/gconv_simple.c: Likewise.
22900         * iconv/gconv_int.h: Likewise.
22901         * iconv/gconv_builtin.h: Likewise.
22902         * iconv/iconv_prog.c: Remove CHAR16 handling.
22903
22904         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22905
22906         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22907
22908         * configure.in: Remove --with-elf and --enable-bounded options.
22909         Dont set base_machine for ia64.  More non-ELF conditions removed.
22910         Remove testing and setting of leading underscore information.
22911         * config.make.in (build-bounded): Set to no.
22912         * config.h.in: Remove NO_UNDERSCORES entry.
22913         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
22914         them.
22915         * csu/start.c: Remove !NO_UNDERSCORE code.
22916         * locale/localeinfo.h: Likewise.
22917         * sysdeps/generic/machine-gmon.h: Likewise.
22918         * sysdeps/generic/sysdep.h: Likewise.
22919         * sysdeps/i386/sysdep.h: Likewise.
22920         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22921         * sysdeps/mach/sysdep.h: Likewise.
22922         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22923         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22924         * sysdeps/sh/sysdep.h: Likewise.
22925         * sysdeps/sparc/sparc32/alloca.S: Likewise.
22926         * sysdeps/unix/i386/sysdep.S: Likewise.
22927         * sysdeps/unix/sparc/start.c: Likewise.
22928         * sysdeps/unix/sparc/sysdep.S: Likewise.
22929         * sysdeps/unix/sparc/sysdep.h: Likewise.
22930         * sysdeps/unix/start.c: Likewise.
22931         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22932         * sysdeps/x86_64/sysdep.h: Likewise.
22933
22934 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
22935
22936         [BZ #13553]
22937         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22938         for non-gcc.
22939         * argp/argp-fmtstream.h: Use const instead __const.
22940         * argp/argp.h: Likewise.
22941         * assert/assert.h: Likewise.
22942         * bits/fenv.h: Likewise.
22943         * bits/sched.h: Likewise.
22944         * bits/sigset.h: Likewise.
22945         * bits/sigthread.h: Likewise.
22946         * catgets/nl_types.h: Likewise.
22947         * conform/data/pthread.h-data: Likewise.
22948         * crypt/crypt-private.h: Likewise.
22949         * crypt/crypt.h: Likewise.
22950         * crypt/crypt_util.c: Likewise.
22951         * ctype/ctype.h: Likewise.
22952         * debug/execinfo.h: Likewise.
22953         * debug/mbsnrtowcs_chk.c: Likewise.
22954         * debug/mbsrtowcs_chk.c: Likewise.
22955         * debug/wcsnrtombs_chk.c: Likewise.
22956         * debug/wcsrtombs_chk.c: Likewise.
22957         * debug/wcstombs_chk.c: Likewise.
22958         * dirent/dirent.h: Likewise.
22959         * dlfcn/dlfcn.h: Likewise.
22960         * elf/neededtest4.c: Likewise.
22961         * grp/grp.h: Likewise.
22962         * gshadow/gshadow.h: Likewise.
22963         * iconv/gconv.h: Likewise.
22964         * iconv/gconv_int.h: Likewise.
22965         * iconv/gconv_simple.c: Likewise.
22966         * iconv/iconv.h: Likewise.
22967         * iconv/loop.c: Likewise.
22968         * iconv/skeleton.c: Likewise.
22969         * include/aio.h: Likewise.
22970         * include/aliases.h: Likewise.
22971         * include/argz.h: Likewise.
22972         * include/arpa/inet.h: Likewise.
22973         * include/assert.h: Likewise.
22974         * include/dirent.h: Likewise.
22975         * include/dlfcn.h: Likewise.
22976         * include/execinfo.h: Likewise.
22977         * include/fcntl.h: Likewise.
22978         * include/fenv.h: Likewise.
22979         * include/glob.h: Likewise.
22980         * include/grp.h: Likewise.
22981         * include/libintl.h: Likewise.
22982         * include/mntent.h: Likewise.
22983         * include/netdb.h: Likewise.
22984         * include/pwd.h: Likewise.
22985         * include/rpc/netdb.h: Likewise.
22986         * include/sched.h: Likewise.
22987         * include/search.h: Likewise.
22988         * include/shadow.h: Likewise.
22989         * include/signal.h: Likewise.
22990         * include/stdio.h: Likewise.
22991         * include/stdlib.h: Likewise.
22992         * include/string.h: Likewise.
22993         * include/sys/socket.h: Likewise.
22994         * include/sys/stat.h: Likewise.
22995         * include/sys/statfs.h: Likewise.
22996         * include/sys/statvfs.h: Likewise.
22997         * include/sys/syslog.h: Likewise.
22998         * include/sys/time.h: Likewise.
22999         * include/sys/uio.h: Likewise.
23000         * include/time.h: Likewise.
23001         * include/unistd.h: Likewise.
23002         * include/utmp.h: Likewise.
23003         * include/wchar.h: Likewise.
23004         * include/wctype.h: Likewise.
23005         * inet/aliases.h: Likewise.
23006         * inet/arpa/inet.h: Likewise.
23007         * inet/netinet/ether.h: Likewise.
23008         * inet/netinet/in.h: Likewise.
23009         * intl/libintl.h: Likewise.
23010         * io/bits/fcntl2.h: Likewise.
23011         * io/fcntl.h: Likewise.
23012         * io/ftw.h: Likewise.
23013         * io/sys/poll.h: Likewise.
23014         * io/sys/stat.h: Likewise.
23015         * io/sys/statfs.h: Likewise.
23016         * io/sys/statvfs.h: Likewise.
23017         * io/utime.h: Likewise.
23018         * libio/bits/stdio.h: Likewise.
23019         * libio/bits/stdio2.h: Likewise.
23020         * libio/libio.h: Likewise.
23021         * libio/libioP.h: Likewise.
23022         * libio/stdio.h: Likewise.
23023         * locale/lc-ctype.c: Likewise.
23024         * locale/locale.h: Likewise.
23025         * login/utmp.h: Likewise.
23026         * malloc/arena.c: Likewise.
23027         * malloc/malloc.c: Likewise.
23028         * malloc/malloc.h: Likewise.
23029         * malloc/mcheck.c: Likewise.
23030         * malloc/mtrace.c: Likewise.
23031         * math/bits/mathcalls.h: Likewise.
23032         * math/fenv.h: Likewise.
23033         * math/math_private.h: Likewise.
23034         * misc/bits/error.h: Likewise.
23035         * misc/bits/syslog.h: Likewise.
23036         * misc/err.h: Likewise.
23037         * misc/error.h: Likewise.
23038         * misc/fstab.h: Likewise.
23039         * misc/mntent.h: Likewise.
23040         * misc/regexp.h: Likewise.
23041         * misc/search.h: Likewise.
23042         * misc/sgtty.h: Likewise.
23043         * misc/sys/mman.h: Likewise.
23044         * misc/sys/syslog.h: Likewise.
23045         * misc/sys/uio.h: Likewise.
23046         * misc/sys/xattr.h: Likewise.
23047         * misc/ttyent.h: Likewise.
23048         * nis/rpcsvc/ypclnt.h: Likewise.
23049         * nss/nss.h: Likewise.
23050         * posix/bits/unistd.h: Likewise.
23051         * posix/fnmatch.h: Likewise.
23052         * posix/glob.h: Likewise.
23053         * posix/sched.h: Likewise.
23054         * posix/spawn.h: Likewise.
23055         * posix/sys/wait.h: Likewise.
23056         * posix/unistd.h: Likewise.
23057         * posix/wordexp.h: Likewise.
23058         * pwd/pwd.h: Likewise.
23059         * resolv/netdb.h: Likewise.
23060         * resource/sys/resource.h: Likewise.
23061         * rt/aio.h: Likewise.
23062         * rt/bits/mqueue2.h: Likewise.
23063         * rt/mqueue.h: Likewise.
23064         * shadow/shadow.h: Likewise.
23065         * signal/signal.h: Likewise.
23066         * socket/send.c: Likewise.
23067         * socket/sendto.c: Likewise.
23068         * socket/sys/socket.h: Likewise.
23069         * stdio-common/printf.h: Likewise.
23070         * stdlib/bits/stdlib.h: Likewise.
23071         * stdlib/fmtmsg.h: Likewise.
23072         * stdlib/monetary.h: Likewise.
23073         * stdlib/stdlib.h: Likewise.
23074         * stdlib/ucontext.h: Likewise.
23075         * streams/stropts.h: Likewise.
23076         * string/argz.h: Likewise.
23077         * string/bits/string2.h: Likewise.
23078         * string/string.h: Likewise.
23079         * string/strings.h: Likewise.
23080         * sunrpc/rpc/auth.h: Likewise.
23081         * sunrpc/rpc/auth_des.h: Likewise.
23082         * sunrpc/rpc/clnt.h: Likewise.
23083         * sunrpc/rpc/netdb.h: Likewise.
23084         * sunrpc/rpc/pmap_clnt.h: Likewise.
23085         * sunrpc/rpc/xdr.h: Likewise.
23086         * sysdeps/generic/inttypes.h: Likewise.
23087         * sysdeps/generic/net/if.h: Likewise.
23088         * sysdeps/generic/sys/swap.h: Likewise.
23089         * sysdeps/gnu/net/if.h: Likewise.
23090         * sysdeps/gnu/utmpx.h: Likewise.
23091         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23092         * sysdeps/i386/i486/bits/string.h: Likewise.
23093         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23094         * sysdeps/s390/bits/string.h: Likewise.
23095         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23096         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23097         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23098         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23099         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23100         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23101         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23102         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23103         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23104         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23105         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23106         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23107         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23108         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23109         * sysdeps/unix/sysv/linux/readv.c: Likewise.
23110         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23111         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23112         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23113         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23114         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23115         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23116         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23117         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23118         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23119         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23120         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23121         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23122         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23123         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23124         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23125         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23126         * sysvipc/sys/ipc.h: Likewise.
23127         * sysvipc/sys/msg.h: Likewise.
23128         * sysvipc/sys/sem.h: Likewise.
23129         * sysvipc/sys/shm.h: Likewise.
23130         * termios/termios.h: Likewise.
23131         * time/sys/time.h: Likewise.
23132         * time/time.h: Likewise.
23133         * wcsmbs/bits/wchar2.h: Likewise.
23134         * wcsmbs/uchar.h: Likewise.
23135         * wcsmbs/wchar.h: Likewise.
23136         * wctype/wctype.h: Likewise.
23137
23138         [BZ #13551]
23139         * Makeconfig: Remove all but ELF support including AIX support.
23140         * Makerules: Likewise.
23141         * config.h.in: Likewise.
23142         * config.make.in: Likewise.
23143         * configure: Likewise.
23144         * configure.in: Likewise.
23145         * csu/Makefile: Likewise.
23146         * csu/version.c: Likewise.
23147         * debug/Makefile: Likewise.
23148         * dlfcn/Makefile: Likewise.
23149         * elf/Makefile: Likewise.
23150         * extra-lib.mk: Likewise.
23151         * iconv/Makefile: Likewise.
23152         * include/libc-symbols.h: Likewise.
23153         * include/shlib-compat.h: Likewise.
23154         * resolv/Makefile: Likewise.
23155         * resolv/res_libc.c: Likewise.
23156         * rt/Makefile: Likewise.
23157         * sysdeps/i386/asm-syntax.h: Likewise.
23158         * sysdeps/i386/sysdep.h: Likewise.
23159         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23160         * sysdeps/mach/sysdep.h: Likewise.
23161         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23162         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23163         * sysdeps/s390/asm-syntax.h: Likewise.
23164         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23165         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23166         * sysdeps/sh/sysdep.h: Likewise.
23167         * sysdeps/unix/sparc/sysdep.h: Likewise.
23168         * sysdeps/wordsize-32/divdi3.c: Likewise.
23169         * sysdeps/x86_64/sysdep.h: Likewise.
23170
23171         * argp/Versions: Remove _argp_unlock_xxx.
23172
23173         [BZ #13559]
23174         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
23175         * abilist/libBrokenLocale.abilist: Likewise.
23176         * abilist/libanl.abilist: Likewise.
23177         * abilist/libc.abilist: Likewise.
23178         * abilist/libcrypt.abilist: Likewise.
23179         * abilist/libdl.abilist: Likewise.
23180         * abilist/libm.abilist: Likewise.
23181         * abilist/libnsl.abilist: Likewise.
23182         * abilist/libpthread.abilist: Likewise.
23183         * abilist/libresolv.abilist: Likewise.
23184         * abilist/librt.abilist: Likewise.
23185         * abilist/libthread_db.abilist: Likewise.
23186         * abilist/libutil.abilist: Likewise.
23187         * abilist/libnss_db.abilist: New file.
23188
23189         * scripts/abilist.awk: Add support for indirect functions.
23190
23191         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23192
23193         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23194
23195         * shlib-versions: Remove entries for ports architectures.
23196
23197         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
23198         files in ports.
23199         * elf/stackguard-macros.h: Remove support for IA-64.
23200         * elf/tst-auditmod1.c: Likewise.
23201         * sysdeps/generic/ldsodefs.h: Likewise.
23202
23203         * sysdeps/unix/sysv/linux/configure.in: Ports should define
23204         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23205         configure files.
23206
23207         [BZ #13552]
23208         * configure.in: Remove --enable-omitfp support.
23209         * FAQ.in: Adjust.
23210         * config.make.in: Likewise.
23211         * Makeconfig: Likewise.
23212         * manual/install.texi: Likewise.
23213
23214         In case anyone cares, the IA-64 architecture could move to ports.
23215         * sysdeps/ia64/*: Removed.
23216         * sysdeps/unix/sysv/linux/ia64/*: Removed.
23217         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23218
23219         [BZ #13555]
23220         * configure.in: Remove entries for unsupported architectures.
23221
23222         [BZ #13533]
23223         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23224         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
23225         routines.
23226         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23227         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23228         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
23229         fall back to using wcrtomb.
23230         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23231         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
23232         renaming.
23233         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23234         * wcsmbs/tst-c16c32-1.c: New file.
23235
23236         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23237         local variable.
23238
23239         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23240
23241         * elf/tst-unique3.cc: Add explicit declaration of gets.
23242         * elf/tst-unique3lib.cc: Likewise.
23243         * elf/tst-unique3lib2.cc: Likewise.
23244         * elf/tst-unique4.cc: Likewise.
23245
23246         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23247
23248 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
23249
23250         [BZ #13566]
23251         * assert/assert.h (static_assert): Don't define for C++.
23252         * libio/stdio.h (gets): Do declare for C++ <= C++11.
23253         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23254
23255 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
23256
23257         * iconv/loop.c (single loop): Fix assertion in storing of
23258         remaining bytes.
23259
23260         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23261
23262 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
23263
23264         * posix/getconf.c: Update copyright year.
23265         * nss/getent.c: Likewise.
23266         * nss/makedb.c: Likewise.
23267         * iconv/iconvconfig.c: Likewise.
23268         * iconv/iconv_prog.c: Likewise.
23269         * elf/ldconfig.c: Likewise.
23270         * elf/pldd.c: Likewise.
23271         * elf/sotruss.ksh: Likewise.
23272         * catgets/gencat.c: Likewise.
23273         * csu/version.c: Likewise.
23274         * elf/ldd.bash.in: Likewise.
23275         * elf/sprof.c (print_version): Likewise.
23276         * locale/programs/locale.c: Likewise.
23277         * locale/programs/localedef.c: Likewise.
23278         * login/programs/pt_chown.c: Likewise.
23279         * nscd/nscd.c (print_version): Likewise.
23280         * debug/xtrace.sh: Likewise.
23281         * malloc/memusage.sh: Likewise.
23282         * malloc/mtrace.pl: Likewise.
23283         * debug/catchsegv.sh: Likewise.
23284
23285 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
23286
23287         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23288         pure attribute.
23289
23290 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
23291
23292         [BZ #13533]
23293         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23294         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23295         transformations.
23296         * iconv/gconv_int.h: Likewise.
23297         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23298         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23299         from libc for GLIBC_2.16.
23300         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23301         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23302         * wcsmbs/uchar.h: Really define mbstate_t.
23303         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23304         * wcsmbs/c16rtomb.c: New file.
23305         * wcsmbs/mbrtoc16.c: New file.
23306         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23307         for C/POSIX locale.
23308         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23309         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23310
23311         * wcsmbs/wchar.h: Add missing __restrict.
23312
23313 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
23314
23315         [BZ #13532]
23316         * time/Makefile (routines): Add timespec_get.
23317         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23318         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
23319         timespec for ISO C11.
23320         * time/timespec_get.c: New file.
23321         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23322         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23323
23324         [BZ #13531]
23325         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23326         * stdlib/stdlib.h: Declare aligned_alloc.
23327         * Versions.def: Add GLIBC_2.16 for libc.
23328         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23329
23330         [BZ 13527]
23331         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23332         ISO C11.
23333
23334         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23335         code.
23336
23337         [BZ #13528]
23338         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23339
23340         [BZ #13529]
23341         * assert/assert.h (static_assert): Define.
23342
23343         * version.h: Update for 2.16 development version.
23344
23345         [BZ #13526]
23346         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23347         _ISOC11_SOURCE.
23348
23349         * version.h (RELEASE): Bump for 2.15 release.
23350         * include/features.h (__GLIBC_MINOR__): Bump to 15.
23351
23352         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23353         Patch by Marek Polacek <mpolacek@redhat.com>.
23354
23355         * bits/byteswap.h: Protect long long constants with __extension__.
23356         * sysdeps/i386/bits/byteswap.h: Likewise.
23357         * sysdeps/ia64/bits/byteswap.h: Likewise.
23358         * sysdeps/s390/bits/byteswap.h: Likewise.
23359         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23360
23361 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23362
23363         [BZ #13540]
23364         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23365         destination buffer.
23366         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23367
23368 2011-12-23  Marek Polacek  <polacek@redhat.com>
23369
23370         * elf/dl-addr.c (determine_info): Add inline keyword.
23371         * elf/tst-auditmod4b.c (check_avx): Likewise.
23372         * elf/tst-auditmod6b.c (check_avx): Likewise.
23373         * elf/tst-auditmod6c.c (check_avx): Likewise.
23374         * elf/tst-auditmod7b.c (check_avx): Likewise.
23375
23376 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
23377
23378         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23379         !__SSE_MATH__.
23380
23381 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23382
23383         [BZ #13540]
23384         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23385         processing for last bytes.
23386
23387 2011-08-06  Bruno Haible  <bruno@clisp.org>
23388
23389         [BZ #13061]
23390         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23391         U+0385, not to U+1FEE.
23392
23393         [BZ #13062]
23394         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23395         entry for U+00A5 U+0301.
23396
23397 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
23398
23399         [BZ #13166]
23400         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23401         buffer for the output is too small.
23402
23403         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23404         optimization.
23405
23406         [BZ #13185]
23407         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23408         SSE flags if possible.
23409
23410 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23411
23412         [BZ #13540]
23413         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23414         processing for last bytes.
23415
23416 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
23417
23418         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23419         (syscall-list-default-options, syscall-list-default-condition)
23420         (syscall-list-includes): Define.
23421         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23422         list of ABIs and options and #if conditions for each ABI.  Do not
23423         handle common syscalls between ABIs specially.
23424         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23425         Remove.
23426         (syscall-list-variants, syscall-list-32bit-options)
23427         (syscall-list-32bit-condition, syscall-list-64bit-options)
23428         (syscall-list-64bit-condition): Define.
23429         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23430         (syscall-list-variants, syscall-list-32bit-options)
23431         (syscall-list-32bit-condition, syscall-list-64bit-options)
23432         (syscall-list-64bit-condition): Define.
23433         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23434         Remove.
23435         (syscall-list-variants, syscall-list-32bit-options)
23436         (syscall-list-32bit-condition, syscall-list-64bit-options)
23437         (syscall-list-64bit-condition): Define.
23438         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23439         Remove.
23440         (syscall-list-variants, syscall-list-32bit-options)
23441         (syscall-list-32bit-condition, syscall-list-64bit-options)
23442         (syscall-list-64bit-condition): Define.
23443
23444 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
23445
23446         * locale/iso-639.def: Add brx entry.
23447
23448         [BZ #13328]
23449         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23450         Proposed by Mariusz_Cukr <marcukr@op.pl>.
23451
23452         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23453         __feraiseexcept_renamed.
23454
23455 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
23456
23457         [BZ #13538]
23458         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23459         EPOLLET with unsigned values.
23460         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23461         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23462
23463         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23464         to large cancellation.
23465         * math/s_cacoshf.c: Likewise.
23466         * math/s_cacoshl.c: Likewise.
23467
23468 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
23469
23470         [BZ #13305]
23471         [BZ #12786]
23472         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23473         * math/s_cacoshf.c: Likewise.
23474         * math/s_cacoshl.c: Likewise.
23475
23476 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
23477
23478         [BZ #13439]
23479         * iconv/gconv.h: Define __GCONV_SWAP.
23480         * iconvdata/unicode.c: The swap bit must be stored in __flags.
23481         * iconvdata/utf-16.c: Likewise.
23482         * iconvdata/utf-32.c: Likewise.
23483
23484 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23485
23486         [BZ #13524]
23487         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23488         numerator after shifting it by one limb.
23489
23490 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
23491
23492         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23493         under [__USE_EXTERN_INLINES].
23494
23495 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
23496
23497         [BZ #13446]
23498         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23499
23500 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23501
23502         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23503         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23504         optimized code.
23505         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23506         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23507         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23508         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23509         for strncasecmp/strncasecmp_l compilation.
23510         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23511         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23512
23513 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
23514
23515         [BZ #13484]
23516         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23517         of __asm__.
23518
23519 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
23520
23521         [BZ #13506]
23522         * time/tzfile.c (__tzfile_read): Check values from file header.
23523
23524 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23525
23526         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23527         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23528         * powerpc/powerpc32/dl-start.S: Likewise.
23529         * powerpc/powerpc32/elf/start.S: Likewise.
23530         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23531         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23532         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23533         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23534         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23535         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23536         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23537         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23538         * powerpc/powerpc32/fpu/s_round.S: Likewise.
23539         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23540         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23541         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23542         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23543         * powerpc/powerpc32/memset.S: Likewise.
23544         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23545         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23546         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23547         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23548         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23549         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23550         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23551         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23552         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23553         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23554         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23555         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23556         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23557
23558 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23559
23560         * math/libm-test.inc: Added more nearbyint tests.
23561         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23562         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23564         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23565
23566 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
23567
23568         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23569         FD_CLOEXEC.
23570
23571 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23572
23573         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23574         Add wcscpy-ssse3 wcscpy-c.
23575         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23576         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23577         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23578         * sysdeps/x86_64/wcschr.S: New file.
23579         * sysdeps/x86_64/wcsrchr.S: New file.
23580         * string/test-strcmp.c: Remove checking of wcscmp function for
23581         wrong alignments.
23582         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23583         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23584         wcsrchr-sse2 wcsrchr-c.
23585         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23586         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23587         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23588         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23589         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23590         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23591         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23592         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23593         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23594         * wcsmbc/wcschr.c (WCSCHR): New macro.
23595
23596 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23597
23598         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23599         * wcsmbs/test-wcsrchr.c: New file.
23600         * string/test-strrchr.c: Add wcsrchr support.
23601         (WIDE): New macro.
23602         * wcsmbs/test-wcscpy.c: New file.
23603         * string/test-strcpy.c: Add wcscpy support.
23604         (WIDE): New macro.
23605
23606 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
23607
23608         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23609         the inner loop.
23610
23611 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
23612
23613         [BZ #13472]
23614         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23615
23616 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
23617
23618         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
23619         Minor optimizations.
23620
23621         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23622         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23623         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23624
23625 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
23626
23627         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23628         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23629         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23630         for gcc to avoid warnings.
23631         * inet/Makefile (tests): Add tst-checks.
23632         * inet/tst-checks.c: New file.
23633
23634         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23635         warning.
23636
23637         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23638         __wmemcmp_sse2.
23639
23640         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23641         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23642
23643         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23644
23645 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
23646
23647         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23648         problem.
23649
23650         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23651
23652 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
23653
23654         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23655         conditional on GCC version.
23656         (__arch_compare_and_exchange_val_8_acq)
23657         (__arch_compare_and_exchange_val_16_acq)
23658         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23659         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23660         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23661
23662 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
23663
23664         * sysdeps/sh/backtrace.c: New file.
23665
23666 2011-12-02  Andreas Schwab  <schwab@redhat.com>
23667
23668         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
23669         parenthesis.
23670
23671 2011-12-01  Andreas Schwab  <schwab@redhat.com>
23672
23673         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23674         falling back to utime.
23675
23676 2011-11-30  Andreas Schwab  <schwab@redhat.com>
23677
23678         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23679         expectations for float.
23680
23681 2011-11-29  Andreas Schwab  <schwab@redhat.com>
23682
23683         * locale/weight.h (findidx): Add parameter len.
23684         * locale/weightwc.h (findidx): Likewise.
23685         * posix/fnmatch_loop.c (FCT): Adjust caller.
23686         * posix/regcomp.c (build_equiv_class): Likewise.
23687         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23688         * posix/regexec.c (check_node_accept_bytes): Likewise.
23689         * string/strcoll_l.c (STRCOLL): Likewise.
23690         * string/strxfrm_l.c (STRXFRM): Likewise.
23691
23692 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
23693
23694         * Makefile.in: Remove CVSOPT handling.
23695         * configure.in: Remove use of AC_REVISION.
23696         * iconvdata/Makefile (distribute): No need to filter out CVS.
23697         * scripts/list-sources.sh: Remove CVS, subversion and monotone
23698         handling.
23699
23700 2011-11-16  Andreas Schwab  <schwab@redhat.com>
23701
23702         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23703         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23704         [USE_AS_STRNCASECMP_L]: Likewise.
23705         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23706         NO_TLS_DIRECT_SEG_REFS.
23707         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23708         Fix argument offsets for non-PIC.
23709         [USE_AS_STRNCASECMP_L]: Likewise.
23710         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23711         NO_TLS_DIRECT_SEG_REFS.
23712
23713 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
23714
23715         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
23716         O_CLOEXEC.
23717         * locale/loadlocale.c (_nl_load_locale): Likewise.
23718
23719 2011-11-15  Andreas Schwab  <schwab@redhat.com>
23720
23721         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23722         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23723         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23724         (SYSCALL_GETTIME): Set errno on error.
23725
23726         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23727         count references to noai6ai_cached.
23728
23729 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
23730
23731         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23732
23733         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23734         FD_CLOEXEC for /proc/self/maps.
23735
23736         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23737         FD_CLOEXEC for /proc/meminfo.
23738
23739         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23740         gai.conf.
23741
23742         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
23743         FD_CLOEXEC for given file.
23744
23745         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23746
23747         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23748         FD_CLOEXEC for /etc/hosts.
23749         (_gethtent): Likewise.
23750
23751         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23752
23753         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23754         cancellation and set FD_CLOEXEC for /etc/netgroup.
23755
23756         * nss/nss_files/files-key.c (search): Don't allow cancellation when
23757         reading /etc/publickey.
23758
23759         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23760         allow cancellation when reading /etc/group.
23761
23762         * nss/nss_files/files-alias.c (internal_setent): Don't allow
23763         cancellation.
23764         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
23765
23766         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23767         when using data file.
23768
23769         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23770
23771         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23772         (write_nis_obj): Use "c" and "e" in fopen.
23773
23774         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23775
23776         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23777
23778         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23779
23780         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23781
23782         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23783         locale.alias.
23784
23785         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23786
23787         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23788
23789         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23790
23791         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23792         file parsing and set FD_CLOEXEC.
23793
23794 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
23795
23796         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23797
23798 2011-11-14  Andreas Schwab  <schwab@redhat.com>
23799
23800         * malloc/arena.c (arena_get2): Don't call reused_arena when
23801         _int_new_arena failed.
23802
23803 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
23804
23805         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23806         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23807         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23808         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23809         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23810         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23811         to compile strcasecmp and strncasecmp.
23812         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23813         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23814
23815         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23816
23817 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
23818
23819         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23820         locale-defines.sym to gen-as-const-headers.
23821         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23822         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23823         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23824         to compile strcasecmp and strncasecmp.
23825         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23826         strcasecmp_l and strncasecmp_l.
23827         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23828         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23829         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23830         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23831         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23832         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23833         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23834         * sysdeps/i386/i686/multiarch/strncase.S: New file.
23835         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23836         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23837         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23838
23839 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
23840
23841         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23842         result of SYSDEP_GETTIME_CPU to retval.
23843         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23844         parameter list to macro.  Remove trailing semicolon.  Adjust users.
23845
23846         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23847         variable.
23848
23849         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23850         mantissa words.
23851         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23852
23853         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23854         from unused variable.
23855
23856         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23857         DWARF definitions.
23858         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23859         for assembling.
23860
23861         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23862         over namespaces.
23863
23864         * sunrpc/rpc_prot.c (rejected): Fix case value.
23865
23866         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23867         unsigned long long int to avoid warnings in shift.
23868
23869         * posix/regex_internal.c (re_string_reconstruct): Actually use result
23870         of use of trans.
23871         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23872         variable tmp.
23873
23874         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23875         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23876         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23877
23878         * nis/nis_table.c (nis_list): Use variable of correct type for
23879         result of __follow_path call.
23880
23881 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23882
23883         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23884         of math functions ceil, trunc, floor, round, and sqrt, when
23885         avaliable on the platform.
23886         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23887         name clash.
23888         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23889         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23890         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23891
23892 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
23893
23894         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23895         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23896
23897 2011-11-11  Roland McGrath  <roland@hack.frob.com>
23898
23899         * include/unistd.h: Fix __readlink return type.
23900         Reported by Chris Metcalf <cmetcalf@tilera.com>.
23901
23902 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
23903
23904         * stdlib/ucontext.h: Undo last change for makecontext.
23905
23906 2011-11-11  Andreas Schwab  <schwab@redhat.com>
23907
23908         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23909
23910         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23911         * setjmp/setjmp.h: Mark functions as non-leaf.
23912         * setjmp/bits/setjmp2.h: Likewise.
23913         * stdlib/ucontext.h: Likewise.
23914
23915 2011-11-10  Andreas Schwab  <schwab@redhat.com>
23916
23917         * malloc/arena.c (_int_new_arena): Don't increment narenas.
23918         (reused_arena): Don't check arena limit.
23919         (arena_get2): Atomically check arena limit.
23920
23921 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
23922
23923         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23924         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23925
23926         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23927         instructions.
23928
23929 2011-11-07  Andreas Schwab  <schwab@redhat.com>
23930
23931         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23932         handler when locking.
23933
23934         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23935         Fix size of allocated buffer.
23936
23937 2011-11-04  Andreas Schwab  <schwab@redhat.com>
23938
23939         [BZ #10103]
23940         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23941         declarations for long double functions.
23942         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23943
23944         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23945
23946 2011-11-03  Andreas Schwab  <schwab@redhat.com>
23947
23948         * nscd/nscd.c (main): Don't start AVC thread until credentials are
23949         installed.
23950
23951         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23952         is disabled.
23953
23954 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23955
23956         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23957
23958 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23959
23960         * include/alloca.h (stackinfo_alloca_round): Define.
23961         (extend_alloca): Use it.
23962         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23963         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23964         here.
23965
23966         * scripts/check-local-headers.sh: Ignore libaudit.h.
23967
23968         * nscd/Makefile (extra-objs): Make recursively expanded.
23969
23970 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
23971
23972         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23974
23975         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23976         * posix/tst-rfc3484-2.c: Likewise.
23977         * posix/tst-rfc3484-3.c: Likewise.
23978
23979         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23980         process_vm_writev.
23981         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23982         process_vm_writev.
23983         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23984         process_vm_writev from libc using GLIBC_2.15 version.
23985
23986         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23987
23988 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
23989
23990         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23991         stack usage.
23992
23993 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
23994
23995         [BZ #13367]
23996         * nss/getent.c (initgroups_keys): Show error message in case no group
23997         names are given.
23998
23999         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24000         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24001         __bump_nl_timestamp.
24002         * nscd/connections (nscd_init): When host database is served open
24003         netlink socket and request notification about configuration changes.
24004         (main_loop_poll): Track netlink file descriptor and bump timestamp
24005         in case data becomes available.
24006         (main_loop_epoll): Likewise.
24007         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24008         (database_pers_head): Add extra_data fileds.
24009         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24010         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24011         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24012         Adjust caller.
24013         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24014         in6ai data, call __free_in6ai.
24015         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24016         Add -DHAVE_NETLINK.
24017         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
24018         interface information.  Reuse previous data if netlink timestamp
24019         is not changed.
24020         (__bump_nl_timestamp): New function.
24021         (__free_in6ai): New function.
24022
24023 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
24024
24025         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24026         close_not_cancel_no_status here.
24027         (__check_pf): Reorganize code a bit to not call close twice if OOM.
24028
24029 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
24030
24031         [BZ #13276]
24032         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24033         return value.
24034
24035         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24036         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24037         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24038
24039 2011-07-03  Andreas Jaeger  <aj@suse.de>
24040
24041         [BZ #10709]
24042         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24043         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24044         * math/libm-test.inc (sin_test): Add test case.
24045
24046 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
24047
24048         [BZ #13337]
24049         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24050         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24051
24052         * elf/chroot_canon.c (chroot_canon): Cleanups.
24053
24054         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24055
24056         [BZ #13335]
24057         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24058         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24059
24060         * string/test-strchr.c: Make usable for strchrnul testing.
24061         * string/test-strchrnul.c: New file.
24062         * string/Makefile (strop-tests): Add strchrnul.
24063
24064         * po/it.po: Update from translation team.
24065         * po/es.po: Likewise.
24066
24067 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
24068
24069         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24070         the three constants needed as parameters.  Drop the others.
24071         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24072         __m128i_strloadu_tolower.
24073         Create and initialize variable zero and use it in all the places
24074         where _mm_setzero_si128 was used.
24075
24076         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24077         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24078         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24079         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24080         anymore.
24081         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24082         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24083         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24084         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24085         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24086         __mpranred, __mptan.
24087         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24088         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24089         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24090         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24091         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24092         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24093         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24094         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24095         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24096
24097 2011-10-28  Andreas Schwab  <schwab@redhat.com>
24098
24099         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24100         redefine if SHARED.
24101         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24102
24103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24104         wide char related routines to wcsmbs subdir.
24105
24106 2011-10-27  Andreas Schwab  <schwab@redhat.com>
24107
24108         [BZ #13344]
24109         * misc/sys/cdefs.h (__THROWNL): Define.
24110         * posix/unistd.h: Use __THREADNL instead of __THREAD
24111         for memory synchronization functions.
24112
24113 2011-10-26  Roland McGrath  <roland@hack.frob.com>
24114
24115         [BZ #13349]
24116         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24117         doesn't exist.
24118         * manual/stdio.texi (Obstack Streams): Node removed.
24119
24120 2011-10-26  Andreas Schwab  <schwab@redhat.com>
24121
24122         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24123         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24124         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24125
24126         * math/math_private.h (math_force_eval): Allow non-addressable
24127         arguments.
24128         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24129
24130 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24131
24132         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24133         file is not needed.
24134
24135         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24136         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24137         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24138         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24139         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24140         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24141         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24142         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24143         Add AVX variants.
24144         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24145         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24146         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24147         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24148         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24149         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24150         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24151         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24152         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24153         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24154         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24155         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24156         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24157         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24158         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24159         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24160         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24161         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24162         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24163
24164         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24165         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
24166
24167         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24168         place.  Use VEX encoding when compiling for AVX.
24169
24170 2011-10-25  Andreas Schwab  <schwab@redhat.com>
24171
24172         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24173         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24174
24175         * string/test-strchr.c (do_test): Don't generate NUL bytes.
24176
24177 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24178
24179         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24180         useless if() expression.
24181         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24182         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24183         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24184         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24185         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24186         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24187         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24188         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24189         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24190         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24191         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24192         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24193         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24194         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24195         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24196         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24197         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24198         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24199         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24200
24201         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24202
24203 2011-10-25  Andreas Schwab  <schwab@redhat.com>
24204
24205         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24206         condition.
24207         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24208
24209 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24210
24211         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24212         .text section.  Avoid duplicate constants.
24213         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24215         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24216         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24217         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24218         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24220         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24221         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24222         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24223         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24224         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24225         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24226         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24227         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24228         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24229         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24230         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24231         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24232         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24233         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24234         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24235         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24236         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24237         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24238         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24239         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24240         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24241         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24242         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24243         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24244         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24245         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24246         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24247         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24248         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24249         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24250         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24251         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24252         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24253         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24254         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24255         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24256         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24257         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24258
24259 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
24260
24261         * sysdeps/x86_64/dla.h: Move to ...
24262         * sysdeps/x86_64/fpu/dla.h: ...here.
24263         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24264         situations.  Use __builtin_fma only for gcc 4.6 and up.
24265
24266         * config.make.in: Add have-mfma4 entry.
24267         * configure.in: Substitute libc_cv_cc_fma4.
24268         * math/Makefile (dbl-only-routines): Add sincostab.
24269         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24270         Use __sincostab not sincos.
24271         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24272         name is a macro.
24273         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24274         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24275         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
24277         using __copysign.
24278         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
24279         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
24280         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24281         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24282         and __inv.
24283         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24284         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24285         __copysign.
24286         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
24287         define aliases when function name is a macro.
24288         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24289         sysdeps/ieee754/dbl-64/sincos.tbl.
24290         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24291         fma4-enabled routines.
24292         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24293         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24294         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24295         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24296         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24297         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24299         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24300         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24301         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24302         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24303         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24304         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24305         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24306         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24307         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24308         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24309         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24310         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24311         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24312         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24313         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24314         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24315         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24316         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24317         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24319         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24320         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24321         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24322
24323         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24324         rename.
24325         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24326         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24327         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24328         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24329         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24330         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24331         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24332         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24333
24334 2011-10-24  Andreas Schwab  <schwab@redhat.com>
24335
24336         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24337
24338 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24339
24340         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24341
24342         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24343         prediction.
24344         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24345
24346         * string/strnlen.c: Don't define STRNLEN, reverse logic.
24347         Remove unused variable magic_bits.
24348         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24349
24350         * string/strnlen.c: Define and use STRNLEN macro.
24351         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24352         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24353         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24354         * wcsmbs/wcslen.c: Define and use WCSLEN.
24355         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24356         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24357         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24358         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24359         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24360         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24361         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24362
24363 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24364
24365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24366         strnlen-sse2-no-bsf.
24367         Rename strlen-no-bsf to strlen-sse2-no-bsf.
24368         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24369         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24370         Add strnlen support.
24371         (USE_AS_STRNLEN): New macro.
24372         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24373         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24374         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24375         * sysdeps/x86_64/wcslen.S: New file.
24376
24377 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
24378
24379         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24380         XMM-moves are used for copying on small sizes.
24381
24382 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24383
24384         * wcsmbs/Makefile (strop-tests): Add wcschr.
24385         * wcsmbs/test-wcschr.c: New file.
24386         * string/test-strchr.c: Update.
24387         Add wcschr support.
24388         (WIDE): New macro.
24389
24390 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24391
24392         * wcsmbs/Makefile (strop-tests): Add wcslen.
24393         * wcsmbs/test-wcslen.c: New file.
24394         * string/test-strlen.c: Update.
24395         Add wcslen support.
24396         (WIDE): New macro.
24397
24398 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24399
24400         * po/it.po: Update from translation team.
24401
24402 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24403
24404         * sysdeps/x86_64/wcscmp.S: Update.
24405         Fix wrong comparison semantics.
24406         wcscmp shall use signed comparison not unsigned.
24407         Don't use substraction to avoid overflow bug.
24408         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24409         * wcsmbc/wcscmp.c: Likewise.
24410         * string/test-strcmp.c: Likewise.
24411         Add new tests to check cases with negative values.
24412
24413 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
24414
24415         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24416         * sysdeps/x86_64/dla.h: ...here.  New file.
24417         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24418         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24419         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24420         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24421         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24422         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24423         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24424         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24425         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24426
24427 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
24428
24429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24430         __ynl_finite aliases.
24431
24432 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
24433
24434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24435
24436         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24437         define DLA_FMA.
24438         [DLA_FMA] (EMULV): Use DLA_FMA.
24439         [DLA_FMA] (MUL12): Use EMULV.
24440         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24441         that are not needed.
24442         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24443         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24444         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24445         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24446         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24447         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24448         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24449
24450 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
24451
24452         * math/s_nan.c: Undef __nan.
24453         * math/s_nanf.c: Undef __nanf.
24454         * math/s_nanl.c: Undef __nanl.
24455         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24456         "math_private.h".
24457
24458 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
24459
24460         * math/s_catan.c: Add branch predictions.
24461         * math/s_catanf.c: Likewise.
24462         * math/s_catanh.c: Likewise.
24463         * math/s_catanhf.c: Likewise.
24464         * math/s_catanhl.c: Likewise.
24465         * math/s_catanl.c: Likewise.
24466         * math/s_cexp.c: Likewise.
24467         * math/s_cexpf.c: Likewise.
24468         * math/s_cexpl.c: Likewise.
24469         * math/s_clog.c: Likewise.
24470         * math/s_clog10.c: Likewise.
24471         * math/s_clog10f.c: Likewise.
24472         * math/s_clog10l.c: Likewise.
24473         * math/s_clogf.c: Likewise.
24474         * math/s_clogl.c: Likewise.
24475         * math/s_csqrt.c: Likewise.
24476         * math/s_csqrtf.c: Likewise.
24477         * math/s_csqrtl.c: Likewise.
24478         * math/s_ctanf.c: Likewise.
24479         * math/s_ctanh.c: Likewise.
24480         * math/s_ctanhf.c: Likewise.
24481         * math/s_ctanhl.c: Likewise.
24482         * math/s_ctanl.c: Likewise.
24483
24484         * math/math_private.h: Define __nan, __nanf, __nanl.
24485         * math/s_cacosh.c: Include <math_private.h>.
24486         * math/s_cacoshl.c: Likewise.
24487         * math/s_casinh.c: Likewise.
24488         * math/s_casinhf.c: Likewise.
24489         * math/s_casinhl.c: Likewise.
24490         * math/s_ccos.c: Rely entire on ccosh.
24491         * math/s_ccosf.c: Rely entire on ccoshf.
24492         * math/s_ccosl.c: Rely entirely on ccoshl.
24493         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
24494         Remove tests for FE_INVALID.
24495         * math/s_ccoshf.c: Likewise.
24496         * math/s_ccoshl.c: Likewise.
24497         * math/s_csin.c: Likewise.
24498         * math/s_csinf.c: Likewise.
24499         * math/s_csinh.c Likewise.
24500         * math/s_csinhf.c: Likewise.
24501         * math/s_csinhl.c: Likewise.
24502         * math/s_csinl.c: Likewise.
24503         * math/s_ctan.c: Likewise.
24504         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24505         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24506         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24507
24508 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
24509
24510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24511         compilation problems.
24512
24513         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24514         __builtin_expect.
24515
24516 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
24517
24518         * sysdeps/i386/configure.in: Test for -mfma4 option.
24519         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24520         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24521         COMMON_CPUID_INDEX_80000001.
24522         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24523         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24524         use it if FMA3 is not supported.
24525         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24526
24527         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24528         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24529
24530 2011-10-20  Andreas Schwab  <schwab@redhat.com>
24531
24532         [BZ #12892]
24533         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24534         it would create a cycle with a link time dependency.
24535
24536 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
24537
24538         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24539         instruction.
24540         * string/Makefile (strop-tests): Add rawmemchr.
24541         * string/test-rawmemchr.c: New file.
24542
24543         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24544         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
24545         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
24546         when compiling str{,n}casecmp and when AVX is available.  Hook up
24547         new optimized code in initializers.
24548
24549 2011-10-19  Andreas Schwab  <schwab@redhat.com>
24550
24551         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24552         __feraiseexcept instead of feraiseexcept.
24553
24554 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
24555
24556         * math/math_private.h: Define defaults for libc_fetestexcept and
24557         libc_feupdateenv.
24558         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24559         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24560         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24561         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24562         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24563         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24564         libc_fetestexcept and libc_feupdateenv.
24565
24566         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24567         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24568         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24569         * sysdeps/x86_64/fpu/math_private.h: Define special version of
24570         libc_feholdexcept_setround.
24571
24572         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24573         Add s_nearbyint-c and s_nearbyintf-c.
24574         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24575         nearbyintf inlines.
24576         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24577         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24578         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24579         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24580
24581         * math/math_private.h: Define defaults for libc_fegetround,
24582         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24583         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24584         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24585         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24586         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24587         standard functions.
24588         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24589         Remove comments and hacks for old compiler versions.
24590         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24591         libc_fegetround, libc_fesetround, libc_feholdexcept, and
24592         libc_feholdexceptl.
24593
24594 2011-10-18  Andreas Schwab  <schwab@redhat.com>
24595
24596         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24597         (__feraiseexcept_renamed): Add __NTH.
24598         (feraiseexcept): Add __NTH.  Rename local variables to fix
24599         namespace violations.
24600
24601 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
24602
24603         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24604
24605         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24606
24607         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24608         recently added interfaces.
24609         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24610
24611         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24612         about macro parameter expansion.
24613
24614         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24615         __NO_MATH_INLINES is defined.  Cleanups.
24616
24617         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24618         and __floorf is target has SSE4.1.
24619         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24620         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24621         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24622         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24623
24624         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24625         name.
24626         (floorf): Likewise.
24627
24628         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24629
24630 2011-10-17  Andreas Schwab  <schwab@redhat.com>
24631
24632         * misc/sys/cdefs.h: Fix last change.
24633
24634         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24635         database lookup.
24636
24637 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
24638
24639         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24640
24641         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24642         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24643         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24644         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24645         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24646         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24647         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24648         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24649         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24650         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24651         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24652         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24653         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24654         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24655         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24656         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24657         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24658         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24659         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24660         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24661         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24662         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24663
24664         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24665         ceil, ceilf, floor, floorf.
24666
24667         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24668         Perform IRELATIVE relocations last.
24669
24670         * elf/do-rel.h: Add another parameter nrelative, replacing the
24671         local variable with the same name.  Change name of the function
24672         to end in Rel or Rela (uppercase).
24673         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24674         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
24675         elf_dynamic_do_##reloc function.
24676
24677 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
24678
24679         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24680         is sufficient, at least on modern CPUs.
24681
24682         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24683
24684         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24685         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24686
24687         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24688         __expl_finite.
24689         * math/bits/math-finite.h: Add entries for exp.
24690         * math/e_expl.c: Add __*_finite alias.
24691         * sysdeps/i386/fpu/e_exp.S: Likewise.
24692         * sysdeps/i386/fpu/e_expf.S: Likewise.
24693         * sysdeps/i386/fpu/e_expl.c: Likewise.
24694         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24695         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24696         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24697         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24698         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24699         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24700         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24701
24702         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24703         is sufficient, at least on modern CPUs.
24704
24705         * ctype/ctype-info.c (__ctype_init): Define.
24706         * include/ctype.h (__ctype_init): Declare.
24707         (__ctype_b_loc): The variable is always initialized.
24708         (__ctype_toupper_loc): Likewise.
24709         (__ctype_tolower_loc): Likewise.
24710         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24711         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24712
24713 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
24714
24715         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24716
24717         * configure.in: Also look in $cxxmachine/include for C++ system
24718         headers.
24719
24720 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24721
24722         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24723         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24724         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24725         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
24726         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24727         (USE_AS_WMEMCMP): New macro.
24728         Fixing indents.
24729         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24730         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24731         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24732         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24734         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24735         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24736         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24737         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24738         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24739         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24740         (USE_AS_WMEMCMP): New macro.
24741         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24742         * sysdeps/string/test-memcmp.c: Update.
24743         Fix simple_wmemcmp.
24744         Add new tests.
24745         * wcsmbs/wmemcmp.c: Update.
24746         (WMEMCMP): New macro.
24747         Fix overflow bug.
24748
24749 2011-10-12  Andreas Jaeger  <aj@suse.de>
24750
24751         [BZ #13268]
24752         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24753
24754 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
24755
24756         * libio/iofwide.c (do_length): Avoid warning.
24757
24758         * ctype/ctype.h (__isctype_f): Add missing __THROW.
24759
24760 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
24761
24762         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24763
24764         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24765         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24766         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24767         * sysdeps/i386/i686/fpu/e_log.S: New file.
24768         * sysdeps/i386/i686/fpu/e_logf.S: New file.
24769         * sysdeps/i386/i686/fpu/e_logl.S: New file.
24770
24771         * ctype/ctype.h: Add support for inlined isXXX functions when
24772         compiling C++ code.
24773
24774 2011-10-14  Andreas Schwab  <schwab@redhat.com>
24775
24776         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24777
24778         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24779
24780 2011-10-13  Roland McGrath  <roland@hack.frob.com>
24781
24782         [BZ #13291]
24783         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24784
24785 2011-10-13  Andreas Schwab  <schwab@redhat.com>
24786
24787         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24788         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24789         feraiseexcept.
24790
24791         * sysdeps/x86_64/memrchr.S: Check for zero size.
24792
24793         * string/stratcliff.c: Add memrchr tests.
24794
24795 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24796
24797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24798         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24799         rawmemchr-sse2 rawmemchr-sse2-bsf.
24800         * sysdeps/i386/i686/multiarch/memchr.S: New file.
24801         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24802         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24803         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24804         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24805         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24806         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24807         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24808         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24809         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24810         * string/memrchr.c (MEMRCHR): New macro.
24811
24812 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
24813
24814         Add integration with gcc's -ffinite-math-only and optimize wrapper
24815         functions in libm.
24816         * Versions.def: Define GLIBC_2.15 version for libm.
24817         * math/Makefile (headers): Add bits/math-finite.h.
24818         * math/bits/math-finite.h: New file.
24819         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24820         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24821         * math/e_acoshl.c: Add __*_finite alias.
24822         * math/e_acosl.c: Likewise.
24823         * math/e_asinl.c: Likewise.
24824         * math/e_atan2l.c: Likewise.
24825         * math/e_atanhl.c: Likewise.
24826         * math/e_coshl.c: Likewise.
24827         * math/e_exp10.c: Likewise.
24828         * math/e_exp10f.c: Likewise.
24829         * math/e_exp10l.c: Likewise.
24830         * math/e_exp2l.c: Likewise.
24831         * math/e_fmodl.c: Likewise.
24832         * math/e_gammal_r.c: Likewise.
24833         * math/e_hypotl.c: Likewise.
24834         * math/e_j0l.c: Likewise.
24835         * math/e_j1l.c: Likewise.
24836         * math/e_jnl.c: Likewise.
24837         * math/e_lgammal_r.c: Likewise.
24838         * math/e_log10l.c: Likewise.
24839         * math/e_log2l.c: Likewise.
24840         * math/e_logl.c: Likewise.
24841         * math/e_powl.c: Likewise.
24842         * math/e_sinhl.c: Likewise.
24843         * math/e_sqrtl.c: Likewise.
24844         * math/e_scalb.c: Completely rewritten and optimized.
24845         * math/e_scalbf.c: Likewise.
24846         * math/e_scalbl.c: Likewise.
24847         * math/w_acos.c: Likewise.
24848         * math/w_acosf.c: Likewise.
24849         * math/w_acosl.c: Likewise.
24850         * math/w_acosh.c: Likewise.
24851         * math/w_acoshf.c: Likewise.
24852         * math/w_acoshl.c: Likewise.
24853         * math/w_asin.c: Likewise.
24854         * math/w_asinf.c: Likewise.
24855         * math/w_asinl.c: Likewise.
24856         * math/w_atan2.c: Likewise.
24857         * math/w_atan2f.c: Likewise.
24858         * math/w_atan2l.c: Likewise.
24859         * math/w_atanh.c: Likewise.
24860         * math/w_atanhf.c: Likewise.
24861         * math/w_atanhl.c: Likewise.
24862         * math/w_exp10.c: Likewise.
24863         * math/w_exp10f.c: Likewise.
24864         * math/w_exp10l.c: Likewise.
24865         * math/w_fmod.c: Likewise.
24866         * math/w_fmodf.c: Likewise.
24867         * math/w_fmodl.c: Likewise.
24868         * math/w_j0.c: Likewise.
24869         * math/w_j0f.c: Likewise.
24870         * math/w_j0l.c: Likewise.
24871         * math/w_j1.c: Likewise.
24872         * math/w_j1f.c: Likewise.
24873         * math/w_j1l.c: Likewise.
24874         * math/w_jn.c: Likewise.
24875         * math/w_jnf.c: Likewise.
24876         * math/w_log.c: Likewise.
24877         * math/w_logf.c: Likewise.
24878         * math/w_logl.c: Likewise.
24879         * math/w_log10.c: Likewise.
24880         * math/w_log10f.c: Likewise.
24881         * math/w_log10l.c: Likewise.
24882         * math/w_log2.c: Likewise.
24883         * math/w_log2f.c: Likewise.
24884         * math/w_log2l.c: Likewise.
24885         * math/w_pow.c: Likewise.
24886         * math/w_powf.c: Likewise.
24887         * math/w_powl.c: Likewise.
24888         * math/w_remainder.c: Likewise.
24889         * math/w_remainderf.c: Likewise.
24890         * math/w_remainderl.c: Likewise.
24891         * math/w_scalb.c: Likewise.
24892         * math/w_scalbf.c: Likewise.
24893         * math/w_scalbl.c: Likewise.
24894         * math/w_sqrt.c: Likewise.
24895         * math/w_sqrtf.c: Likewise.
24896         * math/w_sqrtl.c: Likewise.
24897         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24898         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
24899         used.
24900         * math/math_private.h: Declare __kernel_standard_f.
24901         * math/w_cosh.c: Remove cruft and optimize a bit.
24902         * math/w_coshf.c: Likewise.
24903         * math/w_coshl.c: Likewise.
24904         * math/w_exp2.c: Likewise.
24905         * math/w_exp2f.c: Likewise.
24906         * math/w_exp2l.c: Likewise.
24907         * math/w_hypot.c: Likewise.
24908         * math/w_hypotf.c: Likewise.
24909         * math/w_hypotl.c: Likewise.
24910         * math/w_lgamma.c: Likewise.
24911         * math/w_lgamma_r.c: Likewise.
24912         * math/w_lgammaf.c: Likewise.
24913         * math/w_lgammaf_r.c: Likewise.
24914         * math/w_lgammal.c: Likewise.
24915         * math/w_lgammal_r.c: Likewise.
24916         * math/w_sinh.c: Likewise.
24917         * math/w_sinhf.c: Likewise.
24918         * math/w_sinhl.c: Likewise.
24919         * math/w_tgamma.c: Likewise.
24920         * math/w_tgammaf.c: Likewise.
24921         * math/w_tgammal.c: Likewise.
24922         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24923         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24924         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24925         Minor optimizations.  Pretty printing.  Remove cruft.
24926         * sysdeps/i386/fpu/e_acosf.S: Likewise.
24927         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24928         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24929         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24930         * sysdeps/i386/fpu/e_acosl.c: Likewise.
24931         * sysdeps/i386/fpu/e_asin.S: Likewise.
24932         * sysdeps/i386/fpu/e_asinf.S: Likewise.
24933         * sysdeps/i386/fpu/e_atan2.S: Likewise.
24934         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24935         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24936         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24937         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24938         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24939         * sysdeps/i386/fpu/e_exp10.S: Likewise.
24940         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24941         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24942         * sysdeps/i386/fpu/e_exp2.S: Likewise.
24943         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24944         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24945         * sysdeps/i386/fpu/e_fmod.S: Likewise.
24946         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24947         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24948         * sysdeps/i386/fpu/e_hypot.S: Likewise.
24949         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24950         * sysdeps/i386/fpu/e_log.S: Likewise.
24951         * sysdeps/i386/fpu/e_log10.S: Likewise.
24952         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24953         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24954         * sysdeps/i386/fpu/e_log2.S: Likewise.
24955         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24956         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24957         * sysdeps/i386/fpu/e_logf.S: Likewise.
24958         * sysdeps/i386/fpu/e_logl.S: Likewise.
24959         * sysdeps/i386/fpu/e_pow.S: Likewise.
24960         * sysdeps/i386/fpu/e_powf.S: Likewise.
24961         * sysdeps/i386/fpu/e_powl.S: Likewise.
24962         * sysdeps/i386/fpu/e_remainder.S: Likewise.
24963         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24964         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24965         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24966         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24967         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24968         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24969         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24970         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24971         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24972         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24974         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24975         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24976         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24977         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24978         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24979         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24980         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24981         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24982         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24984         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24985         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24987         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24988         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24989         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24990         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24991         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24992         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24993         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24994         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24995         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24996         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24997         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24998         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24999         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25000         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25001         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25002         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25003         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25004         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25005         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25006         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25007         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25008         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25009         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25010         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25011         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25012         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25013         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25014         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25015         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25016         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25017         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25018         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25019         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25020         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25021         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25022         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25023         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25024         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25025         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25026         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25027         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25028         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25029         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25030         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25031         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25032         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25033         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25034         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25035         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25036         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25038         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25039         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25040         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25041         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25042         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25043         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25044         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25045         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25046         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25047         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25048         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25049         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25050         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25051         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25052         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25053         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25054         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25055         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25056         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25057         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25058         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25059         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25060         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25061         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25062         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25063         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25064         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25065         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25066         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25067         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25068         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25069         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25070         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25071         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25072         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25073         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25074         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25075         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25076         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25077         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25078         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25079         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25080         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25081         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
25082         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25083         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25084         (__isnanf): Likewise.
25085         (__isinf_ns): Likewise.
25086         (__isinf_nsf): Likewise.
25087         (__finite): Likewise.
25088         (__finitef): Likewise.
25089         (__ieee754_sqrt): Define as macro.
25090         (__ieee754_sqrtf): Define as macro.
25091         (__ieee754_sqrtl): Define as macro.
25092         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25093         inlined copy.
25094         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25095         __FINITE_MATH_ONLY__ consistent.
25096         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25097
25098 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
25099
25100         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25101         of rawmemchr.
25102
25103         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25104
25105 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
25106
25107         * po/ja.po: Update from translation team.
25108
25109 2011-10-08  Roland McGrath  <roland@hack.frob.com>
25110
25111         * locale/programs/locarchive.c (prepare_address_space): New function.
25112         (create_archive, enlarge_archive, open_archive): Use it.
25113
25114         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25115         inside [SHARED], where it is used.
25116
25117         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25118
25119         * nss/getent.c (netgroup_keys): Remove unused variable.
25120         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25121
25122 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
25123
25124         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25125         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25126         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25127         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25128         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25129         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25130         * math/Makefile (libm-calls): Add s_isinf_ns.
25131         * math/divtc3.c: Use __isinf_nsl instead of isinf.
25132         * math/multc3.c: Likewise.
25133         * math/s_casin.c: Likewise.
25134         * math/s_casinf.c: Likewise.
25135         * math/s_casinl.c: Likewise.
25136         * math/s_ccos.c: Likewise.
25137         * math/s_ccosf.c: Likewise.
25138         * math/s_ccosl.c: Likewise.
25139         * math/s_ctan.c: Likewise.
25140         * math/s_ctanf.c: Likewise.
25141         * math/s_ctanh.c: Likewise.
25142         * math/s_ctanhf.c: Likewise.
25143         * math/s_ctanhl.c: Likewise.
25144         * math/s_ctanl.c: Likewise.
25145         * math/w_fmod.c: Likewise.
25146         * math/w_fmodf.c: Likewise.
25147         * math/w_fmodl.c: Likewise.
25148         * math/w_remainder.c: Likewise.
25149         * math/w_remainderf.c: Likewise.
25150         * math/w_remainderl.c: Likewise.
25151         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25152         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25153         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25154         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25155         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25156         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25157         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25158         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25159
25160         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25161         of the number.
25162         * stdio-common/printf_fphex.c: Likewise.
25163         * stdio-common/printf_size.c: Likewise.
25164
25165         * math/e_exp10.c: Include math_private.h using <...> not "...".
25166         * math/e_exp10f.c: Likewise.
25167         * math/e_exp10l.c: Likewise.
25168         * math/e_exp2l.c: Likewise.
25169         * math/e_j0l.c: Likewise.
25170         * math/e_j1l.c: Likewise.
25171         * math/e_jnl.c: Likewise.
25172         * math/e_lgammal_r.c: Likewise.
25173         * math/e_rem_pio2l.c: Likewise.
25174         * math/e_scalb.c: Likewise.
25175         * math/e_scalbf.c: Likewise.
25176         * math/e_scalbl.c: Likewise.
25177         * math/k_cosl.c: Likewise.
25178         * math/k_sinl.c: Likewise.
25179         * math/k_tanl.c: Likewise.
25180         * math/s_cacoshf.c: Likewise.
25181         * math/s_catan.c: Likewise.
25182         * math/s_catanf.c: Likewise.
25183         * math/s_catanh.c: Likewise.
25184         * math/s_catanhf.c: Likewise.
25185         * math/s_catanhl.c: Likewise.
25186         * math/s_catanl.c: Likewise.
25187         * math/s_ccosh.c: Likewise.
25188         * math/s_ccoshf.c: Likewise.
25189         * math/s_ccoshl.c: Likewise.
25190         * math/s_cexp.c: Likewise.
25191         * math/s_cexpf.c: Likewise.
25192         * math/s_cexpl.c: Likewise.
25193         * math/s_clog.c: Likewise.
25194         * math/s_clog10.c: Likewise.
25195         * math/s_clog10f.c: Likewise.
25196         * math/s_clog10l.c: Likewise.
25197         * math/s_clogf.c: Likewise.
25198         * math/s_clogl.c: Likewise.
25199         * math/s_csin.c: Likewise.
25200         * math/s_csinf.c: Likewise.
25201         * math/s_csinh.c: Likewise.
25202         * math/s_csinhf.c: Likewise.
25203         * math/s_csinhl.c: Likewise.
25204         * math/s_csinl.c: Likewise.
25205         * math/s_csqrt.c: Likewise.
25206         * math/s_csqrtf.c: Likewise.
25207         * math/s_csqrtl.c: Likewise.
25208         * math/s_ctan.c: Likewise.
25209         * math/s_ctanf.c: Likewise.
25210         * math/s_ctanh.c: Likewise.
25211         * math/s_ctanhf.c: Likewise.
25212         * math/s_ctanhl.c: Likewise.
25213         * math/s_ctanl.c: Likewise.
25214         * math/s_ldexp.c: Likewise.
25215         * math/s_ldexpf.c: Likewise.
25216         * math/s_ldexpl.c: Likewise.
25217         * math/s_significand.c: Likewise.
25218         * math/s_significandf.c: Likewise.
25219         * math/s_significandl.c: Likewise.
25220         * math/w_acos.c: Likewise.
25221         * math/w_acosf.c: Likewise.
25222         * math/w_acosh.c: Likewise.
25223         * math/w_acoshf.c: Likewise.
25224         * math/w_acoshl.c: Likewise.
25225         * math/w_acosl.c: Likewise.
25226         * math/w_asin.c: Likewise.
25227         * math/w_asinf.c: Likewise.
25228         * math/w_asinl.c: Likewise.
25229         * math/w_atan2.c: Likewise.
25230         * math/w_atan2f.c: Likewise.
25231         * math/w_atan2l.c: Likewise.
25232         * math/w_atanh.c: Likewise.
25233         * math/w_atanhf.c: Likewise.
25234         * math/w_atanhl.c: Likewise.
25235         * math/w_cosh.c: Likewise.
25236         * math/w_coshf.c: Likewise.
25237         * math/w_coshl.c: Likewise.
25238         * math/w_dremf.c: Likewise.
25239         * math/w_exp10.c: Likewise.
25240         * math/w_exp10f.c: Likewise.
25241         * math/w_exp10l.c: Likewise.
25242         * math/w_exp2.c: Likewise.
25243         * math/w_exp2f.c: Likewise.
25244         * math/w_fmod.c: Likewise.
25245         * math/w_fmodf.c: Likewise.
25246         * math/w_fmodl.c: Likewise.
25247         * math/w_hypot.c: Likewise.
25248         * math/w_hypotf.c: Likewise.
25249         * math/w_hypotl.c: Likewise.
25250         * math/w_j0.c: Likewise.
25251         * math/w_j0f.c: Likewise.
25252         * math/w_j0l.c: Likewise.
25253         * math/w_j1.c: Likewise.
25254         * math/w_j1f.c: Likewise.
25255         * math/w_j1l.c: Likewise.
25256         * math/w_jn.c: Likewise.
25257         * math/w_jnf.c: Likewise.
25258         * math/w_jnl.c: Likewise.
25259         * math/w_lgamma.c: Likewise.
25260         * math/w_lgamma_r.c: Likewise.
25261         * math/w_lgammaf.c: Likewise.
25262         * math/w_lgammaf_r.c: Likewise.
25263         * math/w_lgammal.c: Likewise.
25264         * math/w_lgammal_r.c: Likewise.
25265         * math/w_log.c: Likewise.
25266         * math/w_log10.c: Likewise.
25267         * math/w_log10f.c: Likewise.
25268         * math/w_log10l.c: Likewise.
25269         * math/w_log2.c: Likewise.
25270         * math/w_log2f.c: Likewise.
25271         * math/w_log2l.c: Likewise.
25272         * math/w_logf.c: Likewise.
25273         * math/w_logl.c: Likewise.
25274         * math/w_pow.c: Likewise.
25275         * math/w_powf.c: Likewise.
25276         * math/w_powl.c: Likewise.
25277         * math/w_remainder.c: Likewise.
25278         * math/w_remainderf.c: Likewise.
25279         * math/w_remainderl.c: Likewise.
25280         * math/w_scalb.c: Likewise.
25281         * math/w_scalbf.c: Likewise.
25282         * math/w_scalbl.c: Likewise.
25283         * math/w_sinh.c: Likewise.
25284         * math/w_sinhf.c: Likewise.
25285         * math/w_sinhl.c: Likewise.
25286         * math/w_sqrt.c: Likewise.
25287         * math/w_sqrtf.c: Likewise.
25288         * math/w_sqrtl.c: Likewise.
25289         * math/w_tgamma.c: Likewise.
25290         * math/w_tgammaf.c: Likewise.
25291         * math/w_tgammal.c: Likewise.
25292
25293         * po/ja.po: Update from translation team.
25294
25295 2011-09-29  Andreas Jaeger  <aj@suse.de>
25296
25297         [BZ #13179]
25298         * sunrpc/netname.c (netname2host): Fix logic.
25299
25300         [BZ #6779]
25301         [BZ #6783]
25302         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25303         correctly.
25304         * math/w_remainder.c (__remainder): Likewise.
25305         * math/w_remainderf.c (__remainderf): Likewise.
25306         * math/libm-test.inc (remainder_test): Add test cases.
25307
25308 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25309
25310         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
25311         sdiv_qrnnd.
25312
25313 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
25314
25315         * string/test-memcmp.c: Avoid unncessary #defines.
25316         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25317
25318 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25319
25320         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25321         Use new sse2 version for core i3 - i7 as it's faster
25322         than sse42 version.
25323         (bit_Prefer_PMINUB_for_stringop): New.
25324         * sysdeps/x86_64/rawmemchr.S: Update.
25325         Replace with faster SSE2 version.
25326         * sysdeps/x86_64/memrchr.S: New file.
25327         * sysdeps/x86_64/memchr.S: Update.
25328         Replace with faster SSE2 version.
25329
25330 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
25331
25332         * elf/dl-load.c (lose): Add cast to avoid warning.
25333
25334 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
25335
25336         * po/ca.po: Update from translation team.
25337
25338         * inet/getnetgrent_r.c: Hook up nscd.
25339         * nscd/Makefile (routines): Add nscd_netgroup.
25340         (nscd-modules): Add netgroupcache.
25341         (CFLAGS-netgroupcache.c): Define.
25342         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25343         (cache_search): Add const to second parameter.
25344         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25345         INNETGR.
25346         (dbs): Add netgrdb entry.
25347         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25348         (verify_persistent_db): Handle netgrdb.
25349         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25350         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25351         GETFDNETGR.
25352         (netgroup_response_header): Define.
25353         (innetgroup_response_header): Define.
25354         (datahead): Add netgroup_response_header and innetgroup_response_header
25355         elements.
25356         * nscd/nscd.conf: Add entries for netgroup cache.
25357         * nscd/nscd.h (dbtype): Add netgrdb.
25358         (_PATH_NSCD_NETGROUP_DB): Define.
25359         (netgroup_iov_disabled): Declare.
25360         (xmalloc, xcalloc, xrealloc): Move declarations here.
25361         (cache_search): Adjust prototype.
25362         Add netgroup-related prototypes.
25363         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25364         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25365         (__nscd_innetgr): Declare.
25366         * nscd/selinux.c (perms): Use access_vector_t as element type and
25367         add netgroup-related initializers.
25368         * nscd/netgroupcache.c: New file.
25369         * nscd/nscd_netgroup.c: New file.
25370         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25371         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25372         For four parameters use innetgr.
25373         * nss/nss_files/files-init.c: Add definition and callback for netgr.
25374         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25375         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25376         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25377
25378         * nscd/connections.c (register_traced_file): Don't register file
25379         for disabled databases.
25380
25381 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
25382
25383         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25384
25385         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25386         from tree and freeing node.
25387
25388 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
25389
25390         * nss/nsswitch.c (__nss_database_lookup): Handle
25391         nss_parse_service_list out of memory case.
25392
25393 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
25394
25395         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25396         out of memory case.
25397
25398 2011-10-04  Andreas Schwab  <schwab@redhat.com>
25399
25400         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25401         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25402         pass it down.
25403         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25404         elf_machine_rela, elf_machine_lazy_rel.
25405         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25406         (ELF_DYNAMIC_DO_REL): Likewise.
25407         (ELF_DYNAMIC_DO_RELA): Likewise.
25408         (ELF_DYNAMIC_RELOCATE): Likewise.
25409         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25410         to ELF_DYNAMIC_DO_REL.
25411         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25412         (dl_main): In trace mode always set __RTLD_NOIFUNC.
25413         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25414         elf_machine_rela.
25415         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25416         skip_ifunc, don't call ifunc function if non-zero.
25417         (elf_machine_rela): Likewise.
25418         (elf_machine_lazy_rel): Likewise.
25419         (elf_machine_lazy_rela): Likewise.
25420         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25421         (elf_machine_lazy_rel): Likewise.
25422         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25423         Likewise.
25424         (elf_machine_lazy_rel): Likewise.
25425         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25426         Likewise.
25427         (elf_machine_lazy_rel): Likewise.
25428         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25429         (elf_machine_lazy_rel): Likewise.
25430         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25431         (elf_machine_lazy_rel): Likewise.
25432         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25433         (elf_machine_lazy_rel): Likewise.
25434         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25435         (elf_machine_lazy_rel): Likewise.
25436         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25437         (elf_machine_lazy_rel): Likewise.
25438         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25439         (elf_machine_lazy_rel): Likewise.
25440
25441 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
25442
25443         * nss/nss_files/files-init.c (_nss_files_init): Use static
25444         initialization for all the *_traced_file variables.
25445
25446 2011-09-28  Andreas Schwab  <schwab@redhat.com>
25447
25448         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25449
25450 2011-09-27  Roland McGrath  <roland@hack.frob.com>
25451
25452         [BZ #13226]
25453         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25454
25455 2011-09-27  Andreas Schwab  <schwab@redhat.com>
25456
25457         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25458         Reread the line before reparsing it.
25459
25460 2011-09-26  Andreas Schwab  <schwab@redhat.com>
25461
25462         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25463
25464 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
25465             Maxim Kuvyrkov  <maxim@codesourcery.com>
25466             Joseph Myers  <joseph@codesourcery.com>
25467
25468         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25469         if needed for __stack_chk_guard.
25470
25471 2011-09-19  Roland McGrath  <roland@hack.frob.com>
25472
25473         * sysdeps/posix/spawni.c (script_execute): Always define it.
25474         It will be optimized away if unused.
25475         (maybe_script_execute): New function.
25476         (__spawni): Call it.
25477
25478         * Makerules: Don't include tls.make.
25479         (config-tls): Always set to thread.
25480         * tls.make.c: File removed.
25481
25482 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
25483
25484         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25485         * config.make.in (CPPFLAGS-config): New substituted variable.
25486
25487 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
25488
25489         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25490
25491         [BZ #13192]
25492         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25493         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25494
25495 2011-09-15  Roland McGrath  <roland@hack.frob.com>
25496
25497         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25498         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25499         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25500         (CALL_FAIL): Likewise.
25501         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25502         (CALL_FAIL): Macro removed.
25503         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25504
25505 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
25506
25507         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25508         for __FINITE_MATH_ONLY__ == 1.
25509
25510 2011-09-15  Andreas Schwab  <schwab@redhat.com>
25511
25512         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25513         __ieee754_sqrt instead of sqrt.
25514         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25515         __ieee754_sqrtf instead of sqrtf.
25516         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25517         __floorf instead of floorf.
25518         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25519         __floorf, __truncf instead of floorf, truncf.
25520
25521 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
25522
25523         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25524
25525         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25526         __extern_always_inline.
25527         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25528         32-bit.
25529
25530 2011-09-14  Andreas Schwab  <schwab@redhat.com>
25531
25532         * elf/rtld.c (dl_main): Also relocate in dependency order when
25533         doing symbol dependency testing.
25534
25535 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
25536
25537         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25538         Always define `refsym'.
25539
25540 2011-09-13  Andreas Schwab  <schwab@redhat.com>
25541
25542         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25543         (__FD_ELT): Renamed from __FDELT.
25544         * misc/bits/select2.h (__FD_ELT): Likewise.
25545         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25546         __FD_MASK instead of __FDELT, __FDMASK.
25547         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25548         Likewise.
25549         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25550         Likewise.
25551
25552         * elf/Makefile (gen-ldd): Fix pattern.
25553
25554         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25555         (init_tls): Likewise.
25556
25557 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
25558
25559         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25560
25561 2011-09-12  Andreas Schwab  <schwab@redhat.com>
25562
25563         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25564         `struct cmsghdr *' instead of `void *'.
25565         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25566         Likewise.
25567
25568 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
25569
25570         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25571         if non-absolute.
25572         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25573         ldd_rewrite_script.
25574
25575 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
25576
25577         * configure.in: Remove --with-tls option.
25578         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25579         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25580         out in case it is missing.
25581         * sysdeps/ia64/elf/configure.in: Likewise.
25582         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25583         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25584         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25585         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25586         * sysdeps/sh/elf/configure.in: Likewise.
25587         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25588         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25589         * sysdeps/x86_64/elf/configure.in: Likewise.
25590         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25591         * sysdeps/mach/hurd/tls.h: Likewise.
25592
25593         [BZ #13067]
25594         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25595
25596         [BZ #13090]
25597         * configure.in: Fix use of AC_INIT.
25598
25599         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25600
25601 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
25602
25603         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25604         __set_errno.
25605         * malloc/hooks.c: Likewise.
25606
25607         [BZ #11929]
25608         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
25609         variables statically.
25610         (narenas): Initialize.
25611         (list_lock): Initialize.
25612         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
25613         initializtion of main_arena and list_lock.  Small cleanups.
25614         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25615         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
25616         Add initializers to main_arena and mp_.
25617         (malloc_state): Remove pagesize member.  Change all users to use
25618         GLRO(dl_pagesize).
25619
25620         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25621         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
25622         is always initialized.
25623
25624         * malloc/malloc.c: Removed unused configurations and dead code.
25625         * malloc/arena.c: Likewise.
25626         * malloc/hooks.c: Likewise.
25627         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
25628
25629         * include/tls.h: Removed.  USE___THREAD must always be defined.
25630         * bits/libc-tsd.h: Don't handle !USE___THREAD.
25631         * elf/dl-libc.c: Likewise.
25632         * elf/dl-tsd.c: Likewise.
25633         * include/errno.h: Likewise.
25634         * include/netdb.h: Likewise.
25635         * include/resolv.h: Likewise.
25636         * inet/herrno-loc.c: Likewise.
25637         * inet/herrno.c: Likewise.
25638         * malloc/arena.c: Likewise.
25639         * malloc/hooks.c: Likewise.
25640         * malloc/malloc.c: Likewise.
25641         * resolv/res-state.c: Likewise.
25642         * resolv/res_libc.c: Likewise.
25643         * sysdeps/i386/dl-machine.h: Likewise.
25644         * sysdeps/ia64/dl-machine.h: Likewise.
25645         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25646         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25647         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25648         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25649         * sysdeps/sh/dl-machine.h: Likewise.
25650         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25651         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25652         * sysdeps/unix/i386/sysdep.S: Likewise.
25653         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25654         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25659         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25661         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25663         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25664         * sysdeps/x86_64/dl-machine.h: Likewise.
25665         * tls.make.c: Likewise.
25666
25667         * configure.in: Remove --with-__thread option.  Make tests for
25668         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25669         tls_model attribute fail if no support is available.  Remove
25670         USE_IN_LIBIO.
25671         * Makeconfig: Adjust for dropped configure option.  All features are
25672         now mandatory.
25673         * Makerules: Likewise.
25674         * Versions.def: Likewise.
25675         * argp/argp-fmtstream.c: Likewise.
25676         * argp/argp-fmtstream.h: Likewise.
25677         * argp/argp-help.c: Likewise.
25678         * assert/assert.c: Likewise.
25679         * config.h.in: Likewise.
25680         * config.make.in: Likewise.
25681         * configure: Likewise.
25682         * configure.in: Likewise.
25683         * csu/Versions: Likewise.
25684         * csu/init.c: Likewise.
25685         * elf/tst-audit2.c: Likewise.
25686         * elf/tst-tls10.c: Likewise.
25687         * elf/tst-tls10.h: Likewise.
25688         * elf/tst-tls11.c: Likewise.
25689         * elf/tst-tls12.c: Likewise.
25690         * elf/tst-tls14.c: Likewise.
25691         * elf/tst-tlsmod11.c: Likewise.
25692         * elf/tst-tlsmod12.c: Likewise.
25693         * elf/tst-tlsmod13.c: Likewise.
25694         * elf/tst-tlsmod13a.c: Likewise.
25695         * elf/tst-tlsmod14a.c: Likewise.
25696         * elf/tst-tlsmod15b.c: Likewise.
25697         * elf/tst-tlsmod16a.c: Likewise.
25698         * elf/tst-tlsmod16b.c: Likewise.
25699         * elf/tst-tlsmod7.c: Likewise.
25700         * elf/tst-tlsmod8.c: Likewise.
25701         * elf/tst-tlsmod9.c: Likewise.
25702         * gmon/gmon.c: Likewise.
25703         * grp/fgetgrent_r.c: Likewise.
25704         * grp/putgrent.c: Likewise.
25705         * hurd/fopenport.c: Likewise.
25706         * include/libc-symbols.h: Likewise.
25707         * include/tls.h: Likewise.
25708         * intl/gettextP.h: Likewise.
25709         * intl/loadinfo.h: Likewise.
25710         * locale/global-locale.c: Likewise.
25711         * locale/localeinfo.h: Likewise.
25712         * mach/devstream.c: Likewise.
25713         * malloc/arena.c: Likewise.
25714         * malloc/set-freeres.c: Likewise.
25715         * misc/err.c: Likewise.
25716         * misc/getttyent.c: Likewise.
25717         * misc/mntent_r.c: Likewise.
25718         * posix/getopt.c: Likewise.
25719         * posix/wordexp.c: Likewise.
25720         * pwd/fgetpwent_r.c: Likewise.
25721         * resolv/Versions: Likewise.
25722         * resolv/res_hconf.c: Likewise.
25723         * shadow/fgetspent_r.c: Likewise.
25724         * shadow/putspent.c: Likewise.
25725         * stdio-common/printf_fphex.c: Likewise.
25726         * stdio-common/tmpfile.c: Likewise.
25727         * stdlib/abort.c: Likewise.
25728         * stdlib/fmtmsg.c: Likewise.
25729         * sunrpc/auth_unix.c: Likewise.
25730         * sunrpc/clnt_perr.c: Likewise.
25731         * sunrpc/clnt_tcp.c: Likewise.
25732         * sunrpc/clnt_udp.c: Likewise.
25733         * sunrpc/clnt_unix.c: Likewise.
25734         * sunrpc/openchild.c: Likewise.
25735         * sunrpc/svc_simple.c: Likewise.
25736         * sunrpc/svc_tcp.c: Likewise.
25737         * sunrpc/svc_udp.c: Likewise.
25738         * sunrpc/svc_unix.c: Likewise.
25739         * sunrpc/xdr.c: Likewise.
25740         * sunrpc/xdr_array.c: Likewise.
25741         * sunrpc/xdr_rec.c: Likewise.
25742         * sunrpc/xdr_ref.c: Likewise.
25743         * sunrpc/xdr_stdio.c: Likewise.
25744
25745 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
25746
25747         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25748
25749 2011-07-03  Andreas Jaeger  <aj@suse.de>
25750
25751         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25752         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25753         regenerate with gen-libm-tests.pl.
25754
25755 2010-05-12  Petr Baudis  <pasky@suse.cz>
25756
25757         [BZ #11589]
25758         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25759         around j0() zero points by switching to j1().
25760         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25761         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25763         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25764
25765 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
25766
25767         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25768         instead of 0.
25769         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
25770         instead of 0.
25771         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25772         Patch in part by Pavel Roskin <proski@gnu.org>.
25773
25774         [BZ #13138]
25775         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25776         realloc.
25777         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
25778         Free memory block if necessary.
25779
25780         [BZ #12847]
25781         * libio/genops.c (INTDEF): For string streams the _lock pointer can
25782         be NULL.  Don't lock in this case.
25783
25784 2011-09-09  Roland McGrath  <roland@hack.frob.com>
25785
25786         * elf/elf.h (ELFOSABI_GNU): New macro.
25787         (ELFOSABI_LINUX): Define to that.
25788
25789 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
25790
25791         * string/strncat.c (strncat): Undef the symbol in case it has been
25792         defined in bits/string.h.
25793
25794 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
25795
25796         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25797
25798         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
25799         link map.
25800
25801 2011-08-17  Andreas Jaeger  <aj@suse.de>
25802
25803         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25804
25805 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25806             Ian Lance Taylor  <iant@google.com>
25807
25808         * math/libm-test.inc (lround_test): New testcase.
25809         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25810
25811 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
25812
25813         * Makefile: Remove support for automatic cvs check-ins.
25814         * Makerules: Likewise.
25815         * config.make.in: Likewise.
25816         * configure.in: Likewise.
25817         * intl/Makefile: Likewise.
25818         * locale/Makefile: Likewise.
25819         * po/Makefile: Likewise.
25820         * posix/Makefile: Likewise.
25821         * sysdeps/gnu/Makefile: Likewise.
25822         * sysdeps/mach/hurd/Makefile: Likewise.
25823         * sysdeps/sparc/sparc32/Makefile: Likewise.
25824
25825         [BZ #13118]
25826         * posix/Makefile (bug-regex32-ENV): Define.
25827         Patch by John Stanley <jpsinthemix@verizon.net>.
25828
25829         * misc/Makefile (headers): Add bits/select2.h.
25830         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25831         * misc/bits/select2.h: New file.
25832         * include/bits/select2.h: New file.
25833         * debug/Makefile (routines): Add fdelt_chk.
25834         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25835         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25836         FD_ISSET.
25837         * debug/fdelt_chk.c: New file.
25838
25839         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
25840         * wcsmbs/test-wmemcmp.c: Likewise.
25841         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25842         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25843
25844 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25845
25846         * string/Makefile (strop-tests): Add memcmp.
25847         * string/test-wmemcmp.c: New file.
25848         * string/test-memcmp.c: Add wmemcmp support.
25849
25850 2011-09-08  Roland McGrath  <roland@hack.frob.com>
25851
25852         [BZ #13153]
25853         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25854         2011-07-19 change.
25855
25856         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25857         garbage value in a __mach_port_mod_refs call in the cases of the
25858         task-self and thread-self ports.
25859
25860 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25861
25862         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25863
25864 2011-09-08  Andreas Schwab  <schwab@redhat.com>
25865
25866         * elf/dl-load.c (lose): Check for non-null L.
25867
25868 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
25869
25870         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25871
25872         * elf/dl-libc.c (dlerror_run): Pass back error code from
25873         dl_catch_error.
25874
25875         [BZ #13123]
25876         * elf/dl-load.c (lose): Free l_origin if it is valid.
25877
25878         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25879         names.
25880         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25881         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25882         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25883         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25884         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25885         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25886
25887 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25888
25889         * sysdeps/powerpc/fpu/e_hypot.c: New file.
25890         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25891         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25892         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25893         * sysdeps/powerpc/fpu/k_cosf.c: New file.
25894         * sysdeps/powerpc/fpu/k_sinf.c: New file.
25895         * sysdeps/powerpc/fpu/s_cosf.c: New file.
25896         * sysdeps/powerpc/fpu/s_sinf.c: New file.
25897         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25898         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25899
25900 2011-08-15  Alan Modra  <amodra@gmail.com>
25901
25902         [BZ #13092]
25903         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25904         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25905         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
25906         ppc_mcount to static-only-routines.
25907         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25908         __mcount_internal.
25909         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25910         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
25911
25912 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
25913
25914         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25915         for finite and infinity parameters.
25916
25917 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
25918
25919         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25920         and add nop instructions for throughput optimization.
25921         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25922
25923 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
25924
25925         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25926         aligned copy for power7 with vector-scalar instructions.
25927         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25928
25929 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
25930
25931         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25932         AVX check.
25933
25934 2011-09-07  Andreas Schwab  <schwab@redhat.com>
25935
25936         [BZ #13144]
25937         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25938         last change.
25939
25940 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
25941
25942         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25943         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25944         syscall wrapper around clock_gettime in __vdso_clock_gettime.
25945         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25946         clock_gettime.
25947
25948 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
25949
25950         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25951         Forgot to demangle the pointer.
25952
25953         * sysdeps/i386/sysdep.h: Define atom_text_section.
25954         * sysdeps/x86_64/sysdep.h: Likewise.
25955         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25956         section with atom_text_section.
25957         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25958         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25959         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25960         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25961         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25962
25963         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25964         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25965         already be defined.  Change to take two parameters and don't assign
25966         result to variable.  Adjust all users.
25967         Define INTERNAL_GETTIME if not already defined.
25968         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25969         call.
25970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25971         HAVE_CLOCK_GETTIME_VSYSCALL.
25972         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25973
25974         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25975         gettimeofday vsyscall, just use time.
25976
25977 2011-09-06  Andreas Schwab  <schwab@redhat.com>
25978
25979         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25980         <errno.h>.
25981
25982 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
25983
25984         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25985         syscall on x86-64.
25986         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25987         syscall.
25988         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25989         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25990         syscall if possible.
25991
25992 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
25993
25994         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25995         e_ident.  Don't pass to find_mapsXX.
25996         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25997
25998 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25999
26000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26001         strchr-sse2-no-bsf strrchr-sse2-no-bsf
26002         * sysdeps/x86_64/multiarch/strchr.S: Update.
26003         Check bit_slow_BSF bit.
26004         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26005         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26006         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26007
26008 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26009
26010         [BZ #13134]
26011         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26012         before glibc 2.15.
26013         (tryshell): Define.
26014         (__spawni): Change last parameter to be flag.  Test
26015         SPAWN_XFLAGS_USE_PATH flag to use path or not.
26016         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26017         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26018         * posix/spawni.c: Likewise.
26019         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26020         * posix/spawnp.c: Likewise.  Change normal version to use
26021         SPAWN_XFLAGS_USE_PATH.
26022         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26023         SPAWN_XFLAGS_TRY_SHELL.
26024
26025         [BZ #13150]
26026         * posix/glob.h: Remove gcc 1.x support.
26027
26028         [BZ #13068]
26029         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26030
26031 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26032
26033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26034         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26035         strrchr-sse2-bsf
26036         * sysdeps/i386/i686/multiarch/strchr.S: New file.
26037         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26038         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26039         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26040         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26041         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26042
26043 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26044
26045         * sysdeps/x86_64/wcscmp.S: New file.
26046
26047         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26048         wcscmp-c wcscmp-sse2
26049         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26050         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26051         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26052         * wcsmbs/wcscmp.c: Allow renaming.
26053
26054 2011-09-05  David S. Miller  <davem@davemloft.net>
26055
26056         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26057         stack slot, rather than the struct return pointer slot.
26058         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26059         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26061         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26062
26063 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26064
26065         * po/ja.po: Update from translation team.
26066
26067         [BZ #13144]
26068         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26069         kernel in 64-bit binaries.
26070
26071 2011-09-01  David S. Miller  <davem@davemloft.net>
26072
26073         * elf/elf.h (HWCAP_SPARC_*): Move to..
26074         * sysdeps/sparc/sysdep.h: this new file and add new values.
26075         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26076         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26077         _DL_HWCAP_COUNT to 24.
26078         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26079         entries.
26080         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26081         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26082         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26083         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26084         instead of magic constants.
26085         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26086
26087 2011-08-31  David S. Miller  <davem@davemloft.net>
26088
26089         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26091         Reimplement to do errno handling inline.
26092         (SYSCALL_ERROR_HANDLER): New macro.
26093         (__SYSCALL_STRING): Do not do errno handling in asm.
26094         (__CLONE_SYSCALL_STRING): Delete.
26095         (__INTERNAL_SYSCALL_STRING): Delete.
26096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26097         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26098         (PSEUDO): Reimplement to do errno handling inline.
26099         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26100         (SYSCALL_ERROR_HANDLER): New macro.
26101         (__SYSCALL_STRING): Do not do errno handling in asm.
26102         (__CLONE_SYSCALL_STRING): Delete.
26103         (__INTERNAL_SYSCALL_STRING): Delete.
26104         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26105         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26106         i386.
26107         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26108         (inline_syscall*): Add 'err' argument.
26109         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26110         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26111         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26112         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26113
26114         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26115         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26116
26117 2011-08-30  Andreas Schwab  <schwab@redhat.com>
26118
26119         * elf/rtld.c (dl_main): Relocate objects in dependency order.
26120
26121 2011-08-29  Jiri Olsa <jolsa@redhat.com>
26122
26123         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26124         directive.
26125
26126 2011-08-24  David S. Miller  <davem@davemloft.net>
26127
26128         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26129
26130 2011-08-24  Andreas Schwab  <schwab@redhat.com>
26131
26132         * elf/Makefile: Add rules to build and run unload8 test.
26133         * elf/unload8.c: New file.
26134         * elf/unload8mod1.c: New file.
26135         * elf/unload8mod1x.c: New file.
26136         * elf/unload8mod2.c: New file.
26137         * elf/unload8mod3.c: New file.
26138
26139         * elf/dl-close.c (_dl_close_worker): Reset private search list if
26140         it wasn't used.
26141
26142 2011-08-23  David S. Miller  <davem@davemloft.net>
26143
26144         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26145         subtract stack bias.
26146         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26147         %sp not %fp in calculations.
26148         (_JMPBUF_UNWINDS_ADJ): Likewise.
26149
26150         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26151         (aio_suspend): Call it to force an exception region around the
26152         AIO_MISC_WAIT() invocation.
26153
26154 2011-08-23  Andreas Schwab  <schwab@redhat.com>
26155
26156         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26157         backslash.
26158
26159 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
26160
26161         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26162         protection macro.
26163         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26164         and <dl-machine.h>.
26165         (Elf64_FuncDesc): Remove.
26166
26167 2011-08-22  David S. Miller  <davem@davemloft.net>
26168
26169         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26170         sigaltstack check, add missing cfi directives.
26171         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26172         missing cfi directives, and sigaltstack handling.
26173
26174 2011-08-16  Andreas Schwab  <schwab@redhat.com>
26175
26176         [BZ #11724]
26177         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26178         object is seen twice.
26179         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26180
26181         * elf/Makefile (distribute): Add tst-initorder2.c.
26182         (tests): Add tst-initorder2.
26183         (modules-names): Add tst-initorder2a tst-initorder2b
26184         tst-initorder2c tst-initorder2d.  Add rules to build them.
26185         ($(objpfx)tst-initorder2.out): New rule.
26186         * elf/tst-initorder2.c: New file.
26187         * elf/tst-initorder2.exp: New file.
26188
26189 2011-08-22  Andreas Schwab  <schwab@redhat.com>
26190
26191         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26192
26193         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26194         dependencies back to end of function.
26195
26196         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26197         $(elfobjdir)/ld.so.
26198
26199 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
26200
26201         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26202         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26203         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26204         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26205         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26206         of __vdso_gettimeofday.
26207         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26208         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
26209         attribute_hidden.
26210         (_libc_vdso_platform_setup): Remove initialization of
26211         __vdso_gettimeofday and __vdso_time.
26212
26213 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
26214
26215         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26216         and fgetc_unlocked.
26217         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26218         getc_unlocked.
26219
26220         * elf/dl-open.c (add_to_global): Report additions to the global scope
26221         for LD_DEBUG=scopes.
26222         (dl_open_worker): Also print scope of newly loaded dependencies.
26223         (_dl_show_scope): Indicate if there is no scope.
26224
26225         [BZ #13114]
26226         * stdio-common/Makefile (tests): Add bug24.
26227         * stdio-common/bug24.c: New file.
26228
26229 2011-08-19  Andreas Jaeger  <aj@suse.de>
26230
26231         [BZ #13114]
26232         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26233         non-existant file when using close-on-exec mode.
26234
26235 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
26236
26237         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26238         the very first instruction.
26239
26240         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26241         the CFI state in the end.
26242         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26243         inclusion of dl-trampoline.h.
26244         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26245
26246 2011-08-19  Andreas Schwab  <schwab@redhat.com>
26247
26248         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26249         expectations for long double.
26250
26251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26252         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26253
26254 2011-08-14  David S. Miller  <davem@davemloft.net>
26255
26256         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26257         artificual limit depends upon the system page size.
26258
26259 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
26260
26261         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26262         * resolv/Makefile: Define CFLAGS-libresolv.
26263
26264 2011-08-17  Andreas Schwab  <schwab@redhat.com>
26265
26266         * nss/makedb.c (compute_tables): Make variables used in nested
26267         function static.
26268
26269 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
26270
26271         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26272         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26273         if buffer was too small.
26274
26275         * elf/pldd.c (main): Attach to all threads in the process.
26276         Rewrite /proc handling to use *at functions.
26277
26278 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
26279
26280         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26281         specifies first scope to show.
26282         (dl_open_worker): Update callers.  Move printing scope of new
26283         object to before the relocation.
26284         * elf/rtld.c (dl_main): Update _dl_show_scope call.
26285         * sysdeps/generic/ldsodefs.h: Update declaration.
26286
26287         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26288         string for the scope number.
26289
26290 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
26291
26292         * nscd/servicescache.c (cache_addserv): Make sure written is always
26293         initialized.
26294
26295 2011-08-14  Roland McGrath  <roland@hack.frob.com>
26296
26297         * sysdeps/i386/i486/bits/atomic.h
26298         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26299         statement expression, so as to suppress "set but not used" warning.
26300         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26301
26302         * string/strncat.c (STRNCAT): Use prototype definition.
26303
26304         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26305         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26306         -Iprograms here.
26307         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26308         (localedef-modules): Add localedef.
26309         (locale-modules): Add locale.
26310
26311         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26312         * elf/rtld.c (dl_main): Invert order of assignment in last change,
26313         to avoid a warning.
26314
26315 2011-08-14  David S. Miller  <davem@davemloft.net>
26316
26317         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26318         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26319
26320 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
26321
26322         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26323         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26324         * elf/rtld.c (dl_main): Set l_name of vDSO.
26325         Call _dl_show_scope when DL_DEBUG_SCOPES.
26326         (process_dl_debug): Recognize scopes flag and also set it for all.
26327         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26328         Declare _dl_show_scope.
26329
26330         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26331         (do_dlopen): Pass caller_dlopen to dl_open.
26332         (__libc_dlopen_mode): Initialize caller_dlopen.
26333
26334         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26335         of libc.  Make tolower call locale-independent.  Optimize a bit by
26336         using isdigit instead of isalnum.
26337         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26338
26339 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
26340
26341         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26342         was a dependency or dynamically loaded.
26343
26344 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
26345
26346         * intl/l10nflist.c: Allow architecture-specific pop function.
26347         * sysdeps/x86_64/l10nflist.c: New file.
26348
26349         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26350         classification.
26351
26352 2011-08-10  Andreas Schwab  <schwab@redhat.com>
26353
26354         * include/dirent.h: Add libc_hidden_proto for scandirat and
26355         scandirat64.  Don't declare __scandirat64.
26356         * dirent/scandirat.c: Add libc_hidden_def.
26357         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26358         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26359
26360 2011-08-10  David S. Miller  <davem@davemloft.net>
26361
26362         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26363         enum.
26364         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26365         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26366         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26367
26368 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
26369
26370         * Versions.def [libc]: Add GLIBC_2.15.
26371         * dirent/Makefile (routines): Add scandirat and scandirat64.
26372         * dirent/Versions [libc]: Export scandirat and scandirat64 for
26373         GLIBC_2.15.
26374         * dirent/dirent.h: Declare scandirat and scandirat64.
26375         * dirent/scandirat.c: New file.
26376         * dirent/scandirat64.c: New file.
26377         * sysdeps/wordsize-64/scandirat.c: New file.
26378         * sysdeps/wordsize-64/scandirat64.c: New file.
26379         * dirent/opendir.c: Define opendirat.
26380         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
26381         using scandirat.
26382         * dirent/scandir64.c: Adjust for scandir.c change.
26383         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
26384         __scandirat64, and __scandir_cancel_handler.
26385         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
26386         additional parameter and use openat instead of open (outside of ld.so).
26387         Add new __opendir as wrapper around __opendirat.
26388         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26389         here without requiring old scandirat implementation.
26390
26391 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
26392
26393         * dirent/scandir.c (cancel_handler): Renamed to
26394         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
26395         defined.  Adjust users.
26396         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26397         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26398
26399 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
26400
26401         * string/test-string.h (IMPL): Use __STRING to expand name and then
26402         stringify it.
26403
26404         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
26405         of cleanups.
26406
26407 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26408
26409         * string/Makefile: Update.
26410         (strop-tests): Append strncat.
26411         * string/test-wcscmp.c: New file.
26412         New comprehensive test for wcscmp.
26413         * string/test-strcmp.c: Update.
26414         (WIDE): New define.
26415
26416 2011-07-22  Andreas Schwab  <schwab@redhat.com>
26417
26418         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26419         line.
26420
26421 2011-07-26  Andreas Schwab  <schwab@redhat.com>
26422
26423         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26424         encoding to ACE if AI_IDN.
26425
26426 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
26427
26428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26429         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26430
26431 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26432
26433         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26434         Fix overflow bug in strncat.
26435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26436
26437         * string/test-strncat.c: Update.
26438         Add new tests for checking overflow bugs.
26439
26440 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26441
26442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26443         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26444         * sysdeps/i386/i686/multiarch/strcat.S: New file.
26445         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26446         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26447         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26448         * sysdeps/i386/i686/multiarch/strncat.S: New file.
26449         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26450         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26451
26452         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26453         (USE_AS_STRCAT): Define.
26454         Add strcat and strncat support.
26455         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26456
26457 2011-07-25  Andreas Schwab  <schwab@redhat.com>
26458
26459         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26460         __n bigger than INT_MAX+1.
26461         (__strncmp_g): Likewise.
26462
26463 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
26464
26465         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26466         * libio/stido.h: Likewise.
26467
26468         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26469         (AF_NFC): Define.
26470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26471         (AF_NFC): Define.
26472
26473         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26475         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26476         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26477         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26478
26479         [BZ #13021]
26480         * scripts/test-installation.pl: Don't expect libnss_test1 to be
26481         installed.
26482
26483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26484         typo.
26485         (_dl_x86_64_save_sse): Likewise.
26486
26487 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
26488
26489         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26490         OSXSAVE.
26491         (_dl_x86_64_save_sse): Likewise.
26492
26493         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26494
26495         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26496
26497 2011-07-21  Andreas Schwab  <schwab@redhat.com>
26498
26499         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26500         change.
26501         (_dl_x86_64_save_sse): Use correct AVX check.
26502
26503 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26504
26505         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26506         bug in strncpy/strncat.
26507         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26508
26509 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
26510
26511         * string/tester.c (test_strcat): Add tests for different alignments
26512         of source and destination.
26513         (test_strncat): Likewise.
26514
26515 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
26516
26517         [BZ #12852]
26518         * posix/glob.c (glob): Check passed in values before using them in
26519         expressions to avoid some overflows.
26520         (glob_in_dir): Likewise.
26521
26522         [BZ #13007]
26523         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26524         check for AVX enablement so that we don't crash with old kernels and
26525         new hardware.
26526         * elf/tst-audit4.c: Add same checks here.
26527         * elf/tst-audit6.c: Likewise.
26528
26529         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26530
26531 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
26532
26533         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26534
26535 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
26536
26537         * po/cs.po: Update from translation team.
26538         * po/bg.po: Likewise.
26539
26540 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
26541
26542         * misc/sys/cdefs.h: Add support for const attribute.
26543         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26544         to gnu_dev_{major,minor,makedev} functions.
26545
26546 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
26547
26548         * intl/dcigettext.c (get_output_charset): Add missing bracket.
26549
26550 2011-07-20  Andreas Schwab  <schwab@redhat.com>
26551
26552         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26553         strlen results.
26554
26555 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26556
26557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26558         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26559         register in order to avoid conflicts with the soft frame pointer
26560         being held in r11 when necessary.
26561         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26562         (INTERNAL_VSYSCALL_NCS): Likewise.
26563
26564 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
26565
26566         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26567         * elf/dl-fini.c (_dl_fini): Adjust caller.
26568         * elf/dl-close.c (_dl_close_worker): Likewise.
26569         * sysdeps/generic/ldsodefs.h: Adjust declaration.
26570
26571 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
26572
26573         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26574         "aux_cache->nlibs < 0".
26575
26576         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26577         in the reload-count case.
26578
26579 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26580
26581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26582         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26583         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26584         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26585         * sysdeps/x86_64/multiarch/strcat.S: New file.
26586         * sysdeps/x86_64/multiarch/strncat.S: New file.
26587         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26588         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26589         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26590         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26591         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26592         (USE_AS_STRCAT): Define.
26593         Add strcat and strncat support.
26594         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26595         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26596         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26597         * string/strncat.c: Update.
26598         (USE_AS_STRNCAT): Define.
26599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26600         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26601         and i7.
26602         * sysdeps/x86_64/multiarch/init-arch.h
26603         (bit_Prefer_PMINUB_for_stringop): New.
26604         (index_Prefer_PMINUB_for_stringop): Likewise.
26605         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26606         bit_Prefer_PMINUB_for_stringop.
26607
26608 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
26609
26610         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26611         buffer64.
26612         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26613         of casting of buffer.
26614         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26615         buffer32 and buffer64.
26616         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26617         writes instead of casting of buffer.
26618         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26619         buffer32.
26620         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26621         casting of buffer.
26622
26623 2011-07-19  Andreas Schwab  <schwab@redhat.com>
26624
26625         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26626
26627 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
26628
26629         * nscd/nscd.c (termination_handler): Don't do anything for a database
26630         if it has not yet been initialized.
26631
26632 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
26633
26634         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26635
26636 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
26637
26638         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26639
26640 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
26641
26642         * po/nl.po: Update from translation team.
26643         * po/sv.po: Likewise.
26644
26645 2011-07-16  Roland McGrath  <roland@hack.frob.com>
26646
26647         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26648         now disallowed by GCC.
26649
26650         * configure.in (use-default-link): Default to yes if a test -shared
26651         link meets our qualifications.
26652         * configure: Regenerated.
26653
26654         * config.make.in (output-format): New variable.
26655         * configure.in: Check for ld --print-output-format support.
26656         * configure: Regenerated.
26657         * Makerules ($(common-objpfx)format.lds)
26658         [$(output-format) != unknown]: Just use $(output-format),
26659         instead of the linker-script munging.
26660
26661 2011-07-14  Roland McGrath  <roland@hack.frob.com>
26662
26663         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26664         of $(common-objpfx)shlib.lds.
26665         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26666
26667         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26668         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26669
26670         * configure.in (-z relro check): Adjust test code to add a large
26671         writable data section after it.
26672         * configure: Regenerated.
26673
26674 2011-07-11  Roland McGrath  <roland@hack.frob.com>
26675
26676         * configure.in (-z relro check): Fix test code to make the variable
26677         truly const.
26678         * configure: Regenerated.
26679
26680 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
26681
26682         * nscd/nscd.h (struct traced_file): Define.
26683         (struct database_dyn): Remove inotify_descr, reset_res, and filename
26684         elements.  Add traced_files.
26685         (inotify_fd): Declare.
26686         (register_traced_file): Declare.
26687         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26688         (inotify_fd): Export.
26689         (resolv_conf_descr): Remove.
26690         (nscd_init): Move inotify descriptor creation to main.
26691         Don't register files for notification here.
26692         (register_traced_file): New function.
26693         (invalidate_cache): Don't use reset_res to determine whether to call
26694         res_init, go through the list of registered files.
26695         (main_loop_poll): The inotify descriptors are now stored in the
26696         structures for the traced files.
26697         (main_loop_epoll): Likewise
26698         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
26699         to __nss_disable_nscd.
26700         * nscd/cache.c (prune_cache): There is no single inotify descriptor
26701         for a database anymore.  Check the records for all the registered
26702         files instead.
26703         * nss/Makefile (libnss_files-routines): Add files-init.
26704         (libnss_db-routines): Add db-init.
26705         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26706         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26707         * nss/nss_db/db-init.c: New file.
26708         * nss/nss_files/files-init.c: New file.
26709         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
26710         __nss_lookup_function.
26711         (__nss_lookup_function): Call nss_load_library.
26712         (nss_load_all_libraries): New function.
26713         (__nss_disable_nscd): Take parameter with callback function for files
26714         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
26715         used for the cached services.
26716         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26717         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26718         options for features to all the files in nscd.
26719
26720         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26721
26722 2011-07-10  Roland McGrath  <roland@hack.frob.com>
26723
26724         * csu/elf-init.c (__libc_csu_init): Comment typo.
26725
26726 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
26727
26728         * po/pl.po: Update from translation team.
26729         * po/ja.po: Likewise.
26730         * po/ru.po: Likewise.
26731         * po/ko.po: Likewise.
26732         * po/fr.po: Likewise.
26733
26734 2011-07-09  Roland McGrath  <roland@hack.frob.com>
26735
26736         * configure.in (.ctors/.dtors header and trailer check):
26737         Use an empirical test on a built program.
26738         * configure: Regenerated.
26739
26740         * configure.in (-z relro check): Use an empirical test on a built DSO.
26741         Detect, but do not require, on ia64.
26742         * configure: Regenerated.
26743
26744         * configure.in (READELF): Find it with AC_CHECK_TOOL.
26745         Update tests that use readelf to use $READELF instead.
26746         * configure: Regenerated.
26747
26748 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
26749
26750         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26751         if the result is not used.
26752
26753 2011-07-05  Andreas Jaeger  <aj@suse.de>
26754
26755         [BZ#9696]
26756         * stdlib/tst-strtod.c: Add testcase.
26757
26758 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
26759
26760         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
26761         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
26762         The latter has a higher limit.  Take additional parameter to pass to
26763         the new function.
26764         (__pathconf): Pass file to __statfs_link_max.
26765         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26766         __statfs_link_max.
26767         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26768         __statfs_link_max.
26769
26770         [BZ #12868]
26771         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26772         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26773         Handle Lustre.
26774         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26775         (__statfs_filesize_max): Likewise.
26776         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26777
26778 2011-07-05  Andreas Jaeger  <aj@suse.de>
26779
26780         * resolv/res_comp.c (dn_skipname): Remove unused variable.
26781
26782 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
26783
26784         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26785         `status' variable.
26786         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26787         Likewise.
26788
26789 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
26790
26791         * Makefile (strop-tests): Add strncat.
26792         * string/test-strncat.c: New file.
26793
26794 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
26795
26796         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26797
26798 2011-06-21  Andreas Jaeger  <aj@suse.de>
26799
26800         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26801         Copy rule from iconvdata/Makefile.
26802
26803 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
26804
26805         [BZ #12922]
26806         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26807         but no long options are defined, just return 'W'.
26808
26809 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
26810
26811         [BZ #9696]
26812         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26813
26814 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
26815
26816         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26817         netgroups to read.
26818         (innetgr): Likewise.
26819
26820 2011-07-05  Roland McGrath  <roland@hack.frob.com>
26821
26822         * config.make.in (install_root): Default to $(DESTDIR).
26823
26824 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
26825
26826         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26827
26828 2011-07-02  Roland McGrath  <roland@hack.frob.com>
26829
26830         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26831
26832         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26833         containing directory rather than embedding absolute directory names.
26834
26835         * scripts/check-local-headers.sh: Rewritten using awk.
26836         Match by word, not by line.  Print error messages for matches.
26837         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26838
26839         * Makerules [shlib-lds-flags empty]:
26840         ($(common-objpfx)libc_pic.opts): New target.
26841         ($(common-objpfx)libc_pic.os.clean): New target.
26842         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26843
26844         * config.make.in (OBJCOPY): New variable.
26845         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26846         * configure: Regenerated.
26847
26848         * config.make.in (use-default-link): New variable.
26849         * configure.in (use_default_link): Grok --with-default-link to set it.
26850         * configure: Regenerated.
26851         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26852         (shlib-lds, shlib-lds-flags): Define to empty.
26853
26854         * Makerules (shlib-lds): New variable.
26855         (shlib-lds-flags): New variable.
26856         (build-shlib, build-moduile, build-module-asneeded): Use it.
26857         ($(common-objpfx)libc.so): Use $(shlib-lds).
26858         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26859         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26860
26861         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26862         DT_FLAGS/DT_FLAGS_1 with zero flags.
26863
26864         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26865         linker script munging.
26866
26867 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
26868
26869         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26870         as 128-bit value.
26871         * crypt/sha512.c (sha512_process_block): Perform total addition using
26872         128-bit if possible.
26873         (__sha512_finish_ctx): Likewise.
26874         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26875         as 64-bit value.
26876         * crypt/sha256.c (SWAP64): Define.
26877         (sha256_process_block): Perform total addition using 64-bit if
26878         possible.
26879         (__sha256_finish_ctx): Likewise.
26880
26881 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
26882
26883         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
26884         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26885         * nscd/hstcache.c (cache_addhst): Likewise.
26886         * nscd/grpcache.c (cache_addgr): Likewise.
26887         * nscd/aicache.c (addhstaiX): Likewise
26888         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26889
26890 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
26891
26892         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26893         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26894         * nscd/hstcache.c (cache_addhst): Likewise.
26895         * nscd/grpcache.c (cache_addgr): Likewise.
26896         * nscd/aicache.c (addhstaiX): Likewise
26897
26898 2011-07-01  Andreas Schwab  <schwab@redhat.com>
26899
26900         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26901         domain only when needed.
26902
26903 2011-06-30  Andreas Schwab  <schwab@redhat.com>
26904
26905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26906         is always restored.
26907
26908 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
26909
26910         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26911         are re-adding the entry.
26912         * nscd/servicescache.c (cache_addserv): Likewise.
26913
26914 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
26915
26916         * sysdeps/generic/dl-irel.h: fix protection against multiple
26917         inclusions.
26918         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26919
26920 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
26921
26922         [BZ #12935]
26923         * malloc/memusage.sh: Fix quoting in message.
26924         * debug/xtrace.sh: Likewise.
26925
26926         * configure.in: Remove support for --experimental-malloc option, make
26927         it the default.
26928         * config.make.in: Likewise.
26929         * malloc/Makefile: Likewise.
26930
26931 2011-06-27  Andreas Schwab  <schwab@redhat.com>
26932
26933         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26934         two-byte characters.
26935
26936 2011-06-27  Roland McGrath  <roland@hack.frob.com>
26937
26938         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26939         AC_CACHE_CHECK invocation.
26940         * configure: Regenerated.
26941
26942         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26943
26944 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
26945
26946         [BZ #12350]
26947         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
26948         bit from old_res_options.
26949
26950         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26951
26952         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26953         value type for setfct.
26954
26955 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
26956
26957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26958         __gettimeofday instead of gettimeofday.
26959
26960 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
26961
26962         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26963
26964 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26965
26966         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26967
26968         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26969         info.
26970
26971 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
26972
26973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26974         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26975         strcpy-sse2-unaligned strncpy-sse2-unaligned
26976         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26977         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26978         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26979         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26980         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26981         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26982         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26983         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26984         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26985         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26986         (STRCPY): Support SSE2 and SSSE3 versions.
26987
26988 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
26989
26990         [BZ #12874]
26991         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26992         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26993         kernels which artificially limit size of requests.
26994
26995 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
26996
26997         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26998         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26999         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27000         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27001         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27002         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27003         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27004         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27005         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27006         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27007         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27008         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27009         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27010         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27011         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27013         Enable unaligned load optimization for Intel Core i3, i5 and i7
27014         processors.
27015         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27016         Define.
27017         (index_Fast_Unaligned_Load): Define.
27018         (HAS_FAST_UNALIGNED_LOAD): Define.
27019
27020 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
27021
27022         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27023
27024 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
27025
27026         [BZ #12907]
27027         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27028         until it is clear that the information is realy needed.
27029         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27030
27031 2011-06-22  Andreas Schwab  <schwab@redhat.com>
27032
27033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27034
27035 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
27036
27037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27038         /sys/devices/system/cpu/online if it is usable.
27039
27040         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27041         reading the information from the /proc filesystem to once a second.
27042
27043 2011-06-21  Andreas Jaeger  <aj@suse.de>
27044
27045         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27046         NULL after inclusion of kernel headers.
27047
27048 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
27049
27050         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27051         calls to internal_setent.
27052
27053         [BZ #12885]
27054         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27055         addresses using gethostbyname4_r ignore IPv4 addresses.
27056
27057         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27058         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
27059
27060         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27061
27062 2011-06-20  David S. Miller  <davem@davemloft.net>
27063
27064         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27065         inclusions.
27066         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27067
27068         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27069         (elf_irel): Use it.
27070         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27071         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27072         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27073         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27074         * sysdeps/x86_64/dl-irel.h: Likewise.
27075
27076         * elf/dl-runtime.c: Use elf_ifunc_invoke.
27077         * elf/dl-sym.c: Likewise.
27078
27079 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
27080
27081         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
27082         need to dereference resplen2.
27083
27084 2011-06-14  Andreas Schwab  <schwab@redhat.com>
27085
27086         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27087
27088 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
27089
27090         * Makeconfig: Define vardbdir and inst_vardbdir.
27091         * nss/Makefile: Add rules to install db-Makefile.
27092
27093         * nss/nss_db/db-XXX.c: Cleanup.
27094
27095         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27096         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27097         GLIBC_PRIVATE.
27098         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27099         * nss/makedb.c: Implement -g option to specify that value strings
27100         are generated and should not be added to table iterated over for
27101         get*ent calls.
27102         * nss/nss_db/db-initgroups.c: New file.
27103
27104         * nss/getent.c: Add support for initgroups lookups through getgrouplist
27105         interface.
27106
27107         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27108         (internal_getgrouplist): Adjust to name change.
27109         Update use_initgroups_entry if this is not the first call.
27110         * nss/databases.def: Add initgroups entry.
27111
27112         * nss/makedb.c (compute_tables): Check result of multiple hash table
27113         sizes to minimize maximum chain length.
27114
27115 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
27116
27117         * Versions.def: Add entry for libnss_db.
27118         * shlib-versions: Likewise.
27119         * nss/Makefile: Add rules to build libnss_db.
27120         * nss/Versions: Add libnss_db information.  Organize libnss_files
27121         entries better.
27122         * nss/db-Makefile: Add gshadow support.  Change rules for the new
27123         makedb progra.  Some minor improvements to generate smaller files.
27124         * nss/nss_db/nss_db.h: Move NSS database header data structures to
27125         here from...
27126         * nss/makedb.c: ...here.
27127         Improve database format to be smaller and require less memory at
27128         runtime.
27129         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
27130         db anymore.
27131         * nss/nss_db/db-netgrp.c: Likewise.
27132         * nss/nss_db/db-open.c: Likewise.
27133         * nss/nss_files/flies-XXX.x: Adjust comments.
27134         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27135         * nss/nss_files/files-grp.c: Likewise.
27136         * nss/nss_files/files-hosts.c: Likewise.
27137         * nss/nss_files/files-network.c: Likewise.
27138         * nss/nss_files/files-proto.c: Likewise.
27139         * nss/nss_files/files-pwd.c: Likewise.
27140         * nss/nss_files/files-rpc.c: Likewise.
27141         * nss/nss_files/files-service.c: Likewise.
27142         * nss/nss_files/files-sgrp.c: Likewise.
27143         * nss/nss_files/files-spwd.c: Likewise.
27144         * nss/nss_db/db-alias.c: Removed.
27145         * nss/nss_db/dummy-db.h: Removed.
27146
27147 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
27148
27149         * nss/makedb.c: Rewritten to not use database library.
27150         * nss/Makefile: Update to build new makedb program.
27151
27152 2011-06-14  Andreas Jaeger  <aj@suse.de>
27153
27154         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27155         memset declaration.
27156
27157 2011-06-10  Andreas Schwab  <schwab@redhat.com>
27158
27159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27160         tmpbuf.
27161
27162 2011-06-10  Roland McGrath  <roland@hack.frob.com>
27163
27164         * Makerules (shlib.lds): Fail if the linker script comes out empty.
27165         * elf/Makefile ($(objpfx)ld.so): Likewise.
27166
27167         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27168         Don't list ld.so twice in dependencies.
27169
27170         * posix/bug-regex31.c: Include <stdlib.h>.
27171
27172         * nscd/hstcache.c (cache_addhst): Remove unused variable.
27173
27174         * nis/nss_compat/compat-spwd.c
27175         (getspent_next_nss_netgr): Remove unused variable.
27176         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27177
27178         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27179         nonmembers" output to use the right array.
27180
27181         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27182
27183         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27184
27185         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27186         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27187         * catgets/gencat.c (read_input_file): Likewise.
27188         * locale/programs/locarchive.c (enlarge_archive): Likewise.
27189
27190         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27191         variable definition inside #if's controlling its use.
27192
27193         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27194
27195         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27196
27197         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27198
27199         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27200         unreachable code.
27201
27202         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27203
27204         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27205         * configure: Regenerated.
27206
27207         * Makerules: Revert last change.
27208         * elf/Makefile: Likewise.
27209
27210 2011-06-09  Roland McGrath  <roland@hack.frob.com>
27211
27212         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27213         * elf/Makefile ($(objpfx)librtld.os): Likewise.
27214         (reloc-link): Likewise.
27215
27216 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
27217
27218         * elf/Makefile: Add rules to build pldd.
27219         * elf/pldd.c: New file.
27220         * elf/pldd-xx.c: New file.
27221
27222 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
27223
27224         * version.h: Update for 2.15 development version.
27225
27226 2011-06-07  David S. Miller  <davem@davemloft.net>
27227
27228         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27229         ifuncs.
27230         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27231         elf_machine_lazy_rel): Likewise.
27232         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27233         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27234         elf_machine_lazy_rel): Likewise.
27235         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27236         dl_hwcap via passed in argument.
27237         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27238         Likewise.
27239
27240 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27241
27242         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
27243
27244 2011-06-06  Roland McGrath  <roland@hack.frob.com>
27245
27246         [BZ #12849]
27247         * manual/fdl-1.1.texi: New file, verbatim from:
27248         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27249         * manual/lgpl-2.1.texi: New file, verbatim from:
27250         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27251         * manual/Makefile (licenses): New variable, list those new file names.
27252         (texis): Use it.
27253         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27254
27255         * manual/fdl.texi: File removed.
27256         * manual/lesser.texi: File removed.
27257         * manual/libc.texinfo (Copying, Documentation License):
27258         Use new @include file names, put @appendix directive before @include.
27259
27260 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
27261
27262         [BZ #12841]
27263         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27264         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27265         (mq_open): Add __NTH.
27266
27267 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
27268
27269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27270         Assume Intel Core i3/i5/i7 processor if AVX is available.
27271
27272 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
27273
27274         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27275         typo.
27276
27277 2011-05-31  Andreas Schwab  <schwab@redhat.com>
27278
27279         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27280         memory.  Use alloca_account.  Fix memory leak when retrying.
27281
27282 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
27283
27284         * version.h (RELEASE): Bump for 2.14 release.
27285         * include/features.h (__GLIBC_MINOR__): Bump to 14.
27286
27287         * config.make.in (RANLIB): Remove entry.
27288
27289 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
27290
27291         * po/Makefile (po-sed-cmd): Add ksh to extensions.
27292         (libc.pot): Work around missing support for .ksh extension in xgettext.
27293
27294         [BZ #12684]
27295         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27296         if both request failed.
27297         (send_dg): In case of server errors clear resplen or *resplen2.
27298
27299         [BZ #12454]
27300         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27301         when there are multiple maps.
27302         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27303         (_dl_fini): Remove test here.
27304
27305         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27306
27307 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
27308
27309         [BZ #12350]
27310         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27311         bit from old_res_options.
27312         (gaih_inet): Likewise.
27313
27314         [BZ #11099]
27315         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27316         as signed.
27317
27318         * resolv/res_init.c (res_setoptions): Make the code more compact.
27319
27320         [BZ #11558]
27321         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27322         set RES_USEVC.
27323
27324         [BZ #11634]
27325         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27326
27327         * malloc/malloc.h: Mark malloc hook variables as deprecated.
27328
27329         [BZ #11781]
27330         * malloc/malloc.h: Declare malloc hook variables as volatile.
27331
27332         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27333         in last patch.
27334
27335         [BZ #11799]
27336         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27337         raise in the comment.
27338         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27339         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27340         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27341
27342 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
27343
27344         [BZ #12811]
27345         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27346         grow the buffers more if it already has to be sufficient.
27347         (build_wcs_upper_buffer): Likewise.
27348         * posix/regexec.c (check_matching): Likewise.
27349         (clean_state_log_if_needed): Likewise.
27350         (extend_buffers): Don't enlarge buffers beyond size of the input
27351         buffer.
27352         Patches mostly by Emil Wojak <emil@wojak.eu>.
27353         * posix/bug-regex32.c: New file.
27354         * posix/Makefile (tests): Add bug-regex32.
27355
27356         * locale/findlocale.c (_nl_find_locale): Return right away if
27357         _nl_explode_name failed.
27358         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27359
27360         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27361
27362         * debug/xtrace.sh: Unify messages.
27363         * malloc/memusage.sh: Likewise.
27364
27365         [BZ #12813]
27366         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27367         time symbol from vDSO.  Substitute with vsyscall if not available.
27368         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27369         __vdso_time.
27370
27371         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27372         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27373         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27374         Add sendmmsg and internal_sendmmsg.
27375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27376         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27377         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27378
27379         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27380         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27381         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27382
27383 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
27384
27385         [BZ #12813]
27386         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27387         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
27388         available.
27389         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27390         __vdso_getcpu.
27391
27392         [BZ #12814]
27393         * iconvdata/Makefile (tests): Add bug-iconv9.
27394         * iconvdata/bug-iconv9.c: New file.
27395
27396 2011-05-27  Andreas Schwab  <schwab@redhat.com>
27397
27398         [BZ #12814]
27399         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27400
27401 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
27402
27403         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27404         (struct user_regs_struct): Change intcs field back to cs.
27405
27406 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
27407
27408         * po/ja.po: Update from translation team.
27409
27410 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
27411
27412         [BZ #12795]
27413         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27414         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27415
27416 2011-05-20  Andreas Schwab  <schwab@redhat.com>
27417
27418         * stdlib/longlong.h: Update from GCC.
27419
27420 2011-05-23  Andreas Schwab  <schwab@redhat.com>
27421
27422         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27423         parameter name.
27424         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27425         Add parameter name.
27426         (__sysconf): Pass it down.
27427
27428 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
27429
27430         [BZ #12671]
27431         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27432         some situations.
27433         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27434         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27435         add in in __libc_use_alloca calls.  Adjust callers.
27436         (glob): Use malloc in some situations.
27437
27438         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27439         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27440         pltexit.
27441
27442 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
27443
27444         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27445         and CLOCK_BOOTTIME_ALARM.
27446
27447         [BZ #12782]
27448         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27449         is returned.
27450
27451         * string/_strerror.c (__strerror_r): Print negative errors as signed
27452         numbers.
27453
27454         [BZ #12777]
27455         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27456         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27457         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27458
27459         * configure.in: Fix typo in redirection and correct removal of test
27460         files in two cases.
27461
27462         [BZ #12788]
27463         * locale/setlocale.c (new_composite_name): Fix test to check for
27464         identical name of all categories.
27465
27466         [BZ #12792]
27467         * libio/filedoalloc.c (local_isatty): New function.
27468         (_IO_file_doallocate): Use local_isatty.
27469         * stdio-common/perror.c (perror): In case a new stream is used
27470         forward the stream error.
27471         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27472         error flag.
27473
27474 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
27475
27476         [BZ #11869]
27477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27478         alloca.
27479         * include/alloca.h (extend_alloca_account): Define.
27480
27481         [BZ #11857]
27482         * posix/regex.h: Fix comments with documentation of user-accessible
27483         fields after compilation and describe correct free'ing of pattern
27484         after re_compile_pattern.
27485         Patch by Reuben Thomas <rrt@sc3d.org>.
27486
27487 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
27488
27489         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27490         and -mno-altivec to prevent the compiler from using Altivec and/or
27491         VSX instructions when the corresponding registers are not available.
27492
27493 2011-05-19  Andreas Schwab  <schwab@redhat.com>
27494
27495         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27496
27497 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
27498
27499         * libio/freopen.c (freopen): Use __dup2, not dup2.
27500         * libio/freopen64.c (freopen64): Likewise.
27501
27502 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27503
27504         [BZ #12775]
27505         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27506         * math/Makefile (tests): Add test-powl.
27507         (CFLAGS-test-powl.c): Define.
27508         * math/test-powl.c: New file.
27509
27510 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27511
27512         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27513
27514 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
27515
27516         [BZ #11837]
27517         * iconvdata/gb18030.c: Update to GB18020-2005.
27518
27519 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
27520
27521         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27522         RE_SYNTAX_POSIX_AWK): Update to match recent development.
27523         Patch by Aharon Robbins <arnold@skeeve.com>.
27524
27525         [BZ #11892]
27526         * stdlib/putenv.c (putenv): Don't always create copy of the variable
27527         on the stack.
27528
27529         [BZ #11895]
27530         * misc/pselect.c (__pselect): Handle timeout value errors hidden
27531         through underflows.
27532
27533         [BZ #12766]
27534         * misc/error.c (error_at_line): Ensure file_name and old_file_name
27535         point to strings before performing equality test for error_one_per_line
27536         mode.
27537
27538         [BZ #11697]
27539         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27540
27541         [BZ #11820]
27542         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27543         (struct user_fpregs_struct): Avoid __uint*_t types.
27544
27545         [BZ #6420]
27546         * malloc/mtrace.c (tr_where): Add additional parameter to point to
27547         symbol info.  Use it instead of calling _dl_addr locally.
27548         (lock_and_info): New function.
27549         (tr_freehook): Call lock_and_info and pass symbol info as additional
27550         parameter to tr_where.
27551         (tr_mallochook): Likewise.
27552         (tr_reallochook): Likewise.
27553         (tr_memalignhook): Likewise.
27554
27555         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
27556         used and couldn't be at all thread-safe.
27557
27558 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
27559
27560         * libio/freopen.c (freopen): Don't close old file descriptor
27561         before the new one is opened.  Instead dup the new file descriptor
27562         to the old one after the new stream is created.
27563         * libio/freopen64.c (freopen64): Likewise.
27564         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27565         * libio/fileops.c (_IO_new_file_close_it): Handle new
27566         _IO_FLAGS2_NOCLOSE flag.
27567         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27568         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27569         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27570         _IO_FLAGS2_NOCLOSE flag.
27571         * include/unistd.h: Add hidden_proto for dup3.
27572         Define __have_dup3.
27573         * io/dup3.c: Define hidden symbol.
27574         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27575
27576         [BZ #7101]
27577         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27578         when an incomplete long option is used.
27579         * posix/tst-getopt_long1.c: New file.
27580         * posix/Makefile (tests): Add tst-getopt_long1.
27581
27582         [BZ #10138]
27583         * scripts/config.guess: Update from autoconf-2.68.
27584         * scripts/config.sub: Likewise.
27585
27586         [BZ #10157]
27587         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27588         tests into ...
27589         (has_cpuclock): ...this.  New function.
27590         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27591         macro here based on has_cpuclock code.
27592
27593         [BZ #10149]
27594         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27595         First byte (not low byte) is now always NUL.
27596         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27597
27598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27599         Use non-cancelable interfaces.
27600
27601         [BZ #9809]
27602         * locale/iso-639.def: Add entry for Sorani.
27603
27604         [BZ #11901]
27605         * include/stdlib.h: Move include protection to the right place.
27606         Define abort_msg_s.  Declare __abort_msg with it.
27607         * stdlib/abort.c (__abort_msg): Adjust type.
27608         * assert/assert.c (__assert_fail_base): New function.  Majority
27609         of code from __assert_fail.  Allocate memory for __abort_msg with
27610         mmap.
27611         (__assert_fail): Now call __assert_fail_base.
27612         * assert/assert-perr.c: Remove bulk of implementation.  Use
27613         __assert_fail_base.
27614         * include/assert.hL Declare __assert_fail_base.
27615         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27616         mmap.
27617         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27618
27619 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
27620
27621         [BZ #11952]
27622         [BZ #12453]
27623         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27624         until all modules are registered in the DTV.
27625         * elf/Makefile: Add rules to build and run tst-tls19.
27626         * elf/tst-tls19.c: New file.
27627         * elf/tst-tls19mod1.c: New file.
27628         * elf/tst-tls19mod2.c: New file.
27629         * elf/tst-tls19mod3.c: New file.
27630         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27631
27632         [BZ #12083]
27633         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27634         correctly.
27635
27636         [BZ #12601]
27637         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27638         two-byte sequence errors.
27639         * iconvdata/Makefile (tests): Add bug-iconv8.
27640         * iconvdata/bug-iconv8.c: New file.
27641
27642         [BZ #12626]
27643         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27644         buf2 definition.
27645
27646         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27647
27648         [BZ #12432]
27649         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27650         (dummy_getcfa): New function.
27651         (init): Get _Unwind_GetCFA address, use dummy if not found.
27652         (backtrace_helper): In recursion check, also check whether CFA changes.
27653         (__backtrace): Completely initialize arg.
27654
27655         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
27656         storing incomplete byte sequence in state object.  Avoid testing for
27657         guaranteed too small input if we know there is enough data available.
27658
27659 2011-05-11  Andreas Schwab  <schwab@redhat.com>
27660
27661         * Makeconfig (+link-pie): Indent.
27662         * Rules (binaries-pie): Define if $(have-fpie) and
27663         $(build-shared).
27664         (binaries-shared): Also filter out $(binaries-pie).
27665         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27666         * nscd/Makefile (others-pie): Add nscd.
27667         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27668         ($(objpfx)nscd): Remove command override.
27669         * login/Makefile (others-pie): Add pt_chown.
27670         ($(objpfx)pt_chown): Remove command override.
27671         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27672         remove command overrides.
27673
27674 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
27675
27676         * libio/tst_putwc.c: Fix error messages.
27677
27678         [BZ #12724]
27679         * libio/fileops.c (_IO_new_file_close_it): Always flush when
27680         currently writing and seek to current position when not.
27681         * libio/Makefile (tests): Add bug-fclose1.
27682         * libio/bug-fclose1.c: New file.
27683
27684 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
27685
27686         [BZ #12511]
27687         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27688         don't set DF_1_NODELETE here.
27689         (do_lookup_x): When entering new entry test for copy relocation
27690         and if necessary set DF_1_NODELETE flag.
27691         * elf/tst-unique4.cc: New file.
27692         * elf/tst-unique4.h: New file.
27693         * elf/tst-unique4lib.cc: New file.
27694         * elf/Makefile: Add rules to build and run tst-unique4.
27695         Patch by Piotr Bury <pbury@goahead.com>.
27696
27697 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
27698
27699         [BZ #12052]
27700         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27701
27702         [BZ #12625]
27703         * misc/mntent_r.c (addmntent): Flush the stream after the output
27704
27705         [BZ #12393]
27706         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27707         (is_trusted_path_normalize): Skip initial colon.  Append slash
27708         to empty buffer.  Duplicate is_trusted_path code but allow
27709         constructed patch to be prefix.
27710         (is_dst): Allow $ORIGIN followed by /.
27711         (_dl_dst_substitute): Correct clearing of check_for_trusted.
27712         Correct testing of result of is_trusted_path_normalize
27713         (decompose_rpath): Fix warning.
27714
27715 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
27716
27717         [BZ #11257]
27718         * grp/initgroups.c (internal_getgrouplist): When we found the service
27719         list through the initgroups entry in nsswitch.conf do not always
27720         continue on a successful lookup.  Don't always use the
27721         __nss_group_database value if it is set.
27722         * nss/nsswitch.conf (initgroups): Change action for successful db
27723         lookup to continue for compatibility.
27724
27725 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
27726
27727         [BZ #11532]
27728         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27729         and CP774 modules.
27730         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27731         and CP774 modules.
27732         * iconvdata/tst-tables.sh: Likewise.
27733         * iconvdata/cp770.c: New file.
27734         * iconvdata/cp771.c: New file.
27735         * iconvdata/cp772.c: New file.
27736         * iconvdata/cp773.c: New file.
27737         * iconvdata/cp774.c: New file.
27738         * iconvdata/testdata/CP770: New file.
27739         * iconvdata/testdata/CP770..UTF8: New file.
27740         * iconvdata/testdata/CP771: New file.
27741         * iconvdata/testdata/CP771..UTF8: New file.
27742         * iconvdata/testdata/CP772: New file.
27743         * iconvdata/testdata/CP772..UTF8: New file.
27744         * iconvdata/testdata/CP773: New file.
27745         * iconvdata/testdata/CP773..UTF8: New file.
27746         * iconvdata/testdata/CP774: New file.
27747         * iconvdata/testdata/CP774..UTF8: New file.
27748
27749         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27750         END CHARMAP line.
27751         * iconvdata/gen-8bit-gap.sh: Likewise.
27752         * iconvdata/gen-8bit.sh: Likewise.
27753
27754         * locale/iso-639.def: Add ary entry.
27755
27756         [BZ #11258]
27757         * locale/C-translit.h.in: Add U20A1 transliteration.
27758
27759         [BZ #12178]
27760         * locale/iso-639.def: Add wae entry.
27761         Patch by Kevin Bortis <bortis@translate-wae.ch>.
27762
27763         [BZ #12545]
27764         * locale/programs/localedef.c (construct_output_path): Use ssize_t
27765         for n.
27766
27767         [BZ #12711]
27768         * locale/C-translit.h.in: Add entry for U20B9.
27769         Patch by pravin.d.s@gmail.com.
27770
27771 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
27772
27773         [BZ #12713]
27774         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27775         ENAMETOOLONG use generic getcwd.
27776         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
27777         in rtld.  Use *stat64.
27778         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
27779         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
27780         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
27781         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27782         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27783         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27784         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27785         __fstatat64 macros.
27786         * include/dirent.h: Add libc_hidden_proto for rewinddir.
27787         * dirent/rewinddir.c: Add libc_hidden_def.
27788         * sysdeps/mach/hurd/rewinddir.c: Likewise.
27789         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
27790
27791         * include/dirent.h (__alloc_dir): Add flags parameter.
27792         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27793         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27794         __alloc_dir.
27795         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
27796         from fdopendir if O_CLOEXEC is already set.
27797
27798 2011-03-15  Alan Modra  <amodra@gmail.com>
27799
27800         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27801         l_tls_firstbyte_offset non-zero.  Save padding offset in
27802         l_tls_firstbyte_offset for later use.
27803         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27804         freeing static tls block.
27805
27806 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
27807
27808         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27809         where #ifdef was intended.  The intent is to prevent ARG_MAX from
27810         being defined by the kernel headers.
27811
27812 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
27813
27814         [BZ #12734]
27815         * resolv/resolv.h: Define RES_NOTLDQUERY.
27816         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27817         no-tld-query and set RES_NOTLDQUERY.
27818         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27819         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27820         modern BIND to search name as TLD unless forbidden.
27821
27822 2011-05-07  Petr Baudis  <pasky@suse.cz>
27823             Ulrich Drepper  <drepper@gmail.com>
27824
27825         [BZ #12393]
27826         * elf/dl-load.c (fillin_rpath): Move trusted path check...
27827         (is_trusted_path): ...to here.
27828         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
27829         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
27830         using is_trusted_path_normalize() in setuid scripts.
27831
27832 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27833
27834         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27835         __BEGIN/__END_DECLS.
27836
27837 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
27838
27839         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27840         NSS_STATUS_NOTFOUND if no record was found.
27841
27842 2011-05-05  Andreas Schwab  <schwab@redhat.com>
27843
27844         * sunrpc/Makefile (headers): Add rpc/netdb.h.
27845         (headers-not-in-tirpc): Remove rpc/netdb.h
27846         * resolv/netdb.h: Revert last change.
27847
27848 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27849
27850         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27851         circular dependency between libgcc.a and libc.a.
27852
27853 2011-05-05  Andreas Schwab  <schwab@redhat.com>
27854
27855         * resolv/netdb.h: Don't include <rpc/netdb.h>.
27856         * nis/Makefile: Don't install rpcsvc/*.
27857         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27858         instead of <rpc/types.h>.
27859         (MAXHOSTNAMELEN): Define.
27860
27861 2011-05-03  Andreas Schwab  <schwab@redhat.com>
27862
27863         * elf/ldconfig.c (add_dir): Don't crash on empty path.
27864
27865 2011-04-28  Maciej Babinski  <mbabinski@google.com>
27866
27867         [BZ #12714]
27868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27869         gethostbyname4_r when IPv6 results are possible.
27870
27871 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
27872
27873         [BZ #12723]
27874         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27875         _PC_PIPE_BUF handling.
27876
27877 2011-04-30  Bruno Haible  <bruno@clisp.org>
27878
27879         [BZ #12717]
27880         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27881         * resolv/netdb.h (getnameinfo): Change type of flags parameter
27882         to 'int'.
27883         * inet/getnameinfo.c (getnameinfo): Likewise.
27884
27885 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
27886
27887         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27888         to groups setting in database lookup.
27889         * nss/nsswitch.conf: Add initgroups entry.
27890
27891 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
27892
27893         [BZ #12685]
27894         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27895         mode string.
27896         Patch by Eric Blake <eblake@redhat.com>.
27897
27898 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
27899
27900         * sunrpc/Makefile (need-export-routines): Add svc_run.
27901         (routines): Remove svc_run.
27902         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27903         * sunrpc/clnt_perr.c (clnt_perrno): Export.
27904         * sunrpc/svc_run.c (svc_run): Likewise.
27905         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27906
27907 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
27908
27909         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27910         problem in reallocation in last patch.
27911
27912 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
27913
27914         * sunrpc/Makefile: Move inclusion of Rules.
27915
27916 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
27917
27918         * nss/nss_files/files-initgroups.c: New file.
27919         * nss/Makefile (libnss_files-routines): Add files-initgroups.
27920         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27921         _nss_files_initgroups_dyn.
27922
27923 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
27924
27925         * elf/elf.h (R_ARM_IRELATIVE): Define.
27926
27927 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
27928
27929         * po/ru.po: Update from translation team.
27930
27931 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
27932
27933         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27934         dependencies.
27935
27936 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
27937
27938         [BZ #12653]
27939         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27940         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27941         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27942         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27943         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27944
27945 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
27946
27947         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27948         differing bytes.
27949         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27950         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27951         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27952
27953 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
27954
27955         [BZ #12420]
27956         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27957         storing it.
27958         * stdlib/bug-getcontext.c: New file.
27959         * stdlib/Makefile: Add rules to build and run bug-getcontext.
27960
27961 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27962
27963         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27964         instructions into .machine "z9-109".
27965         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27966         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27967
27968 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27969
27970         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27971         between environment variables and auxiliary vector.
27972
27973 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
27974
27975         * Makefile: Add rules to build linkobj/libc.so.
27976         * include/libc-symbols.h: Define libc_hidden_nolink.
27977         * include/rpc/auth.h: Mark functions which are to be hidden.
27978         * include/rpc/auth_des.h: Likewise.
27979         * include/rpc/auth_unix.h: Likewise.
27980         * include/rpc/clnt.h: Likewise.
27981         * include/rpc/des_crypt.h: Likewise.
27982         * include/rpc/key_prot.h: Likewise.
27983         * include/rpc/pmap_clnt.h: Likewise.
27984         * include/rpc/pmap_prot.h: Likewise.
27985         * include/rpc/pmap_rmt.h: Likewise.
27986         * include/rpc/rpc_msg.h: Likewise.
27987         * include/rpc/svc.h: Likewise.
27988         * include/rpc/svc_auth.h: Likewise.
27989         * include/rpc/xdr.h: Likewise.
27990         * nis/Makefile: Link all DSOs against linkobj/libc.so.
27991         * nss/Makefile: Likewise.
27992         * sunrpc/Makefile: Don't install headers.  Build library with normal
27993         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
27994         * sunrpc/auth_des.c: Hide exported symbols by default, export some
27995         for the compat linking library.  Remove use of INTDEF/INTUSE.
27996         * sunrpc/auth_none.c: Likewise.
27997         * sunrpc/auth_unix.c: Likewise.
27998         * sunrpc/authdes_prot.c: Likewise.
27999         * sunrpc/authuxprot.c: Likewise.
28000         * sunrpc/clnt_gen.c: Likewise.
28001         * sunrpc/clnt_perr.c: Likewise.
28002         * sunrpc/clnt_raw.c: Likewise.
28003         * sunrpc/clnt_simp.c: Likewise.
28004         * sunrpc/clnt_tcp.c: Likewise.
28005         * sunrpc/clnt_udp.c: Likewise.
28006         * sunrpc/clnt_unix.c: Likewise.
28007         * sunrpc/des_crypt.c: Likewise.
28008         * sunrpc/des_soft.c: Likewise.
28009         * sunrpc/get_myaddr.c: Likewise.
28010         * sunrpc/key_call.c: Likewise.
28011         * sunrpc/key_prot.c: Likewise.
28012         * sunrpc/netname.c: Likewise.
28013         * sunrpc/pm_getmaps.c: Likewise.
28014         * sunrpc/pm_getport.c: Likewise.
28015         * sunrpc/pmap_clnt.c: Likewise.
28016         * sunrpc/pmap_prot.c: Likewise.
28017         * sunrpc/pmap_prot2.c: Likewise.
28018         * sunrpc/pmap_rmt.c: Likewise.
28019         * sunrpc/publickey.c: Likewise.
28020         * sunrpc/rpc_cmsg.c: Likewise.
28021         * sunrpc/rpc_common.c: Likewise.
28022         * sunrpc/rpc_dtable.c: Likewise.
28023         * sunrpc/rpc_prot.c: Likewise.
28024         * sunrpc/rpc_thread.c: Likewise.
28025         * sunrpc/rtime.c: Likewise.
28026         * sunrpc/svc.c: Likewise.
28027         * sunrpc/svc_auth.c: Likewise.
28028         * sunrpc/svc_authux.c: Likewise.
28029         * sunrpc/svc_raw.c: Likewise.
28030         * sunrpc/svc_run.c: Likewise.
28031         * sunrpc/svc_simple.c: Likewise.
28032         * sunrpc/svc_tcp.c: Likewise.
28033         * sunrpc/svc_udp.c: Likewise.
28034         * sunrpc/svc_unix.c: Likewise.
28035         * sunrpc/svcauth_des.c: Likewise.
28036         * sunrpc/xcrypt.c: Likewise.
28037         * sunrpc/xdr.c: Likewise.
28038         * sunrpc/xdr_array.c: Likewise.
28039         * sunrpc/xdr_float.c: Likewise.
28040         * sunrpc/xdr_intXX_t.c: Likewise.
28041         * sunrpc/xdr_mem.c: Likewise.
28042         * sunrpc/xdr_rec.c: Likewise.
28043         * sunrpc/xdr_ref.c: Likewise.
28044         * sunrpc/xdr_sizeof.c: Likewise.
28045         * sunrpc/xdr_stdio.c: Likewise.
28046
28047 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
28048
28049         [BZ #12650]
28050         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28051         * sysdeps/ia64/dl-tls.h: Likewise.
28052         * sysdeps/powerpc/dl-tls.h: Likewise.
28053         * sysdeps/s390/dl-tls.h: Likewise.
28054         * sysdeps/sh/dl-tls.h: Likewise.
28055         * sysdeps/sparc/dl-tls.h: Likewise.
28056         * sysdeps/x86_64/dl-tls.h: Likewise.
28057         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28058
28059 2011-03-14  Andreas Schwab  <schwab@redhat.com>
28060
28061         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28062         rpath element also skip the following colon.
28063         (expand_dynamic_string_token): Add is_path parameter and pass
28064         down to DL_DST_REQUIRED and _dl_dst_substitute.
28065         (decompose_rpath): Call expand_dynamic_string_token with
28066         non-zero is_path.  Ignore empty rpaths.
28067         (_dl_map_object_from_fd): Call expand_dynamic_string_token
28068         with zero is_path.
28069
28070 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
28071
28072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28073         Make cancelable.
28074
28075 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
28076
28077         [BZ #12655]
28078         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28079         Patch by Filipe David Manana <fdmanana@apache.org>.
28080
28081 2011-04-07  Andreas Schwab  <schwab@redhat.com>
28082
28083         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28084         Maintain aligned stack.
28085         (CHECK_RSP): Remove unused macro.
28086
28087 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
28088
28089         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28090         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28091
28092 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
28093
28094         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28095
28096         * include/features.h: Mention __USE_XOPEN2K8 in comment.
28097
28098 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
28099
28100         [BZ #12518]
28101         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28102         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28103         * sysdeps/x86_64/memmove.c: New file.
28104         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28105         (memcpy): Renamed to ...
28106         (__new_memcpy): This.
28107         (memcpy): Provide GLIBC_2_14 memcpy.
28108         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28109         (memcpy): Provide GLIBC_2_2_5 memcpy.
28110
28111 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28112
28113         [BZ #12631]
28114         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28115
28116 2011-03-30  Andreas Schwab  <schwab@redhat.com>
28117
28118         * misc/syncfs.c: New file.
28119         * misc/Makefile (routines): Add syncfs.
28120         * posix/unistd.h: Declare syncfs.
28121         * sysdeps/unix/syscalls.list: Add syncfs.
28122
28123 2011-04-01  Andreas Schwab  <schwab@redhat.com>
28124
28125         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28126         open_by_handle_at.
28127         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28128         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28129         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28130         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28131         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28132         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28133         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28134
28135 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28136
28137         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28138         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28139         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28141         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28142         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28143         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28144
28145         * io/Makefile: Compile fallocate.c, fallocate64.c, and
28146         sync_file_range.c with -fexceptions.
28147         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28148         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28149         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28150         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28151         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28152         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28154         sync_file_range as cancellation point
28155         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
28156         now a wrapper around __call_sync_file_range with cancellation handling.
28157         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28158         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
28159         function name to __call_sync_file_range.
28160         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28161         Add call_sync_file_range.
28162
28163 2011-04-01  Andreas Schwab  <schwab@redhat.com>
28164
28165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28166         bits/timex.h.
28167
28168 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28169
28170         * iconv/iconv.h: Fix typo in comment.
28171         * io/fcntl.h: Likewise.
28172         * libio/stdio.h: Likewise.
28173         * posix/spawn.h: Likewise.
28174         * posix/unistd.h: Likewise.
28175         * stdlib/stdlib.h: Likewise.
28176         * time/time.h: Likewise.
28177         * wcsmbs/wchar.h: Likewise.
28178
28179         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28180         open_by_handle): Add.
28181         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28182         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
28183         Augment a few comments.
28184         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28186         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28188         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28189         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28190         open_by_handle.
28191
28192         * io/fcntl.h (AT_EMPTY_PATH): Define.
28193
28194 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
28195
28196         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28197         * sysdeps/unix/sysv/linux/bits/time.h: New file.
28198         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28199         to...
28200         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
28201         * Versions.def: Add GLIBC_2.14.
28202         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28203         Export.
28204
28205 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
28206
28207         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28208         round counter.
28209         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28210
28211 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28212
28213         [BZ #12597]
28214         * string/test-strncmp.c (do_page_test): New function.
28215         (check2): Likewise.
28216         (test_main): Call check2.
28217         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28218
28219 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
28220
28221         [BZ #12587]
28222         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28223         Handle cache information in CPU leaf 4.
28224         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28225
28226 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
28227
28228         [BZ #12583]
28229         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28230         character representation.
28231         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28232
28233 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
28234
28235         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28236         END(__isnan) to END(__isnanf) to match function entry point/label
28237         EALIGN(__isnanf,...).
28238
28239 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
28240
28241         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28242
28243 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
28244
28245         [BZ #12510]
28246         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28247         copy from the symbol referenced in the relocation to initialize the
28248         used variable.
28249         Patch by Piotr Bury <pbury@goahead.com>.
28250         * elf/Makefile: Add rules to build and tst-unique3.
28251         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28252         * elf/tst-unique3.cc: New file.
28253         * elf/tst-unique3.h: New file.
28254         * elf/tst-unique3lib.cc: New file.
28255         * elf/tst-unique3lib2.cc: New file.
28256
28257         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28258
28259 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
28260
28261         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28262         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
28263         to _start.
28264
28265 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
28266
28267         * elf/dl-load.c (_dl_map_object): If we are looking for the first
28268         to-be-loaded object along a path to loader is ld.so.
28269
28270 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
28271             Ulrich Drepper  <drepper@gmail.com>
28272
28273         * sysdeps/x86_64/memset.S: After aligning destination, code
28274         branches to different locations depending on the value of
28275         misalignment, when multiarch is enabled. Fix this.
28276
28277 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
28278
28279         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28280         Set _x86_64_preferred_memory_instruction for AMD processsors.
28281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28282         Set bit_Prefer_SSE_for_memop for AMD processors.
28283
28284 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
28285
28286         * libio/fmemopen.c (fmemopen): Optimize a bit.
28287
28288 2011-03-03  Andreas Schwab  <schwab@redhat.com>
28289
28290         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28291
28292 2011-03-03  Roland McGrath  <roland@redhat.com>
28293
28294         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28295
28296 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
28297
28298         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28299         __bzero_ultra1 instead of __memset_ultra1.
28300
28301 2011-02-23  Andreas Schwab  <schwab@redhat.com>
28302             Ulrich Drepper  <drepper@gmail.com>
28303
28304         [BZ #12509]
28305         * include/link.h (struct link_map): Add l_orig_initfini.
28306         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28307         returning unsuccessfully.
28308         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28309         close of a file loaded at startup, restore the original l_initfini
28310         list.
28311         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28312         list, store the pointer.
28313         * elf/Makefile ($(objpfx)noload-mem): New rule.
28314         (noload-ENV): Define.
28315         (tests): Add $(objpfx)noload-mem.
28316         * elf/noload.c: Include <memcheck.h>.
28317         (main): Call mtrace.  Close all opened handles.
28318
28319 2011-02-17  Andreas Schwab  <schwab@redhat.com>
28320
28321         [BZ #12454]
28322         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28323         dependencies are missing.
28324
28325 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28326
28327         Fix __if_freereq crash: Unlike the generic version which uses free,
28328         Hurd needs munmap.
28329         * sysdeps/mach/hurd/ifreq.h: New file.
28330
28331 2011-01-27  Petr Baudis  <pasky@suse.cz>
28332             Ulrich Drepper  <drepper@gmail.com>
28333
28334         [BZ 12445]#
28335         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28336         to extend_alloca().
28337         * stdio-common/bug23.c: New file.
28338         * stdio-common/Makefile (tests): Add bug23.
28339
28340 2010-09-28  Andreas Schwab  <schwab@redhat.com>
28341             Ulrich Drepper  <drepper@gmail.com>
28342
28343         [BZ #12489]
28344         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28345         before performing relro protection.  At old place add assertion
28346         to make sure nothing changed.
28347
28348 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
28349             Glauber de Oliveira Costa  <glommer@gmail.com>
28350
28351         * elf/elf.h: Add new ARM TLS relocs.
28352
28353 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
28354
28355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28356         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28357         cast from r3.
28358         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
28359         'tests' variable.
28360         * sysdeps/wordsize-64/tst-writev.c: New file.
28361
28362 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
28363
28364         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28365         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28366         insns in _dl_start to prevent a TOC reference before relocs are
28367         resolved.
28368
28369 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
28370
28371         [BZ #12469]
28372         * Makeconfig: Remove RANLIB definition.
28373         * Makerules: Don't use RANLIB.
28374         * aclocal.m4: Remove ranlib test.
28375         * configure.in: No need to check for ranlib.
28376         * elf/rtld-Rules: Don't use RANLIB.
28377
28378 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28379
28380         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28381         protection macro.
28382         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28383         inclusion protection macro.
28384
28385         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28386         SIGRTMIN and SIGRTMAX and print information in that case only when
28387         SIGRTMIN is defined.
28388
28389 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
28390
28391         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28392         arginfo fn returning -1.
28393
28394         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28395         and thousands string is zero terminated.
28396
28397 2011-02-03  Andreas Schwab  <schwab@redhat.com>
28398
28399         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28400         sysdeps/unix/sysv/linux/bits/socket.h.
28401
28402 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28403
28404         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28405         (__CPU_COUNT): Remove old macros.
28406         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28407         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28408         (__CPU_ALLOC, __CPU_FREE): Add macros.
28409         (__sched_cpualloc, __sched_cpufree): Add declarations.
28410
28411 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
28412
28413         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28414         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28415         * nscd/aicache.c (addhstaiX): Return timeout of added value.
28416         (readdhstai): Return value of addhstaiX call.
28417         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28418         (addgrbyX): Return value returned by cache_addgr.
28419         (readdgrbyname): Return value returned by addgrbyX.
28420         (readdgrbygid): Likewise.
28421         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28422         (addpwbyX): Return value returned by cache_addpw.
28423         (readdpwbyname): Return value returned by addhstbyX.
28424         (readdpwbyuid): Likewise.
28425         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28426         (addservbyX): Return value returned by cache_addserv.
28427         (readdservbyname): Return value returned by addservbyX:
28428         (readdservbyport): Likewise.
28429         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28430         (addhstbyX): Return value returned by cache_addhst.
28431         (readdhstbyname): Return value returned by addhstbyX.
28432         (readdhstbyaddr): Likewise.
28433         (readdhstbynamev6): Likewise.
28434         (readdhstbyaddrv6): Likewise.
28435         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28436         (readdinitgroups): Return value returned by addinitgroupsX.
28437         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28438         (prune_cache): Keep track of timeout value of re-added entries.
28439         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28440         * nscd/nscd.h: Adjust prototypes of readd* functions.
28441
28442 2011-02-04  Roland McGrath  <roland@redhat.com>
28443
28444         * nis/nis_server.c (nis_servstate): Use the right name for 0.
28445         (nis_stats): Likewise.
28446         * nis/nis_modify.c (nis_modify): Likewise.
28447         * nis/nis_remove.c (nis_remove): Likewise.
28448         * nis/nis_add.c (nis_add): Likewise.
28449
28450         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28451
28452         * posix/fnmatch_loop.c: Add some consts.
28453
28454         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28455
28456 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
28457
28458         [BZ #12460]
28459         * config.make.in (config-cflags-novzeroupper): Define.
28460         * configure.in: Substitute libc_cv_cc_novzeroupper.
28461         * elf/Makefile (AVX-CFLAGS): Define.
28462         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28463         (CFLAGS-tst-auditmod4a.c): Likewise.
28464         (CFLAGS-tst-auditmod4b.c): Likewise.
28465         (CFLAGS-tst-auditmod6b.c): Likewise.
28466         (CFLAGS-tst-auditmod6c.c): Likewise.
28467         (CFLAGS-tst-auditmod7b.c): Likewise.
28468         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28469
28470 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
28471
28472         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28473         function to the callback.
28474         Patch partly by Jiri Olsa <jolsa@redhat.com>.
28475
28476 2011-02-02  Andreas Schwab  <schwab@redhat.com>
28477
28478         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28479         of errno.
28480
28481 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
28482
28483         [BZ #11724]
28484         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28485         of constructors.
28486         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28487         of destructors.
28488         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28489
28490         [BZ #11724]
28491         * elf/Makefile: Add rules to build and run new test.
28492         * elf/tst-initorder.c: New file.
28493         * elf/tst-initorder.exp: New file.
28494         * elf/tst-initordera1.c: New file.
28495         * elf/tst-initordera2.c: New file.
28496         * elf/tst-initordera3.c: New file.
28497         * elf/tst-initordera4.c: New file.
28498         * elf/tst-initorderb1.c: New file.
28499         * elf/tst-initorderb2.c: New file.
28500         * elf/tst-order-a1.c: New file.
28501         * elf/tst-order-a2.c: New file.
28502         * elf/tst-order-a3.c: New file.
28503         * elf/tst-order-a4.c: New file.
28504         * elf/tst-order-b1.c: New file.
28505         * elf/tst-order-b2.c: New file.
28506         * elf/tst-order-main.c: New file.
28507         New test case by George Gensure <werkt0@gmail.com>.
28508
28509 2010-10-01  Andreas Schwab  <schwab@redhat.com>
28510
28511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28512         decoding ACE if AI_CANONIDN.
28513
28514 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
28515
28516         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28517
28518 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
28519
28520         * version.h (RELEASE): Bump for 2.13 release.
28521         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28522
28523         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28524
28525         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28526         MADV_NOHUGEPAGE.
28527         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28528         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28529         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28530         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28531         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28532         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28533
28534         * posix/getconf.c: Update copyright year.
28535         * catgets/gencat.c: Likewise.
28536         * csu/version.c: Likewise.
28537         * debug/catchsegv.sh: Likewise.
28538         * debug/xtrace.sh: Likewise.
28539         * elf/ldconfig.c: Likewise.
28540         * elf/ldd.bash.in: Likewise.
28541         * elf/sprof.c (print_version): Likewise.
28542         * iconv/iconv_prog.c: Likewise.
28543         * iconv/iconvconfig.c: Likewise.
28544         * locale/programs/locale.c: Likewise.
28545         * locale/programs/localedef.c: Likewise.
28546         * malloc/memusage.sh: Likewise.
28547         * malloc/mtrace.pl: Likewise.
28548         * nscd/nscd.c (print_version): Likewise.
28549         * nss/getent.c: Likewise.
28550
28551         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28552         PF_CAIF, and PF_ALG.
28553         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28554
28555 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
28556
28557         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28558         (modules-names): Use them.
28559         (ifunc-test-modules, ifunc-pie-tests): Define.
28560         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28561         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28562         (test-extras): Likewise.
28563         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28564         $(compile-command.c).
28565         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28566         (all-built-dso): Define.
28567         (check-textrel.out, check-execstack.out): Depend on it.
28568
28569         * configure.in: Don't override --enable-multi-arch.
28570
28571 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
28572
28573         [BZ #6812]
28574         * nscd/hstcache.c (tryagain): Define.
28575         (cache_addhst): Return tryagain not notfound for temporary errors.
28576         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28577         failed.
28578
28579 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
28580
28581         [BZ #10563]
28582         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28583         to make the syscall.
28584         * sysdeps/unix/sysv/linux/setgroups.c: New file.
28585
28586         [BZ #12378]
28587         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28588         and fall back to matching as normal character if the string ends before
28589         the matching ']' is found.  This is what POSIX requires.
28590         * posix/testfnm.c: Adjust test result.
28591         * posix/globtest.sh: Adjust test result.  Add new test.
28592         * posix/tst-fnmatch.input: Likewise.
28593         * posix/tst-fnmatch2.c: Add new test.
28594
28595 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
28596
28597         * elf/Makefile (check-execstack): Revert last change.  Depend on
28598         check-execstack.h.
28599         (check-execstack.h): New target.
28600         (generated): Add check-execstack.h.
28601         * elf/check-execstack.c: Include "check-execstack.h".
28602         (main): Revert last change.
28603         (handle_file): Return zero if GNU_STACK is absent and
28604         DEFAULT_STACK_PERMS doesn't include PF_X.
28605
28606 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
28607
28608         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28609         in child fails because the descriptor is already closed.
28610         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28611         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28612         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
28613
28614         [BZ #12397]
28615         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28616         syscall.
28617
28618         [BZ #10484]
28619         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28620         temporary buffer used to handle multi lookups locally.
28621         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
28622
28623 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
28624
28625         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28626         loader is ld.so.
28627
28628 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
28629
28630         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28631         alignment for SSE2.
28632
28633 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
28634
28635         [BZ #12394]
28636         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28637         characters.  When rounding increased number of integer digits recompute
28638         number of groups.
28639         * stdio-common/tst-grouping.c: New file.
28640         * stdio-common/Makefile: Add rules to build and run tst-grouping.
28641
28642 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
28643
28644         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28645         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
28646
28647         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28648         void.
28649         * bits/select.h: Likewise.
28650
28651 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
28652
28653         * po/ja.po: Update from translation team.
28654
28655 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
28656
28657         [BZ #11155]
28658         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28659         implementation just like for lxstat, fxstatat, et al.
28660
28661 2010-12-27  Jim Meyering  <meyering@redhat.com>
28662
28663         [BZ #12348]
28664         * posix/regexec.c (build_trtable): Return failure indication upon
28665         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
28666
28667 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
28668
28669         [BZ #12201]
28670         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28671         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28672         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28673         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28674
28675         [BZ #12207]
28676         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28677
28678         [BZ #12204]
28679         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28680         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28681
28682 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
28683
28684         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28685         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28686         script has SORT_BY_INIT_PRIORITY.
28687         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28688         NO_CTORS_DTORS_SECTIONS is defined.
28689         * elf/soinit.c: Likewise.
28690         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28691         NO_CTORS_DTORS_SECTIONS is defined.
28692         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28693         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28694         * sysdeps/sh/init-first.c: Likewise.
28695         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28696
28697 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
28698
28699         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28700         always use the slow path.
28701
28702 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
28703
28704         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28705         similar rule which adds the sysdep directories to the header search in
28706         order to pick up the correct platform stackinfo.h.
28707         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28708         perform test if it is, otherwise return successfully without testing.
28709         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28710         DEFAULT_STACK_PERMS define in stackinfo.h.
28711         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28712         defined in stackinfo.h.
28713         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28714         DEFAULT_STACK_PERMS defined in stackinfo.h.
28715         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28716         * sysdeps/ia64/stackinfo.h: Likewise.
28717         * sysdeps/s390/stackinfo.h: Likewise.
28718         * sysdeps/sh/stackinfo.h: Likewise.
28719         * sysdeps/sparc/stackinfo.h: Likewise.
28720         * sysdeps/x86_64/stackinfo.h: Likewise.
28721         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28722         PF_X for powerpc64.  Retain PF_X for powerpc32.
28723
28724 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
28725
28726         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28727         accurately.
28728         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28729         GETDENTS_64BIT_ALIGNED.
28730
28731 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
28732
28733         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28734
28735 2010-12-10  Andreas Schwab  <schwab@redhat.com>
28736
28737         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28738         _GNU_SOURCE.
28739
28740         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28741         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28742         Remove __restrict.
28743         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28744         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28745
28746 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
28747
28748         [BZ #11655]
28749         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28750         are initialized.
28751
28752 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
28753
28754         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28755
28756 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
28757
28758         * po/it.po: Update from translation team.
28759
28760 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
28761
28762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28763         unused codes.
28764
28765 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
28766
28767         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28768
28769 2010-11-24  Andreas Schwab  <schwab@redhat.com>
28770
28771         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28772         specially.
28773         (gaih_getanswer_slice): Likewise.
28774
28775 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
28776
28777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28778
28779 2010-05-31  Petr Baudis  <pasky@suse.cz>
28780
28781         [BZ #11149]
28782         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28783         silently even in the chroot mode.
28784
28785 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
28786
28787         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28788         last patch a bit.  Pretty printing
28789
28790 2010-05-31  Petr Baudis <pasky@suse.cz>
28791
28792         [BZ #10085]
28793         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28794         initialization of skip_initgroups_dyn.
28795
28796 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
28797
28798         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28799         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28800
28801 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
28802
28803         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28804
28805 2010-11-11  Andreas Schwab  <schwab@redhat.com>
28806
28807         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28808         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28809         (tst-fnmatch-ENV): Set MALLOC_TRACE.
28810         ($(objpfx)tst-fnmatch-mem): New rule.
28811         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28812         * posix/tst-fnmatch.c (main): Call mtrace.
28813
28814 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
28815
28816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28817         Support Intel processor model 6 and model 0x2c.
28818
28819 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
28820
28821         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28822           signed comparison.
28823
28824 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
28825
28826         [BZ #12205]
28827         * string/test-strncasecmp.c (check_result): New function.
28828         (do_one_test): Use it.
28829         (check1): New function.
28830         (test_main): Use it.
28831         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28832         Support strcasecmp and strncasecmp.
28833
28834 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
28835
28836         [BZ #12194]
28837         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28838         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28839
28840 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28841
28842         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28843         IFUNC support.
28844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28845         memset-x86-64.
28846         * sysdeps/x86_64/multiarch/bzero.S: New file.
28847         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28848         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28849         * sysdeps/x86_64/multiarch/memset.S: New file.
28850         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28852         Set bit_Prefer_SSE_for_memop for Intel processors.
28853         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28854         Define.
28855         (index_Prefer_SSE_for_memop): Define.
28856         (HAS_PREFER_SSE_FOR_MEMOP): Define.
28857
28858 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
28859
28860         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28861         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28862
28863 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
28864
28865         [BZ #12191]
28866         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28867         (__x86_64_raw_data_cache_size_half): Likewise.
28868         (__x86_64_raw_shared_cache_size): Likewise.
28869         (__x86_64_raw_shared_cache_size_half): Likewise.
28870
28871         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28872         (__x86_64_raw_data_cache_size_half): Likewise.
28873         (__x86_64_raw_shared_cache_size): Likewise.
28874         (__x86_64_raw_shared_cache_size_half): Likewise.
28875         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28876         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28877         and __x86_64_raw_shared_cache_size_half.  Round
28878         __x86_64_data_cache_size_half, __x86_64_data_cache_size
28879         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28880         to multiple of 256 bytes.
28881
28882 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
28883
28884         [BZ #12167]
28885         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28886         of inacessible symlinks.  Verify result of symlink before returning it.
28887         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28888         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28889
28890 2010-10-28  Erich Ritz  <erichritz@gmail.com>
28891
28892         * math/math.h (isinf): Fix typo in comment.
28893
28894 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
28895
28896         * po/da.po: Update from translation team.
28897
28898 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
28899
28900         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28901         is added to the list.
28902
28903 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28904             Ulrich Drepper  <drepper@gmail.com>
28905
28906         * elf/dl-object.c (_dl_new_object): Don't append the new object to
28907         the global list here.  Move code to...
28908         (_dl_add_to_namespace_list): ...here.  New function.
28909         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28910         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28911         * elf/dl-load.c (lose): Don't remove the element from the list.
28912         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28913         (_dl_map_object): Likewise.
28914
28915 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
28916
28917         [BZ #12159]
28918         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28919         into all bytes of SSE register.
28920         Patch by Richard Li <richardpku@gmail.com>.
28921
28922 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
28923
28924         [BZ #12140]
28925         * malloc/malloc.c (_int_free): Fill correct number of bytes when
28926         perturbing.
28927
28928 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
28929
28930         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28931         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28932         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28933         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28935         submachine.
28936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28937
28938 2010-10-22  Andreas Schwab  <schwab@redhat.com>
28939
28940         * include/dlfcn.h (__RTLD_SECURE): Define.
28941         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
28942         mode & __RTLD_SECURE instead.
28943         (open_path): Rename preloaded parameter to secure.
28944         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28945         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28946         * elf/dl-deps.c (openaux): Likewise.
28947         * elf/rtld.c (struct map_args): Remove is_preloaded.
28948         (map_doit): Don't use it.
28949         (dl_main): Likewise.
28950         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28951         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28952
28953 2010-09-09  Andreas Schwab  <schwab@redhat.com>
28954
28955         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28956         (sysd-rules-targets): Remove duplicates.
28957         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28958         rtld-%.$o dependency.
28959
28960 2010-10-18  Andreas Schwab  <schwab@redhat.com>
28961
28962         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28963         _dl_map_object do it.
28964
28965 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
28966
28967         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28968         fast fma builtins, define the macros in the C99 standard.
28969         (FP_FAST_FMAF): Likewise.
28970         (FP_FAST_FMAL): Likewise.
28971         * sysdeps/x86_64/bits/mathdef.h: Likewise.
28972
28973         * bits/mathdef.h: Update copyright year.
28974         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28975
28976 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
28977
28978         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28979         builtins, define the macros in the C99 standard.
28980         (FP_FAST_FMAF): Likewise.
28981         (FP_FAST_FMAL): Likewise.
28982         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28983         multiply/add.
28984         (FP_FAST_FMAF): Likewise.
28985
28986 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
28987
28988         [BZ #3268]
28989         * math/libm-test.inc (fma_test): Some new testcases.
28990         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28991         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28992         y and infinite z.  Do multiplication by C already in long double.
28993         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28994         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28995         y and infinite z.  Do bitwise or of inexact bit into u.d.
28996         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28997         * sysdeps/i386/fpu/s_fmaf.S: Removed.
28998         * sysdeps/i386/fpu/s_fma.S: Removed.
28999         * sysdeps/i386/fpu/s_fmal.S: Removed.
29000
29001 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
29002
29003         [BZ #3268]
29004         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29006         computation is not scheduled after fetestexcept.  Fix value
29007         of minimum denormal long double.
29008
29009 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
29010
29011         [BZ #3268]
29012         * math/libm-test.inc (fma_test): Add some more tests.
29013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29014         correctly.
29015
29016 2010-10-15  Andreas Schwab  <schwab@redhat.com>
29017
29018         * scripts/data/localplt-s390-linux-gnu.data: New file.
29019         * scripts/data/localplt-s390x-linux-gnu.data: New file.
29020
29021 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
29022
29023         [BZ #3268]
29024         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29025         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29026         instead of dbl-64.
29027         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29028         inlines.
29029         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29031         if one of x and y is very large and the other is subnormal.
29032         * sysdeps/s390/fpu/s_fmaf.c: New file.
29033         * sysdeps/s390/fpu/s_fma.c: New file.
29034         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29035         * sysdeps/powerpc/fpu/s_fma.S: New file.
29036         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29037         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29038         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29039
29040 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
29041
29042         [BZ #3268]
29043         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29044         fma tests.
29045         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29046         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29047         * sysdeps/i386/i686/multiarch/s_fma.c: Include
29048         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29049         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29050         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29051         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29052
29053 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
29054
29055         [BZ #12078]
29056         * posix/regcomp.c (parse_branch): One more memory leak plugged.
29057         * posix/bug-regex31.input: Add test case.
29058
29059 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
29060
29061         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29062         * posix/bug-regex31.input: New file.
29063
29064         [BZ #12078]
29065         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29066         (parse_sub_exp): Fix last change, use postorder.
29067
29068         * posix/bug-regex31.c: New file.
29069         * posix/Makefile: Add rules to build and run bug-regex31.
29070
29071         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29072
29073         [BZ #12078]
29074         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29075
29076         [BZ #12108]
29077         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29078         to have entries in sys_siglist.
29079
29080         [BZ #12093]
29081         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29082         be NULL.
29083
29084 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
29085
29086         [BZ #3268]
29087         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29088         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29089         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29090         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29091         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29092         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29093         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29094         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29095         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29096         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29097         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29098         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29099         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29100         * math/ftestexcept.c (fetestexcept): Likewise.
29101         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29102         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29103         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29104         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29105         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29106         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29107         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29108
29109 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
29110
29111         [BZ #12107]
29112         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29113         newline.
29114
29115 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
29116
29117         * string/bug-strstr1.c: New file.
29118         * string/Makefile: Add rules to build and run bug-strstr1.
29119
29120 2010-10-05  Eric Blake  <eblake@redhat.com>
29121
29122         [BZ #12092]
29123         * string/str-two-way.h (two_way_long_needle): Always clear memory
29124         when skipping input due to the shift table.
29125
29126 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
29127
29128         [BZ #12005]
29129         * malloc/mcheck.c: Handle large requests.
29130
29131         [BZ #12077]
29132         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29133         for strncmp and strncasecmp.
29134         * string/stratcliff.c: Add tests for strcmp and strncmp.
29135         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29136
29137 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29138
29139         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29140         __set_fpscr.
29141
29142 2010-09-30  Andreas Jaeger  <aj@suse.de>
29143
29144         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29145         (CGROUP_SUPER_MAGIC): Define.
29146         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29147         Handle btrfs and cgroup file systems.
29148         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29149         Likewise.
29150
29151 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
29152
29153         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29154         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29155
29156 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29157
29158         [BZ #12067]
29159         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29160         trying to locate the ELF header.
29161
29162 2010-09-27  Andreas Schwab  <schwab@redhat.com>
29163
29164         [BZ #11611]
29165         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29166         Mask out sign-bit copies when constructing f_fsid.
29167
29168 2010-09-24  Petr Baudis <pasky@suse.cz>
29169
29170         * debug/stack_chk_fail_local.c: Add missing licence exception.
29171         * debug/warning-nop.c: Likewise.
29172
29173 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
29174
29175         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29176         implementing getdents64 using getdents syscall, set d_type if
29177         __ASSUME_GETDENTS32_D_TYPE.
29178
29179 2010-09-16  Andreas Schwab  <schwab@redhat.com>
29180
29181         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29182         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29183
29184 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
29185
29186         [BZ #12037]
29187         * posix/unistd.h: Undo change of feature selection for ftruncate from
29188         2010-01-11.
29189
29190 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
29191
29192         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29193         detection.
29194
29195 2010-09-20  Andreas Schwab  <schwab@redhat.com>
29196
29197         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29198         fanotify_mark.
29199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29200
29201 2010-09-14  Andreas Schwab  <schwab@redhat.com>
29202
29203         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29204         variables after CHECK_SP call.
29205         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29206
29207 2010-09-13  Andreas Schwab  <schwab@redhat.com>
29208             Ulrich Drepper  <drepper@redhat.com>
29209
29210         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29211         re-relocationg ld.so.
29212         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29213         _dl_init_paths call.
29214         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
29215         here anymore.
29216
29217 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
29218
29219         * resolv/res_init.c (__res_vinit): Count the default server we added.
29220
29221 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
29222             Ulrich Drepper  <drepper@redhat.com>
29223
29224         [BZ #11968]
29225         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29226         (____longjmp_chk): Use %ebx for saving value across system call.
29227         Add unwind info.
29228
29229 2010-09-06  Andreas Schwab  <schwab@redhat.com>
29230
29231         * manual/Makefile: Don't mix pattern rules with normal rules.
29232
29233 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29234
29235         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29236         operation.
29237         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29238         * libio/iofopncook.c (_IO_cookie_init): Likewise.
29239         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29240         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29241         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29242         Likewise.
29243
29244 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
29245
29246         [BZ #11979]
29247         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29248         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29249
29250 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
29251
29252         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29253         * sysdeps/x86_64/addmul_1.S: Likewise.
29254         * sysdeps/x86_64/lshift.S: Likewise.
29255         * sysdeps/x86_64/mul_1.S: Likewise.
29256         * sysdeps/x86_64/rshift.S: Likewise.
29257         * sysdeps/x86_64/sub_n.S: Likewise.
29258         * sysdeps/x86_64/submul_1.S: Likewise.
29259
29260 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29261
29262         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29263         Define __sched_param instead of SCHED_* and sched_param when
29264         <bits/sched.h> is included with __need_schedparam defined.
29265         * bits/sched.h [__need_schedparam]
29266         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29267         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29268         (__defined_schedparam): Define to 1.
29269         (__sched_param): New structure, identical to sched_param.
29270         (__need_schedparam): Undefine.
29271
29272 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
29273
29274         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29275         (epoll_create1): Declare.
29276
29277         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29278
29279 2010-08-31  Andreas Schwab  <schwab@redhat.com>
29280
29281         [BZ #7066]
29282         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29283         shifting retval into place.
29284
29285 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
29286
29287         * nis/rpcsvc/nis.h: Update copyright notice.
29288         * nis/rpcsvc/nis.x: Likewise.
29289         * nis/rpcsvc/nis_callback.h: Likewise.
29290         * nis/rpcsvc/nis_callback.x: Likewise.
29291         * nis/rpcsvc/nis_object.x: Likewise.
29292         * nis/rpcsvc/nis_tags.h: Likewise.
29293         * nis/rpcsvc/yp.h: Likewise.
29294         * nis/rpcsvc/yp.x: Likewise.
29295         * nis/rpcsvc/ypupd.h: Likewise.
29296         * nis/yp_xdr.c: Likewise.
29297         * nis/ypupdate_xdr.c: Likewise.
29298
29299         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
29300         mainly the body of pmap_getport.  Add parameters to specify timeouts.
29301         (pmap_getport): Use __libc_rpc_getport.
29302         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29303         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29304         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29305
29306 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
29307
29308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29309         fanotify_mark.
29310
29311 2010-08-27  Roland McGrath  <roland@redhat.com>
29312
29313         * sysdeps/i386/i686/multiarch/Makefile
29314         (CFLAGS-varshift.c): New variable.
29315
29316 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
29317
29318         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29319         * sysdeps/i386/i686/multiarch/varshift.c: New file.
29320
29321         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29322
29323         * sysdeps/x86_64/strlen.S: Minimal code improvement.
29324
29325 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29326
29327         * sysdeps/x86_64/strlen.S: Unroll the loop.
29328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29329         strlen-sse2 strlen-sse2-bsf.
29330         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29331         __strlen_no_bsf if bit_Slow_BSF is set.
29332         (__strlen_sse42): Removed.
29333         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29334         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29335
29336 2010-08-25  Roland McGrath  <roland@redhat.com>
29337
29338         * sysdeps/x86_64/multiarch/varshift.S: File removed.
29339         * sysdeps/x86_64/multiarch/varshift.c: New file.
29340         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29341         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29342         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29343         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29344
29345 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29346
29347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29348         strlen-sse2 strlen-sse2-bsf.
29349         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29350         __strlen_sse2_bsf if bit_Slow_BSF is unset.
29351         (__strlen_sse2): Removed.
29352         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29353         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29355         bit_Slow_BSF for Atom.
29356         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29357         (index_Slow_BSF): Define.
29358         (HAS_SLOW_BSF): Define.
29359
29360 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
29361
29362         [BZ #10851]
29363         * resolv/res_init.c (__res_vinit): When no server address at all
29364         is given default to loopback.
29365
29366 2010-08-24  Roland McGrath  <roland@redhat.com>
29367
29368         * configure.in: Remove config-name.h generation.
29369         * configure: Regenerated.
29370         * config-name.in: File removed.
29371         * scripts/config-uname.sh: New file.
29372         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29373         ($(objdir)config-name.h): New target.
29374
29375         * sunrpc/rpc_parse.h: Avoid nested comment.
29376
29377 2010-08-24  Richard Henderson  <rth@redhat.com>
29378             Ulrich Drepper  <drepper@redhat.com>
29379             H.J. Lu  <hongjiu.lu@intel.com>
29380
29381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29383         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29384         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
29385         _mm_alignr_epi8 with _mm_loadu_si128.
29386         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29387         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29388         (__m128i_shift_right): Removed.
29389         * sysdeps/i386/i686/multiarch/varshift.h: New file.
29390         * sysdeps/i386/i686/multiarch/varshift.S: New file.
29391         * sysdeps/x86_64/multiarch/varshift.h: New file.
29392         * sysdeps/x86_64/multiarch/varshift.S: New file.
29393
29394 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
29395
29396         * configure.in: Move assembler checks to before sysdep dir checking.
29397
29398 2010-08-20  Petr Baudis  <pasky@suse.cz>
29399
29400         * LICENSES: Sync the sunrpc license.
29401
29402 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
29403
29404         * sunrpc/auth_des.c: Update copyright notice once again.
29405         * sunrpc/auth_none.c: Likewise.
29406         * sunrpc/auth_unix.c: Likewise.
29407         * sunrpc/authdes_prot.c: Likewise.
29408         * sunrpc/authuxprot.c: Likewise.
29409         * sunrpc/bindrsvprt.c: Likewise.
29410         * sunrpc/clnt_gen.c: Likewise.
29411         * sunrpc/clnt_perr.c: Likewise.
29412         * sunrpc/clnt_raw.c: Likewise.
29413         * sunrpc/clnt_simp.c: Likewise.
29414         * sunrpc/clnt_tcp.c: Likewise.
29415         * sunrpc/clnt_udp.c: Likewise.
29416         * sunrpc/clnt_unix.c: Likewise.
29417         * sunrpc/des_crypt.c: Likewise.
29418         * sunrpc/des_soft.c: Likewise.
29419         * sunrpc/get_myaddr.c: Likewise.
29420         * sunrpc/getrpcport.c: Likewise.
29421         * sunrpc/key_call.c: Likewise.
29422         * sunrpc/key_prot.c: Likewise.
29423         * sunrpc/openchild.c: Likewise.
29424         * sunrpc/pm_getmaps.c: Likewise.
29425         * sunrpc/pm_getport.c: Likewise.
29426         * sunrpc/pmap_clnt.c: Likewise.
29427         * sunrpc/pmap_prot.c: Likewise.
29428         * sunrpc/pmap_prot2.c: Likewise.
29429         * sunrpc/pmap_rmt.c: Likewise.
29430         * sunrpc/rpc/auth.h: Likewise.
29431         * sunrpc/rpc/auth_unix.h: Likewise.
29432         * sunrpc/rpc/clnt.h: Likewise.
29433         * sunrpc/rpc/des_crypt.h: Likewise.
29434         * sunrpc/rpc/key_prot.h: Likewise.
29435         * sunrpc/rpc/netdb.h: Likewise.
29436         * sunrpc/rpc/pmap_clnt.h: Likewise.
29437         * sunrpc/rpc/pmap_prot.h: Likewise.
29438         * sunrpc/rpc/pmap_rmt.h: Likewise.
29439         * sunrpc/rpc/rpc.h: Likewise.
29440         * sunrpc/rpc/rpc_des.h: Likewise.
29441         * sunrpc/rpc/rpc_msg.h: Likewise.
29442         * sunrpc/rpc/svc.h: Likewise.
29443         * sunrpc/rpc/svc_auth.h: Likewise.
29444         * sunrpc/rpc/types.h: Likewise.
29445         * sunrpc/rpc/xdr.h: Likewise.
29446         * sunrpc/rpc_clntout.c: Likewise.
29447         * sunrpc/rpc_cmsg.c: Likewise.
29448         * sunrpc/rpc_common.c: Likewise.
29449         * sunrpc/rpc_cout.c: Likewise.
29450         * sunrpc/rpc_dtable.c: Likewise.
29451         * sunrpc/rpc_hout.c: Likewise.
29452         * sunrpc/rpc_main.c: Likewise.
29453         * sunrpc/rpc_parse.c: Likewise.
29454         * sunrpc/rpc_parse.h: Likewise.
29455         * sunrpc/rpc_prot.c: Likewise.
29456         * sunrpc/rpc_sample.c: Likewise.
29457         * sunrpc/rpc_scan.c: Likewise.
29458         * sunrpc/rpc_scan.h: Likewise.
29459         * sunrpc/rpc_svcout.c: Likewise.
29460         * sunrpc/rpc_tblout.c: Likewise.
29461         * sunrpc/rpc_util.c: Likewise.
29462         * sunrpc/rpc_util.h: Likewise.
29463         * sunrpc/rpcinfo.c: Likewise.
29464         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29465         * sunrpc/rpcsvc/key_prot.x: Likewise.
29466         * sunrpc/rpcsvc/klm_prot.x: Likewise.
29467         * sunrpc/rpcsvc/mount.x: Likewise.
29468         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29469         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29470         * sunrpc/rpcsvc/rex.x: Likewise.
29471         * sunrpc/rpcsvc/rstat.x: Likewise.
29472         * sunrpc/rpcsvc/rusers.x: Likewise.
29473         * sunrpc/rpcsvc/sm_inter.x: Likewise.
29474         * sunrpc/rpcsvc/spray.x: Likewise.
29475         * sunrpc/rpcsvc/yppasswd.x: Likewise.
29476         * sunrpc/rtime.c: Likewise.
29477         * sunrpc/svc.c: Likewise.
29478         * sunrpc/svc_auth.c: Likewise.
29479         * sunrpc/svc_authux.c: Likewise.
29480         * sunrpc/svc_raw.c: Likewise.
29481         * sunrpc/svc_run.c: Likewise.
29482         * sunrpc/svc_simple.c: Likewise.
29483         * sunrpc/svc_tcp.c: Likewise.
29484         * sunrpc/svc_udp.c: Likewise.
29485         * sunrpc/svc_unix.c: Likewise.
29486         * sunrpc/svcauth_des.c: Likewise.
29487         * sunrpc/xcrypt.c: Likewise.
29488         * sunrpc/xdr.c: Likewise.
29489         * sunrpc/xdr_array.c: Likewise.
29490         * sunrpc/xdr_float.c: Likewise.
29491         * sunrpc/xdr_mem.c: Likewise.
29492         * sunrpc/xdr_rec.c: Likewise.
29493         * sunrpc/xdr_ref.c: Likewise.
29494         * sunrpc/xdr_sizeof.c: Likewise.
29495         * sunrpc/xdr_stdio.c: Likewise.
29496
29497         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29498         handling.
29499
29500 2010-08-19  Andreas Schwab  <schwab@redhat.com>
29501
29502         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29503
29504 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
29505
29506         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29507         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29508         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29509         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29510         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29511         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29512         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29513         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29514         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29515         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29516         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29517         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29518         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29519         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29520
29521 2010-07-26  Anton Blanchard  <anton@samba.org>
29522
29523         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29524         * malloc/arena.c (heap_trim): Likewise.
29525
29526 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
29527
29528         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29529         here.  Not...
29530         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29531         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29532
29533 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29534
29535         * sysdeps/i386/elf/Makefile: New file.
29536
29537 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
29538
29539         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29540         from fanotify_init.
29541         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29542         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29543
29544 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
29545
29546         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29547         of strncasecmp_l.
29548         * sysdeps/multiarch/strcmp.S: Likewise.
29549
29550 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
29551
29552         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29553         strncase_l-nonascii.
29554         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29555         Add strncase_l-ssse3.
29556         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29557         * sysdeps/x86_64/strcmp.S: Likewise.
29558         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29559         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29560         * sysdeps/x86_64/strncase.S: New file.
29561         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29562         * sysdeps/x86_64/strncase_l.S: New file.
29563         * string/Makefile (strop-tests): Add strncasecmp.
29564         * string/test-strncasecmp.c: New file.
29565
29566         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29567         warning.
29568
29569         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29570         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29571
29572 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
29573
29574         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29575
29576 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
29577
29578         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29579         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29580         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29581
29582 2010-05-01  Alan Modra  <amodra@gmail.com>
29583
29584         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29585         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29586         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29587         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29588         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29589         tidying.  Don't tail-call __sigjmp_save for static lib.
29590         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29591         save location.
29592         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29593         (CALL_MCOUNT): Add eh info, and nop after bl.
29594         (TAIL_CALL_SYSCALL_ERROR): New macro.
29595         (PSEUDO_RET): Use it.
29596         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29597         Correct save location of integer regs and cr.
29598         (_dl_profile_resolve): Correct cr save location.  Delete nops
29599         after bl when SHARED.  Reduce cfi size a little by better
29600         placement of cfi directives.
29601         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29602         make a stack frame.  Instead use parm save area as a temp.
29603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29604         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29606         Don't make a stack frame for parent, use parm save area.
29607         Increase child stack frame to 112 bytes.  Don't save unused reg,
29608         and adjust reg usage.  Set up cfi on error recovery and
29609         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29611         (__makecontext): Add dummy nop after jump to exit.
29612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29613         Use correct parm save area and cr save, reduce stack frame.
29614         Correct cfi for possible PSEUDO_RET frame setup.
29615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29616         Branch to local label emitted by PSEUDO_RET rather than
29617         __syscall_error.
29618
29619 2010-08-12  Andreas Schwab  <schwab@redhat.com>
29620
29621         [BZ #11904]
29622         * locale/programs/locale.c (print_assignment): New function.
29623         (show_locale_vars): Use it.
29624
29625 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
29626
29627         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29628         field.
29629         (struct statfs64): Likewise.
29630         (_STATFS_F_FLAGS): Define.
29631         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29632         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29633         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29634         (ST_VALID): Define locally.
29635         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29636         __statvfs_getflags, use the provided value.
29637         * sysdeps/unix/sysv/linux/kernel-features.h: Define
29638         __ASSUME_STATFS_F_FLAGS.
29639
29640         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29641
29642         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29643         Add sys/fanotify.h.
29644         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29645         fanotify_mask for GLIBC_2.13.
29646         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29647         fanotify_init and fanotify_mark.
29648         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29649         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29650
29651         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29652         Add prlimit.
29653         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29654         prlimit64 for GLIBC_2.13.
29655         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29656         prlimit64.
29657         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29658         syscall.
29659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29660         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29661         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29662         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29663         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
29664         add prlimit alias.
29665         * sysdeps/unix/sysv/linux/prlimit.c: New file.
29666
29667         [BZ #11903]
29668         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29669         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29670
29671         * nss/Makefile: Add rules to build and run tst-nss-test1.
29672         * shlib-versions: Add entry for libnss_test1.
29673         * nss/nss_test1.c: New file.
29674         * nss/tst-nss-test1.c: New file.
29675
29676         * nss/nsswitch.c (__nss_database_custom): Define new variable.
29677         (__nss_configure_lookup): Set appropriate entry in
29678         __nss_configure_lookup to true.
29679         * nss/nsswitch.h: Define enum with indeces of databases in
29680         databases and __nss_database_custom arrays.  Declare
29681         __nss_database_custom.
29682         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29683         to avoid using nscd when custom rules are installed.
29684         * nss/getXXbyYY_r.c: Likewise.
29685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29686
29687         * nss/nss_files/files-parse.c: Whitespace fixes.
29688
29689 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
29690
29691         [BZ #11883]
29692         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29693         * posix/fnmatch_loop.c: Likewise.
29694
29695 2010-07-17  Andi Kleen  <ak@linux.intel.com>
29696
29697         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29698         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29699         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29700         * Versions.def [GLIBC_2.13]: Add.
29701
29702 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
29703
29704         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29705         Also fail if tpwd after pwuid call is NULL.
29706
29707 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29708
29709         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29710         when converting to ms.
29711
29712 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29713
29714         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29715         EOPNOTSUPP errors with ENOTTY.
29716         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29717         EOPNOTSUPP errors with ENOTTY.
29718
29719 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
29720
29721         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29722         Add strcasecmp_l-ssse3.
29723         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29724         strcasecmp.
29725         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29726         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29727         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29728
29729 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
29730
29731         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29732
29733         * string/Makefile (strop-tests): Add strcasecmp.
29734         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29735         strcasecmp_l-nonascii.
29736         (gen-as-const-headers): Add locale-defines.sym.
29737         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29738         * sysdeps/x86_64/strcasecmp.S: New file.
29739         * sysdeps/x86_64/strcasecmp_l.S: New file.
29740         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29741         * sysdeps/x86_64/locale-defines.sym: New file.
29742         * string/test-strcasecmp.c: New file.
29743
29744         * string/test-strcasestr.c: Test both ends of the range of characters.
29745         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29746
29747 2010-07-29  Roland McGrath  <roland@redhat.com>
29748
29749         [BZ #11856]
29750         * manual/locale.texi (Yes-or-No Questions): Fix example code.
29751
29752 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
29753
29754         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29755         for ld.so.
29756
29757 2010-07-27  Andreas Schwab  <schwab@redhat.com>
29758
29759         * manual/memory.texi (Malloc Tunable Parameters): Document
29760         M_PERTURB.
29761
29762 2010-07-26  Roland McGrath  <roland@redhat.com>
29763
29764         [BZ #11840]
29765         * configure.in (-fgnu89-inline check): Set and substitute
29766         gnu89_inline, not libc_cv_gnu89_inline.
29767         * configure: Regenerated.
29768         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29769
29770 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
29771
29772         * string/test-strnlen.c: New file.
29773         * string/Makefile (strop-tests): Add strnlen.
29774         * string/tester.c (test_strnlen): Add a few more test cases.
29775         * string/tst-strlen.c: Better error reporting.
29776
29777         * sysdeps/x86_64/strnlen.S: New file.
29778
29779 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
29780
29781         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29782         lower-latency instructions.
29783
29784 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
29785
29786         * string/test-strcasestr.c: New file.
29787         * string/test-strstr.c: New file.
29788         * string/Makefile (strop-tests): Add strstr and strcasestr.
29789         * string/str-two-way.h: Don't undefine MAX.
29790         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29791
29792 2010-07-21  Andreas Schwab  <schwab@redhat.com>
29793
29794         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29795         strcasestr-nonascii.
29796         (CFLAGS-strcasestr-nonascii.c): Define.
29797         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29798         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29799         Remove unused attribute.
29800
29801 2010-07-20  Roland McGrath  <roland@redhat.com>
29802
29803         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29804         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
29805         ld.so.cache was broken.  With it, there is no way to disable dsocaps
29806         like LD_HWCAP_MASK can disable hwcaps.
29807
29808 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
29809
29810         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29811
29812 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
29813
29814         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29815         call in strcasestr.
29816         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29817         __strcasestr_sse42_nonascii.
29818         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29819         strcasestr-nonascii.c.
29820         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29821
29822 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
29823
29824         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29825         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29826         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29827         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29828
29829 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
29830
29831         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29832         fcntl.
29833
29834 2010-07-06  Andreas Schwab  <schwab@redhat.com>
29835
29836         [BZ #11577]
29837         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29838         dl_signal_cerror.
29839
29840 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
29841
29842         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29843         _PC_PIPE_BUF using F_GETPIPE_SZ.
29844
29845 2010-07-05  Roland McGrath  <roland@redhat.com>
29846
29847         * manual/arith.texi (Rounding Functions): Fix rint description
29848         implicit in round description.
29849
29850 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
29851
29852         * elf/Makefile: Fix linking for a few tests to make recent linker
29853         happy.
29854
29855 2010-06-30  Andreas Schwab  <schwab@redhat.com>
29856
29857         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29858         $(common-objpfx)libc_nonshared.a.
29859
29860 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
29861
29862         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29863         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29864         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29865         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29866         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29867         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29868         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29869         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29884         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29885         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29886         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29887         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29888         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29889         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29890         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29891         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29892         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29893         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29894         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29895         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29910
29911 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29912
29913         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29914         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
29915         * string/memmove.c (memmove): Renamed to ...
29916         (MEMMOVE): ...this.  Default to memmove.
29917         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29918         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29919         (END_CHK): Define.
29920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29921         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29922         mempcpy-ssse3-back memmove-ssse3-back.
29923         * sysdeps/x86_64/multiarch/bcopy.S: New file .
29924         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29925         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29926         * sysdeps/x86_64/multiarch/memcpy.S: New file.
29927         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29928         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29929         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29930         * sysdeps/x86_64/multiarch/memmove.c: New file.
29931         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29932         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29933         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29934         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29935         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29936         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29937         Define.
29938         (index_Fast_Copy_Backward): Define.
29939         (HAS_ARCH_FEATURE): Define.
29940         (HAS_FAST_REP_STRING): Define.
29941         (HAS_FAST_COPY_BACKWARD): Define.
29942
29943 2010-06-21  Andreas Schwab  <schwab@redhat.com>
29944
29945         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29946         Restore proper fallback handling.
29947
29948 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
29949
29950         [BZ #11701]
29951         * posix/group_member.c (__group_member): Correct checking loop.
29952
29953         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29954         OOM in getpwuid_r correctly.  Return error number when the caller
29955         should return, otherwise -1.
29956         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29957         call returning > 0 value.
29958         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29959
29960 2010-06-07  Andreas Schwab  <schwab@redhat.com>
29961
29962         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29963         libc_nonshared.a from targets in modules-names.
29964
29965 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
29966
29967         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29968         requires it.
29969
29970 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
29971
29972         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29973         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29974         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29975         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29976
29977 2010-06-02  Andreas Schwab  <schwab@redhat.com>
29978
29979         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29980
29981 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
29982
29983         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29984         and F_GETPIPE_SZ.
29985         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29986         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29987         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29989         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29990         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29991
29992 2010-06-14  Roland McGrath  <roland@redhat.com>
29993
29994         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29995
29996 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
29997
29998         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29999         __REDIRECT followed by __THROW.
30000         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30001         * posix/getopt.h (getopt): Likewise.
30002
30003 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30004
30005         * hurd/lookup-at.c (__file_name_lookup_at): Accept
30006         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
30007         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30008         in AT_FLAGS.
30009         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30010         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30011
30012 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
30013
30014         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30015
30016 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
30017
30018         [BZ #11640]
30019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30020         Properly check family and model.
30021
30022 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
30023
30024         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30025
30026 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
30027
30028         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30029
30030 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
30031
30032         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30033         symbol reference.
30034
30035 2010-05-19  Andreas Schwab  <schwab@redhat.com>
30036
30037         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30038         symbol reference.
30039
30040 2010-05-21  Andreas Schwab  <schwab@redhat.com>
30041
30042         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30043         and internal_recvmmsg.
30044         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30045         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30046         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30047         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30048
30049         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30050         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30051         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30052
30053 2010-05-20  Andreas Schwab  <schwab@redhat.com>
30054
30055         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30056
30057 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
30058
30059         POWER7 optimizations.
30060         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30061         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30062
30063 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
30064
30065         * version.h: Update for 2.13 development version.
30066
30067 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
30068
30069         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30070         exceptions.  Return 0.
30071
30072 2010-05-07  Roland McGrath  <roland@redhat.com>
30073
30074         * elf/ldconfig.c (main): Add a const.
30075
30076 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
30077
30078         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30079         (args_options): Add no-idn option.
30080         (ahosts_keys_int): Add idn_flags to ai_flags.
30081         (parse_option): Handle 'i' option to clear idn_flags.
30082
30083         * malloc/malloc.c (_int_free): Possible race in the most recently
30084         added check.  Only act on the data if no current modification
30085         happened.
30086
30087 See ChangeLog.17 for earlier changes.