conformtest: correct set of standards for which some headers are tested.
[glibc.git] / ChangeLog
blobce0e9a367f044809021f8dcfdf6f357c49de77be
1 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7         * conform/data/libgen.h-data [XPG3]: Likewise.
8         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9         * conform/data/ndbm.h-data [XPG3]: Likewise.
10         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11         * conform/data/netdb.h-data [XPG3]: Likewise.
12         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13         * conform/data/poll.h-data [XPG3]: Likewise.
14         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15         * conform/data/strings.h-data [XPG3]: Likewise.
16         * conform/data/stropts.h-data [XPG3]: Likewise.
17         * conform/data/sys/mman.h-data [XPG3]: Likewise.
18         * conform/data/sys/resource.h-data [XPG3]: Likewise.
19         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20         Likewise.
21         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22         * conform/data/sys/time.h-data [XPG3]: Likewise.
23         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24         * conform/data/sys/uio.h-data [XPG3]: Likewise.
25         * conform/data/sys/un.h-data [XPG3]: Likewise.
26         * conform/data/syslog.h-data [XPG3]: Likewise.
27         * conform/data/ucontext.h-data [XPG3]: Likewise.
28         * conform/data/utmpx.h-data [XPG3]: Likewise.
29         * conform/data/varargs.h-data [UNIX98]: Enable file.
31         * manual/Makefile (INSTALL_INFO): Remove variable setting.
33         * math/libm-test.inc (struct test_f_f_data): Move expected results
34         into structure for each rounding mode.
35         (struct test_ff_f_data): Likewise.
36         (struct test_ff_f_data_nexttoward): Likewise.
37         (struct test_fi_f_data): Likewise.
38         (struct test_fl_f_data): Likewise.
39         (struct test_if_f_data): Likewise.
40         (struct test_fff_f_data): Likewise.
41         (struct test_c_f_data): Likewise.
42         (struct test_f_f1_data): Likewise.
43         (struct test_fF_f1_data): Likewise.
44         (struct test_ffI_f1_data): Likewise.
45         (struct test_c_c_data): Likewise.
46         (struct test_cc_c_data): Likewise.
47         (struct test_f_i_data): Likewise.
48         (struct test_ff_i_data): Likewise.
49         (struct test_f_l_data): Likewise.
50         (struct test_f_L_data): Likewise.
51         (struct test_fFF_11_data): Likewise.
52         (RM_): New macro.
53         (RM_FE_DOWNWARD): Likewise.
54         (RM_FE_TONEAREST): Likewise.
55         (RM_FE_TOWARDZERO): Likewise.
56         (RM_FE_UPWARD): Likewise.
57         (RUN_TEST_LOOP_f_f): Update references to expected results.
58         (RUN_TEST_LOOP_2_f): Likewise.
59         (RUN_TEST_LOOP_fff_f): Likewise.
60         (RUN_TEST_LOOP_c_f): Likewise.
61         (RUN_TEST_LOOP_f_f1): Likewise.
62         (RUN_TEST_LOOP_fF_f1): Likewise.
63         (RUN_TEST_LOOP_fI_f1): Likewise.
64         (RUN_TEST_LOOP_ffI_f1): Likewise.
65         (RUN_TEST_LOOP_c_c): Likewise.
66         (RUN_TEST_LOOP_cc_c): Likewise.
67         (RUN_TEST_LOOP_f_i): Likewise.
68         (RUN_TEST_LOOP_f_i_tg): Likewise.
69         (RUN_TEST_LOOP_ff_i_tg): Likewise.
70         (RUN_TEST_LOOP_f_b): Likewise.
71         (RUN_TEST_LOOP_f_b_tg): Likewise.
72         (RUN_TEST_LOOP_f_l): Likewise.
73         (RUN_TEST_LOOP_f_L): Likewise.
74         (RUN_TEST_LOOP_fFF_11): Likewise.
75         * math/gen-libm-test.pl (parse_args): Output four copies of
76         expected results for each test.
78         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
79         (__ASSUME_UTIMES): Remove.
80         * sysdeps/unix/sysv/linux/tile/kernel-features.h
81         (__ASSUME_UTIMES): Likewise.
83         * math/gen-auto-libm-tests.c: Update comment on output format.
84         (output_for_one_input_case): Generate before-rounding and
85         after-rounding information as conditions on output flags not
86         floating-point format.
87         * math/auto-libm-test-out: Regenerated.
88         * math/gen-libm-test.pl (cond_value): New function.
89         (or_cond_value): Use cond_value.
90         (generate_testfile): Handle conditional exceptions.
92 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
94         * math/libm-test.inc (max_valid_error): New variable.
95         (init_max_error): Take new argument specifying whether function
96         results are exactly determined.  Set max_valid_error and bound
97         other variables for errors based on this argument.
98         (set_max_error): Do not record results above max_valid_error.
99         (check_float_internal): Only accept errors of up to 0.5ulps if
100         also at most max_valid_error.
101         (START): Take new argument EXACT and pass it to init_max_error.
102         (acos_test): Update call to START.
103         (acos_test_tonearest): Likewise.
104         (acos_test_towardzero): Likewise.
105         (acos_test_downward): Likewise.
106         (acos_test_upward): Likewise.
107         (acosh_test): Likewise.
108         (asin_test): Likewise.
109         (asin_test_tonearest): Likewise.
110         (asin_test_towardzero): Likewise.
111         (asin_test_downward): Likewise.
112         (asin_test_upward): Likewise.
113         (asinh_test): Likewise.
114         (atan_test): Likewise.
115         (atanh_test): Likewise.
116         (atan2_test): Likewise.
117         (cabs_test): Likewise.
118         (cacos_test): Likewise.
119         (cacosh_test): Likewise.
120         (carg_test): Likewise.
121         (casin_test): Likewise.
122         (casinh_test): Likewise.
123         (catan_test): Likewise.
124         (catanh_test): Likewise.
125         (cbrt_test): Likewise.
126         (ccos_test): Likewise.
127         (ccosh_test): Likewise.
128         (ceil_test): Likewise.
129         (cexp_test): Likewise.
130         (cimag_test): Likewise.
131         (clog_test): Likewise.
132         (clog10_test): Likewise.
133         (conj_test): Likewise.
134         (copysign_test): Likewise.
135         (cos_test): Likewise.
136         (cos_test_tonearest): Likewise.
137         (cos_test_towardzero): Likewise.
138         (cos_test_downward): Likewise.
139         (cos_test_upward): Likewise.
140         (cosh_test): Likewise.
141         (cosh_test_tonearest): Likewise.
142         (cosh_test_towardzero): Likewise.
143         (cosh_test_downward): Likewise.
144         (cosh_test_upward): Likewise.
145         (cpow_test): Likewise.
146         (cproj_test): Likewise.
147         (creal_test): Likewise.
148         (csin_test): Likewise.
149         (csinh_test): Likewise.
150         (csqrt_test): Likewise.
151         (ctan_test): Likewise.
152         (ctan_test_tonearest): Likewise.
153         (ctan_test_towardzero): Likewise.
154         (ctan_test_downward): Likewise.
155         (ctan_test_upward): Likewise.
156         (ctanh_test): Likewise.
157         (ctanh_test_tonearest): Likewise.
158         (ctanh_test_towardzero): Likewise.
159         (ctanh_test_downward): Likewise.
160         (ctanh_test_upward): Likewise.
161         (erf_test): Likewise.
162         (erfc_test): Likewise.
163         (exp_test): Likewise.
164         (exp_test_tonearest): Likewise.
165         (exp_test_towardzero): Likewise.
166         (exp_test_downward): Likewise.
167         (exp_test_upward): Likewise.
168         (exp10_test): Likewise.
169         (exp10_test_tonearest): Likewise.
170         (exp10_test_towardzero): Likewise.
171         (exp10_test_downward): Likewise.
172         (exp10_test_upward): Likewise.
173         (pow10_test): Likewise.
174         (exp2_test): Likewise.
175         (expm1_test): Likewise.
176         (expm1_test_tonearest): Likewise.
177         (expm1_test_towardzero): Likewise.
178         (expm1_test_downward): Likewise.
179         (expm1_test_upward): Likewise.
180         (fabs_test): Likewise.
181         (fdim_test): Likewise.
182         (floor_test): Likewise.
183         (fma_test): Likewise.
184         (fma_test_towardzero): Likewise.
185         (fma_test_downward): Likewise.
186         (fma_test_upward): Likewise.
187         (fmax_test): Likewise.
188         (fmin_test): Likewise.
189         (fmod_test): Likewise.
190         (fpclassify_test): Likewise.
191         (frexp_test): Likewise.
192         (hypot_test): Likewise.
193         (ilogb_test): Likewise.
194         (isfinite_test): Likewise.
195         (finite_test): Likewise.
196         (isgreater_test): Likewise.
197         (isgreaterequal_test): Likewise.
198         (isinf_test): Likewise.
199         (isless_test): Likewise.
200         (islessequal_test): Likewise.
201         (islessgreater_test): Likewise.
202         (isnan_test): Likewise.
203         (isnormal_test): Likewise.
204         (issignaling_test): Likewise.
205         (isunordered_test): Likewise.
206         (j0_test): Likewise.
207         (j1_test): Likewise.
208         (jn_test): Likewise.
209         (ldexp_test): Likewise.
210         (lgamma_test): Likewise.
211         (gamma_test): Likewise.
212         (lrint_test): Likewise.
213         (lrint_test_tonearest): Likewise.
214         (lrint_test_towardzero): Likewise.
215         (lrint_test_downward): Likewise.
216         (lrint_test_upward): Likewise.
217         (llrint_test): Likewise.
218         (llrint_test_tonearest): Likewise.
219         (llrint_test_towardzero): Likewise.
220         (llrint_test_downward): Likewise.
221         (llrint_test_upward): Likewise.
222         (log_test): Likewise.
223         (log10_test): Likewise.
224         (log1p_test): Likewise.
225         (log2_test): Likewise.
226         (logb_test): Likewise.
227         (logb_test_downward): Likewise.
228         (lround_test): Likewise.
229         (llround_test): Likewise.
230         (modf_test): Likewise.
231         (nearbyint_test): Likewise.
232         (nextafter_test): Likewise.
233         (nexttoward_test): Likewise.
234         (pow_test): Likewise.
235         (pow_test_tonearest): Likewise.
236         (pow_test_towardzero): Likewise.
237         (pow_test_downward): Likewise.
238         (pow_test_upward): Likewise.
239         (remainder_test): Likewise.
240         (drem_test): Likewise.
241         (remainder_test_tonearest): Likewise.
242         (drem_test_tonearest): Likewise.
243         (remainder_test_towardzero): Likewise.
244         (drem_test_towardzero): Likewise.
245         (remainder_test_downward): Likewise.
246         (drem_test_downward): Likewise.
247         (remainder_test_upward): Likewise.
248         (drem_test_upward): Likewise.
249         (remquo_test): Likewise.
250         (rint_test): Likewise.
251         (rint_test_tonearest): Likewise.
252         (rint_test_towardzero): Likewise.
253         (rint_test_downward): Likewise.
254         (rint_test_upward): Likewise.
255         (round_test): Likewise.
256         (scalb_test): Likewise.
257         (scalbn_test): Likewise.
258         (scalbln_test): Likewise.
259         (signbit_test): Likewise.
260         (sin_test): Likewise.
261         (sin_test_tonearest): Likewise.
262         (sin_test_towardzero): Likewise.
263         (sin_test_downward): Likewise.
264         (sin_test_upward): Likewise.
265         (sincos_test): Likewise.
266         (sinh_test): Likewise.
267         (sinh_test_tonearest): Likewise.
268         (sinh_test_towardzero): Likewise.
269         (sinh_test_downward): Likewise.
270         (sinh_test_upward): Likewise.
271         (sqrt_test): Likewise.
272         (sqrt_test_tonearest): Likewise.
273         (sqrt_test_towardzero): Likewise.
274         (sqrt_test_downward): Likewise.
275         (sqrt_test_upward): Likewise.
276         (tan_test): Likewise.
277         (tan_test_tonearest): Likewise.
278         (tan_test_towardzero): Likewise.
279         (tan_test_downward): Likewise.
280         (tan_test_upward): Likewise.
281         (tanh_test): Likewise.
282         (tgamma_test): Likewise.
283         (trunc_test): Likewise.
284         (y0_test): Likewise.
285         (y1_test): Likewise.
286         (yn_test): Likewise.
287         (significand_test): Likewise.
289         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
290         individual tests in comment.
291         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
292         (prev_max_error): New variable.
293         (prev_real_max_error): Likewise.
294         (prev_imag_max_error): Likewise.
295         (compare_ulp_data): Don't refer to test names in comment.
296         (find_test_ulps): Remove function.
297         (find_function_ulps): Likewise.
298         (find_complex_function_ulps): Likewise.
299         (init_max_error): Take function name as argument.  Look up ulps
300         for that function.
301         (print_ulps): Remove function.
302         (print_max_error): Use prev_max_error instead of calling
303         find_function_ulps.
304         (print_complex_max_error): Use prev_real_max_error and
305         prev_imag_max_error instead of calling find_complex_function_ulps.
306         (check_float_internal): Take max_ulp parameter instead of calling
307         find_test_ulps.  Don't call print_ulps.
308         (check_float): Update call to check_float_internal.
309         (check_complex): Update calls to check_float_internal.
310         (START): Pass argument to init_max_error.
311         * math/gen-libm-test.pl (%results): Don't include "kind"
312         information.
313         (parse_ulps): Don't handle ulps of individual tests.
314         (print_ulps_file): Likewise.
315         (output_ulps): Likewise.
316         * math/README.libm-test: Update.
317         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
318         individual tests.
319         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
320         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
321         * sysdeps/arm/libm-test-ulps: Likewise.
322         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
323         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
324         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
325         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
326         * sysdeps/microblaze/libm-test-ulps: Likewise.
327         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
328         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
329         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
330         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
331         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
332         * sysdeps/sh/libm-test-ulps: Likewise.
333         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
334         * sysdeps/tile/libm-test-ulps: Likewise.
335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
337 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
339         * math/libm-test.inc (print_complex_max_error): Check separately
340         whether real and imaginary errors are within allowed range and
341         pass 0 to print_complex_function_ulps instead of value within
342         allowed range.
344 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
346         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
347         formatting.
348         (get_handles_fopen): Likewise.
349         (do_write_test): Likewise.
351         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
353         * libio/fileops.c (do_ftell): Use cached offset when
354         available.
355         * libio/iofwide.c (do_ftell_wide): Likewise.
356         * libio/iofdopen.c (_IO_new_fdopen): Don't use
357         _IO_file_attach.
358         * libio/wfileops.c (_IO_fwide): Don't cache offset.
360         [BZ #16532]
361         * libio/libioP.h (get_file_offset): New function.
362         * libio/fileops.c (get_file_offset): Likewise.
363         (do_ftell): Likewise.
364         (_IO_new_file_seekoff): Split out ftell logic.
365         * libio/wfileops.c (do_ftell_wide): Likewise.
366         (_IO_wfile_seekoff): Split out ftell logic.
367         * libio/tst-ftell-active-handler.c: New test case.
368         * libio/Makefile (tests): Add it.
370 2014-03-03  Roland McGrath  <roland@hack.frob.com>
372         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
373         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
375 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
377         [BZ #16639]
378         * nscd/connections.c (nscd_init): Call do_exit.
379         (start_threads): Call do_exit and notify_parent.
380         (begin_drop_privileges): Call do_exit.
381         (finish_drop_privileges): Likewise.
382         * nscd/selinux.c (preserve_capabilities): Likewise.
383         (install_real_capabilities): Likewise.
384         (nscd_selinux_enabled): Likewise.
385         (avc_create_thread): Likewise.
386         (avc_alloc_lock): Likewise.
387         (nscd_avc_init): Likewise.
388         * nscd/nscd.c (parent_fd): New static variable.
389         (main): Create a pipe between parent and child processes.
390         Skip closing parent_fd.
391         (monitor_child): New function.
392         (do_exit): Likewise.
393         (notify_parent): Likewise.
394         * nscd/nscd.h (notify_parent): Likewise.
395         (do_exit): Likewise.
397 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
399         * malloc/malloc.c (__libc_calloc): Revert last change.
401 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
405 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
407         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
409         implementation.
410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
411         (__libc_ifunc_impl_list): Likewise.
412         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
413         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
414         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
415         * string/strrchr.c: Define STRRCHR.
417 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
419         * benchtest/bench-strtok.c (simple_strtok): Delete.
420         (strtok_string): Use as benchmark.
421         * string/strtok (STRTOK): New macro.
423 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
425         * manual/threads.texi: Add header and standard comments to all
426         functions.
428         * elf/dl-lookup.c (check_match): New function.
429         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
430         (do_lookup_x): Remove nested function check_match. Use non-nested
431         function check_match.
433 2014-02-28  Roland McGrath  <roland@hack.frob.com>
435         * csu/Makefile (generated, before-compile): Use += rather than =.
436         * catgets/Makefile (generated, generated-dirs): Likewise.
437         * debug/Makefile (generated): Likewise.
438         * dlfcn/Makefile (generated): Likewise.
439         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
440         * iconvdata/Makefile (before-compile, generated): Likewise.
441         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
442         * libio/Makefile (generated): Likewise.
443         * malloc/Makefile (generated): Likewise.
444         * manual/Makefile (generated, generated-dirs): Likewise.
445         * misc/Makefile (generated): Likewise.
446         * posix/Makefile (generated): Likewise.
447         * resolv/Makefile (generated): Likewise.
448         * sunrpc/Makefile (generated, generated-dirs): Likewise.
449         * timezone/Makefile (generated, generated-dirs): Likewise.
451         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
453 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
456         implementation.
457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
458         POWER8 llround ifunc implementation.
459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
460         POWER8 implementation.
461         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
462         POWER8 llround implementation.
464 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
467         implementation.
468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
469         POWER8 llrint ifunc implementation.
470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
471         POWER8 implementation.
472         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
473         POWER8 llrint implementation.
475 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
478         implementation.
479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
480         POWER8 finite ifunc implementation.
481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
482         POWER8 implementation.
483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
484         Likewise.
485         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
486         POWER8 finite implementation.
487         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
489 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
492         implementation.
493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
494         POWER8 isinf ifunc implementation.
495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
496         POWER8 implementation.
497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
498         Likewise.
499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
500         POWER8 isinf implementation.
501         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
503 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
505         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
506         Add hwcap2 initialization.
507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
508         implementation.
509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
510         POWER8 isnan ifunc implementation.
511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
512         POWER8 implementation.
513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
514         Likewise.
515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
516         POWER8 isnan implementation.
517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
519 2014-02-27  Joey Ye  <joey.ye@arm.com>
521         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
522         (_FP_NANFRAC_Q): Set to zero.
524 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
526         [BZ #16623]
527         * math/auto-libm-test-in: New test inputs.
528         * math/auto-libm-test-out: Regenerate.
529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
530         and DA.
531         (__cos): Likewise.
532         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
534 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
536         * scripts/evaluate-test.sh: Take new argument indicating whether
537         failure is expected.
538         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
539         indicating whether failure is expected.
540         * conform/Makefile (test-xfail-run-conformtest): New variable.
541         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
542         level.
543         * posix/Makefile (test-xfail-annexc): New variable.
544         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
546 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
548         * argp/Makefile: Include Makeconfig immediately after defining
549         subdir.
550         * assert/Makefile: Likewise.
551         * benchtests/Makefile: Likewise.
552         * catgets/Makefile: Likewise.
553         * conform/Makefile: Likewise.
554         * crypt/Makefile: Likewise.
555         * csu/Makefile: Likewise.
556         (all): Remove target.
557         * ctype/Makefile: Include Makeconfig immediately after defining
558         subdir.
559         * debug/Makefile: Likewise.
560         * dirent/Makefile: Likewise.
561         * dlfcn/Makefile: Likewise.
562         * gmon/Makefile: Likewise.
563         * gnulib/Makefile: Likewise.
564         * grp/Makefile: Likewise.
565         * gshadow/Makefile: Likewise.
566         * hesiod/Makefile: Likewise.
567         * hurd/Makefile: Likewise.
568         (all): Remove target.
569         * iconvdata/Makefile: Include Makeconfig immediately after
570         defining subdir.
571         * inet/Makefile: Likewise.
572         * intl/Makefile: Likewise.
573         * io/Makefile: Likewise.
574         * libio/Makefile: Likewise.
575         (all): Remove target.
576         * locale/Makefile: Include Makeconfig immediately after defining
577         subdir.
578         * login/Makefile: Likewise.
579         * mach/Makefile: Likewise.
580         (all): Remove target.
581         * malloc/Makefile: Include Makeconfig immediately after defining
582         subdir.
583         (all): Remove target.
584         * manual/Makefile: Include Makeconfig immediately after defining
585         subdir.
586         * math/Makefile: Likewise.
587         * misc/Makefile: Likewise.
588         * nis/Makefile: Likewise.
589         * nss/Makefile: Likewise.
590         * po/Makefile: Likewise.
591         (all): Remove target.
592         * posix/Makefile: Include Makeconfig immediately after defining
593         subdir.
594         * pwd/Makefile: Likewise.
595         * resolv/Makefile: Likewise.
596         * resource/Makefile: Likewise.
597         * rt/Makefile: Likewise.
598         * setjmp/Makefile: Likewise.
599         * shadow/Makefile: Likewise.
600         * signal/Makefile: Likewise.
601         * socket/Makefile: Likewise.
602         * soft-fp/Makefile: Likewise.
603         * stdio-common/Makefile: Likewise.
604         * stdlib/Makefile: Likewise.
605         * streams/Makefile: Likewise.
606         * string/Makefile: Likewise.
607         * sunrpc/Makefile: Likewise.
608         (all): Remove target.
609         * sysvipc/Makefile: Include Makeconfig immediately after defining
610         subdir.
611         * termios/Makefile: Likewise.
612         * time/Makefile: Likewise.
613         * timezone/Makefile: Likewise.
614         (all): Remove target.
615         * wcsmbs/Makefile: Include Makeconfig immediately after defining
616         subdir.
617         * wctype/Makefile: Likewise.
619 2014-02-26  Steve Ellcey  <sellcey@mips.com>
621         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
622         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
623         (libc_feholdexcept_setround_mips): Ditto.
624         (libc_feholdsetround): New.
625         (libc_feholdsetroundf): New.
626         (libc_feholdsetroundl): New.
627         (libc_feupdateenv_test_mips): New.
628         (libc_feupdateenv_test): New.
629         (libc_feupdateenv_testf): New.
630         (libc_feupdateenv_testl): New.
631         (libc_feresetround): New.
632         (libc_feresetroundf): New.
633         (libc_feresetroundl): New.
634         (libc_fetestexcept_mips): New.
635         (libc_fetestexcept): New.
636         (libc_fetestexceptf): New.
637         (libc_fetestexceptl): New.
638         (HAVE_RM_CTX): New.
639         (libc_feholdexcept_setround_mips_ctx): New.
640         (libc_feholdexcept_setround_ctx): New.
641         (libc_feholdexcept_setroundf_ctx): New.
642         (libc_feholdexcept_setroundl_ctx): New.
643         (libc_fesetenv_mips_ctx): New.
644         (libc_fesetenv_ctx): New.
645         (libc_fesetenv_ctxf): New.
646         (libc_fesetenv_ctxl): New.
647         (libc_feupdateenv_mips_ctx): New.
648         (libc_feupdateenv_ctx): New.
649         (libc_feupdateenvf_ctx): New.
650         (libc_feupdateenvl_ctx): New.
651         (libc_feholdsetround_mips_ctx): New.
652         (libc_feholdsetround_ctx): New.
653         (libc_feholdsetroundf_ctx): New.
654         (libc_feholdsetroundl_ctx): New.
655         (libc_feresetround_mips_ctx): New.
656         (libc_feresetround_ctx): New.
657         (libc_feresetroundf_ctx): New.
658         (libc_feresetroundl_ctx): New.
660 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
662         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
664         * manual/ipc.texi: New file.
665         * manual/Makefile (chapters): Add ipc.
666         * manual/job.texi: Add "Inter-Process Communication" to next.
667         * manual/process.texi: Add "Inter-Process Communication" to prev.
669 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
673 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
675         * malloc/malloc.c (__libc_calloc): Simplify implementation.
677         * manual/arith.texi: Fix spaces after sentences.
678         * manual/charset.texi: Likewise.
679         * manual/errno.texi: Likewise.
680         * manual/install.texi: Likewise.
681         * manual/llio.texi: Likewise.
682         * manual/locale.texi: Likewise.
683         * manual/maint.texi: Likewise.
684         * manual/math.texi: Likewise.
685         * manual/memory.texi: Likewise.
686         * manual/message.texi: Likewise.
687         * manual/probes.texi: Likewise.
688         * manual/resource.texi: Likewise.
689         * manual/signal.texi: Likewise.
690         * manual/socket.texi: Likewise.
691         * manual/stdio.texi: Likewise.
692         * manual/string.texi: Likewise.
693         * manual/time.texi: Likewise.
694         * manual/users.texi: Likewise.
696 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
698         [BZ #16632]
699         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
700         _DEFAULT_SOURCE is defined.
702 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
703             Carlos O'Donell  <carlos@redhat.com>
705         [BZ #16613]
706         * elf/dl-tls.c (_dl_count_modids): New function.
707         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
708         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
709         audit library and increment generation counter.
710         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
711         * elf/tst-audit9.c: New file.
712         * elf/tst-auditmod9a.c: New file.
713         * elf/tst-auditmod9b.c: New file.
714         * elf/Makefile: Add rules to build and run tst-audit9.
716 2014-02-25  Florian Weimer  <fweimer@redhat.com>
718         [BZ #15347]
719         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
721 2014-02-25  Will Newton  <will.newton@linaro.org>
723         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
724         (__longjmp): Restore sp and lr before restoring callee
725         saved registers.  Add longjmp and longjmp_target
726         SystemTap probe point.
727         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
728         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
729         Define to zero to match jmpbuf layout.
730         * sysdeps/arm/setjmp.S: Include stap-probe.h.
731         (__sigsetjmp): Save sp and lr before saving callee
732         saved registers.  Add setjmp SystemTap probe point.
734 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
736         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
738 2014-02-24  Andreas Schwab  <schwab@suse.de>
740         [BZ #15804]
741         * elf/pldd.c (wait_for_ptrace_stop): New function.
742         (main): Call it after attaching.
744 2014-02-22  Roland McGrath  <roland@hack.frob.com>
746         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
747         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
748         Versions files is now verboten.
749         * hurd/Versions (libc: GLIBC_2.0):
750         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
751         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
752         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
753         * mach/Versions: Likewise.
755         * csu/Versions: Remove unused %include.
756         * resolv/Versions: Likewise.
758 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
760         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
761         ($(objpfx)check-local-headers.out): Likewise.
762         ($(objpfx)begin-end-check.out): Likewise.
763         * Makerules (check-abi-%.out): Likewise.
764         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
765         ($(objpfx)test2.cat): Likewise.
766         ($(objpfx)de/libc.cat): Likewise.
767         ($(objpfx)test-gencat.out): Likewise.
768         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
769         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
770         ($(objpfx)noload-mem): Likewise.
771         ($(objpfx)tst-pathopt.out): Likewise.
772         ($(objpfx)tst-rtld-load-self.out): Likewise.
773         ($(objpfx)tst-array1-cmp.out): Likewise.
774         ($(objpfx)tst-array1-static-cmp.out): Likewise.
775         ($(objpfx)tst-array2-cmp.out): Likewise.
776         ($(objpfx)tst-array3-cmp.out): Likewise.
777         ($(objpfx)tst-array4-cmp.out): Likewise.
778         ($(objpfx)tst-array5-cmp.out): Likewise.
779         ($(objpfx)tst-array5-static-cmp.out): Likewise.
780         ($(objpfx)check-textrel.out): Likewise.
781         ($(objpfx)check-execstack.out): Likewise.
782         ($(objpfx)check-localplt.out): Likewise.
783         ($(objpfx)order2-cmp.out): Likewise.
784         ($(objpfx)tst-leaks1-mem): Likewise.
785         ($(objpfx)tst-leaks1-static-mem): Likewise.
786         ($(objpfx)tst-initorder-cmp.out): Likewise.
787         ($(objpfx)tst-initorder2-cmp.out): Likewise.
788         ($(objpfx)tst-unused-dep.out): Likewise.
789         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
790         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
791         * iconv/Makefile (test-iconvconfig): Likewise.
792         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
793         ($(objpfx)iconv-test.out): Likewise.
794         ($(objpfx)tst-tables.out): Likewise.
795         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
796         ($(objpfx)tst-gettext.out): Likewise.
797         ($(objpfx)tst-translit.out): Likewise.
798         ($(objpfx)tst-gettext2.out): Likewise.
799         ($(objpfx)tst-gettext4.out): Likewise.
800         ($(objpfx)tst-gettext6.out): Likewise.
801         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
802         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
803         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
804         ($(objpfx)tst-fopenloc-mem.out): Likewise.
805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
806         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
807         * posix/Makefile ($(objpfx)globtest.out): Likewise.
808         ($(objpfx)wordexp-tst.out): Likewise.
809         ($(objpfx)annexc.out): Likewise.
810         ($(objpfx)tst-fnmatch-mem): Likewise.
811         ($(objpfx)bug-regex2-mem): Likewise.
812         ($(objpfx)bug-regex14-mem): Likewise.
813         ($(objpfx)bug-regex21-mem): Likewise.
814         ($(objpfx)bug-regex31-mem): Likewise.
815         ($(objpfx)tst-vfork3-mem): Likewise.
816         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
817         ($(objpfx)tst-pcre-mem): Likewise.
818         ($(objpfx)tst-boost-mem): Likewise.
819         ($(objpfx)tst-getconf.out): Likewise.
820         ($(objpfx)bug-ga2-mem): Likewise.
821         ($(objpfx)bug-glob2-mem): Likewise.
822         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
823         ($(objpfx)mtrace-tst-leaks2): Likewise.
824         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
825         ($(objpfx)tst-printf.out): Likewise.
826         ($(objpfx)tst-setvbuf1.out): Likewise.
827         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
828         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
829         ($(objpfx)tst-fmtmsg.out): Likewise.
830         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
831         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
833         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
834         * bits/sigaction.h [__USE_MISC]: Likewise.
835         * bits/waitstatus.h: Update #endif comments.
836         * ctype/ctype.h: Likewise.
837         * dirent/dirent.h: Likewise.
838         [__USE_MISC]: Remove redundant conditionals.
839         * grp/grp.h: Update #endif comments.
840         [__USE_GNU]: Remove redundant conditionals.
841         [__USE_MISC]: Likewise.
842         * inet/netinet/in.h [__USE_GNU]: Likewise.
843         * io/sys/stat.h [__USE_MISC]: Likewise.
844         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
845         * libio/bits/stdio.h: Update #endif comments.
846         [__USE_MISC]: Remove redundant conditionals.
847         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
848         * libio/stdio.h: Update #endif comments.
849         [__USE_MISC]: Remove redundant conditionals.
850         * math/bits/math-finite.h [__USE_MISC]: Likewise.
851         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
852         * math/math.h: Update #else and #endif comments.
853         [__USE_MISC]: Remove redundant conditionals.
854         * misc/sys/uio.h: Update #endif comments.
855         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
856         * posix/glob.h [__USE_MISC]: Likewise.
857         * posix/sys/types.h: Update #endif comments.
858         [__USE_MISC]: Remove redundant conditionals.
859         * posix/sys/wait.h: Update #endif comments.
860         [__USE_MISC]: Remove redundant conditionals.
861         * posix/unistd.h: Update #endif comments.
862         [__USE_MISC]: Remove redundant conditionals.
863         * pwd/pwd.h [__USE_GNU]: Likewise.
864         [__USE_MISC]: Likewise.
865         * resolv/netdb.h [__USE_GNU]: Likewise.
866         * signal/signal.h: Update #endif comments.
867         [__USE_MISC]: Remove redundant conditionals.
868         * stdlib/stdlib.h: Update #else and #endif comments.
869         [__USE_MISC]: Remove redundant conditionals.
870         [__USE_GNU]: Likewise.
871         * string/bits/string2.h [__USE_MISC]: Likewise.
872         * string/string.h: Update #endif comments.
873         [__USE_MISC]: Remove redundant conditionals.
874         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
875         Likewise.
876         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
877         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
878         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
879         Likewise.
880         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
881         Likewise.
882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
883         comments.
884         [__USE_MISC]: Remove redundant conditionals.
885         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
886         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
887         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
888         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
889         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
890         Likewise.
891         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
892         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
893         Likewise.
894         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
895         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
896         Likewise.
897         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
898         Likewise.
899         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
900         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
901         Likewise.
902         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
903         Likewise.
904         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
905         * sysdeps/x86/bits/string.h: Update #endif comments.
906         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
907         conditionals.
908         * time/sys/time.h: Update #endif comments.
909         * time/time.h: Likewise.
910         [__USE_MISC]: Remove redundant conditionals.
912 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
914         [BZ #16600]
915         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
917 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
919         * Versions.def (librt): Add GLIBC_2.17.
921 2014-02-21  Adam Conrad  <adconrad@0c3.net>
923         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
924         synonym for _SYS_AUXV_H to allow direct inclusion.
925         * sysdeps/sparc/bits/hwcap.h: Likewise.
926         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
927         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
928         * sysdeps/sparc/sysdep.h: Likewise.
930 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
932         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
934 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
936         * benchtests/bench-strrchr.c: Print length instead of position.
938 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
940         [BZ #16611]
941         * sysdeps/unix/sysv/linux/kernel-features.h
942         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
943         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
944         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
945         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
946         Likewise.
947         [__i386__ || __powerpc__ || __sh__ || __sparc__]
948         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
949         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
950         (__ASSUME_SENDMMSG): Define instead of using previous
951         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
952         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
953         (__ASSUME_SENDMMSG_SYSCALL): Define.
954         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
955         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
956         Likewise.
957         * sysdeps/unix/sysv/linux/arm/kernel-features.h
958         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
959         Likewise.
960         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
961         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
962         Likewise.
963         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
964         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
965         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
966         [__ASSUME_SENDMMSG]: Change conditionals to
967         [__ASSUME_SENDMMSG_SOCKETCALL].
968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
969         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
970         Define.
971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
972         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
973         Likewise.
974         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
975         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
976         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
977         [!__ASSUME_SENDMMSG]: Change conditional to
978         [!__ASSUME_SENDMMSG_SOCKETCALL].
979         * sysdeps/unix/sysv/linux/tile/kernel-features.h
980         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
981         Define.
983         [BZ #16610]
984         * sysdeps/unix/sysv/linux/kernel-features.h
985         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
986         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
987         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
988         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
989         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
990         [__i386__ || __sparc__]
991         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
992         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
993         (__ASSUME_RECVMMSG): Define instead of using previous
994         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
995         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
996         (__ASSUME_RECVMMSG_SYSCALL): Define.
997         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
998         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
999         Likewise.
1000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1001         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1002         Likewise.
1003         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1005         Likewise.
1006         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1007         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1008         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1009         [__ASSUME_RECVMMSG]: Change condition to
1010         [__ASSUME_RECVMMSG_SOCKETCALL].
1011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1013         Define.
1014         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1016         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1017         Likewise.
1018         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
1019         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1020         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1021         [!__ASSUME_RECVMMSG]: Change condition to
1022         [!__ASSUME_RECVMMSG_SOCKETCALL].
1023         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1024         (__ASSUME_RECVMMSG_SYSCALL): Define.
1026         [BZ #16609]
1027         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
1028         __powerpc__ || __s390__ || __sh__ || __sparc__]
1029         (__ASSUME_SOCKETCALL): Define.
1030         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
1031         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
1032         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
1033         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
1034         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1035         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1036         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
1037         (__ASSUME_ACCEPT4): Define instead of using previous
1038         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
1039         __powerpc__ || __sparc__ || __s390__)] condition.
1040         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1041         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1042         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
1043         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1044         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1045         [!__ASSUME_ACCEPT4]: Change condition to
1046         [!__ASSUME_ACCEPT4_SOCKETCALL].
1047         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1048         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
1049         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
1050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1051         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
1052         __ASSUME_ACCEPT4_SYSCALL.
1053         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
1054         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
1055         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1056         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
1057         __ASSUME_ACCEPT4_SYSCALL.
1058         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
1059         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1060         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1061         [__ASSUME_ACCEPT4]: Change condition to
1062         [__ASSUME_ACCEPT4_SOCKETCALL].
1063         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1064         (__ASSUME_SOCKETCALL): Define.
1065         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
1066         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1067         (__ASSUME_SOCKETCALL): Define.
1068         (__ASSUME_ACCEPT4): Remove.
1069         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
1070         Define.
1071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1072         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
1073         Likewise.
1074         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1075         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1077         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
1078         macro.
1079         (HWCAP_ARM_LPAE): Likewise.
1080         (HWCAP_ARM_EVTSTRM): Likewise.
1081         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
1082         Add vpfd32, lpae and evtstrm.
1083         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1084         Increase to 22.
1086 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
1088         * math/auto-libm-test-in: Add tests of clog10.
1089         * math/auto-libm-test-out: Regenerated.
1090         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
1091         * sysdeps/i386/fpu/libm-test-ulps: Update.
1092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094 2014-02-18  Andreas Schwab  <schwab@suse.de>
1096         [BZ #16574]
1097         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
1098         Store non-zero if the second buffer was newly allocated.
1099         (send_dg): Likewise.
1100         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
1101         to send_vc and send_dg.
1102         (res_nsend): Pass NULL for ansp2_malloced.
1103         * resolv/res_query.c (__libc_res_nquery): Add parameter
1104         answerp2_malloced and pass it down to __libc_res_nsend.
1105         (res_nquery): Pass additional NULL to __libc_res_nquery.
1106         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
1107         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
1108         second answer buffer if answerp2_malloced was set.
1109         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
1110         (__libc_res_nquerydomain): Add parameter
1111         answerp2_malloced and pass it down to __libc_res_nquery.
1112         (res_nquerydomain): Pass additional NULL to
1113         __libc_res_nquerydomain.
1114         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
1115         additional NULL to __libc_res_nsend and __libc_res_nquery.
1116         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
1117         additional NULL to __libc_res_nsearch.
1118         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
1119         parameter of __libc_res_nsearch to check for separately allocated
1120         second buffer.
1121         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
1122         __libc_res_nquery.
1123         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
1124         additional NULL to __libc_res_nquery.
1125         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
1126         __libc_res_nsearch.
1127         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
1128         * include/resolv.h: Update prototypes of __libc_res_nquery,
1129         __libc_res_nsearch, __libc_res_nsend.
1131 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
1133         * math/auto-libm-test-in: Add tests of fma.
1134         * math/auto-libm-test-out: Regenerated.
1135         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
1136         (fma_towardzero_test_data): Likewise.
1137         (fma_downward_test_data): Likewise.
1138         (fma_upward_test_data): Likewise.
1139         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
1140         mpc_mode.
1141         (rounding_modes): Add values for new field.
1142         (func_calc_method): Add value mpfr_fff_f.
1143         (func_calc_desc): Add mpfr_fff_f union field.
1144         (test_function): Add field exact_args.
1145         (FUNC): Add macro argument EXACT_ARGS.
1146         (FUNC_mpfr_f_f): Update call to FUNC.
1147         (FUNC_mpfr_f_f): Likewise.
1148         (FUNC_mpfr_ff_f): Likewise.
1149         (FUNC_mpfr_if_f): Likewise.
1150         (FUNC_mpc_c_f): Likewise.
1151         (FUNC_mpc_c_c): Likewise.
1152         (test_functions): Add fma.  Update calls to FUNC.
1153         (handle_input_arg): Add argument exact_args.
1154         (add_test): Update call to handle_input_arg.
1155         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
1156         (output_for_one_input_case): Update call to calc_generic_results.
1157         Recalculate exact zero results in each rounding mode.
1159         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
1160         non-negative before setting low bit.
1161         * math/auto-libm-test-in: Mark one asin test possibly having
1162         spurious underflow.
1163         * math/auto-libm-test-out: Regenerated.
1164         * sysdeps/i386/fpu/libm-test-ulps: Update.
1165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1167 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
1169         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
1170         * sysdeps/unix/sysv/linux/microblaze: Move directory from
1171         ports/sysdeps/unix/sysv/linux/microblaze.
1172         * README: Add missing listing for microblaze*-*-linux-gnu.
1174 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
1176         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
1177         * sysdeps/unix/sysv/linux/ia64: Move directory from
1178         ports/sysdeps/unix/sysv/linux/ia64.
1179         * README: Update listing for ia64-*-linux-gnu.
1181 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
1182             Joseph Myers  <joseph@codesourcery.com>
1184         * Makeconfig (test-name): New variable.
1185         (evaluate-test): Likewise.
1186         * Makerules (do-test-clean): Remove .test-result files.
1187         (common-mostlyclean): Likewise.
1188         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
1189         * scripts/evaluate-test.sh: New file.
1191 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
1193         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
1194         separate $(objpfx)tst-fopenloc-cmp.out and
1195         $(objpfx)tst-fopenloc-mem.out targets.
1196         (tests): Update dependencies.
1197         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
1198         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
1199         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
1200         (tst-rxspencer-no-utf8-ARGS): New variable.
1201         (tst-rxspencer-no-utf8-ENV): Likewise.
1202         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
1203         instead of $(objpfx)tst-rxspencer-mem.
1204         ($(objpfx)tst-rxspencer-mem): Change target to
1205         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
1206         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
1207         * posix/tst-rxspencer-no-utf8.c: New file.
1209         * elf/Makefile ($(objpfx)order.out): Remove rule.
1210         [$(run-built-tests) = yes] (tests): Depend on
1211         $(objpfx)order-cmp.out.
1212         ($(objpfx)order-cmp.out): New rule.
1213         [$(run-built-tests) = yes] (tests): Depend on
1214         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
1215         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
1216         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
1217         $(objpfx)tst-array5-static-cmp.out.
1218         ($(objpfx)tst-array1.out): Remove rule.
1219         ($(objpfx)tst-array1-cmp.out): New rule.
1220         ($(objpfx)tst-array1-static.out): Remove rule.
1221         ($(objpfx)tst-array1-static-cmp.out): New rule.
1222         ($(objpfx)tst-array2.out): Remove rule.
1223         ($(objpfx)tst-array2-cmp.out): New rule.
1224         ($(objpfx)tst-array3.out): Remove rule.
1225         ($(objpfx)tst-array3-cmp.out): New rule.
1226         ($(objpfx)tst-array4.out): Remove rule.
1227         ($(objpfx)tst-array4-cmp.out): New rule.
1228         ($(objpfx)tst-array5.out): Remove rule.
1229         ($(objpfx)tst-array5-cmp.out): New rule.
1230         ($(objpfx)tst-array5-static.out): Remove rule.
1231         ($(objpfx)tst-array5-static-cmp.out): New rule.
1232         [$(run-built-tests) = yes] (tests): Depend on
1233         $(objpfx)order2-cmp.out.
1234         ($(objpfx)order2.out): Remove rule.
1235         ($(objpfx)order2-cmp.out): New rule.
1236         ($(objpfx)tst-initorder.out): Remove rule.
1237         [$(run-built-tests) = yes] (tests): Depend on
1238         $(objpfx)tst-initorder-cmp.out.
1239         ($(objpfx)tst-initorder-cmp.out): New rule.
1240         ($(objpfx)tst-initorder2.out): Remove rule.
1241         [$(run-built-tests) = yes] (tests): Depend on
1242         $(objpfx)tst-initorder2-cmp.out.
1243         ($(objpfx)tst-initorder2-cmp.out): New rule.
1244         [$(run-built-tests) = yes] (tests): Depend on
1245         $(objpfx)tst-unused-dep-cmp.out.
1246         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
1247         ($(objpfx)tst-unused-dep-cmp.out): New rule.
1248         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
1249         on $(objpfx)tst-setvbuf1-cmp.out.
1250         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
1251         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
1252         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
1253         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
1254         ($(objpfx)tst-svc.out): Remove rule.
1255         ($(objpfx)tst-svc-cmp.out): New rule.
1257 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
1259         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
1260         * ctype/ctype.h [__USE_MISC]: Likewise.
1261         * dirent/dirent.h [__USE_MISC]: Likewise.
1262         * grp/grp.h [__USE_MISC]: Likewise.
1263         * io/fcntl.h [__USE_MISC]: Likewise.
1264         * io/sys/stat.h [__USE_MISC]: Likewise.
1265         * libio/stdio.h [__USE_MISC]: Likewise.
1266         * posix/unistd.h [__USE_MISC]: Likewise.
1267         * pwd/pwd.h [__USE_MISC]: Likewise.
1268         * stdlib.h [__USE_MISC]: Likewise.
1269         * string/bits/string2.h [__USE_MISC]: Likewise.
1270         * string/string.h [__USE_MISC]: Likewise.
1271         * time/time.h [__USE_MISC]: Likewise.
1273 2014-02-13  Andreas Schwab  <schwab@suse.de>
1275         [BZ #16574]
1276         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
1277         second answer buffer if it was separately allocated.
1279 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1281         * sysdeps/mips/math-tests.h: Include <features.h>.
1282         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1283         (ROUNDING_TESTS_long_double): Do not define.
1284         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1285         (EXCEPTION_TESTS_long_double): Likewise.
1286         * sysdeps/mips/mips64/libm-test-ulps: Update.
1288         * include/features.h (__USE_BSD): Remove macro definitions.
1289         (__USE_SVID): Likewise.
1290         (_BSD_SOURCE): Likewise.
1291         (_SVID_SOURCE): Likewise.
1292         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
1293         from definition of _DEFAULT_SOURCE.
1294         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
1295         [_DEFAULT_SOURCE].
1296         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
1297         * bits/mman.h [__USE_BSD]: Likewise.
1298         * bits/termios.h [__USE_BSD]: Likewise.
1299         * bits/waitstatus.h [__USE_BSD]: Likewise.
1300         * ctype/ctype.h [__USE_SVID]: Likewise.
1301         * dirent/dirent.h [__USE_BSD]: Likewise.
1302         * grp/grp.h [__USE_SVID]: Likewise.
1303         [__USE_BSD]: Likewise.
1304         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
1305         * io/fcntl.h [__USE_BSD]: Likewise.
1306         * io/ftw.h [__USE_BSD]: Likewise.
1307         * io/sys/stat.h [__USE_BSD]: Likewise.
1308         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
1309         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
1310         * libio/stdio.h [__USE_SVID]: Likewise.
1311         [__USE_BSD]: Likewise.
1312         * math/math.h [__USE_SVID]: Likewise.
1313         [__USE_BSD]: Likewise.
1314         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
1315         * misc/bits/syslog.h [__USE_BSD]: Likewise.
1316         * misc/search.h [__USE_SVID]: Likewise.
1317         * misc/sys/mman.h [__USE_BSD]: Likewise.
1318         * misc/sys/syslog.h [__USE_BSD]: Likewise.
1319         * misc/sys/uio.h [__USE_BSD]: Likewise.
1320         * posix/bits/unistd.h [__USE_BSD]: Likewise.
1321         * posix/glob.h [__USE_BSD]: Likewise.
1322         * posix/regex.h [__USE_BSD]: Likewise.
1323         * posix/sys/types.h [__USE_BSD]: Likewise.
1324         [__USE_SVID]: Likewise.
1325         * posix/sys/utsname.h [__USE_SVID]: Likewise.
1326         * posix/sys/wait.h [__USE_BSD]: Likewise.
1327         [__USE_SVID]: Likewise.
1328         * posix/unistd.h [__USE_BSD]: Likewise.
1329         [__USE_SVID]: Likewise.
1330         * pwd/pwd.h [__USE_SVID]: Likewise.
1331         * resolv/netdb.h [__USE_BSD]: Likewise.
1332         * setjmp/setjmp.h [__USE_BSD]: Likewise.
1333         * signal/signal.h [__USE_BSD]: Likewise.
1334         [__USE_SVID]: Likewise.
1335         * socket/sys/socket.h [__USE_BSD]: Likewise.
1336         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
1337         * stdlib/stdlib.h [__USE_BSD]: Likewise.
1338         [__USE_SVID]: Likewise.
1339         * string/bits/string2.h [__USE_BSD]: Likewise.
1340         [__USE_SVID]: Likewise.
1341         * string/bits/string3.h [__USE_BSD]: Likewise.
1342         * string/endian.h [__USE_BSD]: Likewise.
1343         * string/string.h [__USE_SVID]: Likewise.
1344         [__USE_BSD]: Likewise.
1345         * string/strings.h [__USE_BSD]: Likewise.
1346         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
1347         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
1348         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
1349         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
1350         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
1351         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
1352         Likewise.
1353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
1356         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
1357         Likewise.
1358         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
1359         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
1360         Likewise.
1361         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
1362         Likewise.
1363         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
1364         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
1366         Likewise.
1367         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
1368         Likewise.
1369         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1370         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1371         * termios/termios.h [__USE_BSD]: Likewise.
1372         * time/sys/time.h [__USE_BSD]: Likewise.
1373         * time/time.h [__USE_BSD]: Likewise.
1374         [__USE_SVID]: Likewise.
1376         * Makefile (subdir_targets): Remove subdir_lint.out.
1378         * stdio-common/Makefile (do-tst-unbputc): Remove target.
1379         (do-tst-printf): Likewise.
1380         (tests): Depend directly on $(objpfx)tst-unbputc.out and
1381         $(objpfx)tst-printf.out.
1383         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1385         * Makerules (check-abi-%): Change target to
1386         $(objpfx)check-abi-%.out.
1387         (check-abi target): Update dependencies.
1388         (check-abi-pattern variable): Redirect output of diff to $@.
1389         (check-abi variable): Likewise.
1390         * elf/Makefile (check-abi): Update dependencies.
1392         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1393         unused.
1394         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1395         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1396         subnormal range.
1397         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1398         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1399         value has largest subnormal exponent.
1400         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1401         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1402         * sysdeps/aarch64/soft-fp/sfp-machine.h
1403         (_FP_TININESS_AFTER_ROUNDING): New macro.
1404         * sysdeps/alpha/soft-fp/sfp-machine.h
1405         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1406         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1407         Likewise.
1408         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1409         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1410         * sysdeps/mips/soft-fp/sfp-machine.h
1411         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1412         * sysdeps/powerpc/soft-fp/sfp-machine.h
1413         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1414         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1415         Likewise.
1416         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1417         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1418         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1419         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1420         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1421         Likewise.
1423 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
1425         [BZ #16545]
1426         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1427         model 1.
1429 2014-02-12  Richard Henderson  <rth@redhat.com>
1431         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1432         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1433         * sysdeps/unix/sysv/linux/alpha: Move directory from
1434         ports/sysdeps/unix/sysv/linux/alpha.
1435         * README: Update listing for alpha-*-linux-gnu.
1437 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
1439         * include/features.h: Update comment documenting feature test
1440         macros.
1441         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
1442         _DEFAULT_SOURCE.
1443         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1444         (_SVID_SOURCE): Likewise.
1445         (_DEFAULT_SOURCE): Update description of default features.
1446         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1447         with _GNU_SOURCE.
1448         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1449         (S_ISVTX): Likewise.
1450         * manual/math.texi (Mathematical Constants): Likewise.
1451         * manual/signal.texi (Interrupted Primitives): Likewise.
1452         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1453         * math/test-matherr.c (_SVID_SOURCE): Do not define.
1454         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1455         Don't refer to _SVID_SOURCE in warning text.
1457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1459         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1460         already defined.
1461         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1462         * sysdeps/mips/dl-lookup.c: Remove.
1463         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1465 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1467         [BZ #16447]
1468         * math/auto-libm-test-in: Add testcase for expl.
1469         * math/auto-libm-test-out: Regenerate.
1470         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1471         calculation of unsafe.
1472         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1474 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1476         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1477         * sysdeps/unix/sysv/linux/aarch64: Move directory from
1478         ports/sysdeps/unix/sysv/linux/aarch64.
1479         * README: Update listing for aarch64*-*-linux-gnu.
1481 2014-02-11  Will Newton  <will.newton@linaro.org>
1483         * manual/probes.texi (Mathematical Function Probes): Use
1484         "triggered" instead of "hit".
1486 2014-02-11  Will Newton  <will.newton@linaro.org>
1488         * manual/probes.texi (Internal Probes): Add documentation
1489         of setjmp, longjmp and longjmp_target probes.
1491 2014-02-11  Will Newton  <will.newton@linaro.org>
1493         * include/stap-probe.h: Add comment about probe argument
1494         format.
1496 2014-02-11  Will Newton  <will.newton@linaro.org>
1498         * malloc/mtrace.c (attribute_hidden): Remove unused macro
1499         definition.  (tr_where, tr_freehook, tr_mallochook,
1500         tr_reallochook, tr_memalignhook): Use ANSI protoype.
1502 2014-02-11  David S. Miller  <davem@davemloft.net>
1504         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1505         processing int_tests.
1507 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
1509         * sysdeps/mips: Move directory from ports/sysdeps/mips.
1510         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1511         * sysdeps/unix/sysv/linux/mips: Move directory from
1512         ports/sysdeps/unix/sysv/linux/mips.
1513         * README: Update listing for mips-*-linux-gnu and
1514         mips64-*-linux-gnu.
1516 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
1518         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1519         * sysdeps/unix/sysv/linux/m68k: Move directory from
1520         ports/sysdeps/unix/sysv/linux/m68k.
1521         * README: Update listing for m68k-*-linux-gnu.
1523 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
1525         * sysdeps/tile: Move directory from ports/sysdeps/tile.
1526         * sysdeps/unix/sysv/linux/generic: Move directory from
1527         ports/sysdeps/unix/sysv/linux/generic.
1528         * sysdeps/unix/sysv/linux/tile: Move directory from
1529         ports/sysdeps/unix/sysv/linux/tile.
1530         * README: Update listing for tile*-*-linux-gnu.
1532 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1534         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1535         * benchtests/bench-memmem.c (simple_memmem): Likewise.
1536         * catgets/open_catalog.c (__open_catalog): Likewise.
1537         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1538         * debug/confstr_chk.c: Likewise.
1539         * debug/fread_chk.c (__fread_chk): Likewise.
1540         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1541         * debug/getgroups_chk.c: Likewise.
1542         * debug/mbsnrtowcs_chk.c: Likewise.
1543         * debug/mbsrtowcs_chk.c: Likewise.
1544         * debug/mbstowcs_chk.c: Likewise.
1545         * debug/memcpy_chk.c: Likewise.
1546         * debug/memmove_chk.c: Likewise.
1547         * debug/mempcpy_chk.c: Likewise.
1548         * debug/memset_chk.c: Likewise.
1549         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1550         * debug/strcat_chk.c (__strcat_chk): Likewise.
1551         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1552         * debug/strncat_chk.c (__strncat_chk): Likewise.
1553         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1554         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1555         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1556         * debug/wcpncpy_chk.c: Likewise.
1557         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1558         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1559         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1560         * debug/wcsncpy_chk.c: Likewise.
1561         * debug/wcsnrtombs_chk.c: Likewise.
1562         * debug/wcsrtombs_chk.c: Likewise.
1563         * debug/wcstombs_chk.c: Likewise.
1564         * debug/wmemcpy_chk.c: Likewise.
1565         * debug/wmemmove_chk.c: Likewise.
1566         * debug/wmempcpy_chk.c: Likewise.
1567         * debug/wmemset_chk.c: Likewise.
1568         * dirent/scandirat.c (SCANDIRAT): Likewise.
1569         * dlfcn/dladdr1.c (dladdr1): Likewise.
1570         * dlfcn/dladdr.c (dladdr): Likewise.
1571         * dlfcn/dlclose.c (dlclose_doit): Likewise.
1572         * dlfcn/dlerror.c (__dlerror): Likewise.
1573         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1574         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1575         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1576         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1577         * dlfcn/dlsym.c (dlsym_doit): Likewise.
1578         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1579         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1580         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1581         Likewise.
1582         * elf/dl-conflict.c: Likewise.
1583         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1584         * elf/dl-dst.h: Likewise.
1585         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1586         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1587         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1588         * elf/dl-init.c (call_init, _dl_init): Likewise.
1589         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1590         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1591         _dl_map_object_from_fd, open_verify, open_path,
1592         _dl_map_object): Likewise.
1593         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1594         Likewise.
1595         * elf/dl-minimal.c (__libc_memalign): Likewise.
1596         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1597         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1598         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1599         * elf/dl-sym.c (do_sym): Likewise.
1600         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1601         _dl_tls_get_addr_soft): Likewise.
1602         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1603         * elf/dl-writev.h (_dl_writev): Likewise.
1604         * elf/ldconfig.c (search_dir): Likewise.
1605         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1606         dl_main): Likewise.
1607         * elf/setup-vdso.h (setup_vdso): Likewise.
1608         * grp/compat-initgroups.c (compat_call): Likewise.
1609         * grp/fgetgrent.c (fgetgrent): Likewise.
1610         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1611         * grp/putgrent.c (putgrent): Likewise.
1612         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1613         Likewise.
1614         * hurd/hurdinit.c: Likewise.
1615         * iconvdata/8bit-gap.c (struct): Likewise.
1616         * iconvdata/ansi_x3.110.c : Likewise.
1617         * iconvdata/big5.c : Likewise.
1618         * iconvdata/big5hkscs.c : Likewise.
1619         * iconvdata/cp1255.c: Likewise.
1620         * iconvdata/cp1258.c : Likewise.
1621         * iconvdata/cp932.c : Likewise.
1622         * iconvdata/euc-cn.c: Likewise.
1623         * iconvdata/euc-jisx0213.c : Likewise.
1624         * iconvdata/euc-jp.c: Likewise.
1625         * iconvdata/euc-jp-ms.c : Likewise.
1626         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1627         * iconvdata/gb18030.c : Likewise.
1628         * iconvdata/gbbig5.c (const): Likewise.
1629         * iconvdata/gbgbk.c: Likewise.
1630         * iconvdata/gbk.c : Likewise.
1631         * iconvdata/ibm1364.c : Likewise.
1632         * iconvdata/ibm930.c : Likewise.
1633         * iconvdata/ibm932.c: Likewise.
1634         * iconvdata/ibm933.c : Likewise.
1635         * iconvdata/ibm935.c : Likewise.
1636         * iconvdata/ibm937.c : Likewise.
1637         * iconvdata/ibm939.c : Likewise.
1638         * iconvdata/ibm943.c: Likewise.
1639         * iconvdata/iso_11548-1.c: Likewise.
1640         * iconvdata/iso-2022-cn.c : Likewise.
1641         * iconvdata/iso-2022-cn-ext.c : Likewise.
1642         * iconvdata/iso-2022-jp-3.c: Likewise.
1643         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1644         * iconvdata/iso-2022-kr.c : Likewise.
1645         * iconvdata/iso646.c (gconv_end): Likewise.
1646         * iconvdata/iso_6937-2.c : Likewise.
1647         * iconvdata/iso_6937.c : Likewise.
1648         * iconvdata/iso8859-1.c: Likewise.
1649         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1650         * iconvdata/shift_jisx0213.c : Likewise.
1651         * iconvdata/sjis.c : Likewise.
1652         * iconvdata/t.61.c : Likewise.
1653         * iconvdata/tcvn5712-1.c : Likewise.
1654         * iconvdata/tscii.c: Likewise.
1655         * iconvdata/uhc.c : Likewise.
1656         * iconvdata/unicode.c (gconv_end): Likewise.
1657         * iconvdata/utf-16.c (gconv_end): Likewise.
1658         * iconvdata/utf-32.c (gconv_end): Likewise.
1659         * iconvdata/utf-7.c (base64): Likewise.
1660         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1661         * iconv/gconv_close.c (__gconv_close): Likewise.
1662         * iconv/gconv_open.c (__gconv_open): Likewise.
1663         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1664         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1665         internal_ucs4le_loop_single, ucs4le_internal_loop,
1666         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1667         * iconv/iconv.c (iconv): Likewise.
1668         * iconv/iconv_close.c: Likewise.
1669         * iconv/loop.c (SINGLE): Likewise.
1670         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1671         * include/atomic.h: Likewise.
1672         * inet/inet6_option.c (option_alloc): Likewise.
1673         * intl/bindtextdom.c (set_binding_values): Likewise.
1674         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1675         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1676         * intl/localealias.c (read_alias_file): Likewise.
1677         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1678         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1679         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1680         * libio/fmemopen.c (fmemopen): Likewise.
1681         * libio/iofgets.c (_IO_fgets): Likewise.
1682         * libio/iofgets_u.c (fgets_unlocked): Likewise.
1683         * libio/iofgetws.c (fgetws): Likewise.
1684         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1685         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1686         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1687         adjust_wide_data, _IO_wfile_seekoff): Likewise.
1688         * locale/findlocale.c (_nl_find_locale): Likewise.
1689         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1690         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1691         Likewise.
1692         * locale/setlocale.c (setlocale): Likewise.
1693         * login/programs/pt_chown.c (main): Likewise.
1694         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1695         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1696         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1697         mmap, mmap64, mremap, munmap): Likewise.
1698         * math/e_exp2l.c: Likewise.
1699         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1700         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1701         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1702         * math/s_catan.c (__catan): Likewise.
1703         * math/s_catanf.c (__catanf): Likewise.
1704         * math/s_catanh.c (__catanh): Likewise.
1705         * math/s_catanhf.c (__catanhf): Likewise.
1706         * math/s_catanhl.c (__catanhl): Likewise.
1707         * math/s_catanl.c (__catanl): Likewise.
1708         * math/s_ccosh.c (__ccosh): Likewise.
1709         * math/s_ccoshf.c (__ccoshf): Likewise.
1710         * math/s_ccoshl.c (__ccoshl): Likewise.
1711         * math/s_cexp.c (__cexp): Likewise.
1712         * math/s_cexpf.c (__cexpf): Likewise.
1713         * math/s_cexpl.c (__cexpl): Likewise.
1714         * math/s_clog10.c (__clog10): Likewise.
1715         * math/s_clog10f.c (__clog10f): Likewise.
1716         * math/s_clog10l.c (__clog10l): Likewise.
1717         * math/s_clog.c (__clog): Likewise.
1718         * math/s_clogf.c (__clogf): Likewise.
1719         * math/s_clogl.c (__clogl): Likewise.
1720         * math/s_csin.c (__csin): Likewise.
1721         * math/s_csinf.c (__csinf): Likewise.
1722         * math/s_csinh.c (__csinh): Likewise.
1723         * math/s_csinhf.c (__csinhf): Likewise.
1724         * math/s_csinhl.c (__csinhl): Likewise.
1725         * math/s_csinl.c (__csinl): Likewise.
1726         * math/s_csqrt.c (__csqrt): Likewise.
1727         * math/s_csqrtf.c (__csqrtf): Likewise.
1728         * math/s_csqrtl.c (__csqrtl): Likewise.
1729         * math/s_ctan.c (__ctan): Likewise.
1730         * math/s_ctanf.c (__ctanf): Likewise.
1731         * math/s_ctanh.c (__ctanh): Likewise.
1732         * math/s_ctanhf.c (__ctanhf): Likewise.
1733         * math/s_ctanhl.c (__ctanhl): Likewise.
1734         * math/s_ctanl.c (__ctanl): Likewise.
1735         * math/w_pow.c: Likewise.
1736         * math/w_powf.c: Likewise.
1737         * math/w_powl.c: Likewise.
1738         * math/w_scalb.c (sysv_scalb): Likewise.
1739         * math/w_scalbf.c (sysv_scalbf): Likewise.
1740         * math/w_scalbl.c (sysv_scalbl): Likewise.
1741         * misc/error.c (error_tail): Likewise.
1742         * misc/pselect.c (__pselect): Likewise.
1743         * nis/nis_callback.c (__nis_create_callback): Likewise.
1744         * nis/nis_call.c (__nisfind_server): Likewise.
1745         * nis/nis_creategroup.c (nis_creategroup): Likewise.
1746         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1747         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1748         * nis/nis_getservlist.c (nis_getservlist): Likewise.
1749         * nis/nis_lookup.c (nis_lookup): Likewise.
1750         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1751         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1752         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1753         * nis/nis_xdr.c (xdr_endpoint): Likewise.
1754         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1755         internal_getgrgid_r): Likewise.
1756         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1757         Likewise.
1758         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1759         internal_getpwuid_r): Likewise.
1760         * nis/nss_compat/compat-spwd.c (getspent_next_file,
1761         internal_getspnam_r): Likewise.
1762         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1763         _nss_nis_getaliasbyname_r): Likewise.
1764         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1765         _nss_nis_getntohost_r): Likewise.
1766         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1767         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1768         Likewise.
1769         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1770         internal_nis_gethostent_r, internal_gethostbyname2_r,
1771         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1772         _nss_nis_gethostbyname4_r): Likewise.
1773         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1774         initgroups_netid): Likewise.
1775         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1776         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1777         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1778         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1779         _nss_nis_getprotobynumber_r): Likewise.
1780         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1781         _nss_nis_getsecretkey): Likewise.
1782         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1783         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1784         Likewise.
1785         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1786         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1787         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1788         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1789         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1790         _nss_nis_getspnam_r): Likewise.
1791         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1792         Likewise.
1793         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1794         _nss_nisplus_getntohost_r): Likewise.
1795         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1796         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1797         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1798         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1799         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1800         Likewise.
1801         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1802         _nss_nisplus_getnetbyaddr_r): Likewise.
1803         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1804         _nss_nisplus_getprotobynumber_r): Likewise.
1805         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1806         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1807         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1808         Likewise.
1809         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1810         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1811         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1812         _nss_nisplus_getspnam_r): Likewise.
1813         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1814         * nscd/aicache.c (addhstaiX): Likewise.
1815         * nscd/cache.c (cache_search, prune_cache): Likewise.
1816         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1817         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1818         * nscd/grpcache.c (addgrbyX): Likewise.
1819         * nscd/hstcache.c (addhstbyX): Likewise.
1820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1821         * nscd/mem.c (gc, mempool_alloc): Likewise.
1822         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1823         Likewise.
1824         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1825         Likewise.
1826         * nscd/nscd_getai.c (__nscd_getai): Likewise.
1827         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1828         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1829         Likewise.
1830         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1831         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1832         * nscd/nscd_helper.c (__readvall, open_socket,
1833         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1834         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1835         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1836         * nscd/pwdcache.c (addpwbyX): Likewise.
1837         * nscd/selinux.c (preserve_capabilities): Likewise.
1838         * nscd/servicescache.c (addservbyX): Likewise.
1839         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1840         * posix/fnmatch.c (fnmatch): Likewise.
1841         * posix/getopt.c (_getopt_internal_r): Likewise.
1842         * posix/glob.c (glob, glob_in_dir): Likewise.
1843         * posix/wordexp.c (exec_comm_child): Likewise.
1844         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1845         gaih_getanswer_slice): Likewise.
1846         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1847         * resolv/res_init.c: Likewise.
1848         * resolv/res_mkquery.c (res_nmkquery): Likewise.
1849         * resolv/res_query.c (__libc_res_nquery): Likewise.
1850         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1851         Likewise.
1852         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1853         * stdio-common/perror.c (perror): Likewise.
1854         * stdio-common/printf_fp.c (___printf_fp): Likewise.
1855         * stdio-common/tmpnam.c (tmpnam): Likewise.
1856         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1857         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1858         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1859         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1860         * stdlib/putenv.c (putenv): Likewise.
1861         * stdlib/setenv.c (__add_to_environ): Likewise.
1862         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1863         * stdlib/strtol_l.c (INTERNAL): Likewise.
1864         * string/memmem.c (memmem): Likewise.
1865         * string/strerror.c (strerror): Likewise.
1866         * string/strnlen.c (__strnlen): Likewise.
1867         * string/test-memmem.c (simple_memmem): Likewise.
1868         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1869         * sunrpc/pm_getport.c (__get_socket): Likewise.
1870         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1871         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1872         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1873         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1874         Likewise.
1875         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1876         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1877         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1878         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1879         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1880         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1881         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1882         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1883         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1885         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1886         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1888         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1889         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1890         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1891         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1892         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1893         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1894         Likewise.
1895         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1896         Likewise.
1897         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1898         Likewise.
1899         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1900         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1901         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1902         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1903         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1904         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1905         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1906         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1907         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1909         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1910         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1911         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1912         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1914         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1915         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1916         Likewise.
1917         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1918         Likewise.
1919         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1920         Likewise.
1921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1923         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1924         Likewise.
1925         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1926         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1927         * sysdeps/posix/opendir.c (__opendirat): Likewise.
1928         * sysdeps/posix/sleep.c: Likewise.
1929         * sysdeps/posix/tempname.c: Likewise.
1930         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1931         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1932         Likewise.
1933         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1934         elf_machine_rela): Likewise.
1935         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1936         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1937         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1938         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1939         Likewise.
1940         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1941         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1942         elf_machine_rela, elf_machine_lazy_rel): Likewise.
1943         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1944         elf_machine_rela, elf_machine_lazy_rel): Likewise.
1945         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1946         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1947         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1948         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1949         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1950         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1951         elf_machine_lazy_rel): Likewise.
1952         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1953         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1954         elf_machine_lazy_rel): Likewise.
1955         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1956         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1957         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1958         * sysdeps/unix/grantpt.c (grantpt): Likewise.
1959         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1960         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1961         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1962         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1963         Likewise.
1964         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1965         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1966         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1967         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1968         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1969         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1970         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1971         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1972         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1973         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1974         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1975         Likewise.
1976         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1977         (__posix_fallocate64_l64): Likewise.
1978         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1979         (posix_fallocate): Likewise.
1980         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1981         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1982         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1983         getifaddrs_internal): Likewise.
1984         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1985         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1986         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1987         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1988         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1989         (__posix_fallocate64_l64): Likewise.
1990         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1991         Likewise.
1992         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1993         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1994         Likewise.
1995         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1996         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1997         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2000         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2001         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2002         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2003         Likewise.
2004         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2005         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2006         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2007         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2008         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2009         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
2010         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
2011         Likewise.
2012         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2013         (posix_fallocate): Likewise.
2014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2015         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2016         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
2017         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
2018         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2019         Likewise.
2020         * time/asctime.c (asctime_internal): Likewise.
2021         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
2022         * time/tzset.c (__tzset_parse_tz): Likewise.
2023         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2024         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2025         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2026         * wcsmbs/wcsmbsload.h: Likewise.
2028 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2030         [BZ #15894]
2031         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
2033 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2035         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
2036         arena_get2): Remove THREAD_STATS conditionals.
2037         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
2038         __malloc_stats, int): Likewise.
2040 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2042         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
2043         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
2045 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2047         * manual/setjmp.texi: Fix typos/grammar errors.
2049 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2051         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
2052         Only return early when n is <= 0.  Delete unused return statement.
2054 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2056         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
2057         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2058         * debug/tst-longjmp_chk3.c: New file.
2060 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2062         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
2063         (test_main): Replace code with set_fortify_handler call.
2064         * debug/test-strcpy_chk.c: Likewise.
2065         * debug/tst-chk1.c: Likewise.
2066         * debug/tst-longjmp_chk.c: Likewise.
2067         * test-skeleton.c: Include fcntl.h & paths.h
2068         (set_fortify_handler): Define.
2070 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2072         * debug/tst-longjmp_chk.c: Add header comment and include
2073         ../test-skeleton.c.
2074         (do_test): Mark static.
2075         (TEST_FUNCTION): Define.
2077 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2079         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
2080         (IP_PMTUDISC_INTERFACE): Likewise.
2081         (IP_MULTICAST_IF): Likewise.
2082         (IP_MULTICAST_TTL): Likewise.
2083         (IP_MULTICAST_LOOP): Likewise.
2084         (IP_ADD_MEMBERSHIP): Likewise.
2085         (IP_DROP_MEMBERSHIP): Likewise.
2086         (IP_UNBLOCK_SOURCE): Likewise.
2087         (IP_BLOCK_SOURCE): Likewise.
2088         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
2089         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
2090         (IP_MSFILTER): Likewise.
2091         (MCAST_JOIN_GROUP): Likewise.
2092         (MCAST_BLOCK_SOURCE): Likewise.
2093         (MCAST_UNBLOCK_SOURCE): Likewise.
2094         (MCAST_LEAVE_GROUP): Likewise.
2095         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2096         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2097         (MCAST_MSFILTER): Likewise.
2098         (IP_MULTICAST_ALL): Likewise.
2099         (IP_UNICAST_IF): Likewise.
2101 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2103         * timezone/Makefile: Delete $(have-ksh) check.
2104         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
2105         * timezone/tzselect.ksh: Add +x mode bits.
2107 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2109         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
2110         (ANON_INODE_FS_MAGIC): Likewise.
2111         (BDEVFS_MAGIC): Likewise.
2112         (BINFMTFS_MAGIC): Likewise.
2113         (BTRFS_TEST_MAGIC): Likewise.
2114         (CRAMFS_MAGIC_WEND): Likewise.
2115         (DEBUGFS_MAGIC): Likewise.
2116         (ECRYPTFS_SUPER_MAGIC): Likewise.
2117         (EXT3_SUPER_MAGIC): Likewise.
2118         (EXT4_SUPER_MAGIC): Likewise.
2119         (FUTEXFS_SUPER_MAGIC): Likewise.
2120         (HOSTFS_SUPER_MAGIC): Likewise.
2121         (HUGETLBFS_MAGIC): Likewise.
2122         (MINIX3_SUPER_MAGIC): Likewise.
2123         (MTD_INODE_FS_MAGIC): Likewise.
2124         (NILFS_SUPER_MAGIC): Likewise.
2125         (OPENPROM_SUPER_MAGIC): Likewise.
2126         (PIPEFS_MAGIC): Likewise.
2127         (PSTOREFS_MAGIC): Likewise.
2128         (QNX6_SUPER_MAGIC): Likewise.
2129         (RAMFS_MAGIC): Likewise.
2130         (REISERFS_SUPER_MAGIC_STRING): Likewise.
2131         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
2132         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
2133         (SECURITYFS_MAGIC): Likewise.
2134         (SELINUX_MAGIC): Likewise.
2135         (SMACK_MAGIC): Likewise.
2136         (SOCKFS_MAGIC): Likewise.
2137         (SQUASHFS_MAGIC): Likewise.
2138         (STACK_END_MAGIC): Likewise.
2139         (TMPFS_MAGIC): Likewise.
2140         (USBDEVICE_SUPER_MAGIC): Likewise.
2141         (V9FS_MAGIC): Likewise.
2142         (XENFS_SUPER_MAGIC): Likewise.
2143         (CRAMFS_MAGIC): Fix typo in comment.
2144         (EXT2_SUPER_MAGIC): Update comment.
2145         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
2147 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
2149         * sysdeps/arm: Move directory from ports/sysdeps/arm.
2150         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
2151         * sysdeps/unix/sysv/linux/arm: Move directory from
2152         ports/sysdeps/unix/sysv/linux/arm.
2153         * README: Update listing for arm-*-linux-gnueabi.
2155         * README: Remove mention of am33.
2157 2014-02-07  Roland McGrath  <roland@hack.frob.com>
2159         * bits/sigset.h (__sigemptyset): Use a statement expression rather
2160         than the comma operator, to avoid "rhs of comma has no effect"
2161         compiler warnings.
2162         (__sigfillset, __sigandset, __sigorset): Likewise.
2163         * include/signal.h (__sigemptyset): Likewise.
2164         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
2166 2014-02-07  Allan McRae  <allan@archlinux.org>
2168         * version.h (RELEASE): Set to "development".
2169         (VERSION): Set to "2.19.90"
2170         * NEWS: Add 2.20 section.
2172 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
2174         [BZ #16529]
2175         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
2177 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2179         * manual/contrib.texi: Update entry for Carlos O'Donell,
2180         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
2182 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
2184         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
2186         * sysdeps/unix/sysv/linux/kernel-features.h
2187         [__LINUX_KERNEL_VERSION >= 0x020621]
2188         (__ASSUME_PROC_PID_TASK_COMM): Define.
2190 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2192         [BZ #16398]
2193         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
2194         conversion when destination buffer does not have enough space.
2195         * libio/tst-ftell-partial-wide.c: New test case.
2196         * libio/Makefile (tests): Add tst-ftell-partial-wide.
2198         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
2199         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
2200         Leonard and Allan McRae.
2202 2014-02-04  David S. Miller  <davem@davemloft.net>
2204         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
2205         32-bit.
2207 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
2210         file
2211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2212         New file
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
2214         file.
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
2216         file.
2217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2218         New file.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
2220         file.
2221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
2222         file.
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2224         New file.
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2226         New file.
2227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2228         New file.
2229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2230         New file.
2231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2232         New file.
2233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2234         New file.
2236 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2238         * nptl/shlib-versions: Change powerpc*le start to 2.17.
2239         * shlib-versions: Likewise.
2241 2014-02-04  Roland McGrath  <roland@hack.frob.com>
2242             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2244         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
2245         (abilist-pattern): New variable, set to %-le.abilist.
2247         * Makerules (abilist-pattern): New variable.
2248         (vpath): Use $(abilist-pattern) in place of %.abilist.
2249         (check-abi-% pattern rule): Likewise.
2250         (check-abi, update-abi): Likewise.
2252 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2256 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2260 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
2262         * manual/startup.texi: Add next, previous, and top entries for
2263         the `Program Arguments' and `Environment Variables' nodes.
2265 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
2267         * manual/macros.texi: Add comments before MTASC-safety macros.
2269         * manual/users.texi: Document MTASC-safety properties.
2271         * manual/threads.texi (pthread_key_create, pthread_key_delete,
2272         pthread_getspecific, pthread_setspecific): Format with
2273         @deftypefun, and add @safety note.
2274         * manual/signal.texi: Move comments that analyze the above
2275         functions to their home place.
2277 2014-02-03  Allan McRae  <allan@archlinux.org>
2279         * po/sl.po: Update Slovenian translation from translation project.
2281 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
2283         * manual/time.texi (timegm): Add missing blank after @c.
2284         Reported by Joseph Myers <joseph@codesourcery.com>.
2286 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
2288         * manual/check-safety.sh: New.
2289         * manual/Makefile ($(objpfx)stamp-summary): Run it.
2291         * manual/terminal.texi: Document MTASC-safety properties.
2293         * manual/filesys.texi: Document MTASC-safety properties.
2295         * manual/errno.texi: Document MTASC-safety properties.
2297         * manual/intro.texi: Document safety identifiers and
2298         conditionals.
2300         * manual/string.texi (wcstok): Fix prototype.
2301         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2303         * manual/time.texi: Document MTASC-safety properties.
2305         * manual/string.texi: Document MTASC-safety properties.
2307         * manual/threads.texi: Document MTASC-safety properties.
2309         * manual/stdio.texi: Document MTASC-safety properties.
2311         * manual/syslog.texi: Document MTASC-safety properties.
2313         * manual/sysinfo.texi: Document MTASC-safety properties.
2315         * manual/startup.texi: Document MTASC-safety properties.
2317         * manual/socket.texi: Document MTASC-safety properties.
2319         * manual/signal.texi: Document MTASC-safety properties.
2321 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
2323         * manual/setjmp.texi: Document MTASC-safety properties.
2325         * manual/search.texi: Document MTASC-safety properties.
2327         * manual/resource.texi: Document MTASC-safety properties.
2329         * manual/process.texi: Document MTASC-safety properties.
2331         * manual/platform.texi: Document MTASC-safety properties.
2333         * manual/pipe.texi: Document MTASC-safety properties.
2335         * manual/pattern.texi: Document MTASC-safety properties.
2337         * manual/message.texi: Document MTASC-safety properties.
2339         [BZ #12751]
2340         * manual/memory.texi: Document MTASC-safety properties.
2342         * manual/math.texi: Document MTASC-safety properties.
2344         * manual/locale.texi: Document MTASC-safety properties.
2346         * manual/llio.texi: Document MTASC-safety properties.
2348         * manual/libdl.texi: New.
2350         * manual/lang.texi: Document MTASC-safety properties.
2352         * manual/job.texi: Document MTASC-safety properties.
2354         * manual/getopt.texi: Document MTASC-safety properties.
2356         * manual/ctype.texi: Document MTASC-safety properties.
2358 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
2360         [BZ #16046]
2361         * csu/libc-tls.c (static_map): Remove variable.
2362         (__libc_setup_tls): Use main executable's link map for TLS data.
2363         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
2364         casing for LM_ID_BASE and GL(dl_nns).
2365         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
2366         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
2367         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
2368         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2369         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2370         member.
2371         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2372         l_phnum members.
2374 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
2376         * manual/debug.texi: Document MTASC-safety properties.
2378 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2380         [BZ #16510]
2381         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2382         of __x86_64__ when disabling x87 inline functions.
2384 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
2386         * manual/charset.texi: Document MTASC-safety properties.
2388         * manual/crypt.texi: Document MTASC-safety properties.
2390         * manual/conf.texi: Document MTASC-safety properties.
2392         * manual/arith.texi: Document MTASC-safety properties.
2394         * manual/argp.texi: Document MTASC-safety properties.
2396         * manual/macros.texi: Introduce macros to document multi
2397         thread, asynchronous signal and asynchronous cancellation
2398         safety properties.
2399         * manual/intro.texi: Introduce the properties themselves.
2401 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2403         * sysdeps/sh/sh4/Makefile: New file.
2405 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
2407         * math/gen-libm-test.pl ($srcdir): New variable.
2408         ($auto_input): Use it.
2410 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2412         [BZ #16506]
2413         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2414         access beyond array bounds when parsing netgroups file.
2416         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2417         the old buffer before realloc.
2419 2014-01-27  Allan McRae  <allan@archlinux.org>
2421         * po/fr.po: Update French translation from translation project.
2423 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2425         * sysdeps/sh/libm-test-ulps: Regenerate.
2427 2014-01-24  David S. Miller  <davem@davemloft.net>
2429         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2431 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2433         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2434         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2436 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2438         [BZ #16474]
2439         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2440         string pointers after reallocation.
2442 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2444         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2445         __SH4A__ instead of __SH_FPU_ANY__.
2447 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2449         * sysdeps/sh/fpu_control.h: New file.
2450         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2451         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2452         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2453         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2454         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2455         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2456         * sysdeps/sh/sys/ucontext.h: Remove.
2457         * sysdeps/sh/sys: Remove directory.
2459 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2461         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2462         s390/sys/ucontext.h.
2463         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2464         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2466 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
2468         [BZ #15605]
2469         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2471 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2473         [BZ#16431]
2474         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2475         Adjust the vDSO correctly for internal calls.
2476         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2478 2014-01-20  Allan McRae  <allan@archlinux.org>
2480         * po/ca.po: Update Catalan translation from translation project.
2482 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
2484         * sysdeps/s390/sotruss-lib.c: New file.
2486 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2488         [BZ#16430]
2489         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2490         (__GI___gettimeofday): Alias for a different internal symbol to avoid
2491         local calls issues by not having a PLT stub required for IFUNC calls.
2492         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2494 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
2496         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2497         * math/test-fpucw-static.c: Likewise.
2499 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2501         [BZ #16453]
2502         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2504 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2506         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2507         implementation for powerpc.
2509 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
2511         [BZ #14782]
2512         * sysdeps/posix/system.c (__libc_system): Do not enable
2513         asynchronous cancellation.
2515 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2517         [BZ #16427]
2518         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2519         handling only for numbers special also in the IEEE case.
2521 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2523         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2525 2014-01-11  Allan McRae  <allan@archlinux.org>
2527         * po/bg.po: Update Bulgarian translation from translation project.
2529         * po/de.po: Update German translation from translation project.
2531 2014-01-10  Roland McGrath  <roland@hack.frob.com>
2533         * sysdeps/generic/gcc-compat.h: New file.
2535 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2537         * benchtests/asin-inputs: Correct slow inputs.
2538         * benchtests/acos-inputs: Likewise.
2540 2014-01-10  Allan McRae  <allan@archlinux.org>
2542         * po:sv.po: Update Swedish translation from translation project.
2544         * po/vi.po: Update Vietnamese translation from translation project.
2546         * po/eo.po: Update Esperanto translation from translation project.
2548         * po/cs.po: Update Czech translation from translation project.
2550         * po/nl.po: Update Dutch translation from translation project.
2552         * po/pl.po: Update Polish translation from translation project.
2554         * po/ru.po: Update Russian translation from translation project.
2556         * po/uk.po: Update Ukrainian translation from translation project.
2558 2014-01-08  Brooks Moses  <bmoses@google.com>
2560         * elf/dl-load.c: Fix comment typo.
2562 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
2564         * po/header.pot: Rename to...
2565         * po/pot.header: ... this.
2566         * po/Makefile: Use pot.header.
2568 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
2569             Maxim Kuvyrkov  <maxim@kugelworks.com>
2571         [BZ #16394]
2572         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2573         SRC and DEST against LEN.
2575 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2577         [BZ #16414]
2578         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2579         implementation.
2580         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2582 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2586 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
2588         [BZ #16408]
2589         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2590         for large positive arguments.
2592 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
2594         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2596         * math/auto-libm-test-in: Mark various tests with
2597         xfail-rounding:ldbl-128ibm.
2598         * math/auto-libm-test-out: Regenerated.
2600         [BZ #16407]
2601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2602         Increase overflow threshold.
2604 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
2606         [BZ #14286]
2607         * stdio-common/vfprintf.c: Check for integer overflow.
2609 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2611         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2612         the first argument and return value of __tls_get_addr_internal.
2614 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2616         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2617         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2619 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2621         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2622         * sysdeps/s390/rtld-global-offsets.sym: New file.
2623         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2624         GLIBC_2.19 symbol.
2625         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2627         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2628         ... this.
2629         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2630         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2631         ... this.
2632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2633         Regenerate.
2634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2635         Regenerate.
2636         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2637         halfs of GPRs for high_gprs contexts.
2638         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2639         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
2640         field.
2641         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2642         uc_flags field.
2643         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2644         64 bit versions:
2645         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2646         for high GPRs (uc_high_gprs) and for future extensions
2647         (__reserved).
2648         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2649         for future extensions (__reserved).
2650         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2651         64 bit versions:
2652         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2653         SC_HIGHGPRS offset definition.
2654         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2655         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2657 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2659         * Versions.def: Add GLIBC_2.19 for libpthread.
2660         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2661         siglongjmp for libpthread with GLIBC_2.19 symver.
2662         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2663         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2664         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2665         * sysdeps/s390/__longjmp.c: New file.
2666         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2667         * sysdeps/s390/longjmp.c: New file.
2668         * sysdeps/s390/setjmp.S: New file.
2669         * sysdeps/s390/sigjmp.S: New file.
2670         * sysdeps/s390/v1-longjmp.c: New file.
2671         * sysdeps/s390/v1-setjmp.h: New file.
2672         * sysdeps/s390/v1-sigjmp.c: New file.
2673         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2674         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2675         GLIBC_2.19 version.
2676         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2677         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2678         versioned symbols for ____longjmp_chk.
2679         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2680         Likewise.
2681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2682         Regenerate.
2683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2684         Regenerate.
2685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2686         Regenerate.
2687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2688         Regenerate.
2689         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2690         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2691         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2692         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2693         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2694         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2695         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2696         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2697         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2698         * sysdeps/s390/rtld-__longjmp.c: New file.
2699         * sysdeps/s390/rtld-setjmp.S: New file.
2701 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
2703         [BZ #16400]
2704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2705         Return -__logl (x) for small positive arguments without evaluating
2706         a polynomial.
2708 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
2710         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2711         Rename to ...
2712         (__ptrace_peeksiginfo_args): ... this.
2713         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2714         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2715         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2717 2014-01-06  Allan McRae  <allan@archlinux.org>
2719         * inet/netinet/in.h: Fix typo in comment.
2721 2014-01-05  Andreas Jaeger  <aj@suse.de>
2723         * sysdeps/i386/fpu/libm-test-ulps: Update.
2725 2014-01-05  Allan McRae  <allan@archlinux.org>
2727         * po/libc.pot: Regenerated.
2729         * malloc/memusagestat.c: Fix gettext call formatting.
2731 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
2733         * nscd/nscd.c: Improve usage() output.
2735 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
2737         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2738         * sysdeps/unix/sysv/linux/configure: Regenerated.
2739         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2740         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2742 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
2744         [BZ #16390]
2745         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2746         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2748 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2751         extra tokens at end of #undef directive.
2752         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2753         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2754         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2756 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
2758         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2760         * math/auto-libm-test-in: Mark various tests with
2761         xfail-rounding:ldbl-128ibm.
2762         * math/auto-libm-test-out: Regenerated.
2764 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
2766         [BZ #16386]
2767         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2768         numbers with subnormal high part when calculating exponent.
2770         [BZ #16385]
2771         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2772         fabs.
2774         [BZ #16384]
2775         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2776         M_LN2l.
2777         (__ieee754_acoshl): Use __log1pl not __log1p.
2779 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
2781         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2782         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2783         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2784         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2785         Convert to GNU style.
2786         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2787         mem2mem_check, mem2chunk_check, top_check, realloc_check,
2788         memalign_check, __malloc_set_state): Likewise.
2789         * malloc/mallocbug.c (main): Likewise.
2790         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2791         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2792         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2793         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2794         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2795         * malloc/malloc.h: Likewise.
2796         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2797         memalignhook, reallochook, mabort): Likewise.
2798         * malloc/mcheck.h: Likewise.
2799         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2800         mmap64, mremap, munmap, dest): Likewise.
2801         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2802         * malloc/morecore.c (__default_morecore): Likewise.
2803         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2804         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2805         _obstack_allocated_p, obstack_free, _obstack_memory_used,
2806         print_and_abort): Likewise.
2807         * malloc/obstack.h: Likewise.
2808         * malloc/set-freeres.c (__libc_freeres): Likewise.
2809         * malloc/tst-mallocstate.c (main): Likewise.
2810         * malloc/tst-mtrace.c (main): Likewise.
2811         * malloc/tst-realloc.c (do_test): Likewise.
2813 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2815         [BZ #16366]
2816         * nscd/netgroupcache.c (do_notfound): New function.
2817         (addgetnetgrentX): Use it.
2819         [BZ # 16365]
2820         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2821         NSS_STATUS_NOTFOUND.
2823 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
2825         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2828 2014-01-01  Allan McRae  <allan@archlinux.org>
2830         * scripts/update-copyrights: Update configure input file suffix.
2832         * NEWS: Update copyright year.
2833         * catgets/gencat.c: Likewise.
2834         * csu/version.c: Likewise.
2835         * debug/catchsegv.sh: Likewise.
2836         * debug/pcprofiledump.c: Likewise.
2837         * debug/xtrace.sh: Likewise.
2838         * elf/ldconfig.c: Likewise.
2839         * elf/ldd.bash.in: Likewise.
2840         * elf/pldd.c: Likewise.
2841         * elf/sotruss.ksh: Likewise.
2842         * elf/sprof.c: Likewise.
2843         * iconv/iconv_prog.c: Likewise.
2844         * iconv/iconvconfig.c: Likewise.
2845         * locale/programs/locale.c: Likewise.
2846         * locale/programs/localedef.c: Likewise.
2847         * login/programs/pt_chown.c: Likewise.
2848         * malloc/memusage.sh: Likewise.
2849         * malloc/memusagestat.c: Likewise.
2850         * malloc/mtrace.pl: Likewise.
2851         * manual/libc.texinfo: Likewise.
2852         * nscd/nscd.c: Likewise.
2853         * nss/getent.c: Likewise.
2854         * nss/makedb.c: Likewise.
2855         * posix/getconf.c: Likewise.
2856         * scripts/test-installation.pl: Likewise.
2858         * All files with FSF copyright notices: Update copyright dates
2859         using scripts/update-copyrights.
2860         * intl/plural.c: Regenerated.
2861         * locale/programs/charmap-kw.h: Likewise.
2862         * locale/programs/locfile-kw.h: Likewise.
2864 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
2866         * sysdeps/unix/sysv/linux/configure: Regenerated.
2867         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2868         the linux/fanotify.h header.
2869         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2870         HAVE_LINUX_FANOTIFY_H is defined.
2872 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2874         * benchtests/cos-inputs: New inputs.
2875         * benchtests/sin-inputs: Likewise.
2877         * benchtests/atan-inputs: New inputs. Fix name of multiple
2878         precision fallback inputs.
2880         * benchtests/atanh-inputs: New inputs.
2881         * benchtests/tanh-inputs: Likewise.
2883         * benchtests/acosh-inputs: New inputs.
2884         * benchtests/asinh-inputs: Likewise.
2886         * benchtests/cosh-inputs: New inputs.
2887         * benchtests/sinh-inputs: Likewise.
2889         * benchtests/acos-inputs: Add more inputs.
2890         * benchtests/asin-inputs: Likewise.
2892 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
2894         [BZ #16375]
2895         * manual/arith.texi: Fix spelling.
2896         * manual/charset.texi: Likewise.
2897         * manual/errno.texi: Likewise.
2898         * manual/filesys.texi: Likewise.
2899         * manual/lang.texi: Likewise.
2900         * manual/llio.texi: Likewise.
2901         * manual/locale.texi: Likewise.
2902         * manual/message.texi: Likewise.
2903         * manual/resource.texi: Likewise.
2904         * manual/search.texi: Likewise.
2905         * manual/setjmp.texi: Likewise.
2906         * manual/stdio.texi: Likewise.
2907         * manual/string.texi: Likewise.
2908         * manual/sysinfo.texi: Likewise.
2909         * manual/time.texi: Likewise.
2911 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
2913         * po/sl.po: New file.
2915 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
2917         * .gitignore: Add core/.gdbinit/.gdb_history.
2919 2013-12-27  Allan McRae  <allan@archlinux.org>
2921         [BZ #16369]
2922         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2923         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2925 2013-12-24  Brooks Moses  <bmoses@google.com>
2927         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2928         all compilers that claim C++98 compliance, not just GCC.
2929         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2930         Likewise.
2932 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
2934         * NEWS: Restore accidentally deleted bug-fix entries.
2936 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
2937             Ondřej Bílka  <neleai@seznam.cz>
2939         [BZ #15073]
2940         * malloc/malloc.c (_int_free): Perform sanity check only if we
2941         have_lock.
2943 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
2945         [BZ #12986]
2946         * manual/stdio.texi (String Input Conversions): Clarify that character
2947         classes are not supported.
2949 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2953 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
2955         [BZ #16337]
2956         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2957         Calculate results for small negative arguments directly rather
2958         than using reflection formula with special underflow handling.
2960         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2961         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2962         sysdeps/unix/bsd/bsd4.4/syscalls.list.
2963         (fchflags): Likewise.
2964         (revoke): Likewise.
2965         (setlogin): Likewise.
2966         (sigaltstack): Likewise.
2967         (wait4): Likewise.
2968         (sigblock): Remove.
2969         (sigsetmask): Likewise.
2970         (wait3): Likewise.
2971         (waitpid): Likewise.
2972         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2973         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2974         file.
2975         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2976         * sysdeps/unix/bsd/Makefile: ... here.
2977         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2978         * sysdeps/unix/bsd/Versions: ... here.
2979         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2980         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2981         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2982         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2983         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2984         * sysdeps/unix/bsd/sigblock.c: ... here.
2985         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2986         * sysdeps/unix/bsd/sigsetmask.c: ... here.
2987         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2988         * sysdeps/unix/bsd/sigvec.c: ... here.
2989         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2990         * sysdeps/unix/bsd/tcdrain.c: ... here.
2991         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2992         * sysdeps/unix/bsd/tcgetattr.c: ... here.
2993         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2994         * sysdeps/unix/bsd/tcsetattr.c: ... here.
2995         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2996         * sysdeps/unix/bsd/wait.c: ... here.
2997         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2998         * sysdeps/unix/bsd/wait3.c: ... here.
2999         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3000         * sysdeps/unix/bsd/waitpid.c: ... here.
3002 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
3004         [BZ #16356]
3005         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3006         round-to-nearest for [!USE_AS_EXPM1L].
3007         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3008         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
3009         more tests of exp and exp10.  Expect some exp10 tests to miss
3010         exceptions or fail in directed rounding modes.
3011         * math/auto-libm-test-out: Regenerated.
3012         * math/libm-test.inc (exp10_tonearest_test_data): New array.
3013         (exp10_test_tonearest): New function.
3014         (exp10_towardzero_test_data): New array.
3015         (exp10_test_towardzero): New function.
3016         (exp10_downward_test_data): New array.
3017         (exp10_test_downward): New function.
3018         (exp10_upward_test_data): New array.
3019         (exp10_test_upward): New function.
3020         (main): Call the new functions.
3021         * sysdeps/i386/fpu/libm-test-ulps: Update.
3022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3024 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
3026         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3027         asinh, atan, atan2, atanh, cbrt, cos and cosh.
3028         * math/auto-libm-test-out: Regenerated.
3029         * math/libm-test.inc (acosh_test_data): Add more tests.
3030         (atanh_test_data): Likewise.
3031         (ceil_test_data): Likewise.
3032         (copysign_test_data): Likewise.
3033         * sysdeps/i386/fpu/libm-test-ulps: Update.
3034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3036         * timezone/checktab.awk: Update from tzcode 2013i.
3037         * timezone/private.h: Likewise.
3038         * timezone/scheck.c: Likewise.
3039         * timezone/tzfile.h: Likewise.
3040         * timezone/tzselect.ksh: Likewise.
3041         * timezone/zdump.c: Likewise.
3042         * timezone/zic.c: Likewise.
3044         * math/auto-libm-test-in: Add tests of cpow.
3045         * math/auto-libm-test-out: Regenerated.
3046         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
3047         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
3048         mpc_cc_c.
3049         (func_calc_desc): Add mpc_cc_c union field.
3050         (test_functions): Add cpow.
3051         (special_fill_2pi): New function.
3052         (special_real_inputs): Add 2pi.
3053         (calc_generic_results): Handle mpc_cc_c.
3054         * sysdeps/i386/fpu/libm-test-ulps: Update.
3055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3057         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
3058         csqrt, ctan and ctanh.
3059         * math/auto-libm-test-out: Regenerated.
3060         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3061         (TEST_COND_x86): Likewise.
3062         (ccos_test_data): Use AUTO_TESTS_c_c.
3063         (ccosh_test_data): Likewise.
3064         (cexp_test_data): Likewise.
3065         (clog_test_data): Likewise.
3066         (csqrt_test_data): Likewise.
3067         (ctan_test_data): Likewise.
3068         (ctan_tonearest_test_data): Likewise.
3069         (ctan_towardzero_test_data): Likewise.
3070         (ctan_downward_test_data): Likewise.
3071         (ctan_upward_test_data): Likewise.
3072         (ctanh_test_data): Likewise.
3073         (ctanh_tonearest_test_data): Likewise.
3074         (ctanh_towardzero_test_data): Likewise.
3075         (ctanh_downward_test_data): Likewise.
3076         (ctanh_upward_test_data): Likewise.
3077         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3078         mpc_c_c.
3079         (func_calc_desc): Add mpc_c_c union field.
3080         (FUNC_mpc_c_c): New macro.
3081         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
3082         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
3083         ctanh.
3084         (special_fill_min_subnorm_p120): New function.
3085         (special_real_inputs): Add min_subnorm_p120.
3086         (calc_generic_results): Handle mpc_c_c.
3087         * sysdeps/i386/fpu/libm-test-ulps: Update.
3088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3090 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3092         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
3093         do_sin_slow): New functions.
3094         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
3095         cslow2, csloww1, csloww2): Use the new functions.
3097         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
3098         Use M to change sign of result instead of X.  Assume X is
3099         positive.
3100         (csloww1): Likewise.
3101         (__sin): Adjust.
3102         (__cos): Adjust.
3104         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
3105         arguments A and DA.
3106         (__sin): Adjust.
3107         (__cos): Likewise.
3109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
3110         (__cos): Likewise.
3111         (sloww1): Don't adjust sign of DX.
3112         (csloww1): Likewise.
3113         (sloww2): Use X directly and don't adjust sign of DX.
3114         (csloww2): Likewise.
3116 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3118         * math/auto-libm-test-in: Add tests of cabs and carg.
3119         * math/auto-libm-test-out: Regenerated.
3120         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
3121         (carg_test_data): Likewise.
3122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3123         mpc_c_f.
3124         (func_calc_desc): Add mpc_c_f union field.
3125         (test_functions): Add cabs and carg.
3126         (calc_generic_results): Handle mpc_c_f.
3128         * sysdeps/powerpc/powerpc32/libgcc-compat.S
3129         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
3130         as a macro and a compat symbol.
3131         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3132         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3133         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3134         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3135         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
3136         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
3137         not use .hidden.
3138         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
3139         Likewise.
3140         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
3141         Likewise.
3142         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
3143         Likewise.
3144         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
3145         Likewise.
3146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
3147         Likewise.
3148         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
3149         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
3150         from GLIBC_2.3.2.
3152 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3156 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3158         * manual/texinfo.tex: Update to version 2013-11-26.10 with
3159         trailing whitespace removed.
3160         * scripts/config.guess: Update to version 2013-11-29.
3161         * scripts/config.sub: Update to version 2013-10-01.
3163         * math/auto-libm-test-in: Add tests of sincos.
3164         * math/auto-libm-test-out: Regenerated.
3165         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
3166         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3167         mpfr_f_11.
3168         (func_calc_desc): Add mpfr_f_11 union field.
3169         (test_functions): Add sincos.
3170         (calc_generic_results): Handle mpfr_f_11.
3171         * sysdeps/i386/fpu/libm-test-ulps: Update.
3172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3174 2013-12-19  Andreas Schwab  <schwab@suse.de>
3176         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
3177         CALL_MCOUNT.
3178         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3179         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
3180         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
3182 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3184         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
3185         * sysdeps/i386/fpu/libm-test-ulps: Update.
3186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188         [BZ #16293]
3189         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
3190         round-to-nearest mode when using frndint.
3191         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
3192         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3194         Likewise.
3195         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
3196         sinh test to fail.
3197         * math/auto-libm-test-out: Regenerated.
3198         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
3199         (TEST_COND_x86): Likewise.
3200         (expm1_tonearest_test_data): New array.
3201         (expm1_test_tonearest): New function.
3202         (expm1_towardzero_test_data): New array.
3203         (expm1_test_towardzero): New function.
3204         (expm1_downward_test_data): New array.
3205         (expm1_test_downward): New function.
3206         (expm1_upward_test_data): New array.
3207         (expm1_test_upward): New function.
3208         (main): Run the new test functions.
3209         * sysdeps/i386/fpu/libm-test-ulps: Update.
3210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3212         * include/features.h: Update comment documenting feature test
3213         macros.  Mention _DEFAULT_SOURCE in comment.
3214         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
3215         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
3216         _BSD_SOURCE and _SVID_SOURCE.
3217         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
3218         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
3219         !_SVID_SOURCE]: Likewise.
3220         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3221         (__USE_POSIX_IMPLICITLY): Define.
3222         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3223         (_POSIX_SOURCE): Undefine and redefine.
3224         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3225         (_POSIX_C_SOURCE): Likewise.
3226         * manual/creature.texi (_DEFAULT_SOURCE): Document.
3227         (Feature Test Macros): Update documentation of default features.
3229 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3231         * benchtests/Makefile: Add bench-strtok.
3232         * benchtests/bench-strtok.c: New file: strtok benchtest.
3234 2013-12-19  Allan McRae  <allan@archlinux.org>
3236         * manual/install.texi: Suppress menu for plain text output.
3237         * INSTALL: Regenerated.
3239 2013-12-18  Brooks Moses  <bmoses@google.com>
3241         [BZ #15846]
3242         * misc/getauxval.c: Include errno.h.
3243         (__getauxval): Set errno to ENOENT if the requested type is not
3244         found.
3245         * misc/sys/auxv.h (getauxval): Document that it may set errno;
3246         don't declare with __attribute_const__.
3247         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
3248         * manual/startup.texi: Document that getauxval sets errno.
3250 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3252         * math/auto-libm-test-in: Add tests of jn and yn.
3253         * math/auto-libm-test-out: Regenerated.
3254         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
3255         (yn_test_data): Likewise.
3256         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3257         mpfr_if_f.
3258         (func_calc_desc): Add mpfr_if_f union field.
3259         (FUNC_mpfr_if_f): New macro.
3260         (test_functions): Add jn and yn.
3261         (calc_generic_results): Assert type of second input for
3262         mpfr_ff_f.  Handle mpfr_if_f.
3263         (output_for_one_input_case): Disable all checking for arguments
3264         fitting floating-point types in case of an integer argument.
3265         * sysdeps/i386/fpu/libm-test-ulps: Update.
3266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3269         Don't expect fegetround reference in libm.so.
3271 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3273         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
3274         $(config-cflags-nofma).
3276 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3278         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
3279         * math/auto-libm-test-out: Regenerated.
3281         [BZ #16338]
3282         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
3283         to determine exponent and adjust argument to have exponent of -1.
3284         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3285         log2.
3286         * math/auto-libm-test-out: Regenerated.
3287         * sysdeps/i386/fpu/libm-test-ulps: Update.
3288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3290 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
3292         * manual/probes.texi: Remove cases when per-thread arenas are
3293         disabled.
3295 2013-12-18  Andreas Schwab  <schwab@suse.de>
3297         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
3298         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
3299         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
3300         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
3301         * sysdeps/i386/i686/multiarch/Makefile: Update.
3302         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
3304 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3306         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
3307         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3309 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
3311         [BZ #15968]
3312         Support TZ transition times < 00:00:00.
3313         This is needed for version-3 tz-format files; it supports time
3314         stamps past 2037 for America/Godthab (the only entry in the tz
3315         database for which this change is relevant).
3316         * manual/time.texi (TZ Variable): Document transition times
3317         from -167:59:59 through -00:00:01.
3318         * time/tzset.c (tz_rule): Time of day is now signed.
3319         (__tzset_parse_tz): Parse negative time of day.
3321         Document TZ transition times >= 25:00:00.
3322         * manual/time.texi (TZ Variable): Document transition times from
3323         25:00:00 through 167:59:59.  These are already supported, and this
3324         support will help with version-3 tz-format files.
3326         * manual/time.texi (TZ Variable): Modernize North America example
3327         to reflect current (i.e., 2007-and-later) daylight saving rules.
3329         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
3331 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3333         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
3334         * sysdeps/unix/bsd/bits/stat.h: Likewise.
3335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
3336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3337         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
3338         * sysdeps/unix/bsd/bsdstat.h: Likewise.
3339         * sysdeps/unix/bsd/clock.c: Likewise.
3340         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
3341         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
3342         * sysdeps/unix/bsd/init-posix.c: Likewise.
3343         * sysdeps/unix/bsd/poll.c: Likewise.
3344         * sysdeps/unix/bsd/ptsname.c: Likewise.
3345         * sysdeps/unix/bsd/seekdir.c: Likewise.
3346         * sysdeps/unix/bsd/setegid.c: Likewise.
3347         * sysdeps/unix/bsd/seteuid.c: Likewise.
3348         * sysdeps/unix/bsd/setgid.c: Likewise.
3349         * sysdeps/unix/bsd/setrgid.c: Likewise.
3350         * sysdeps/unix/bsd/setruid.c: Likewise.
3351         * sysdeps/unix/bsd/setsid.c: Likewise.
3352         * sysdeps/unix/bsd/setuid.c: Likewise.
3353         * sysdeps/unix/bsd/sigaction.c: Likewise.
3354         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3355         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3356         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3357         * sysdeps/unix/bsd/telldir.c: Likewise.
3358         * sysdeps/unix/bsd/times.c: Likewise.
3359         * sysdeps/unix/bsd/usleep.c: Likewise.
3361         * misc/Makefile (install-lib): Remove libbsd-compat.a.
3362         ($(objpfx)libbsd-compat.a): Remove rule.
3364         * include/features.h (__FAVOR_BSD): Do not define.
3365         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
3366         features conflicting with POSIX.
3367         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
3368         (_BSD_SOURCE): Remove description of not being a subset of other
3369         feature test macros.
3370         * manual/job.texi (getpgrp): Do not document BSD version.
3371         (getpgid): Do not document by reference to BSD getpgrp.
3372         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3373         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3374         * signal/signal.h [__FAVOR_BSD]: Likewise.
3375         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3376         instead of making contents conditional on [__FAVOR_BSD].
3377         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3379 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3383 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3385         [BZ #16314]
3386         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3387         values below 2**-450, not 2**-500.
3388         * math/auto-libm-test-in: Don't allow spurious underflow from
3389         hypot.
3390         * math/auto-libm-test-out: Regenerated.
3392         [BZ #16316]
3393         [BZ #16330]
3394         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3395         values of ha and hb and sort them after adjusting subnormal
3396         arguments.
3397         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3398         Likewise.
3399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3400         values of ea and eb and sort them after adjusting subnormal
3401         arguments.
3402         * math/auto-libm-test-in: Do not expect some hypot tests of
3403         subnormals to fail.  Add more hypot tests.
3404         * math/auto-libm-test-out: Regenerated.
3406 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3408         [BZ #13304]
3409         * sysdeps/sh/s_fma.c: New file.
3410         * sysdeps/sh/s_fmaf.c: New file.
3411         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
3412         version.
3413         * sysdeps/sh/Implies: Add sh/soft-fp.
3415 2013-12-16  Roland McGrath  <roland@hack.frob.com>
3417         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
3418         level of indirection to members `objname', `errstring', `malloced'.
3419         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3420         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
3421         it as the __longjmp argument (just pass 1 instead).
3422         (_dl_catch_error): Initialize C with argument pointers and address of
3423         volatile local ERRCODE rather than copying values out of C at return.
3425 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
3427         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3428         * math/auto-libm-test-out: Regenerated.
3429         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3430         (hypot_test_data): Likewise.
3431         (pow_test_data): Likewise.
3432         (pow_tonearest_test_data): Likewise.
3433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3434         mpfr_ff_f.
3435         (func_calc_desc): Add mpfr_ff_f union field.
3436         (FUNC_mpfr_ff_f): New macro.
3437         (test_functions): Add atan2, hypot and pow.
3438         (special_fill_min): New function.
3439         (special_fill_minus_min): Likewise.
3440         (special_fill_min_subnorm): Likewise.
3441         (special_fill_minus_min_subnorm): Likewise.
3442         (special_real_inputs): Add min, -min, min_subnorm and
3443         -min_subnorm.
3444         (calc_generic_results): Handle mpfr_ff_f.
3445         * sysdeps/i386/fpu/libm-test-ulps: Update.
3446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3448 2013-12-16  Will Newton  <will.newton@linaro.org>
3450         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3451         (Aligned Memory Blocks): Add documentation for aligned_alloc
3452         and suggest it as an alternative to posix_memalign.
3453         (Hooks for Malloc): Document __memalign_hook is also called
3454         for aligned_alloc.  (Summary of Malloc): Add summary for
3455         aligned alloc.  Document __memalign_hook is also called
3456         for aligned_alloc.
3458 2013-12-16  Will Newton  <will.newton@linaro.org>
3460         * manual/memory.texi (Malloc Examples): Clarify default
3461         alignment documentation.  Suggest posix_memalign rather
3462         than memalign or valloc.
3463         (Aligned Memory Blocks): Remove suggestion to use memalign
3464         or valloc.  Remove obsolete comment about BSD.
3465         Document memalign errno values and mark the function obsolete.
3466         Document posix_memalign returned error codes.  Mark valloc
3467         as obsolete.  (Hooks for Malloc): __memalign_hook is also
3468         called for posix_memalign and valloc.
3469         (Summary of Malloc): Add posix_memalign to function summary.
3470         __memalign_hook is also called for posix_memalign and valloc.
3472 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3474         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3475         TAYLOR_SIN.
3476         (__sin): Adjust.
3477         (__cos): Likewise.
3478         (sloww): Use mynumber union.  Expand ternary operator into
3479         if-else statements.
3480         (cslow): use mynumber union.
3482 2013-12-16  Allan McRae  <allan@archlinux.org>
3484         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3485         * configure: Regenerated.
3487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3489         [BZ #14120]
3490         * configure.ac: Added --enable-maintainer-mode. Check for
3491         autoconf when enabled.
3492         * configure: Regenerated.
3494         * nscd/nscd.service: New file.
3495         * nscd/nscd.tmpfiles: New file.
3497 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
3499         [BZ #12100]
3500         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3501         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3502         * sysdeps/x86_64/multiarch/strstr.c: ... here.
3503         (strstr): Add __strstr_sse2_unaligned ifunc.
3504         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3505         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3506         (strcasestr): Remove __strcasestr_sse42 ifunc.
3507         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3511 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3513         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3514         * sysdeps/sh/bits/fenv.h: ... here.
3515         * sysdeps/sh/sh4/fpu/bits: Remove directory.
3517 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3519         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3521 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3524         hypotf multiarch implementations.
3525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3527         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3528         multiarch hypot for PPC64.
3529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3531         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3532         multiarch hypotf for PPC64.
3534 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3537         modff multiarch implementations.
3538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3541         multiarch modf for PPC64.
3542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3545         multiarch modff for PPC64.
3547 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3550         and logl multiarch implementations.
3551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3554         multiarch logb for PPC64.
3555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3558         multiarch logb for PPC64.
3559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3562         multiarch logb for PPC64.
3564 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3567         isinff multiarch implementation.
3568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3569         file.
3570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3572         multiarch isinf for PPC64.
3573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3574         file.
3575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3576         multiarch isinff for PPC64.
3578 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3581         finitef multiarch implementation.
3582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3583         file.
3584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3586         multiarch finite for PPC64.
3587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3588         file.
3589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3590         multiarch finitef for PPC64.
3592 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3595         lrint multiarch implementation.
3596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3597         file.
3598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3600         multiarch llrint for PPC64.
3601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3602         multiarch lrint for PPC64.
3604 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3607         copysignf multiarch implementation.
3608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3609         file.
3610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3611         file.
3612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3613         multiarch copysign for PPC64.
3614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3615         multiarch copysignf for PPC64.
3617 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3620         multiarch implementation.
3621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3622         file.
3623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3624         file.
3625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3626         file.
3627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3628         file.
3629         multiarch llround for PPC64.
3630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3631         multiarch trunc for PPC64.
3632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3633         multiarch truncf for PPC64.
3635 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3638         multiarch implementation.
3639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3640         file.
3641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3642         file.
3643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3644         file.
3645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3646         file.
3647         multiarch llround for PPC64.
3648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3649         multiarch round for PPC64.
3650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3651         multiarch roundf for PPC64.
3653 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3656         multiarch implementation.
3657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3658         file.
3659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3660         file.
3661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3662         file.
3663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3664         file.
3665         multiarch llround for PPC64.
3666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3667         multiarch floor for PPC64.
3668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3669         multiarch floorf for PPC64.
3671 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3674         multiarch implementation.
3675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3676         file.
3677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3678         file.
3679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3680         file.
3681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3682         file.
3683         multiarch llround for PPC64.
3684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3685         multiarch ceil for PPC64.
3686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3687         multiarch ceilf for PPC64.
3689 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3692         multiarch implementation.
3693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3694         file.
3695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3696         file.
3697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3698         file.
3699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3700         multiarch llround for PPC64.
3701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3702         multiarch lround for PPC64.
3704 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3707         multiarch implementation.
3708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3711         file.
3712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3715         multiarch isnan for PPC64.
3716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3717         multiarch isnanf for PPC64.
3719 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3721         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3722         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3723         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3724         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3725         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3728 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3730         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3731         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3735 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3738         multiarch implementations.
3739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3740         (__libc_ifunc_impl_list): Likewise.
3741         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3742         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3744         multiarch stpcpy for PPC64.
3746 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3749         multiarch implementations.
3750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3751         (__libc_ifunc_impl_list): Likewise.
3752         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3753         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3754         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3755         multiarch strcpy for PPC64.
3757 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3759         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3760         redefine function name.
3761         (_wordcopy_fwd_dest_aligned): Likewise.
3762         (_wordcopy_bwd_aligned): Likewise.
3763         (_wordcopy_bwd_dest_aligned): Likewise.
3764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3765         multiarch implementations.
3766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3767         (__libc_ifunc_impl_list): Likewise.
3768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3769         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3770         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3771         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3772         multiarch wcscpy for PPC64.
3774 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3777         multiarch implementations.
3778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3779         (__libc_ifunc_impl_list): Likewise.
3780         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3781         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3782         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3783         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3784         multiarch wcscpy for PPC64.
3786 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3789         multiarch implementations.
3790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3791         (__libc_ifunc_impl_list): Likewise.
3792         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3793         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3794         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3795         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3796         multiarch wcsrchr for PPC64.
3798 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3801         multiarch implementations.
3802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3803         (__libc_ifunc_impl_list): Likewise.
3804         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3805         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3806         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3807         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3808         multiarch wcschr for PPC64.
3810 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3813         multiarch implementations.
3814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3815         (__libc_ifunc_impl_list): Likewise.
3816         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3817         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3818         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3819         multiarch strchrnul for PPC64.
3821 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3824         implementations.
3825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3826         (__libc_ifunc_impl_list): Likewise.
3827         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3828         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3829         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3830         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3831         strchr for PPC64.
3833 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3836         implementations.
3837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3838         (__libc_ifunc_impl_list): Likewise.
3839         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3840         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3841         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3842         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3843         strncmp for PPC64.
3845 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3848         multiarch implementations.
3849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3850         (__libc_ifunc_impl_list): Likewise.
3851         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3852         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3853         strncasecmp for PPC64.
3854         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3855         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3856         multiarch strncasecmp_l for PPC64.
3858 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3861         multiarch implementations.
3862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3863         (__libc_ifunc_impl_list): Likewise.
3864         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3865         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3866         multiarch strcasecmp for PPC64.
3867         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3868         file.
3869         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3870         multiarch strcasecmp_l for PPC64.
3872 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3875         implementations.
3876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3877         (__libc_ifunc_impl_list): Likewise.
3878         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3879         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3880         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3881         strnlen for PPC64.
3883 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3886         implementations.
3887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3888         (__libc_ifunc_impl_list): Likewise.
3889         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3890         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3891         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3892         strlen for PPC64.
3894 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3897         implementations.
3898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3899         (__libc_ifunc_impl_list): Likewise.
3900         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3901         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3902         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3903         rawmemrchr for PPC64.
3905 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3908         implementation.
3909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3910         (__libc_ifunc_impl_list): Likewise.
3911         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3912         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3913         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3914         memrchr for PPC64.
3916 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3919         implementation.
3920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3921         (__libc_ifunc_impl_list): Likewise.
3922         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3923         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3924         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3925         memchr for PPC64.
3927 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3930         implementation.
3931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3932         (__libc_ifunc_impl_list): Likewise.
3933         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3934         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3935         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3936         mempcpy for PPC64.
3938 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3940         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3941         avoid cretion of __bzero symbol.
3942         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3943         Likewise.
3944         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3945         Likewise.
3946         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3947         Likewise.
3948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3949         multiarch implementations.
3950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3951         (__libc_ifunc_impl_list): Likewise.
3952         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3953         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3954         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3955         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3956         bzero for PPC32.
3957         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3958         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3959         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3960         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3961         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3962         memset for PPC64.
3963         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3965 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3967         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3969         implementations.
3970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3971         (__libc_ifunc_impl_list): Likewise.
3972         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3973         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3974         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3975         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3976         memcmp for PPC64.
3978 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3981         multiarch for POWER/PPC64.
3982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3983         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3984         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3987         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3990         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3991         memcpy for PPC64.
3993 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3995         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3996         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3997         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3998         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3999         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4000         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4001         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4002         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4003         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4004         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4005         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4006         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4007         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
4008         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
4009         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
4012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
4013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
4014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
4015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
4016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
4018 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4020         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
4022 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4024         * benchtests/Makefile (bench): Add exp2 and log2.
4025         (LDLIBS-bench-exp2): Add -lm.
4026         (LDLIBS-bench-log2): Likewise.
4027         * benchtests/exp2-inputs: New inputs file.
4028         * benchtests/log2-inputs: New inputs file.
4029         * benchtests/log-inputs: Add new inputs.
4030         * benchtests/tan-inputs: Likewise.
4032 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4034         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
4035         definition...
4036         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
4037         csloww1, csloww2): ... from here.
4039         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4040         instead of structures.
4041         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
4042         (POLYNOMIAL): Likewise.
4043         (TAYLOR_SLOW): Likewise.
4044         (__sin): Likewise.
4045         (__cos): Likewise.
4046         (slow1): Likewise.
4047         (slow2): Likewise.
4048         (sloww): Likewise.
4049         (sloww1); Likewise.
4050         (sloww2): Likewise.
4051         (bsloww1): Likewise.
4052         (bsloww2): Likewise.
4053         (cslow2): Likewise.
4054         (csloww): Likewise.
4055         (csloww1): Likewise.
4056         (csloww2): Likewise.
4058 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4060         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
4061         (__malloc_assert, __libc_realloc, __libc_calloc,
4062         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
4063         memcpy and memset.
4064         * malloc/hooks.c (realloc_check): Likewise.
4066 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4068         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
4069         * malloc/arena.c: Remove PER_THREAD conditional.
4070         [!PER_THREAD]: Remove code.
4071         (ptmalloc_unlock_all2): Likewise.
4072         (ptmalloc_init): Likewise.
4073         (_int_new_arena): Likewise.
4074         (arena_get2): Likewise.
4075         * malloc/hooks.c (__malloc_get_state): Likewise.
4076         (__malloc_set_state): Likewise.
4077         * malloc/malloc.c: Likewise.
4078         (struct malloc_state): Likewise.
4079         (struct malloc_par): Likewise.
4080         (__libc_realloc): Likewise.
4081         (__libc_mallopt): Likewise.
4083 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4085         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
4087 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4089         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
4090         macro to a function.  Check for zero perturb_byte.
4091         (_int_malloc, _int_free): Remove zero perturb_byte checks.
4093 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4095         * malloc/malloc.c: (force_reg): Remove.
4096         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
4097         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
4098         force_reg by atomic_forced_read.
4099         * malloc/arena.c (ptmalloc_init): Likewise.
4100         * malloc/hooks.c (top_check): Likewise.
4102 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4106 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
4108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4110 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
4112         * math/auto-libm-test-in: Add tests of lgamma.
4113         * math/auto-libm-test-out: Regenerated.
4114         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
4115         (M_LOG_2_SQRT_PIl): Likewise.
4116         (lgamma_test_data): Use AUTO_TESTS_f_f1.
4117         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4118         mpfr_f_f1.
4119         (func_calc_desc): Add mpfr_f_f1 union field.
4120         (ARGS1): New macro.
4121         (ARGS2): Likewise.
4122         (ARGS3): Likewise.
4123         (ARGS4): Likewise.
4124         (RET1): Likewise.
4125         (RET2): Likewise.
4126         (CALC): Likewise.
4127         (FUNC): Likewise.
4128         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
4129         (test_functions): Add lgamma.
4130         (calc_generic_results): Handle mpfr_f_f1.
4131         * sysdeps/i386/fpu/libm-test-ulps: Update.
4132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4136         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
4137         __mpn_add_n for PowerPC64/POWER7.
4138         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
4139         __mpn_sub_n for PowerPC64/POWER7.
4141 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4143         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
4144         __mpn_addmul_1 for PowerPC64.
4145         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
4146         __mpn_submul_1 for PowerPC64.
4147         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
4148         for PowerPC64.
4149         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
4150         for PowerPC64.
4152 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
4154         [BZ #15089]
4155         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
4157 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4159         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
4161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4163         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
4164         add multiarch folders.
4165         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
4166         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
4167         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
4168         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
4169         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
4170         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
4171         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
4172         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
4173         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
4174         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
4175         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
4177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
4178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
4179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
4180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
4181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
4183 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4186         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
4187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
4188         New file.
4189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
4190         New file.
4191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
4192         multiarch __ieee754_hypot for PowerPC32.
4193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
4194         New file.
4195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
4196         New file.
4197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
4198         multiarch __ieee754_hypotf for PowerPC32.
4200 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4202         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
4203         long_double_symbol only if __logbl is defined.
4204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
4205         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
4206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
4207         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
4208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
4209         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
4210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
4211         path for implementation.
4212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
4213         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
4214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
4215         logb, and logbl multiarch implementations for PowerPC32.
4216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
4217         file.
4218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
4219         file.
4220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
4221         multiarch logb for PowerPC32.
4222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
4223         file.
4224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
4225         file.
4226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
4227         multiarch logbf for PowerPC32.
4228         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
4229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
4230         file.
4231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
4232         multiarch logbl implementation for PowerPC32.
4234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
4237         and modff multiarch implementations.
4238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
4239         New file.
4240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
4241         New file.
4242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
4243         multiarch modf for PowerPC32.
4244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
4245         New file.
4246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
4247         New file.
4248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
4249         multiarch modff for PowerPC32.
4251 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
4254         and lrintf multiarch implementations.
4255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
4256         New file.
4257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
4258         New file.
4259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
4260         multiarch lrint for PowerPC32.
4261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
4262         file: multiarch lrintf for PowerPC32.
4264 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
4267         and lroundf multiarch implementations.
4268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
4269         New file.
4270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
4271         New file.
4272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
4273         New file.
4274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
4275         multiarch lround for PowerPC32.
4276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
4277         file: multiarch lroundf for PowerPC32.
4279 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4282         copysign and copysignf multiarch implementations.
4283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4284         New file.
4285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4286         New file.
4287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
4288         file: multiarch copysign for PowerPC32.
4289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
4290         file: multiarch copysignf for PowerPC32.
4292 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4295         and truncf multiarch implementations.
4296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
4297         New file.
4298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
4299         file.
4300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
4301         multiarch trunc for PowerPC32.
4302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
4303         New file.
4304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4305         New file.
4306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
4307         multiarch truncf for PowerPC32.
4309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
4312         and roundf multiarch implementations.
4313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
4314         New file.
4315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
4316         file.
4317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
4318         multiarch round for PowerPC32.
4319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
4320         New file.
4321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4322         New file.
4323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
4324         multiarch roundf for PowerPC32.
4326 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
4329         and floorf multiarch implementations.
4330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4331         New file.
4332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
4333         file.
4334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
4335         multiarch floor for PowerPC32.
4336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4337         New file.
4338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4339         New file.
4340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
4341         multiarch floorf for PowerPC32.
4343 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
4346         and ceilf multiarch implementations.
4347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4348         New file.
4349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
4350         file.
4351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
4352         multiarch ceil for PowerPC32.
4353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4354         New file.
4355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
4356         file.
4357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
4358         multiarch ceilf for PowerPC32.
4360 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4362         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
4363         is defined.
4364         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
4365         FINITEF is defined.
4366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
4367         and finitef multiarch implementations.
4368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4369         New file.
4370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4371         file.
4372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4373         multiarch finite for PowerPC32.
4374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4375         New file.
4376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4377         file: multiarch finitef for PowerPC32.
4379 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4382         and isinff multiarch implementations.
4383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4384         file.
4385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4386         file.
4387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4388         multiarch isinf for PowerPC32.
4389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4390         New file.
4391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4392         multiarch isinff for PowerPC32.
4394 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4396         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4397         alias when __isnan is defined.
4398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4399         and isnanf multiarch implementations.
4400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4401         file.
4402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4403         file.
4404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4405         file.
4406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4407         file.
4408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4409         multiarch isnan for PowerPC32.
4410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4411         New file.
4412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4413         New file.
4414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4415         multiarch isnanf for PowerPC32.
4417 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4420         and sqrtf multiarch implementations.
4421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4422         file.
4423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4424         file.
4425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4426         multiarch sqrt for PowerPC32.
4427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4428         file.
4429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4430         file.
4431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4432         multiarch sqrtf for PowerPC32.
4434 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4437         and llroundf multiarch implementations.
4438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4439         New file.
4440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4441         New file.
4442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4443         New file.
4444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4445         file: multiarch llround for PowerPC32.
4446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4447         file: multiarch llroundf for PowerPC32.
4449 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4452         multiarch PowerPC32 fpu implementations.
4453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4454         New file.
4455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4456         New file.
4457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4458         multiarch llrint for PowerPC32.
4459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4460         New file.
4461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4462         New file.
4463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4464         file.
4466 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4470 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4472         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4473         file.
4474         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4475         file.
4476         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4477         file.
4478         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4479         multiarch wordcopy for PPC32.
4480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4481         wordcopy objects.
4482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4483         (__libc_ifunc_impl_list): Likewise.
4484         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4485         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4486         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4487         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4488         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4489         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4491 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4493         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4494         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4495         file.
4496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4497         file.
4498         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4499         file.
4500         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4501         multiarch wcscpy for PPC32.
4502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4503         multiarch objects.
4504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4505         (__libc_ifunc_impl_list): Likewise.
4506         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4507         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4508         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4509         sysdeps/powerpc/power6/wcscpy.c.
4511 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4513         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4515         file.
4516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4517         file.
4518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4519         file.
4520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4521         multiarch wcsrchr for PPC32.
4522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4523         multiarch objects.
4524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4525         (__libc_ifunc_impl_list): Likewise.
4526         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4527         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4528         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4529         sysdeps/powerpc/power6/wcsrchr.c.
4531 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4534         file.
4535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4536         file.
4537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4539         multiarch wcschr for PPc32.
4540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4541         multiarch objects.
4542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4543         (__libc_ifunc_impl_list): Likewise.
4544         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4545         * sysdeps/powerpc/power6/wcschr.c: ... to here.
4546         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4547         sysdeps/powerpc/power6/wcschr.c.
4549 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4551         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4552         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4553         file.
4554         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4555         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4556         file: multiarch strchr for PPC32.
4557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4558         multiarch objects.
4559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4560         (__libc_ifunc_impl_list): Likewise.
4562 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4564         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4565         name.
4566         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4567         file.
4568         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4569         file.
4570         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4571         multiarch strchrnul for PPC32.
4572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4573         multiarch objects.
4574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4575         (__libc_ifunc_impl_list): Likewise.
4577 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4579         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4580         file.
4581         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4582         multiarch strncasecmp for PPC32.
4583         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4584         file.
4585         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4586         multiarch strncasecmp_l for PPC32.
4587         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4588         strncasecmp multiarch objects.
4589         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4590         (__libc_ifunc_impl_list): Likewise.
4592 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4594         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4595         file.
4596         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4597         multiarch strncasecmp for PPC32.
4598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4599         New file.
4600         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4601         multiarch strcasecmp_l for PPC32.
4602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4603         multiarch objects.
4604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4605         (__libc_ifunc_impl_list): Likewise.
4607 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4609         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4610         file.
4611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4612         file.
4613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4614         multiarch strncmp for PPC32.
4615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4616         multiarch objects.
4617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4618         (__libc_ifunc_impl_list): Likewise.
4620 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4622         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4623         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4624         file.
4625         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4626         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4628         multiarch objects.
4629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4630         (__libc_ifunc_impl_list): Likewise.
4632 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4634         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4635         file.
4636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4637         file.
4638         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4640         multiarch objects.
4641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4642         (__libc_ifunc_impl_list): Likewise.
4644 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4646         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4647         file.
4648         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4649         file.
4650         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4651         multiarch rawmemchr for PPC32.
4652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4653         multiarch objects.
4654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4655         (__libc_ifunc_impl_list): Likewise.
4657 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4659         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4660         file.
4661         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4662         file.
4663         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4664         file: memrchr multiarch for PPC32.
4665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4666         multiarch objects.
4667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4668         (__libc_ifunc_impl_list): Likewise.
4670 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4672         * string/memchr.c (__memchr): Using macro to redefine symbol name.
4673         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4674         file.
4675         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4676         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4677         multiarch memchr for PPC32.
4678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4679         multiarch objects.
4680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4681         (__libc_ifunc_impl_list): Likewise.
4683 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4685         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4686         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4687         file.
4688         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4689         file.
4690         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4691         file: multiarch mempcpy for PPC32.
4692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4693         multiarch objects.
4694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4695         (__libc_ifunc_impl_list): Likewise.
4697 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4699         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4700         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4701         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4702         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4703         multiarch bzero for PPC32.
4704         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4705         file.
4706         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4707         file.
4708         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4709         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4710         file: multiarch memset for PPC32.
4711         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4713         memset multiarch objects.
4714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4715         (__libc_ifunc_impl_list): Likewise.
4717 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4720         file.
4721         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4723         memcmp for PPC32.
4724         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4726         multiarch objects.
4727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4728         (__libc_ifunc_impl_list): Likewise.
4730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4732         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4734         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4735         file.
4736         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4737         file.
4738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4739         file.
4740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4741         multiarch memcpy for PPC32.
4742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4743         multiarch objects.
4744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4745         (__libc_ifunc_impl_list): Likewise.
4747 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4750         support multiarch for POWER/PPC32.
4751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4752         Likewise.
4753         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4755         Implies file to make multiarch folder appers before the fpu and
4756         default folder for power4 configuration.
4758 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4760         * scripts/bench.pl: Append volatile keyword to type.
4762 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4764         * sysdeps/sh/sotruss-lib.c: New file.
4765         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4767 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4771 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
4773         [BZ #6810]
4774         * math/w_tgamma.c: Include <errno.h>.
4775         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
4776         * math/w_tgammaf.c: Include <errno.h>.
4777         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
4778         * math/w_tgammal.c: Include <errno.h>.
4779         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
4780         * math/auto-libm-test-in: Do not allow missing errno on tgamma
4781         underflow.  Add more tgamma tests.
4782         * math/auto-libm-test-out: Regenerated.
4783         * sysdeps/i386/fpu/libm-test-ulps: Update.
4784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4786         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4787         sin, sinh, tan, tanh, tgamma, y0 and y1.
4788         * math/auto-libm-test-out: Regenerated.
4789         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4790         (TEST_COND_x86): Likewise.
4791         (M_E2l): Remove macro.
4792         (M_E3l): Likewise.
4793         (M_2_SQRT_PIl): Likewise.
4794         (M_SQRT_PIl): Likewise.
4795         (M_1_DIV_El): Likewise.
4796         (log_test_data): Use AUTO_TESTS_f_f.
4797         (log10_test_data): Likewise.
4798         (log1p_test_data): Likewise.
4799         (log2_test_data): Likewise.
4800         (sin_test_data): Likewise.
4801         (sin_tonearest_test_data): Likewise.
4802         (sin_towardzero_test_data): Likewise.
4803         (sin_downward_test_data): Likewise.
4804         (sin_upward_test_data): Likewise.
4805         (sinh_test_data): Likewise.
4806         (sinh_tonearest_test_data): Likewise.
4807         (sinh_towardzero_test_data): Likewise.
4808         (sinh_downward_test_data): Likewise.
4809         (sinh_upward_test_data): Likewise.
4810         (tan_test_data): Likewise.
4811         (tan_tonearest_test_data): Likewise.
4812         (tan_towardzero_test_data): Likewise.
4813         (tan_downward_test_data): Likewise.
4814         (tan_upward_test_data): Likewise.
4815         (tanh_test_data): Likewise.
4816         (tgamma_test_data): Likewise.
4817         (y0_test_data): Likewise.
4818         (y1_test_data): Likewise.
4819         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4820         (special_real_inputs): Add pi/4.
4821         * sysdeps/i386/fpu/libm-test-ulps: Update.
4822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4824 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4826         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4827         "longjmp_target" static probes.
4828         (__longjmp): Rename to __longjmp_symbol.
4829         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4830         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4831         on which longjmp to generate.
4832         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4833         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4834         probe.
4835         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4836         (__sigjmp_save): Rename to __sigjmp_save_symbol.
4837         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4838         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4839         and __sigjmp_save_symbol based on which sigsetjmp to generated.
4840         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4842         __longjmp_symbol based on which __longjmp to generate.
4843         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4844         probe.
4845         (setjmp): Rename to setjmp_symbol.
4846         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4847         (_setjmp): Rename to _setjmp_symbol.
4848         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4849         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4850         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4851         which setjmp to generate.
4852         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4853         "longjmp_target" static probes.
4855 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4857         * benchtests/README: Add note about output arguments.
4858         * benchtests/bench-sincos.c: Remove file.
4859         * benchtests/sincos-inputs: New file.
4860         * scripts/bench.pl: Identify output arguments and define
4861         static variables for them.
4863         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4865         [BZ #15941]
4866         * Makefile (INSTALL): Add install-plain.texi as the primary
4867         dependency.
4868         * manual/install-plain.texi: New file.
4869         * manual/install.texi: Include node directive only for
4870         non-plaintext output.
4872 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
4874         * stdlib/longlong.h: Update from GCC.
4876         [BZ #6807]
4877         [BZ #15901]
4878         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4879         * math/w_j0f.c (y0f): Likewise.
4880         * math/w_j0l.c (__y0l): Likewise.
4881         * math/w_j1.c (y1): Likewise.
4882         * math/w_j1f.c (y1f): Likewise.
4883         * math/w_j1l.c (__y1l): Likewise
4884         * math/w_jn.c (yn): Likewise.
4885         * math/w_jnf.c (ynf): Likewise.
4886         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4887         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
4888         value for Bessel function domain errors outside _SVID_ mode.
4889         Adjust sign of return value for yn (negative integer, 0).
4890         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4891         by zero in return for negative x and set sign appropriately for
4892         negative n.
4893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4894         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4895         * math/libm-test.inc (y0_test_data): Add more tests and adjust
4896         expectations in error cases.
4897         (y1_test_data): Likewise.
4898         (yn_test_data): Likewise.
4899         * sysdeps/i386/fpu/libm-test-ulps: Update.
4900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4902 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4904         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4905         "64" to "64-v1".  Add "64-v2".
4906         (abi-64-options): Rename to ...
4907         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
4908         (abi-64-condition): Rename to ...
4909         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
4910         (abi-64-ld-soname): Rename to ...
4911         (abi-64-v1-ld-soname): ... this.
4912         (abi-64-v2-options): Define.
4913         (abi-64-v2-condition): Likewise.
4914         (abi-64-v2-ld-soname): Likewise.
4915         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4916         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4921 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4922             Alan Modra  <amodra@gmail.com>
4924         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4925         New versions for use with the ELFv2 ABI.
4926         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4927         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4928         declaration.
4929         (struct La_ppc64v2_retval): Likewise.
4930         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4931         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4932         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4933         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4934         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4935         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4936         Do not save or restore CR.
4937         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4938         (_dl_profile_resolve): Do no save or restore CR.  Support extended
4939         return values for ELFv2 ABI.  Fix location of FPR return registers.
4940         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4941         updated values for _CALL_ELF == 2.
4942         (La_regs, La_retval, int_retval): Likewise.
4944 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4946         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4947         (FRAME_MIN_SIZE_PARM): Likewise.
4948         (FRAME_BACKCHAIN): Likewise.
4949         (FRAME_CR_SAVE): Likewise.
4950         (FRAME_LR_SAVE): Likewise.
4951         (FRAME_TOC_SAVE): Likewise.
4952         (FRAME_PARM_SAVE): Likewise.
4953         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4954         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4955         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4956         (call_mcount_parm_offset): New macro.
4957         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4958         (PROF): Use symbolic stack frame offsets.
4959         (TAIL_CALL_SYSCALL_ERROR): Likewise.
4960         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4961         Redefine in terms of FRAME_MIN_SIZE.
4962         (_dl_runtime_resolve): Use symbolic stack frame offsets.
4963         (_dl_profile_resolve): Likewise.  Update comment.
4964         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4965         symbols stack frame offsets.
4966         (__sigsetjmp): Likewise.
4967         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4968         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4969         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4970         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4973         (FRAME_BACKCHAIN): Remove.
4974         (FRAME_CR_SAVE): Likewise.
4975         (FRAME_LR_SAVE): Likewise.
4976         (FRAME_COMPILER_DW): Likewise.
4977         (FRAME_LINKER_DW): Likewise.
4978         (FRAME_TOC_SAVE): Likewise.
4979         (FRAME_PARM_SAVE): Likewise.
4980         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4981         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4982         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4984         (CHECK_SP): Use symbolic stack frame offsets.
4985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4986         zone" instead of caller's parameter save area for temp storage.
4987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4988         Likewise.  Also, use symbolic stack frame offsets.
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4990         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4991         our own stack frame instead of the caller's.
4992         (__socket): Use symbolic stack frame offsets.
4994 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4995             Alan Modra  <amodra@gmail.com>
4997         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4998         Define.
4999         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5000         PPC64_LOCAL_ENTRY_OFFSET): Define.
5001         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5002         New function.
5003         (elf_machine_fixup_plt): Call it.
5004         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
5005         reloc arguments.
5006         (elf_machine_rela): Update call to elf_machine_plt_conflict.
5007         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5008         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
5009         r2 before calling target.
5011 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5012             Alan Modra  <amodra@gmail.com>
5014         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
5015         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
5016         versions of macros to support ELFv2 ABI.
5017         (LOCALENTRY): New macro.
5018         (ENTRY, EALIGN): Use it.
5019         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
5020         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
5021         fall through into ENTRY entry point.
5022         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
5023         Only define if _CALL_ELF != 2.
5025         (elf_machine_matches_host): Verify ABI version matches.
5026         (RTLD_START): Use LOCALENTRY.
5027         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
5028         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
5029         (PLT_ENTRY_WORDS): New macro.
5030         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
5031         (elf_machine_runtime_setup): Support ELFv2 ABI.
5032         (elf_machine_fixup_plt): Likewise.
5033         (elf_machine_plt_conflict): Likewise.
5034         (resolve_ifunc): Likewise.
5035         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5037         Likewise.
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
5039         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
5040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5041         (makecontext): Support ELFv2 ABI.
5042         * elf/elf.h (EF_PPC64_ABI): Define.
5044 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5046         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
5047         New assembler macro.
5048         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
5049         [ASSEMBLER] (ENTRY): ... but instead here ...
5050         [ASSEMBLER] (EALIGN): ... and here.
5051         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
5052         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
5053         [!ASSEMBLER] (ENTRY_2): Use it.
5054         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
5055         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
5056         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5057         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
5058         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
5059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
5060         Use PPC64_LOAD_FUNCPTR.
5062 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5064         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
5066 2013-12-04  Alan Modra  <amodra@gmail.com>
5068         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
5069         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
5070         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
5071         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
5073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
5074         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
5075         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
5076         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
5077         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
5078         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
5080 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5083         (__makecontext): Fix incorrect CFI when backtracing out of
5084         context created via makecontext.
5085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
5086         (__setcontext): Fix incorrect CFI during switch to new context.
5087         (__novec_setcontext): Likewise.
5089 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5091         [BZ #4772]
5092         * time/strptime_l.c (__strptime_internal): Allow modifiers
5093         in strptime.
5094         * time/tst-strptime.c (day_tests): Add testcase.
5097 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5099         * scripts/bench.pl: Skip over blank lines.
5101 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5103         [BZ #926]
5104         * manual/time.texi (Calendar Time): Clarify what timezone functions
5105         use.
5107 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5111 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5113         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
5114         implementation.
5115         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5116         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5117         * debug/memset_chk.c (__memset_chk): Likewise.
5118         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
5119         * debug/strncpy_chk.c: Likewise.
5121 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5123         [BZ #15268]
5124         [BZ #15425]
5125         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
5126         (__ieee754_exp): For possibly underflowing results, check size of
5127         result and force underflow exception if required.
5128         * math/auto-libm-test-in: Add more tests of exp.
5129         * math/auto-libm-test-out: Regenerated.
5130         * sysdeps/i386/fpu/libm-test-ulps: Update.
5131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5133         [BZ #16283]
5134         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
5135         * math/w_exp2f.c (__exp2f): Likewise.
5136         * math/w_exp2l.c (__exp2l): Likewise.
5137         * math/auto-libm-test-in: Do not allow missing errno on exp2
5138         underflow.
5139         * math/auto-libm-test-out: Regenerated.
5141 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
5143         [BZ #16274]
5144         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
5145         handle filename validation.
5146         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
5147         (do_open): Delete.
5149 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5151         [BZ #6786]
5152         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
5153         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
5154         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
5155         <float.h>.
5156         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
5157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
5158         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
5160         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5161         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
5162         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5163         * math/auto-libm-test-in: Don't allow missing errno from erfc.
5164         Add more erfc tests.
5165         * math/auto-libm-test-out: Regenerated.
5166         * sysdeps/i386/fpu/libm-test-ulps: Update.
5167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5169         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
5170         exp2, expm1, j0 and j1.
5171         * math/auto-libm-test-out: Regenerated.
5172         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
5173         (erfc_test_data): Likewise.
5174         (exp_test_data): Likewise.
5175         (exp_tonearest_test_data): Likewise.
5176         (exp_towardzero_test_data): Likewise.
5177         (exp_downward_test_data): Likewise.
5178         (exp_upward_test_data): Likewise.
5179         (exp10_test_data): Likewise.
5180         (exp2_test_data): Likewise.
5181         (expm1_test_data): Likewise.
5182         (j0_test_data): Likewise.
5183         (j1_test_data): Likewise.
5184         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
5185         (input_flag_type): Add flag_xfail_rounding.
5186         (input_flags): Add xfail-rounding.
5187         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
5188         (output_for_one_input_case): Handle flag_xfail_rounding.
5189         * sysdeps/i386/fpu/libm-test-ulps: Update.
5190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5192 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
5194         [BZ #16289]
5195         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
5196         division by 0.
5198 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5200         [BZ #16195]
5201         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5202         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
5203         (STAP_PROBE0): New macro.
5204         (STAP_PROBE1): Likewise.
5205         (STAP_PROBE2): Likewise.
5206         (STAP_PROBE3): Likewise.
5207         (STAP_PROBE4): Likewise.
5209 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
5211         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
5213 2013-12-02  Steve Ellcey  <sellcey@mips.com>
5215         * benchtests/Makefile (bench): Add sqrt.
5216         (LDLIBS-bench-sqrt): New.
5217         * benchtests/sqrt-input: New.
5219 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
5221         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
5222         (GAIH_EAI): Likewise.
5223         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
5224         (gaih_inet): Likewise.
5225         (getaddrinfo): Don't use GAIH_EAI.
5227         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
5228         (struct gaih): Remove definition.
5230 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5232         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
5233         Use HERRNOP directly.
5235 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5239 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
5241         * math/gen-auto-libm-tests.c (test_functions): Add more
5242         single-argument functions.
5243         (special_fill_pi_2): New function.
5244         (special_fill_minus_pi_2): Likewise.
5245         (special_fill_pi_6): Likewise.
5246         (special_fill_minus_pi_6): Likewise.
5247         (special_fill_pi_3): Likewise.
5248         (special_fill_2pi_3): Likewise.
5249         (special_fill_e): Likewise.
5250         (special_fill_1_e): Likewise.
5251         (special_fill_e_minus_1): Likewise.
5252         (special_real_inputs): Add more special inputs.
5253         (output_for_one_input_case): Do not require ERANGE on underflow to
5254         zero if round-to-nearest result does not underflow to zero, unless
5255         exact results required.
5256         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
5257         atan, atanh, cbrt, cos and cosh.
5258         * math/auto-libm-test-out: Regenerated.
5259         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
5260         (acos_tonearest_test_data): Likewise.
5261         (acos_towardzero_test_data): Likewise.
5262         (acos_downward_test_data): Likewise.
5263         (acos_upward_test_data): Likewise.
5264         (acosh_test_data): Likewise.
5265         (asin_test_data): Likewise.
5266         (asin_tonearest_test_data): Likewise.
5267         (asin_towardzero_test_data): Likewise.
5268         (asin_upward_test_data): Likewise.
5269         (asinh_test_data): Likewise.
5270         (atan_test_data): Likewise.
5271         (atanh_test_data): Likewise.
5272         (cbrt_test_data): Likewise.
5273         (cos_test_data): Likewise.
5274         (cos_tonearest_test_data): Likewise.
5275         (cos_towardzero_test_data): Likewise.
5276         (cos_downward_test_data): Likewise.
5277         (cos_upward_test_data): Likewise.
5278         (cosh_test_data): Likewise.
5279         (cosh_tonearest_test_data): Likewise.
5280         (cosh_towardzero_test_data): Likewise.
5281         (cosh_downward_test_data): Likewise.
5282         (cosh_upward_test_data): Likewise.
5283         * sysdeps/i386/fpu/libm-test-ulps: Update.
5284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5286 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
5288         [BZ #6787]
5289         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
5290         * math/w_exp10f.c (__exp10f): Likewise.
5291         * math/w_exp10l.c (__exp10l): Likewise.
5292         * math/libm-test.inc (exp10_test_data): Add more tests and expect
5293         errno settings in existing tests.
5295         [BZ #14032]
5296         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5297         precision control set to double precision.
5298         * sysdeps/i386/fpu/w_sqrt.c: New file.
5299         * math/auto-libm-test-in: Add more tests.
5300         * math/auto-libm-test-out: Update.
5302         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
5303         (sqrt_test_tonearest): New function.
5304         (sqrt_towardzero_test_data): New variable.
5305         (sqrt_test_towardzero): New function.
5306         (sqrt_downward_test_data): New variable.
5307         (sqrt_test_downward): New function.
5308         (sqrt_upward_test_data): New variable.
5309         (sqrt_test_upward): New function.
5310         (main): Call the new functions.
5312         * math/gen-auto-libm-tests.c: New file.
5313         * math/auto-libm-test-in: Likewise.
5314         * math/auto-libm-test-out: New generated file.
5315         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
5316         variables.
5317         (%beautify): Add generated representations of zero.
5318         (top level): Set $auto_input and call parse_auto_input.
5319         (beautify): Remove trailing "f" from hex float constants.
5320         (parse_args): Handle XFAIL_TEST.
5321         (convert_condition): New function.
5322         (or_value): Likewise.
5323         (or_cond_value): Likewise.
5324         (generate_testfile): Handle AUTO_TESTS_* lines.
5325         (parse_auto_input): New function.
5326         * math/libm-test.inc (XFAIL_TEST): New macro.
5327         (ERRNO_UNCHANGED): Update value.
5328         (ERRNO_EDOM): Likewise.
5329         (ERRNO_ERANGE): Likewise.
5330         (IGNORE_RESULT): Likewise.
5331         (TEST_COND_flt_32): New macro.
5332         (TEST_COND_dbl_64): Likewise.
5333         (TEST_COND_ldbl_96_intel): Likewise.
5334         (TEST_COND_ldbl_96_m68k): Likewise.
5335         (TEST_COND_ldbl_128): Likewise.
5336         (TEST_COND_ldbl_128ibm): Likewise.
5337         (TEST_COND_long32): Likewise.
5338         (TEST_COND_long64): Likewise.
5339         (TEST_COND_before_rounding): Likewise.
5340         (TEST_COND_after_rounding): Likewise.
5341         (enable_test): Handle XFAIL_TEST flag.
5342         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
5343         with finite results.
5344         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
5345         auto-libm-test-out.
5347 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5348             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5350         [BZ #16214]
5351         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
5352         __tls_get_addr_internal instead of __tls_get_offset in order to
5353         avoid GOT pointer dependency.  Make rtld export
5354         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
5355         __tls_get_addr since we are a __tls_get_offset platform.
5356         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
5357         GOT pointer being set up before.
5358         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
5360 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
5362         * manual/math.texi (Errors in Math Functions): Document accuracy
5363         goals.
5365         [BZ #15004]
5366         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
5367         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
5368         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5369         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5370         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5371         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5372         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5373         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5374         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5375         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5376         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5377         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5378         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5379         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5380         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5381         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5383         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5384         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5385         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5386         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5387         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5388         Likewise.
5389         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5390         Likewise.
5391         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5392         Likewise.
5393         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5394         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5395         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5396         atomic-feupdateenv and flt-rounds.
5397         * sysdeps/powerpc/nofpu/Versions (libc): Add
5398         __atomic_feholdexcept, __atomic_feclearexcept,
5399         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5400         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5401         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5402         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5403         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5404         here.
5405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5406         Update.
5408         * manual/arith.texi (FP Exceptions): Document that exceptions may
5409         not be raised when matherr is used.
5410         (Math Error Reporting): Document overflow in directed rounding
5411         modes.  Document that errno may not be set when finite values are
5412         returned on overflow.  Document intent to set errno on underflow
5413         only for underflow to zero.
5415         [BZ #16271]
5416         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5417         round-to-nearest then adjust result for other rounding modes.
5418         * include/fenv.h (fegetround): Use libm_hidden_proto.
5419         * math/fegetround.c (fegetround): Use libm_hidden_def.
5420         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5421         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5422         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5423         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5424         Likewise.
5425         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5426         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5427         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5428         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5430 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5432         [BZ #16077]
5433         * nss/Versions (libnss_files): Add
5434         _nss_files_gethostbyname3_r.
5435         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5436         New function.
5437         (HOST_DB_LOOKUP): Remove macro.
5438         (_nss_files_gethostbyname_r): Implement function without the
5439         HOST_DB_LOOKUP macro.
5440         (_nss_files_gethostbyname2_r): Likewise.
5442 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
5444         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5446 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
5448         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5449         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5450         warning.
5452 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5455         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5457         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5458         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5459         __fe_nomask_env_priv and attribute_hidden.
5460         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5461         (libc_feupdateenv_test_ppc): Likewise.
5462         (libc_feresetround_ppc): Likewise.
5463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5464         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5465         compat_symbol macro.
5466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5467         (__fe_nomask_env): Likewise.
5468         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5470 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5472         * string/Makefile: Remove ifunc tests.
5473         * string/test-string.h: Define TEST_IFUNC.
5474         * string/test-bcopy-ifunc.c: Remove.
5475         * string/test-bzero-ifunc.c: Likewise.
5476         * string/test-memccpy-ifunc.c: Likewise.
5477         * string/test-memchr-ifunc.c: Likewise.
5478         * string/test-memcmp-ifunc.c: Likewise.
5479         * string/test-memcpy-ifunc.c: Likewise.
5480         * string/test-memmem-ifunc.c: Likewise.
5481         * string/test-memmove-ifunc.c: Likewise.
5482         * string/test-mempcpy-ifunc.c: Likewise.
5483         * string/test-memrchr-ifunc.c: Likewise.
5484         * string/test-memset-ifunc.c: Likewise.
5485         * string/test-rawmemchr-ifunc.c: Likewise.
5486         * string/test-stpcpy-ifunc.c: Likewise.
5487         * string/test-stpncpy-ifunc.c: Likewise.
5488         * string/test-strcasecmp-ifunc.c: Likewise.
5489         * string/test-strcasestr-ifunc.c: Likewise.
5490         * string/test-strcat-ifunc.c: Likewise.
5491         * string/test-strchr-ifunc.c: Likewise.
5492         * string/test-strchrnul-ifunc.c: Likewise.
5493         * string/test-strcmp-ifunc.c: Likewise.
5494         * string/test-strcpy-ifunc.c: Likewise.
5495         * string/test-strcspn-ifunc.c: Likewise.
5496         * string/test-strlen-ifunc.c: Likewise.
5497         * string/test-strncasecmp-ifunc.c: Likewise.
5498         * string/test-strncat-ifunc.c: Likewise.
5499         * string/test-strncmp-ifunc.c: Likewise.
5500         * string/test-strncpy-ifunc.c: Likewise.
5501         * string/test-strnlen-ifunc.c: Likewise.
5502         * string/test-strpbrk-ifunc.c: Likewise.
5503         * string/test-strrchr-ifunc.c: Likewise.
5504         * string/test-strspn-ifunc.c: Likewise.
5505         * string/test-strstr-ifunc.c: Likewise.
5507 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5509         * benchtests/Makefile: Remove ifunc tests.
5510         * benchtests/bench-string.h: Define TEST_IFUNC.
5511         * benchtests/bench-bcopy-ifunc.c: Remove.
5512         * benchtests/bench-bzero-ifunc.c: Likewise.
5513         * benchtests/bench-memccpy-ifunc.c: Likewise.
5514         * benchtests/bench-memchr-ifunc.c: Likewise.
5515         * benchtests/bench-memcmp-ifunc.c: Likewise.
5516         * benchtests/bench-memcpy-ifunc.c: Likewise.
5517         * benchtests/bench-memmem-ifunc.c: Likewise.
5518         * benchtests/bench-memmove-ifunc.c: Likewise.
5519         * benchtests/bench-mempcpy-ifunc.c: Likewise.
5520         * benchtests/bench-memrchr-ifunc.c: Likewise.
5521         * benchtests/bench-memset-ifunc.c: Likewise.
5522         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5523         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5524         * benchtests/bench-stpcpy-ifunc.c: Likewise.
5525         * benchtests/bench-stpncpy-ifunc.c: Likewise.
5526         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5527         * benchtests/bench-strcasestr-ifunc.c: Likewise.
5528         * benchtests/bench-strcat-ifunc.c: Likewise.
5529         * benchtests/bench-strchr-ifunc.c: Likewise.
5530         * benchtests/bench-strchrnul-ifunc.c: Likewise.
5531         * benchtests/bench-strcmp-ifunc.c: Likewise.
5532         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5533         * benchtests/bench-strcpy-ifunc.c: Likewise.
5534         * benchtests/bench-strcspn-ifunc.c: Likewise.
5535         * benchtests/bench-strlen-ifunc.c: Likewise.
5536         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5537         * benchtests/bench-strncat-ifunc.c: Likewise.
5538         * benchtests/bench-strncmp-ifunc.c: Likewise.
5539         * benchtests/bench-strncpy-ifunc.c: Likewise.
5540         * benchtests/bench-strnlen-ifunc.c: Likewise.
5541         * benchtests/bench-strpbrk-ifunc.c: Likewise.
5542         * benchtests/bench-strrchr-ifunc.c: Likewise.
5543         * benchtests/bench-strsep-ifunc.c: Likewise.
5544         * benchtests/bench-strspn-ifunc.c: Likewise.
5545         * benchtests/bench-strstr-ifunc.c: Likewise.
5547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5549         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5551 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5553         * resolv/netdb.h: Use __glibc_reserved instead __unused.
5554         * rt/aio.h: Likewise.
5555         * sysdeps/gnu/bits/utmp.h: Likewise.
5556         * sysdeps/gnu/bits/utmpx.h: Likewise.
5557         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5558         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5559         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5560         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5561         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5562         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5563         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5564         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5565         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5566         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5567         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5568         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5569         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5571         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5572         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5573         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5574         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5575         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5576         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5577         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5578         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5579         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5580         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5581         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5583         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5584         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5585         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5586         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5587         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5588         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5589         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5590         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5591         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5592         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5593         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5595         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5596         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5597         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5598         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5600 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
5602         [BZ #16245]
5603         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5604         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5606 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
5608         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5610         Likewise.
5612 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5615         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5616         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5617         (__fesetround): Remove define.
5618         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5619         rounding and exceptions handling.
5620         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5621         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5622         (__fe_nomask_env): Likewise.
5623         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5624         __fegetround instead of fegetround.
5625         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5626         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5628 2013-11-21  Roland McGrath  <roland@hack.frob.com>
5630         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5631         it's there.
5633         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5635 2013-11-21  Meador Inge  <meadori@codesourcery.com>
5637         [BZ #11157]
5638         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5639         (encrypt_r): Likewise.
5640         * malloc/obstack.h (obstack_free): Likewise.
5641         * posix/unistd.h (encrypt): Likewise.
5643 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5645         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5646         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5647         DL_CALL_DT_FINI() that call the functions directly.
5648         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5649         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5650         * elf/dl-fini.c: Likewise.
5652 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
5654         * malloc/hooks.c (memalign_check): Add alignment rounding.
5655         * malloc/malloc.c (_mid_memalign): New function.
5656         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5657         Implement by calling _mid_memalign.
5658         * manual/probes.texi (Memory Allocation Probes): Remove
5659         memory_valloc_retry and memory_pvalloc_retry.
5661 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5663         * locale/programs/locarchive.c (open_archive): Add const
5664         qualifier to ARCHIVEFNAME and copy default fname to
5665         DEFAULT_FNAME.
5667         [BZ #15601]
5668         * libio/tst-widetext.input: Rename Oriya to Odia.
5669         * locale/iso-639.def: Likewise.
5671         * manual/probes.texi (Mathematical Function Probes): Add
5672         documentation for sin, cos, asin and acos probes.
5673         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5674         (__sin32): Add slowasin probe.
5675         (__cos32): Add slowacos probe.
5676         (__mpsin): Add slowsin probe.
5677         (__mpcos): Add slowcos probe.
5679 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
5681         [BZ #15483]
5682         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5683         thread-local __sim_exceptions_thread and global
5684         __sim_exceptions_global.
5685         (__sim_disabled_exceptions): Change to thread-local
5686         __sim_disabled_exceptions_thread and global
5687         __sim_disabled_exceptions_global.
5688         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5689         and global __sim_round_mode_global.
5690         (__simulate_exceptions): Use thread-local floating-point state and
5691         set global state from it as needed.
5692         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5693         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5694         __sim_round_mode_thread.
5695         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5696         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5697         and global __sim_exceptions_global.
5698         (__sim_disabled_exceptions): Change to thread-local
5699         __sim_disabled_exceptions_thread and global
5700         __sim_disabled_exceptions_global.
5701         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5702         and global __sim_round_mode_global.
5703         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5704         (SIM_SET_GLOBAL): Likewise.
5705         * sysdeps/powerpc/soft-fp/sfp-machine.h
5706         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5707         __sim_round_mode_thread.
5708         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5709         __sim_disabled_exceptions_thread.
5710         (__sim_exceptions): Change to __sim_exceptions_thread.
5711         (__sim_disabled_exceptions): Change to
5712         __sim_disabled_exceptions_thread.
5713         (__sim_round_mode): Change to __sim_round_mode_thread.
5714         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5715         thread-local floating-point state and set global state from it as
5716         needed.
5717         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5718         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5719         (__sim_disabled_exceptions): Remove extern declaration.
5720         (feenableexcept): Use thread-local floating-point state and set
5721         global state from it as needed.
5722         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5723         extern declaration.
5724         (__sim_disabled_exceptions): Likewise.
5725         (__sim_round_mode): Likewise.
5726         (__fegetenv): Use thread-local floating-point state.
5727         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5728         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5729         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5730         floating-point state and set global state from it as needed.
5731         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5732         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5733         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5734         Likewise.
5735         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5736         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5737         Likewise.
5738         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5739         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5740         Use __sim_round_mode_thread.
5741         * math/test-fenv-tls.c: New file.
5742         * math/Makefile (tests): Add test-fenv-tls.
5743         ($(objpfx)test-fenv-tls): Depend on
5744         $(common-objpfx)nptl/libpthread.so.
5746 2013-11-19  Andreas Schwab  <schwab@suse.de>
5748         * locale/programs/locale.c (show_info): Decode wordarray elements.
5749         * locale/categories.def (LC_MONETARY): Add element for
5750         _NL_MONETARY_CRNCYSTR.
5751         * locale/C-monetary.c (conversion_rate): New variable.
5752         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5753         element.
5755 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
5757         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5758         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5760 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5762         * elf/Makefile (tst-auxv): New test.
5763         * elf/tst-auxv.c: New
5764         * elf/rtld.c (dl_main): Adjust AT_EXECFN
5766 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
5768         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5769         (hidden_proto): Caller changed.
5770         (hidden_tls_proto): New macro.
5771         (libc_hidden_tls_proto): Likewise.
5772         (rtld_hidden_tls_proto): Likewise.
5773         (libm_hidden_tls_proto): Likewise.
5774         (libresolv_hidden_tls_proto): Likewise.
5775         (librt_hidden_tls_proto): Likewise.
5776         (libdl_hidden_tls_proto): Likewise.
5777         (libnss_files_hidden_tls_proto): Likewise.
5778         (libnsl_hidden_tls_proto): Likewise.
5779         (libnss_nisplus_hidden_tls_proto): Likewise.
5780         (libutil_hidden_tls_proto): Likewise.
5782 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
5784         [BZ #10253]
5785         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5786         (decompose_rpath): Defer expansion to fillin_rpath.
5787         (_dl_init_paths): Pass linkmap to fillin_rpath.
5789 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5791         * benchtests/Makefile: Add strsep.
5792         * benchtests/bench-strsep.c: New file: strsep benchtest.
5793         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5795 2013-11-18  Andreas Schwab  <schwab@suse.de>
5797         * locale/programs/locale.c (show_info) [case byte]: Check for
5798         '\377' instead of '\177'.
5799         * locale/C-monetary.c (not_available): Always use "\377".
5800         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5801         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
5802         detect unavailable sign_posn locale elements.
5803         * locale/localeconv.c (__localeconv): For grouping and
5804         mon_grouping handle "\177" and "\377" like no grouping.
5805         (INT_ELEM): New macro.  Use it to set all numeric members.
5806         * locale/programs/ld-monetary.c (monetary_read)
5807         <tok_mon_grouping>: Normalize single -1 to the empty string.
5808         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5809         Likewise.
5811 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
5813         [BZ #16055]
5814         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5815         when we match (nil).
5816         * stdio-common/tst-sscanf.c (struct test): Add testcase.
5818 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
5820         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5821         (NO_TEST_INLINE): Update value.
5822         (ERRNO_UNCHANGED): Likewise.
5823         (ERRNO_EDOM): Likewise.
5824         (ERRNO_ERANGE): Likewise.
5825         (IGNORE_RESULT): Likewise.
5826         (check_float_internal): Check signs of NaN results if
5827         TEST_NAN_SIGN used.
5828         (check_complex): Pass TEST_NAN_SIGN flag through to second
5829         check_float_internal call.
5830         (copysign_test_data): Add tests with quiet NaNs as second
5831         argument.  Use TEST_NAN_SIGN.
5832         (fabs_test_data): Add test of negative quiet NaN argument.  Use
5833         TEST_NAN_SIGN.
5834         (signbit_test_data): Add tests of quiet NaN argument.
5835         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5837         * math/gen-libm-test.pl (show_exceptions): Take extra argument
5838         $ignore_result.
5839         (parse_args): Handle function results specified as IGNORE.
5840         * math/libm-test.inc (IGNORE_RESULT): New macro.
5841         (check_float_internal): Do not check numerical result if flag
5842         IGNORE_RESULT set.
5843         (check_complex): Pass through IGNORE_RESULT to second
5844         check_float_internal call.
5845         (check_int): Do not check numerical result if flag IGNORE_RESULT
5846         set.
5847         (check_long): Likewise.
5848         (check_bool): Likewise.
5849         (check_longlong): Likewise.
5850         (lrint_test_data): Add tests of infinite and NaN arguments.
5851         (lrint_tonearest_test_data): Likewise.
5852         (lrint_towardzero_test_data): Likewise.
5853         (lrint_downward_test_data): Likewise.
5854         (lrint_upward_test_data): Likewise.
5855         (llrint_test_data): Likewise.
5856         (llrint_tonearest_test_data): Likewise.
5857         (llrint_towardzero_test_data): Likewise.
5858         (llrint_downward_test_data): Likewise.
5859         (llrint_upward_test_data): Likewise.
5860         (lround_test_data): Likewise.
5861         (llround_test_data): Likewise.
5863         * math/libm-test.inc (NO_TEST_INLINE): New macro.
5864         (ERRNO_UNCHANGED): Update value.
5865         (ERRNO_EDOM): Likewise.
5866         (ERRNO_ERANGE): Likewise.
5867         (NO_TEST_INLINE_FLOAT): New macro.
5868         (NO_TEST_INLINE_DOUBLE): Likewise.
5869         (enable_test): New function.
5870         (RUN_TEST_f_f): Check enable_test before running test.
5871         (RUN_TEST_2_f): Likewise.
5872         (RUN_TEST_fff_f): Likewise.
5873         (RUN_TEST_c_f): Likewise.
5874         (RUN_TEST_f_f1): Likewise.
5875         (RUN_TEST_fF_f1): Likewise.
5876         (RUN_TEST_fI_f1): Likewise.
5877         (RUN_TEST_ffI_f1): Likewise.
5878         (RUN_TEST_c_c): Likewise.
5879         (RUN_TEST_cc_c): Likewise.
5880         (RUN_TEST_f_i): Likewise.
5881         (RUN_TEST_f_i_tg): Likewise.
5882         (RUN_TEST_ff_i_tg): Likewise.
5883         (RUN_TEST_f_b): Likewise.
5884         (RUN_TEST_f_b_tg): Likewise.
5885         (RUN_TEST_f_l): Likewise.
5886         (RUN_TEST_f_L): Likewise.
5887         (RUN_TEST_fFF_11): Likewise.
5888         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5889         conditionals.
5890         (cosh_test_data): Likewise.
5891         (exp_test_data): Likewise.
5892         (expm1_test_data): Likewise.
5893         (hypot_test_data): Likewise.
5894         (pow_test_data): Likewise.
5895         (sinh_test_data): Likewise.
5896         (tanh_test_data): Likewise.
5897         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5898         flags argument.
5900         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5901         tests with quiet NaN input and output.
5902         (acosh_test_data): Likewise.
5903         (asin_test_data): Likewise.
5904         (asinh_test_data): Likewise.
5905         (atan_test_data): Likewise.
5906         (atanh_test_data): Likewise.
5907         (atan2_test_data): Likewise.
5908         (cbrt_test_data): Likewise.
5909         (cos_test_data): Likewise.
5910         (cosh_test_data): Likewise.
5911         (erf_test_data): Likewise.
5912         (erfc_test_data): Likewise.
5913         (exp_test_data): Likewise.
5914         (exp10_test_data): Likewise.
5915         (exp2_test_data): Likewise.
5916         (expm1_test_data): Likewise.
5917         (hypot_test_data): Likewise.
5918         (j0_test_data): Likewise.
5919         (j1_test_data): Likewise.
5920         (jn_test_data): Likewise.
5921         (lgamma_test_data): Likewise.
5922         (log_test_data): Likewise.
5923         (log10_test_data): Likewise.
5924         (log1p_test_data): Likewise.
5925         (log2_test_data): Likewise.
5926         (pow_test_data): Likewise.
5927         (scalb_test_data): Likewise.
5928         (sin_test_data): Likewise.
5929         (sincos_test_data): Likewise.
5930         (sinh_test_data): Likewise.
5931         (tan_test_data): Likewise.
5932         (tanh_test_data): Likewise.
5933         (tgamma_test_data): Likewise.
5934         (y0_test_data): Likewise.
5935         (y1_test_data): Likewise.
5936         (yn_test_data): Likewise.
5938         [BZ #16167]
5939         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5940         argument being NaN and avoid computations with second argument in
5941         that case.
5942         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5943         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5944         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5946 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
5948         * locale/iso-639.def: Add Chitwani Tharu (the).
5950 2013-11-14  Andreas Schwab  <schwab@suse.de>
5952         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5953         word instead of empty string.
5955 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5958         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5960         (__fe_nomask_env): Likewise.
5962 2013-11-13  Steve Ellcey  <sellcey@mips.com>
5964         * benchtests/bench-timing.h: Include time.h.
5966 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
5968         [BZ #15997]
5969         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5970         to 3.4.0 for x32.
5971         * sysdeps/unix/sysv/linux/configure: Regenerated.
5973 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
5975         [BZ #16151]
5976         * stdlib/strtod_l.c (round_and_return): Do not consider
5977         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5978         exponent one less than half the least subnormal exponent.
5979         * stdlib/test-strtod-round-data: Add more tests.
5980         * stdlib/tst-strtod-round.c (tests): Regenerated.
5982 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5984         [BZ #14143]
5985         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5986         (__fe_mask_env): Likewise.
5987         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5988         libm_hidden_proto and add function prototype.
5989         (__fe_mask_env): Add function prototype.
5990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5991         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5993         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5995         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5997 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5999         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6000         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6002 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6004         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6005         of htab_find_slot().
6007 2013-11-11  David S. Miller  <davem@davemloft.net>
6009         [BZ #16150]
6010         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
6011         symbol in the non-vis3 case in static builds.
6012         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
6013         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
6014         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
6015         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
6017 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6019         [BZ #387]
6020         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
6021         it is empty.
6023 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6025         * benchtests/Makefile: Add bench-strtod.
6026         * benchtests/bench-strtod.c: New file: strtod benchtest
6028 2013-11-11  Andreas Schwab  <schwab@suse.de>
6030         [BZ #16153]
6031         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
6032         terminating NUL in key length.
6034 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6037         Add artificial ODP entry for vDSO symbol for PPC64.
6038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6039         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6041 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6043         [BZ #15374]
6044         * nss/getent.c (services_keys): Recognize services starting with digit.
6046 2013-11-06  David S. Miller  <davem@davemloft.net>
6048         [BZ #15985]
6049         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
6050         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
6052 2013-11-06  Will Newton  <will.newton@linaro.org>
6054         * manual/memory.texi (Malloc Examples): Remove register
6055         keyword from examples.
6057 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
6059         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
6061 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
6063         [BZ #6981]
6064         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
6065         depending on [__GCC_IEC_559 > 0].
6066         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
6067         depending on [__GCC_IEC_559_COMPLEX > 0].
6069 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
6071         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
6072         to iso-639.def.
6074 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
6076         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
6078 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
6080         [BZ #16112]
6081         * malloc/malloc (malloc_info): Do not handle first bin as
6082         special case.
6084 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
6086         * locale/iso-639.def: Add Central Nahuatl (nhn).
6088 2013-11-01  Bruno Haible  <bruno@clisp.org>
6090         [BZ #7003]
6091         * manual/math.texi (BSD Random): Specify range upper bound as
6092         in POSIX.
6094 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
6096         * locale/iso-639.def: Add Meadow Mari (mhr).
6098 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
6100         [BZ #14752], [BZ #15763]
6101         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
6102         Validate name.
6103         * rt/tst_shm.c: Add test for escaping directory.
6105 2013-10-31  Andreas Schwab  <schwab@suse.de>
6107         [BZ #15917]
6108         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
6109         followed by 'x' as part of digit sequence.
6110         * stdio-common/tst-sscanf.c (double_tests2): New tests.
6112 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
6114         [BZ #16037]
6115         * configure.ac: allow GNU Make 4.0 and greater.
6116         * configure: Regenerated.
6118 2013-10-30  Will Newton  <will.newton@linaro.org>
6120         [BZ #16038]
6121         * malloc/hooks.c (memalign_check): Limit alignment to the
6122         maximum representable power of two.
6123         * malloc/malloc.c (__libc_memalign): Likewise.
6124         * malloc/tst-memalign.c (do_test): Add test for very
6125         large alignment values.
6126         * malloc/tst-posix_memalign.c (do_test): Likewise.
6128 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6130         [BZ #11087]
6131         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
6132         (munmap_chunk): Likewise.
6133         (mremap_chunk): Likewise.
6135 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6137         [BZ #15799]
6138         * stdlib/div.c (div): Remove obsolete code.
6139         * stdlib/ldiv.c (ldiv): Likewise.
6140         * stdlib/lldiv.c (lldiv): Likewise.
6142 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6144         [BZ #16071]
6145         * nss/nss_files/files-XXX.c (get_contents_ret): New
6146         enumerator.
6147         (get_contents): New function.
6148         (internal_getent): Use it.  Expand size of LINEBUFLEN.
6150 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
6152         * configure.in: Moved to ...
6153         * configure.ac: ... here. Change reference to configure.in
6154         to configure.ac.
6155         * sysdeps/arm/preconfigure.ac: ... here.
6156         configure.in to configure.ac.
6157         * sysdeps/gnu/configure.in: Moved to ...
6158         * sysdeps/gnu/configure.ac: ... here.
6159         * sysdeps/i386/configure.in: Moved to ...
6160         * sysdeps/i386/configure.ac: ... here.
6161         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
6162         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
6163         * sysdeps/mach/configure.in: Moved to ...
6164         * sysdeps/mach/configure.ac: ... here.
6165         * sysdeps/mach/hurd/configure.in: Moved to ...
6166         * sysdeps/mach/hurd/configure.ac: ... here.
6167         * sysdeps/powerpc/configure.in: Moved to ...
6168         * sysdeps/powerpc/configure.ac: ... here.
6169         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
6170         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
6171         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
6172         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
6173         * sysdeps/s390/s390-32/configure.in: Moved to ...
6174         * sysdeps/s390/s390-32/configure.ac: ... here.
6175         * sysdeps/s390/s390-64/configure.in: Moved to ...
6176         * sysdeps/s390/s390-64/configure.ac: ... here.
6177         * sysdeps/sh/configure.in: Moved to ...
6178         * sysdeps/sh/configure.ac: ... here.
6179         * sysdeps/sparc/configure.in: Moved to ...
6180         * sysdeps/sparc/configure.ac: ... here.
6181         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
6182         * sysdeps/unix/sysv/linux/configure.ac: ... here.
6183         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
6184         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
6185         * sysdeps/x86_64/configure.in: Moved to ...
6186         * sysdeps/x86_64/configure.ac: ... here.
6187         * sysdeps/x86_64/preconfigure.in: Moved to ...
6188         * sysdeps/x86_64/preconfigure.ac: ... here.
6189         * aclocal.m4: Change reference to configure.in to configure.ac.
6190         * config.h.in: Likewise.
6191         * manual/install.texi: Likewise.
6192         * manual/maint.texi: Likewise.
6193         * Makefile: Likewise.
6194         * malloc/Makefile: Likewise.
6195         * nscd/Makefile: Likewise.
6196         * Makeconfig: Change reference to configure.in and
6197         preconfigure.in to configure.ac and preconfigure.ac
6198         respectively.
6199         * INSTALL: Regenerated.
6200         * configure: Likewise.
6201         * sysdeps/gnu/configure: Likewise.
6202         * sysdeps/i386/configure: Likewise.
6203         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
6204         * sysdeps/mach/configure: Likewise.
6205         * sysdeps/mach/hurd/configure: Likewise.
6206         * sysdeps/powerpc/configure: Likewise.
6207         * sysdeps/powerpc/powerpc32/configure: Likewise.
6208         * sysdeps/powerpc/powerpc64/configure: Likewise.
6209         * sysdeps/s390/s390-32/configure: Likewise.
6210         * sysdeps/s390/s390-64/configure: Likewise.
6211         * sysdeps/sh/configure: Likewise.
6212         * sysdeps/sparc/configure: Likewise.
6213         * sysdeps/unix/sysv/linux/configure: Likewise.
6214         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
6215         * sysdeps/x86_64/configure: Likewise.
6216         * sysdeps/x86_64/preconfigure: Likewise.
6218 2013-10-29  Andreas Schwab  <schwab@suse.de>
6220         * stdio-common/Makefile (tst-swscanf-ENV): Define.
6222 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6224         * benchtests/pow-inputs: Add new inputs.
6226         * benchtests/exp-inputs: Add new inputs.
6228         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
6229         conditional check for return value.
6230         (__cos32): Likewise.
6232 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6234         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
6235         to provide a boost for large inputs with word alignment.
6236         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
6237         implementation based on optimized PPC64 strcpy.
6238         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
6239         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
6240         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
6241         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
6243 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6245         [BZ #2801]
6246         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
6248 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6250         [BZ #14876]
6251         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
6252         * time/tst-strptime.c (day_tests): Add testcase.
6254 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6256         [BZ #14029]
6257         * manual/pattern.texi: Acknowledge that fnmatch can fail.
6259 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
6261         [BZ #16074]
6262         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
6263         MAP_FAILED on error.
6265 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6267         [BZ #16072]
6268         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
6269         heap for large requests.
6271 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
6273         [BZ #9954]
6274         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
6275         result if the result has no associated interface.
6276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
6277         interface for all 127.X.Y.Z addresses.
6279 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
6281         * locale/iso-639.def: Add Ligurian (lij)
6283 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
6285         [BZ #15825]
6286         * sunrpc/rpc_main.c: Document rpcgen -5.
6288 2013-10-19  Michael Stahl  <mstahl@redhat.com>
6290         * elf/rtld.c (do_preload): Print the reason why preloading failed.
6292 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6294         [BZ #10278]
6295         * posix/glob.c: Match only directories when trailing slash is present.
6296         * posix/tst-gnuglob.c (my_opendir): Do not open files.
6297         (main): Add testcase.
6299 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6301         [BZ #15670]
6302         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6304 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
6306         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
6307         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
6308         AUTH_DES and cindex for FIPS 140-2.
6309         (DES Encryption): Add cindex FIPS 46-3.
6311         * locale/locarchive.h (struct locarhandle): Add fname.
6312         * locale/programs/localedef.c (main): Pass ARGV[remaining]
6313         if an optional argument was specified to --list-archive,
6314         otherwise NULL.
6315         * locale/programs/locarchive.c (show_archive_content): Take new
6316         argument fname and pass it via ah.fname to open_archive.
6317         * locale/programs/localedef.h: Update decl.
6318         (open_archive): If AH->fname is non-null, open that file
6319         rather than the default file name, and don't ignore ENOENT.
6320         (create_archive): Set AH.fname to NULL.
6321         (delete_locales_from_archive): Likewise.
6322         (add_locales_to_archive): Likewise.
6323         * locale/programs/locfile.c (write_all_categories): Likewise.
6325 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
6326             Aldy Hernandez  <aldyh@redhat.com>
6328         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
6329         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
6330         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
6331         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
6332         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
6333         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
6334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
6335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
6336         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
6337         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
6338         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
6339         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
6340         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
6341         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
6342         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
6343         Likewise.
6344         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
6345         Likewise.
6346         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
6347         Likewise.
6348         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
6349         Likewise.
6350         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
6351         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
6352         Likewise.
6353         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
6354         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
6355         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
6356         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
6357         Likewise.
6358         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
6359         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
6360         * sysdeps/powerpc/preconfigure: Likewise.
6361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
6362         Likewise.
6363         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
6364         Replace contents of file by #include of <fenv_libc.h>.
6365         * sysdeps/powerpc/soft-fp/sfp-machine.h
6366         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
6367         and <sys/prctl.h>.
6368         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6369         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6370         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6371         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6375         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6377         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6381         Allow copysignl PLT reference to be missing.
6383 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
6384             Joseph Myers  <joseph@codesourcery.com
6386         [BZ #15948]
6387         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6388         single character.
6389         (add_to_tablewc): Assert sequence of wide characters is nonempty.
6391 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6393         * elf/tst-tls-dlinfo.c: Don't include tls.h.
6394         * elf/tst-tls1.c: Likewise.
6395         * elf/tst-tls10.h: Likewise.
6396         * elf/tst-tls14.c: Likewise.
6397         * elf/tst-tls2.c: Likewise.
6398         * elf/tst-tls3.c: Likewise.
6399         * elf/tst-tls4.c: Likewise.
6400         * elf/tst-tls5.c: Likewise.
6401         * elf/tst-tls6.c: Likewise.
6402         * elf/tst-tls7.c: Likewise.
6403         * elf/tst-tls8.c: Likewise.
6404         * elf/tst-tls9.c: Likewise.
6405         * elf/tst-tlsmod1.c: Likewise.
6406         * elf/tst-tlsmod13.c: Likewise.
6407         * elf/tst-tlsmod13a.c: Likewise.
6408         * elf/tst-tlsmod14a.c: Likewise.
6409         * elf/tst-tlsmod16a.c: Likewise.
6410         * elf/tst-tlsmod16b.c: Likewise.
6411         * elf/tst-tlsmod2.c: Likewise.
6412         * elf/tst-tlsmod3.c: Likewise.
6413         * elf/tst-tlsmod4.c: Likewise.
6414         * elf/tst-tlsmod5.c: Likewise.
6415         * elf/tst-tlsmod6.c: Likewise.
6417 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
6419         [BZ #12486]
6420         * malloc/malloc.c: remove checks for statistics.
6422 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6424         [BZ #15277]
6425         * inet/inet_net.c (inet_network): Detect additional invalid strings.
6426         * inet/tst-network.c: Add testcase.
6428 2013-10-17  Andreas Schwab  <schwab@suse.de>
6430         [BZ #15218]
6431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6432         to determine canonical name.
6434 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6436         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6437         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6441         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6442         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6443         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6444         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6445         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6446         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6450         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6451         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6453         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6454         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6455         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6459         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6460         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6461         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6462         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6463         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6464         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6465         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6466         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6468         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6469         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6470         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6471         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6472         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6473         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6474         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6475         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6476         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6477         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6478         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6479         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6480         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6481         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6482         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6483         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6484         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6485         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6486         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6487         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6488         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6489         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6490         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6491         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6492         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6493         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6495 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
6497         [BZ #16041]
6498         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6499         make result into a quiet NaN.
6501 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
6503         * soft-fp/adddf3.c: Fix horizontal whitespace.
6504         * soft-fp/addsf3.c: Likewise.
6505         * soft-fp/addtf3.c: Likewise.
6506         * soft-fp/divdf3.c: Likewise.
6507         * soft-fp/divsf3.c: Likewise.
6508         * soft-fp/divtf3.c: Likewise.
6509         * soft-fp/double.h: Likewise.
6510         * soft-fp/eqdf2.c: Likewise.
6511         * soft-fp/eqsf2.c: Likewise.
6512         * soft-fp/eqtf2.c: Likewise.
6513         * soft-fp/extenddftf2.c: Likewise.
6514         * soft-fp/extended.h: Likewise.
6515         * soft-fp/extendsfdf2.c: Likewise.
6516         * soft-fp/extendsftf2.c: Likewise.
6517         * soft-fp/extendxftf2.c: Likewise.
6518         * soft-fp/fixdfdi.c: Likewise.
6519         * soft-fp/fixdfsi.c: Likewise.
6520         * soft-fp/fixdfti.c: Likewise.
6521         * soft-fp/fixsfdi.c: Likewise.
6522         * soft-fp/fixsfsi.c: Likewise.
6523         * soft-fp/fixsfti.c: Likewise.
6524         * soft-fp/fixtfdi.c: Likewise.
6525         * soft-fp/fixtfsi.c: Likewise.
6526         * soft-fp/fixtfti.c: Likewise.
6527         * soft-fp/fixunsdfdi.c: Likewise.
6528         * soft-fp/fixunsdfsi.c: Likewise.
6529         * soft-fp/fixunsdfti.c: Likewise.
6530         * soft-fp/fixunssfdi.c: Likewise.
6531         * soft-fp/fixunssfsi.c: Likewise.
6532         * soft-fp/fixunssfti.c: Likewise.
6533         * soft-fp/fixunstfdi.c: Likewise.
6534         * soft-fp/fixunstfsi.c: Likewise.
6535         * soft-fp/fixunstfti.c: Likewise.
6536         * soft-fp/floatdidf.c: Likewise.
6537         * soft-fp/floatdisf.c: Likewise.
6538         * soft-fp/floatditf.c: Likewise.
6539         * soft-fp/floatsidf.c: Likewise.
6540         * soft-fp/floatsisf.c: Likewise.
6541         * soft-fp/floatsitf.c: Likewise.
6542         * soft-fp/floattidf.c: Likewise.
6543         * soft-fp/floattisf.c: Likewise.
6544         * soft-fp/floattitf.c: Likewise.
6545         * soft-fp/floatundidf.c: Likewise.
6546         * soft-fp/floatundisf.c: Likewise.
6547         * soft-fp/floatunditf.c: Likewise.
6548         * soft-fp/floatunsidf.c: Likewise.
6549         * soft-fp/floatunsisf.c: Likewise.
6550         * soft-fp/floatunsitf.c: Likewise.
6551         * soft-fp/floatuntidf.c: Likewise.
6552         * soft-fp/floatuntisf.c: Likewise.
6553         * soft-fp/floatuntitf.c: Likewise.
6554         * soft-fp/fmadf4.c: Likewise.
6555         * soft-fp/fmasf4.c: Likewise.
6556         * soft-fp/fmatf4.c: Likewise.
6557         * soft-fp/gedf2.c: Likewise.
6558         * soft-fp/gesf2.c: Likewise.
6559         * soft-fp/getf2.c: Likewise.
6560         * soft-fp/ledf2.c: Likewise.
6561         * soft-fp/lesf2.c: Likewise.
6562         * soft-fp/letf2.c: Likewise.
6563         * soft-fp/muldf3.c: Likewise.
6564         * soft-fp/mulsf3.c: Likewise.
6565         * soft-fp/multf3.c: Likewise.
6566         * soft-fp/negdf2.c: Likewise.
6567         * soft-fp/negsf2.c: Likewise.
6568         * soft-fp/negtf2.c: Likewise.
6569         * soft-fp/op-1.h: Likewise.
6570         * soft-fp/op-2.h: Likewise.
6571         * soft-fp/op-4.h: Likewise.
6572         * soft-fp/op-8.h: Likewise.
6573         * soft-fp/op-common.h: Likewise.
6574         * soft-fp/quad.h: Likewise.
6575         * soft-fp/single.h: Likewise.
6576         * soft-fp/soft-fp.h: Likewise.
6577         * soft-fp/sqrtdf2.c: Likewise.
6578         * soft-fp/sqrtsf2.c: Likewise.
6579         * soft-fp/sqrttf2.c: Likewise.
6580         * soft-fp/subdf3.c: Likewise.
6581         * soft-fp/subsf3.c: Likewise.
6582         * soft-fp/subtf3.c: Likewise.
6583         * soft-fp/truncdfsf2.c: Likewise.
6584         * soft-fp/trunctfdf2.c: Likewise.
6585         * soft-fp/trunctfsf2.c: Likewise.
6586         * soft-fp/trunctfxf2.c: Likewise.
6587         * soft-fp/unorddf2.c: Likewise.
6588         * soft-fp/unordsf2.c: Likewise.
6589         * soft-fp/unordtf2.c: Likewise.
6591 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
6593         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6594         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6596 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
6598         * elf/dl-libc.c: Clear initfini list after freeing.
6600 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
6602         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6603         * soft-fp/addsf3.c: Likewise.
6604         * soft-fp/addtf3.c: Likewise.
6605         * soft-fp/divdf3.c: Likewise.
6606         * soft-fp/divsf3.c: Likewise.
6607         * soft-fp/divtf3.c: Likewise.
6608         * soft-fp/double.h: Likewise.
6609         * soft-fp/eqdf2.c: Likewise.
6610         * soft-fp/eqsf2.c: Likewise.
6611         * soft-fp/eqtf2.c: Likewise.
6612         * soft-fp/extenddftf2.c: Likewise.
6613         * soft-fp/extended.h: Likewise.
6614         * soft-fp/extendsfdf2.c: Likewise.
6615         * soft-fp/extendsftf2.c: Likewise.
6616         * soft-fp/extendxftf2.c: Likewise.
6617         * soft-fp/fixdfdi.c: Likewise.
6618         * soft-fp/fixdfsi.c: Likewise.
6619         * soft-fp/fixdfti.c: Likewise.
6620         * soft-fp/fixsfdi.c: Likewise.
6621         * soft-fp/fixsfsi.c: Likewise.
6622         * soft-fp/fixsfti.c: Likewise.
6623         * soft-fp/fixtfdi.c: Likewise.
6624         * soft-fp/fixtfsi.c: Likewise.
6625         * soft-fp/fixtfti.c: Likewise.
6626         * soft-fp/fixunsdfdi.c: Likewise.
6627         * soft-fp/fixunsdfsi.c: Likewise.
6628         * soft-fp/fixunsdfti.c: Likewise.
6629         * soft-fp/fixunssfdi.c: Likewise.
6630         * soft-fp/fixunssfsi.c: Likewise.
6631         * soft-fp/fixunssfti.c: Likewise.
6632         * soft-fp/fixunstfdi.c: Likewise.
6633         * soft-fp/fixunstfsi.c: Likewise.
6634         * soft-fp/fixunstfti.c: Likewise.
6635         * soft-fp/floatdidf.c: Likewise.
6636         * soft-fp/floatdisf.c: Likewise.
6637         * soft-fp/floatditf.c: Likewise.
6638         * soft-fp/floatsidf.c: Likewise.
6639         * soft-fp/floatsisf.c: Likewise.
6640         * soft-fp/floatsitf.c: Likewise.
6641         * soft-fp/floattidf.c: Likewise.
6642         * soft-fp/floattisf.c: Likewise.
6643         * soft-fp/floattitf.c: Likewise.
6644         * soft-fp/floatundidf.c: Likewise.
6645         * soft-fp/floatundisf.c: Likewise.
6646         * soft-fp/floatunsidf.c: Likewise.
6647         * soft-fp/floatunsisf.c: Likewise.
6648         * soft-fp/floatuntidf.c: Likewise.
6649         * soft-fp/floatuntisf.c: Likewise.
6650         * soft-fp/floatuntitf.c: Likewise.
6651         * soft-fp/fmadf4.c: Likewise.
6652         * soft-fp/fmasf4.c: Likewise.
6653         * soft-fp/fmatf4.c: Likewise.
6654         * soft-fp/gedf2.c: Likewise.
6655         * soft-fp/gesf2.c: Likewise.
6656         * soft-fp/getf2.c: Likewise.
6657         * soft-fp/ledf2.c: Likewise.
6658         * soft-fp/lesf2.c: Likewise.
6659         * soft-fp/letf2.c: Likewise.
6660         * soft-fp/muldf3.c: Likewise.
6661         * soft-fp/mulsf3.c: Likewise.
6662         * soft-fp/multf3.c: Likewise.
6663         * soft-fp/negdf2.c: Likewise.
6664         * soft-fp/negsf2.c: Likewise.
6665         * soft-fp/negtf2.c: Likewise.
6666         * soft-fp/op-1.h: Likewise.
6667         * soft-fp/op-2.h: Likewise.
6668         * soft-fp/op-4.h: Likewise.
6669         * soft-fp/op-8.h: Likewise.
6670         * soft-fp/op-common.h: Likewise.
6671         * soft-fp/quad.h: Likewise.
6672         * soft-fp/single.h: Likewise.
6673         * soft-fp/soft-fp.h: Likewise.
6674         * soft-fp/sqrtdf2.c: Likewise.
6675         * soft-fp/sqrtsf2.c: Likewise.
6676         * soft-fp/sqrttf2.c: Likewise.
6677         * soft-fp/subdf3.c: Likewise.
6678         * soft-fp/subsf3.c: Likewise.
6679         * soft-fp/subtf3.c: Likewise.
6680         * soft-fp/truncdfsf2.c: Likewise.
6681         * soft-fp/trunctfdf2.c: Likewise.
6682         * soft-fp/trunctfsf2.c: Likewise.
6683         * soft-fp/trunctfxf2.c: Likewise.
6684         * soft-fp/unorddf2.c: Likewise.
6685         * soft-fp/unordsf2.c: Likewise.
6686         * soft-fp/unordtf2.c: Likewise.
6688 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
6690         [BZ #15672]
6691         * misc/error.c (error_tail): Fix possible buffer overflow.
6693 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
6695         [BZ #13028]
6696         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6697         address.
6699 2013-10-14  P. J. McDermott  <pj@pehjota.net>
6701         [BZ #832]
6702         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
6703         testing pipefail option.
6705 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
6707         * soft-fp/double.h: Indent preprocessor directives inside #if.
6708         * soft-fp/extended.h: Likewise.
6709         * soft-fp/op-2.h: Likewise.
6710         * soft-fp/op-4.h: Likewise.
6711         * soft-fp/op-common.h: Likewise.
6712         * soft-fp/quad.h: Likewise.
6713         * soft-fp/single.h: Likewise.
6714         * soft-fp/soft-fp.h: Likewise.
6716 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
6718         * iconv/iconv_prog.c: Fix typos.
6719         * stdio-common/psiginfo-data.h: Likewise.
6721 2013-10-12   Reuben Thomas <rrt@sc3d.org>
6723         [BZ #15764]
6724         * locale/setlocale.c: Fix typo.
6726 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
6728         [BZ #16036]
6729         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6730         signaling NaN arguments.
6731         * soft-fp/unordsf2.c (__unordsf2): Likewise.
6732         * soft-fp/unordtf2.c (__unordtf2): Likewise.
6734         [BZ #14910]
6735         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6736         unordered operands.
6737         * soft-fp/gesf2.c (__gesf2): Likewise.
6738         * soft-fp/getf2.c (__getf2): Likewise.
6739         * soft-fp/ledf2.c (__ledf2): Likewise.
6740         * soft-fp/lesf2.c (__lesf2): Likewise.
6741         * soft-fp/letf2.c (__letf2): Likewise.
6743         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6744         * soft-fp/eqsf2.c (__eqsf2): Likewise.
6745         * soft-fp/eqtf2.c (__eqtf2): Likewise.
6746         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6747         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6748         * soft-fp/fixdfti.c (__fixdfti): Likewise.
6749         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6750         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6751         * soft-fp/fixsfti.c (__fixsfti): Likewise.
6752         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6753         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6754         * soft-fp/fixtfti.c (__fixtfti): Likewise.
6755         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6756         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6757         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6758         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6759         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6760         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6761         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6762         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6763         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6764         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6765         * soft-fp/floatdisf.c (__floatdisf): Likewise.
6766         * soft-fp/floatsisf.c (__floatsisf): Likewise.
6767         * soft-fp/floattidf.c (__floattidf): Likewise.
6768         * soft-fp/floattisf.c (__floattisf): Likewise.
6769         * soft-fp/floattitf.c (__floattitf): Likewise.
6770         * soft-fp/floatundidf.c (__floatundidf): Likewise.
6771         * soft-fp/floatundisf.c (__floatundisf): Likewise.
6772         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6773         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6774         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6775         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6776         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6777         * soft-fp/gesf2.c (__gesf2): Likewise.
6778         * soft-fp/getf2.c (__getf2): Likewise.
6779         * soft-fp/ledf2.c (__ledf2): Likewise.
6780         * soft-fp/lesf2.c (__lesf2): Likewise.
6781         * soft-fp/letf2.c (__letf2): Likewise.
6783         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6784         Undefine and redefine.
6785         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6786         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6787         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6788         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6789         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6790         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6791         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6792         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6793         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6794         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6795         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6796         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6797         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6798         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6799         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6801         [BZ #16032]
6802         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6803         without decrementing exponent if mantissa >= that for the
6804         denominator, not >.
6805         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6806         denominator, not >.  Decrement exponent in < case instead of
6807         incrementing in >= case.
6808         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6809         without decrementing exponent if mantissa >= that for the
6810         denominator, not >.
6812         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6813         computing saturated result for unsigned overflow.
6815 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6816             Jeff Law  <law@redhat.com>
6818         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6819         (atan2Mp): Add systemtap probe marker.
6820         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6821         (__ieee754_log): Add systemtap probe marker.
6822         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6823         (atanMp): Add systemtap probe marker.
6824         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6825         (tanMp): Add systemtap probe marker.
6826         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6827         (__slowexp): Add systemtap probe marker.
6828         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6829         (__slowpow): Add systemtap probe marker.
6830         * manual/probes.texi: Document probes.
6832 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
6834         [BZ #15362]
6835         * libio/fileops.c (_IO_new_file_write): Return count of bytes
6836         written.
6837         (_IO_new_file_xsputn): Don't return EOF if nothing has been
6838         written.
6839         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6840         written to buffer but not flushed.
6841         * libio/iofwrite_u.c:  Likewise.
6842         * libio/iopadn.c:  Return bytes returned even if EOF was
6843         encountered.
6844         * libio/iowpadn.c:  Likewise.
6845         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6846         if _IO_padn does not write the whole buffer.
6847         [!COMPILE_WPRINTF] (PAD): Likewise.
6849 2013-10-10  David S. Miller  <davem@davemloft.net>
6851         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6852         directory block.
6854 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
6856         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
6857         instead of FSF address.
6858         * soft-fp/fixdfti.c: Likewise.
6859         * soft-fp/fixsfti.c: Likewise.
6860         * soft-fp/fixtfti.c: Likewise.
6861         * soft-fp/fixunsdfti.c: Likewise.
6862         * soft-fp/fixunssfti.c: Likewise.
6863         * soft-fp/fixunstfti.c: Likewise.
6864         * soft-fp/floattidf.c: Likewise.
6865         * soft-fp/floattisf.c: Likewise.
6866         * soft-fp/floattitf.c: Likewise.
6867         * soft-fp/floatuntidf.c: Likewise.
6868         * soft-fp/floatuntisf.c: Likewise.
6869         * soft-fp/floatuntitf.c: Likewise.
6870         * soft-fp/trunctfxf2.c: Likewise.
6872         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
6873         * soft-fp/fixdfti.c: Likewise.
6874         * soft-fp/fixsfti.c: Likewise.
6875         * soft-fp/fixtfti.c: Likewise.
6876         * soft-fp/fixunsdfti.c: Likewise.
6877         * soft-fp/fixunssfti.c: Likewise.
6878         * soft-fp/fixunstfti.c: Likewise.
6879         * soft-fp/floattidf.c: Likewise.
6880         * soft-fp/floattisf.c: Likewise.
6881         * soft-fp/floattitf.c: Likewise.
6882         * soft-fp/floatuntidf.c: Likewise.
6883         * soft-fp/floatuntisf.c: Likewise.
6884         * soft-fp/floatuntitf.c: Likewise.
6885         * soft-fp/trunctfxf2.c: Likewise.
6887 2013-10-10  David S. Miller  <davem@davemloft.net>
6889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6891 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
6893         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6894         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6895         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6896         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6897         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6898         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6899         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6902         for NaNs before doing comparisons on argument.
6903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6904         Likewise.
6906 2013-10-10  Will Newton  <will.newton@linaro.org>
6908         * malloc/hooks.c (memalign_check): Ensure the value of bytes
6909         passed to _int_memalign does not overflow.
6911 2013-10-10  Torvald Riegel  <triegel@redhat.com>
6913         * scripts/bench.pl: Add include-sources directive.
6914         * benchtests/README: Update documentation.
6916 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
6918         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6919         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6920         instead of FP_INIT_ROUNDMODE.
6921         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6922         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6924         [BZ #16034]
6925         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
6926         copy class of input value.
6927         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
6928         not handle exceptions.
6929         * soft-fp/negsf2.c (__negsf2): Likewise.
6930         * soft-fp/negtf2.c (__negtf2): Likewise.
6931         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6933 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
6935         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6936         semicolon.  From Linux kernel.
6938 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
6940         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6942 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
6944         [BZ #156]
6945         * manual/socket.texi: Added statement about buffer
6946         for gethostbyname2_r.
6948 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
6950         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6951         Use .p2align directive instead, throughout.
6952         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6953         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6954         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6955         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6956         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6957         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6958         * sysdeps/x86_64/strchr.S: Likewise.
6959         * sysdeps/x86_64/strrchr.S: Likewise.
6961 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6963         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6965         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6967         * sysdeps/generic/math_private.h (__mpsin1): Remove
6968         declaration.
6969         (__mpcos1): Likewise.
6970         (__mpsin): New argument __range_reduce.
6971         (__mpcos): Likewise.
6972         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6973         (slow): Use __mpsin and __mpcos.
6974         (slow1): Likewise.
6975         (slow2): Likewise.
6976         (sloww): Likewise.
6977         (sloww1): Likewise.
6978         (sloww2): Likewise.
6979         (bsloww): Likewise.
6980         (bsloww1): Likewise.
6981         (bsloww2): Likewise.
6982         (cslow2): Likewise.
6983         (csloww): Likewise.
6984         (csloww1): Likewise.
6985         (csloww2): Likewise.
6986         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6987         range_reduce.  Merge in __mpsin1.
6988         (__mpcos): Likewise.
6989         (__mpsin1): Remove.
6990         (__mpcos1): Likewise.
6992 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
6994         * locale/loadlocale.c (_nl_intern_locale_data): Use
6995         LOCFILE_ALIGNED_P.
6996         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6997         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6998         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6999         obstack data is appropriately aligned.
7000         (obstack_int32_grow_fast): Likewise.
7001         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7002         * locale/programs/locfile.c (add_locale_uint32): Likewise.
7003         (add_locale_uint32_array): Likewise.
7005 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7007         * benchtests/Makefile: Remove ARGLIST and RET variables.
7008         ($(objpfx)bench-%.c): Pass only function name to the script.
7009         * benchtests/README: Update documentation.
7010         * benchtests/acos-inputs: Add new directives.
7011         * benchtests/acosh-inputs: Likewise.
7012         * benchtests/asin-inputs: Likewise.
7013         * benchtests/asinh-inputs: Likewise.
7014         * benchtests/atan-inputs: Likewise.
7015         * benchtests/atanh-inputs: Likewise.
7016         * benchtests/cos-inputs: Likewise.
7017         * benchtests/cosh-inputs: Likewise.
7018         * benchtests/exp-inputs: Likewise.
7019         * benchtests/log-inputs: Likewise.
7020         * benchtests/pow-inputs: Likewise.
7021         * benchtests/rint-inputs: Likewise.
7022         * benchtests/sin-inputs: Likewise.
7023         * benchtests/sinh-inputs: Likewise.
7024         * benchtests/tan-inputs: Likewise.
7025         * benchtests/tanh-inputs: Likewise.
7026         * scripts/bench.pl: Add support for new directives.
7028 2013-10-07  Alan Modra  <amodra@gmail.com>
7030         * README: Fix careless merge.
7032 2013-10-05  Alan Modra  <amodra@gmail.com>
7034         * NEWS: Mention powerpc64le support and bugs fixed.
7035         * README: Both big-endian and little-endian powerpc64 supported.
7037 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7039         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
7040         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7041         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
7042         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7044 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
7046         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
7047         match prototype.
7049 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
7051         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
7052         Move -mhard-float appending from
7053         ports/sysdeps/powerpc/powerpc32/Makefile.
7054         [$(with-fp) = yes] (ASFLAGS): Likewise.
7055         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
7056         * sysdeps/powerpc/nofpu: Move directory from
7057         ports/sysdeps/powerpc/nofpu.
7058         * sysdeps/powerpc/soft-fp: Move directory from
7059         ports/sysdeps/powerpc/soft-fp.
7060         * sysdeps/powerpc/powerpc32/405: Move directory from
7061         ports/sysdeps/powerpc/powerpc32/405.
7062         * sysdeps/powerpc/powerpc32/440: Move directory from
7063         ports/sysdeps/powerpc/powerpc32/440.
7064         * sysdeps/powerpc/powerpc32/464: Move directory from
7065         ports/sysdeps/powerpc/powerpc32/464.
7066         * sysdeps/powerpc/powerpc32/476: Move directory from
7067         ports/sysdeps/powerpc/powerpc32/476.
7068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
7069         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
7070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
7071         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
7073         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
7075         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
7076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
7077         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
7078         * README: Update for powerpc-*-linux-gnu software floating point
7079         support in libc.
7081         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
7082         case to powerpc/powerpc32*.
7083         * sysdeps/unix/sysv/linux/configure: Regenerated.
7085         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
7086         (_FPU_MASK_OM): Define as 0x04.
7087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
7088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
7089         0x00c10080.
7090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
7091         0x0000003c.
7092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
7094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
7095         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7096         getcontext_e500.
7097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
7098         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7099         setcontext_e500.
7100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7101         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
7102         and setcontext_e500.
7104 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
7106         * locale/iso-3166.def: Update iso-1366.def and related occurrences
7108 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7110         * manual/threads.texi (Default Thread Attributes): Fix typo.
7112 2013-10-04  Will Newton  <will.newton@linaro.org>
7114         * malloc/Makefile: Add tst-memalign.
7115         * malloc/tst-memalign.c: New file.
7117         * malloc/tst-posix_memalign.c: Add comments.
7118         (do_test): Add comments and call free on all potentially
7119         allocated pointers. Add space after cast.
7121         * malloc/tst-pvalloc.c: Add comments.
7122         (do_test): Add comments and call free on all potentially
7123         allocated pointers. Remove duplicate check for NULL pointer.
7124         Add space after cast.
7126         * malloc/tst-valloc.c: Add comments.
7127         (do_test): Add comments and call free on all potentially
7128         allocated pointers. Remove duplicate check for NULL pointer.
7129         Add space after cast.
7131 2013-10-04  Alan Modra  <amodra@gmail.com>
7133         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7134         Use stdint types in rather than __attribute__((mode())).
7135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7137 2013-10-04  Alan Modra  <amodra@gmail.com>
7139         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7140         Correct handling of unaligned relocs for little-endian.
7141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7143 2013-10-04  Alan Modra  <amodra@gmail.com>
7145         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
7146         * configure: Regenerate.
7147         * nptl/shlib-versions: Powerpc*le starts at 2.18.
7148         * shlib-versions: Likewise.
7150 2013-10-04  Alan Modra  <amodra@gmail.com>
7152         * string/tester.c (test_memrchr): Increment reported test cycle.
7154 2013-10-04  Alan Modra  <amodra@gmail.com>
7156         * string/test-memcpy.c (do_one_test): When reporting errors, print
7157         string address and don't overrun end of string.
7159 2013-10-04  Alan Modra  <amodra@gmail.com>
7161         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
7162         insrdi.  Make better use of reg selection to speed exit slightly.
7163         Schedule entry path a little better.  Remove useless "are we done"
7164         checks on entry to main loop.  Handle wrapping around zero address.
7165         Correct main loop count.  Handle single left-over word from main
7166         loop inline rather than by using loop_small.  Remove extra word
7167         case in loop_small caused by wrong loop count.  Add little-endian
7168         support.
7169         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7170         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
7171         cache hint.
7172         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7173         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
7174         support.  Avoid rlwimi.
7175         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
7177 2013-10-04  Alan Modra  <amodra@gmail.com>
7179         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
7180         insrdi.  Formatting.
7181         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
7182         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7183         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7184         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7185         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7186         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
7188 2013-10-04  Alan Modra  <amodra@gmail.com>
7190         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
7191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
7194         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7195         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7197         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7198         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
7199         use of regs.  Use power7 mtocrf.  Tidy function tails.
7201 2013-10-04  Alan Modra  <amodra@gmail.com>
7203         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
7204         Formatting.  Consistently use rXXX register defines or rN defines.
7205         Use early exit labels that avoid restoring unused non-volatile regs.
7206         Make cr field use more consistent with rWORDn compares.  Rename
7207         regs used as shift registers for unaligned loop, using rN defines
7208         for short lifetime/multiple use regs.
7209         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7210         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
7211         addi 1,1,64 to pop stack frame.  Simplify return value code.
7212         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7214 2013-10-04  Alan Modra  <amodra@gmail.com>
7216         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
7217         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
7218         rather than rlwimi.
7219         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
7220         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
7221         little-endian support.  Correct typos.
7222         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
7223         rather than rlwimi.
7224         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
7225         in loop and entry code to keep "and." results.
7226         (strchr): Add little-endian support.  Comment.  Move cntlzd
7227         earlier in tail.
7228         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
7230 2013-10-04  Alan Modra  <amodra@gmail.com>
7232         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
7233         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
7234         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7235         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
7237 2013-10-04  Alan Modra  <amodra@gmail.com>
7239         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
7240         (rTMP): Define as r11.
7241         (strcmp): Add little-endian support.  Optimise tail.
7242         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
7243         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7244         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7245         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7247         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7248         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7250 2013-10-04  Alan Modra  <amodra@gmail.com>
7252         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
7253         little-endian support.  Remove unnecessary "are we done" tests.
7254         Handle "s" wrapping around zero and extremely large "size".
7255         Correct main loop count.  Handle single left-over word from main
7256         loop inline rather than by using small_loop.  Correct comments.
7257         Delete "zero" tail, use "end_max" instead.
7258         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
7260 2013-10-04  Alan Modra  <amodra@gmail.com>
7262         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
7263         support.  Don't branch over align.
7264         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
7265         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
7266         support.  Rearrange tmp reg use to suit.  Comment.
7267         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
7269 2013-10-04  Alan Modra  <amodra@gmail.com>
7271         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
7273 2013-10-04  Alan Modra  <amodra@gmail.com>
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
7276         conditional form of branch and link when obtaining pc.
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7279 2013-10-04  Alan Modra  <amodra@gmail.com>
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
7282         HIWORD/LOWORD.
7283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
7286 2013-10-04  Alan Modra  <amodra@gmail.com>
7288         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
7289         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
7290         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7291         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7292         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7293         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7294         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
7295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7296         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7297         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
7299 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7300             Alistair Popple <alistair@ozlabs.au.ibm.com>
7301             Alan Modra <amodra@gmail.com>
7303         [BZ #15723]
7304         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
7305         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
7306         _dl_hwcap access for little-endian.
7307         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
7308         destroy vmx regs when saving unaligned.
7309         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
7310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
7311         destroy vmx regs when saving unaligned.
7313 2013-10-04  Alan Modra  <amodra@gmail.com>
7315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
7316         Don't use a union to pack hi/low value.
7318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7320         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
7321         for little-endian.
7322         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7323         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
7324         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7325         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7326         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7328 2013-10-04  Alan Modra  <amodra@gmail.com>
7330         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
7331         constants to usual value for .cst8 section, and remove redundant
7332         high address load.
7333         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7334         constant for 0x1p52.  Load little-endian words of double from
7335         correct stack offsets.
7337 2013-10-04  Alan Modra  <amodra@gmail.com>
7339         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
7340         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
7341         words of double from correct stack offsets.
7342         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7343         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
7344         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7345         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7346         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7347         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7348         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7349         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7350         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7351         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7352         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7353         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7354         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7355         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7356         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7357         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
7358         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7360 2013-10-04  Alan Modra  <amodra@gmail.com>
7362         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
7363         64-bit int/double union.
7364         (_FPU_SETCW): Likewise.
7365         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
7366         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
7368 2013-10-04  Alan Modra  <amodra@gmail.com>
7370         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7371         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7373 2013-10-04  Alan Modra  <amodra@gmail.com>
7375         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7376         use vector int constants.
7377         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7379 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7381         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7382         array with long long.
7383         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7384         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7385         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7386         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7387         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7388         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7389         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7390         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7391         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7392         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7393         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7395         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7397 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7399         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7400         (__signbit): Likewise.  Correct for little-endian.
7401         (__signbitl): Call __signbit.
7402         (lrint): Correct for little-endian.
7403         (lrintf): Call lrint.
7405 2013-10-04  Alan Modra  <amodra@gmail.com>
7407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7408         union 32-bit int array member with 64-bit int array.
7409         (t515, tm256): Double rather than long double.
7410         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7412 2013-10-04  Alan Modra  <amodra@gmail.com>
7414         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7415         Delete.
7416         (IEEE854_LONG_DOUBLE_BIAS): Delete.
7417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7418         version of math_ldbl.h.
7420 2013-10-04  Alan Modra  <amodra@gmail.com>
7422         [BZ #15734], [BZ #15735]
7423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7424         all uses of ieee875 long double macros and unions.  Simplify test
7425         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
7426         ldbl_extract_mantissa value for ix,iy exponents.  Properly
7427         normalize after ldbl_extract_mantissa, and don't add hidden bit
7428         already handled.  Don't treat low word of ieee854 mantissa like
7429         low word of IBM long double and mask off bit when testing for
7430         zero.
7431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7432         all uses of ieee875 long double macros and unions.  Simplify tests
7433         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
7434         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
7435         two1022, instead use their values.  Recognise that tests for large
7436         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
7437         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7438         Rewrite all uses of ieee875 long double macros and unions.  Simplify
7439         test for 0.0L and nan.  Correct negation.
7440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7441         ieee875 long double macros and unions.  Correct output for large
7442         magnitude x.  Correct absolute value calculation.
7443         (__erfcl): Likewise.
7444         * math/libm-test.inc: Add tests for errors discovered in IBM long
7445         double versions of fmodl, remainderl, erfl and erfcl.
7447 2013-10-04  Alan Modra  <amodra@gmail.com>
7449         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7450         all uses of ieee854 long double macros and unions.  Simplify tests
7451         for long doubles that are fully specified by the high double.
7452         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7453         Likewise.
7454         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7455         Remove dead code too.
7456         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7457         (__ieee754_ynl): Likewise.
7458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7459         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7461         Remove dead code too.
7462         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7463         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7465         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7466         Simplify.
7467         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7468         Simplify.
7469         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7471         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7472         Comment on variable precision.
7473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7475         Likewise.
7476         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7480         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7482 2013-10-04  Alan Modra  <amodra@gmail.com>
7484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7486         all uses of ieee854 long double macros and unions.
7487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7489         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7490         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7491         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7492         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7493         Likewise.
7494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7495         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7496         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7498         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7500         Simplify sign and nan test too.
7501         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7502         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7503         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7504         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7505         Likewise.
7506         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7507         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7508         Likewise.
7509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7510         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7513         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7516 2013-10-04  Alan Modra  <amodra@gmail.com>
7518         * stdio-common/printf_size.c (__printf_size): Don't use
7519         union ieee854_long_double in fpnum union.
7520         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
7521         signbit macro to retrieve sign from long double.
7522         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7523         retrieve sign from long double.
7524         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7525         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7526         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7527         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7528         * math/test-misc.c (main): Don't use union ieee854_long_double.
7530 2013-10-04  Alan Modra  <amodra@gmail.com>
7532         [BZ #15680]
7533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7534         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7535         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7536         calculation.  Remove unnecessary test for denormal exponent.
7537         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7538         Correct handling of denormals.  Avoid undefined shift behaviour.
7539         Correct normalisation of low mantissa when low double is denormal.
7540         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7541         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
7542         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7543         Correct normalisation of low mantissa.  Test for overflow of high
7544         mantissa and normalise.
7545         (ldbl_nearbyint): Use more readable constant for two52.
7546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7547         (__mpn_construct_long_double): Fix test for overflow of high
7548         mantissa and correct normalisation.  Avoid undefined shift.
7550 2013-10-04  Alan Modra  <amodra@gmail.com>
7552         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7553         (union ibm_extended_long_double): Define as an array of ieee754_double.
7554         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7555         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7556         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7557         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7559         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7561         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7562         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7563         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7564         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7566 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
7568         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7569         page size instead of calling getpagesize.
7571         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7572         (LOCFILE_ALIGN_MASK): Likewise.
7573         (LOCFILE_ALIGN_UP): Likewise.
7574         (LOCFILE_ALIGNED_P): Likewise.
7575         * locale/programs/ld-collate.c (collate_output): Use the new
7576         macros instead of __alignof__ (int32_t).
7577         * locale/weight.h (findidx): Likewise.
7579 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
7581         [BZ #431]
7582         * manual/string.texi: Fix strncat and wcsncat.
7584 2013-10-03  Brooks Moses  <bmoses@google.com>
7586         [BZ #15915]
7587         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7588         * Makerules: ...here, and adjust associated comments.
7590 2013-10-02  Will Newton  <will.newton@linaro.org>
7592         * malloc/Makefile: Add tst-pvalloc.
7593         * malloc/tst-pvalloc.c: New file.
7595 2013-10-02  Will Newton  <will.newton@linaro.org>
7597         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7598         improve test coverage.
7600 2013-10-02  Will Newton  <will.newton@linaro.org>
7602         * malloc/Makefile: Add tst-posix_memalign.
7603         * malloc/tst-posix_memalign.c: New file.
7605 2013-10-01  Eric Blake  <eblake@redhat.com>
7607         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7608         Use __THROWNL rather than __THROW on static functions.
7610 2013-09-30  Petr Machata  <pmachata@redhat.com>
7612         * elf/elf.h (R_AARCH64_ABS16): New macro.
7613         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7614         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7615         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7616         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7617         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7618         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7619         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7620         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7621         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7622         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7623         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7624         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7625         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7626         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7627         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7628         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7629         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7630         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7631         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7632         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7633         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7634         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7635         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7636         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7637         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7638         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7639         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7640         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7641         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7642         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7643         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7644         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7645         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7646         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7647         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7648         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7649         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7650         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7651         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7652         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7653         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7654         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7655         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7656         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7657         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7658         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7659         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7660         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7661         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7662         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7663         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7664         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7665         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7666         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7667         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7668         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7669         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7670         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7671         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7672         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7673         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7674         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7675         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7676         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7677         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7678         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7679         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7680         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7681         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7682         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7683         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7684         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7685         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7686         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7687         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7688         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7689         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7690         (R_AARCH64_TLSDESC_LDR): Likewise.
7691         (R_AARCH64_TLSDESC_ADD): Likewise.
7692         (R_AARCH64_TLSDESC_CALL): Likewise.
7694 2013-09-30  Andreas Schwab  <schwab@suse.de>
7696         [BZ #15048]
7697         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7698         the nss database lookup.
7699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7702 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
7704         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7706 2013-09-28  P. J. McDermott  <pj@pehjota.net>
7708         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7709         ${Bash-specific parameter/pattern/string} parameter expansion.
7710         * sysdeps/unix/make-syscalls.sh: Likewise.
7712 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7714         * sysdeps/sh/stackguard-macros.h: New file.
7716 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
7718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7720         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7721         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7722         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7723         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7725 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7727         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7728         Fix thread ID register.
7730 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
7732         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7733         [POSIX || UNIX98]: Require rather than permitting all symbols from
7734         <time.h>.
7735         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7736         element of struct sched_param.
7737         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7738         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7739         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7740         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7741         constant.
7743 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
7745         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7746         argument calculation.
7748 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
7750         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7751         Expect macro.
7752         [POSIX] (pthread_attr_t): Do not require type.
7753         [POSIX] (pthread_cond_t): Likewise.
7754         [POSIX] (pthread_condattr_t): Likewise.
7755         [POSIX] (pthread_key_t): Likewise.
7756         [POSIX] (pthread_mutex_t): Likewise.
7757         [POSIX] (pthread_mutexattr_t): Likewise.
7758         [POSIX] (pthread_once_t): Likewise.
7759         [POSIX] (pthread_t): Likewise.
7760         [POSIX-based standards] (pthread_atfork): Expect function.
7762 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
7763             Richard Sandiford  <richard@codesourcery.com>
7765         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7766         (swap_endianness_p): New extern variable.
7767         (set_big_endian): New inline function.
7768         (maybe_swap_uint32): Likewise.
7769         (maybe_swap_uint32_array): Likewise.
7770         (maybe_swap_uint32_obstack): Likewise.
7771         * locale/programs/locfile.c: Include <stdbool.h>.
7772         (swap_endianness_p): New variable.
7773         (add_locale_uint32): Call maybe_swap_uint32.
7774         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7775         (write_locale_data): Call maybe_swap_uint32_array.
7776         * locale/programs/ld-collate.c (obstack_int32_grow): Call
7777         maybe_swap_uint32.
7778         (obstack_int32_grow_fast): Likewise.
7779         (output_weightwc): Call maybe_swap_uint32_obstack.
7780         (collate_output): Likewise.
7781         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7782         (OPT_LITTLE_ENDIAN): Likewise.
7783         (options): Add --little-endian and --big-endian options.
7784         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7785         * locale/programs/locarchive.c: Include "locfile.h".
7786         (GET): New macro.
7787         (SET): Likewise.
7788         (INC): Likewise.
7789         (create_archive): Use the new macros to access fields of
7790         structures directly mapped from or written to locale archives.
7791         (oldlocrecentcmp): Likewise.
7792         (enlarge_archive): Likewise.
7793         (insert_name): Likewise.
7794         (add_alias): Likewise.
7795         (add_locale): Likewise.
7796         (delete_locales_from_archive): Likewise.
7797         (show_archive_content): Likewise.
7798         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
7799         locale data.
7801 2013-09-24  Roland McGrath  <roland@hack.frob.com>
7803         * manual/freemanuals.texi: Updated from (newly) canonical copy at
7804         http://www.gnu.org/doc/freemanuals.texi.
7805         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7807 2013-09-24  Will Newton  <will.newton@linaro.org>
7809         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7810         macro.
7812 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
7814         * locale/hashval.h (compute_hashval): Interpret bytes of key as
7815         unsigned char.
7817 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
7819         * manual/threads.texi (POSIX Threads): Fix a typo.
7821 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7823         [BZ #14547]
7824         * string/tst-strcoll-overflow.c: New test case.
7825         * string/Makefile (xtests): Add tst-strcoll-overflow.
7826         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7827         cache if string sizes may cause integer overflow.
7829         [BZ #14547]
7830         * string/strcoll_l.c (coll_seq): New members rule, idx,
7831         save_idx and back_us.
7832         (get_next_seq_nocache): New function.
7833         (do_compare_nocache): New function.
7834         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7835         when malloc fails.
7837 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
7839         [BZ #15754]
7840         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7841         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7842         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7844         [BZ #15754]
7845         * elf/Makefile (tests): Add tst-ptrguard1.
7846         (tests-static): Add tst-ptrguard1-static.
7847         (tst-ptrguard1-ARGS): Define.
7848         (tst-ptrguard1-static-ARGS): Define.
7849         * elf/tst-ptrguard1.c: New file.
7850         * elf/tst-ptrguard1-static.c: New file.
7851         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7852         * sysdeps/i386/stackguard-macros.h: Likewise.
7853         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7854         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7855         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7856         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7857         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7858         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7860 2013-09-23  Hector Marco  <hecmargi@upv.es>
7861             Ismael Ripoll  <iripoll@disca.upv.es>
7862             Carlos O'Donell  <carlos@redhat.com>
7864         [BZ #15754]
7865         * sysdeps/generic/stackguard-macros.h: Define
7866         __pointer_chk_guard_local and POINTER_CHK_GUARD.
7867         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7868         Define __pointer_chk_guard_local.
7869         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7870         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7872 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
7874         [BZ #15859]
7875         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7877 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
7879         * include/string.h (__ffs): Declare as hidden.
7880         * string/ffs.c (__ffs): Define as hidden.
7881         * sysdeps/i386/ffs.c (__ffs): Likewise.
7882         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7883         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7884         * sysdeps/s390/ffs.c (__ffs): Likewise.
7885         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7887 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
7889         * NEWS: Mention malloc probes.
7891         * malloc/arena.c (new_heap): New memory_heap_new probe.
7892         (grow_heap): New memory_heap_more probe.
7893         (shrink_heap): New memory_heap_less probe.
7894         (heap_trim): New memory_heap_free probe.
7895         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7896         (systrim): New memory_sbrk_less probe.
7897         * manual/probes.texi: Document them.
7899         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7900         * manual/probes.texi: Document it.
7902         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7903         (__libc_realloc): Add memory_realloc_retry probe.
7904         (__libc_memalign): Add memory_memalign_retry probe.
7905         (__libc_valloc): Add memory_valloc_retry probe.
7906         (__libc_pvalloc): Add memory_pvalloc_retry probe.
7907         (__libc_calloc): Add memory_calloc_retry probe.
7908         * manual/probes.texi: Document them.
7910         * malloc/arena.c (get_free_list): Add probe
7911         memory_arena_reuse_free_list.
7912         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7913         and memory_arena_reuse.
7914         (arena_get2) [!PER_THREAD]: Likewise.
7915         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7916         memory_arena_reuse_realloc.
7917         * manual/probes.texi: Document them.
7919         * malloc/malloc.c (__libc_free): Add
7920         memory_mallopt_free_dyn_thresholds probe.
7921         (__libc_mallopt): Add multiple memory_mallopt probes.
7922         * manual/probes.texi: Document them.
7924         * malloc/malloc.c: Include stap-probe.h.
7925         (__libc_mallopt): Add memory_mallopt probe.
7926         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7927         * manual/probes.texi: New.
7928         * manual/Makefile (chapters): Add probes.
7929         * manual/threads.texi: Set next node.
7931 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
7933         [BZ #15963, #13985]
7934         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7935         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7936         Add `Chinese' to `nan' entry name.
7938 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7940         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7941         (POLYNOMIAL): Likewise.
7942         (TAYLOR_SINCOS): Likewise.
7943         (TAYLOR_SLOW): Likewise.
7944         (__sin): Use TAYLOR_SINCOS.
7945         (__cos): Likewise.
7946         (slow): Use TAYLOR_SLOW.
7947         (sloww): Likewise.
7948         (bsloww): Likewise.
7949         (csloww): Likewise.
7951 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7953         * stdlib/strtod_l.c: Fix buffer overrun.
7955 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         * benchtests/Makefile (bench): Add sincos.
7958         * benchtests/bench-sincos.c: New file.
7960         * math/libm-test.inc (cos_test_data): New test inputs.
7961         (sin_test_data): Likewise.
7963         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7964         macro.
7965         (__sin): Use it.
7966         (__cos): Likewise.
7967         (slow1): Likewise.
7968         (slow2): Likewise.
7969         (sloww1): Likewise.
7970         (sloww2): Likewise.
7971         (bsloww1): Likewise.
7972         (bsloww2): Likewise.
7973         (cslow2): Likewise.
7974         (csloww1): Likewise.
7975         (csloww2): Likewise.
7977         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7978         function.
7979         (__sin): Use it.
7980         (__cos): Likewise.
7982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7983         gotos.
7984         (__cos): Likewise.
7986 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
7988         * config.h.in (HAVE_MIPS_NAN2008): New macro.
7989         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7990         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7991         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7992         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7993         * elf/cache.c (print_entry): Handle the new cache flags.
7995 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
7996             Aldy Hernandez  <aldyh@redhat.com>
7998         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7999         Change condition to [_SOFT_FLOAT].
8000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
8008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
8009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
8010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
8011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
8012         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
8013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
8014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
8015         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
8016         declaration.
8018 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8020         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
8021         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8022         (__longjmp): Use LOAD_GP to load saved GPRs.
8023         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
8024         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8025         (__sigsetjmp): Use SAVE_GP to save GPRs.
8027         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
8028         Do not append -msoft-float.
8029         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
8031 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8033         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
8035 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
8037         [BZ #15966]
8038         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
8039         (_FPU_GETCW): Use initial "__" on variable and field names but not
8040         on macro parameter name.
8041         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
8042         parentheses around reference to macro parameter.
8044 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
8046         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
8047         prototype.
8048         (ctype_startup): Use uint32_t in cast and sizeof for
8049         ctype->charnames.
8051 2013-09-11  Jia Liu  <proljc@gmail.com>
8053         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
8054         __daddr_t_defined.
8055         [__FreeBSD__]: Likewise.
8057 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
8059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8060         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
8061         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
8062         (strchr): Remove __strchr_sse42 ifunc selection.
8063         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
8064         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
8066 2013-09-11  Will Newton  <will.newton@linaro.org>
8068         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
8069         parameter to RES. Remove hardcoded 1000 value.
8070         * benchtests/bench-skeleton.c (main): Pass RES parameter
8071         to TIMING_INIT and multiply result by 1000.
8073 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8077 2013-09-11  Andreas Schwab  <schwab@suse.de>
8079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8080         if not defined.
8081         (O_TMPFILE) [__USE_GNU]: Define.
8082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
8083         Define.
8085 2013-09-11  Will Newton  <will.newton@linaro.org>
8087         [BZ #15857]
8088         * malloc/malloc.c (__libc_memalign): Check the value of bytes
8089         does not overflow.
8091 2013-09-11  Will Newton  <will.newton@linaro.org>
8093         [BZ #15856]
8094         * malloc/malloc.c (__libc_valloc): Check the value of bytes
8095         does not overflow.
8097 2013-09-11  Will Newton  <will.newton@linaro.org>
8099         [BZ #15855]
8100         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
8101         does not overflow.
8103 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
8105         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
8106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8107         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8108         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8109         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8111 2013-09-10  Allan McRae  <allan@archlinux.org>
8113         [BZ #15748]
8114         * manual/arith.texi (Parsing of Floats): Clarify
8115         cross-reference.
8117         [BZ #15849]
8118         * manual/install.texi (Running make install): Mention
8119         --enable-pt-chown.
8120         * INSTALL: Regenerated.
8122 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
8124         * csu/init-first.c (_init): Remove the !SHARED condition around
8125         FPU control word initialization.
8126         * elf/dl-support.c (_dl_fpu_control): New variable.
8127         (_dl_aux_init) <AT_FPUCW>: Initialize it.
8128         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
8129         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
8130         * math/test-fpucw-static.c: New file.
8131         * math/test-fpucw-ieee.c: New file.
8132         * math/test-fpucw-ieee-static.c: New file.
8133         * math/Makefile (tests): Add `test-fpucw-ieee' and
8134         `$(tests-static)'.
8135         (tests-static): New variable.
8136         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
8137         dependency to...
8138         [($(build-shared),yes)]
8139         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8140         ... this.
8141         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
8142         New dependency.
8144 2013-09-09  Allan McRae  <allan@archlinux.org>
8146         [BZ #15939]
8147         * manual/string.texi (Collation Functions): Fix typo in
8148         strcoll example.
8149         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
8151         [BZ #15893]
8152         * stdlib/isomac.c (get_null_defines): Fix memory leak.
8154         [BZ #15892]
8155         * libio/memstream.c (open_memstream): Fix memory leak.
8156         * libio/wmemstream.c (open_wmemstream): Likewise.
8158         [BZ #15895]
8159         * nscd/netgroupcache.c: Fix nesting of ifdefs.
8161 2013-09-09  Will Newton  <will.newton@linaro.org>
8163         * malloc/Makefile: Add tst-realloc to tests.
8164         * malloc/tst-realloc.c: New file.
8166 2013-09-09  Allan McRae  <allan@archlinux.org>
8168         [BZ #15844]
8169         * COPYING: Update from GNU website to fix FSF address.
8170         * COPYING.LIB: Likewise.
8172 2013-09-06  David S. Miller  <davem@davemloft.net>
8174         * po/zh_TW.po: Update Chinese (traditional) translation from
8175         translation project.
8177 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
8178             Joseph Myers  <joseph@codesourcery.com>
8180         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
8181         "localeinfo.h".
8182         (obstack_chunk_alloc): New macro.
8183         (obstack_chunk_free): Likewise.
8184         (record_offset): New function.
8185         (init_locale_data): Likewise.
8186         (align_locale_data): Likewise.
8187         (add_locale_empty): Likewise.
8188         (add_locale_raw_data): Likewise.
8189         (add_locale_raw_obstack): Likewise.
8190         (add_locale_string): Likewise.
8191         (add_locale_wstring): Likewise.
8192         (add_locale_uint32): Likewise.
8193         (add_locale_uint32_array): Likewise.
8194         (add_locale_char): Likewise.
8195         (start_locale_structure): Likewise.
8196         (end_locale_structure): Likewise.
8197         (start_locale_prelude): Likewise.
8198         (end_locale_prelude): Likewise.
8199         (write_locale_data): Take locale_file structure rather than an
8200         iovec.
8201         * locale/programs/locfile.h: Include "obstack.h".
8202         (struct locale_file): Change to store locale file contents instead
8203         of header.
8204         (init_locale_data): New prototype.
8205         (align_locale_data): Likewise.
8206         (add_locale_empty): Likewise.
8207         (add_locale_raw_data): Likewise.
8208         (add_locale_raw_obstack): Likewise.
8209         (add_locale_string): Likewise.
8210         (add_locale_wstring): Likewise.
8211         (add_locale_uint32): Likewise.
8212         (add_locale_uint32_array): Likewise.
8213         (add_locale_char): Likewise.
8214         (start_locale_structure): Likewise.
8215         (end_locale_structure): Likewise.
8216         (start_locale_prelude): Likewise.
8217         (end_locale_prelude): Likewise.
8218         (write_locale_data): Update prototype.
8219         * locale/programs/3level.h (struct TABLE): Remove result field.
8220         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
8221         Use new locale_file interface.
8222         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
8223         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
8224         * locale/programs/ld-address.c (address_output): Use new
8225         locale_file interface.
8226         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
8227         NO_ADD_LOCALE.
8228         (collate_finish): Don't call collseq_table_finalize.
8229         (collate_output): Use new locale_file interface.
8230         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
8231         in file.
8232         (NO_FINALIZE): Change to NO_ADD_LOCALE.
8233         (TABLE): Move defines earlier in file.
8234         (ELEMENT): Likewise.
8235         (DEFAULT): Likewise.
8236         (wctrans_table_add): Move macro and inline function earlier in
8237         file.
8238         (struct wctype_table): Move type earlier in file.
8239         (add_locale_wctype_table): New static prototype.
8240         (struct locale_ctype_t): Use logical types instead of struct iovec
8241         pointers for members.
8242         (ctype_output): Use new locale_file interface.
8243         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
8244         new locale_file interface.
8245         (allocate_arrays): Update for use of new locale_file interface.
8246         * locale/programs/ld-identification.c (identification_output): Use
8247         new locale_file interface.
8248         * locale/programs/ld-measurement.c (measurement_output): Likewise.
8249         * locale/programs/ld-messages.c (messages_output): Likewise.
8250         * locale/programs/ld-monetary.c (monetary_output): Likewise.
8251         * locale/programs/ld-name.c (name_output): Likewise.
8252         * locale/programs/ld-numeric.c (numeric_output): Likewise.
8253         * locale/programs/ld-paper.c (paper_output): Likewise.
8254         * locale/programs/ld-telephone.c (telephone_output): Likewise.
8255         * locale/programs/ld-time.c (time_output): Likewise.
8257 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8259         * benchtests/Makefile: Add memrchr benchmark.
8260         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
8261         benchmark as memrchr.
8262         * benchtests/bench-memrchr-ifunc.c: New file.
8263         * benchtests/bench-memrchr.c: New file.
8265 2013-09-06   Will Newton  <will.newton@linaro.org>
8267         * benchtests/Makefile (string-bench): Add memcpy.
8269 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
8270             Cong Wang  <amwang@redhat.com>
8272         [BZ #15850]
8273         * sysdeps/unix/sysv/linux/bits/in.h
8274         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
8275         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
8276         before __USE_KERNEL_IPV6_DEFS uses.
8277         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
8278         IPPROTO_BEETPH.
8279         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
8280         sockaddr_in6, or ipv6_mreq.
8282 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8284         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
8285         memory access for final bytes in some large inputs.
8286         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
8288 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8290         * string/test-memrchr.c: New file.
8291         * string/test-memrchr-ifunc.c: New file.
8292         * string/Makefile: Add new memrchr testcase.
8294 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
8296         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
8297         fanotify_init returns EPERM.
8299 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8301         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
8302         errors.
8303         (top level): Treat second token from macro or constant entries for
8304         allowed headers as allowed.
8305         * include/complex.h: Condition internal declarations on
8306         [!_ISOMAC].
8307         * include/fenv.h: Condition include of <stdbool.h> and internal
8308         declarations on [!_ISOMAC].
8310 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
8312         [BZ #15923]
8313         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
8315 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8317         * configure.in (--enable-versioning): Remove configure option.
8318         (libc_cv_asm_symver_directive): Remove configure test.
8319         (libc_cv_ld_version_script_option): Likewise.
8320         (VERSIONING): Remove variable and AC_SUBST.
8321         (DO_VERSIONING): Remove AC_DEFINE.
8322         * configure: Regenerated.
8323         * config.h.in (DO_VERSIONING): Remove macro.
8324         * Makerules [$(versioning) = yes]: Change conditionals to
8325         [$(build-shared) = yes].
8326         * config.make.in (versioning): Remove variable.
8327         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
8328         [$(build-shared) = yes].
8329         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
8330         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
8331         * elf/Makefile [$(versioning) = yes]: Change conditionals to
8332         [$(build-shared) = yes].
8333         * extra-lib.mk [$(versioning) = yes]: Likewise.
8334         * hurd/Makefile [$(versioning) = yes]: Likewise.
8335         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
8336         [SHARED].
8337         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
8338         [SHARED].
8339         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8340         [SHARED && !NO_HIDDEN].
8341         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
8342         [SHARED].
8343         [SHARED && DO_VERSIONING]: Likewise..
8344         * libio/Makefile [$(versioning) = yes]: Change conditionals to
8345         [$(build-shared) = yes].
8346         * manual/install.texi (--disable-versioning): Remove
8347         documentation.
8348         * INSTALL: Regenerated.
8349         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
8350         to [SHARED].
8351         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
8352         [$(build-shared) = yes].
8353         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
8354         * sysdeps/i386/i686/multiarch/strstr-c.c
8355         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8356         [SHARED && !NO_HIDDEN].
8357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
8358         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
8359         * sysdeps/powerpc/powerpc32/dl-machine.c
8360         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
8361         * sysdeps/powerpc/powerpc32/sysdep.h
8362         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
8363         to [SHARED && PIC && !NO_HIDDEN].
8364         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
8365         conditional to [SHARED].
8367 2013-09-04   Will Newton  <will.newton@linaro.org>
8369         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8370         * benchtests/bench-string.h: Include bench-timing.h instead
8371         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8372         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8373         call to HP_TIMING_DIFF_INIT.
8374         * benchtests/bench-memccpy.c: Use bench-timing.h macros
8375         instead of hp-timing.h macros.
8376         * benchtests/bench-memchr.c: Likewise.
8377         * benchtests/bench-memcmp.c: Likewise.
8378         * benchtests/bench-memcpy.c: Likewise.
8379         * benchtests/bench-memmem.c: Likewise.
8380         * benchtests/bench-memmove.c: Likewise.
8381         * benchtests/bench-memset.c: Likewise.
8382         * benchtests/bench-rawmemchr.c: Likewise.
8383         * benchtests/bench-strcasecmp.c: Likewise.
8384         * benchtests/bench-strcasestr.c: Likewise.
8385         * benchtests/bench-strcat.c: Likewise.
8386         * benchtests/bench-strchr.c: Likewise.
8387         * benchtests/bench-strcmp.c: Likewise.
8388         * benchtests/bench-strcpy.c: Likewise.
8389         * benchtests/bench-strcpy_chk.c: Likewise.
8390         * benchtests/bench-strlen.c: Likewise.
8391         * benchtests/bench-strncasecmp.c: Likewise.
8392         * benchtests/bench-strncat.c: Likewise.
8393         * benchtests/bench-strncmp.c: Likewise.
8394         * benchtests/bench-strncpy.c: Likewise.
8395         * benchtests/bench-strnlen.c: Likewise.
8396         * benchtests/bench-strpbrk.c: Likewise.
8397         * benchtests/bench-strrchr.c: Likewise.
8398         * benchtests/bench-strspn.c: Likewise.
8399         * benchtests/bench-strstr.c: Likewise.
8401 2013-09-04  Will Newton  <will.newton@linaro.org>
8403         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8405 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
8407         [BZ #15427]
8408         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8409         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8410         * math/libm-test.inc (lgamma_test_data): Add more tests.
8411         * sysdeps/i386/fpu/libm-test-ulps: Update.
8412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8414 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
8416         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8418         Add ifunc.
8419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8420         Add strcmp-sse2-unaligned
8421         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8423 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8425         * Versions.def (libc): Add GLIBC_2.19.
8427 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8429         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8430         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8432 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
8434         [BZ #14155]
8435         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8436         intermediate calculations in recurrence.
8437         (__ieee754_ynf): Likewise.
8438         * math/libm-test.inc (jn_test_data): Do not allow spurious
8439         underflow exception.  Add more tests.
8440         (yn_test_data): Add more tests.
8441         * sysdeps/i386/fpu/libm-test-ulps: Update.
8442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8444 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
8446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8448 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8450         * csu/init-first.c: Fix then/than typos.
8451         * locale/programs/ld-collate.c: Likewise.
8452         * locale/programs/linereader.h: Likewise.
8453         * manual/charset.texi: Likewise.
8454         * manual/filesys.texi: Likewise.
8455         * manual/stdio.texi: Likewise.
8456         * manual/string.texi: Likewise.
8457         * stdlib/fmtmsg.c: Likewise.
8458         * sysdeps/i386/stpncpy.S: Likewise.
8459         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8460         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8464 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8466         * elf/dl-open.c: Fix typos.
8467         * iconvdata/gbbig5.c: Likewise.
8468         * iconvdata/iso-2022-jp.c: Likewise.
8469         * iconv/gconv_int.h: Likewise.
8470         * iconv/loop.c: Likewise.
8471         * nis/rpcsvc/nis.h: Likewise.
8472         * resolv/ns_name.c: Likewise.
8473         * stdio-common/vfscanf.c: Likewise.
8474         * streams/stropts.h: Likewise.
8475         * sunrpc/rpc_thread.c: Likewise.
8476         * sysdeps/i386/strpbrk.S: Likewise.
8477         * sysdeps/ieee754/k_standard.c: Likewise.
8478         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8480         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8481         * sysdeps/mach/hurd/profil.c: Likewise.
8482         * sysdeps/s390/dl-procinfo.h: Likewise.
8483         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8484         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8485         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8486         * sysdeps/x86_64/dl-trampoline.S: Likewise.
8487         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8489 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
8491         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8494 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
8496         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8497         aix specific files.
8498         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8499         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8500         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8501         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8502         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8503         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8504         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8505         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8507 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8508             Roland McGrath  <roland@hack.frob.com>
8510         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8511         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8513 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8515         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8516         __executable_start symbol instead of _start.
8518 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8520         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8521         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8522         Move macros to...
8523         * sysdeps/gnu/ldsodefs.h: ... this new file.
8525         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8526         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8527         instead of ELFOSABI_LINUX.
8529         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8530         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8531         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8532         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8533         Likewise.
8534         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8535         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8536         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8537         Likewise.
8538         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8539         (ibm_extended_long_double): Add ieee_nan member.
8540         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8541         (do_test): New function.
8543         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8544         TEST_TRUNC.
8545         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8546         functions, renamed from truncdfsf_test, trunctfsf_test,
8547         trunctfdf_test.
8548         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8549         functions.
8550         (do_test): Run all these.
8552 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
8554         * argp/argp-help.c: Fix typos.
8555         * argp/argp-parse.c: Likewise.
8556         * debug/backtracesyms.c: Likewise.
8557         * elf/elf.h: Likewise.
8558         * malloc/malloc.c: Likewise.
8559         * nis/nis_print.c: Likewise.
8560         * resolv/res_comp.c: Likewise.
8561         * stdlib/stdlib.h: Likewise.
8562         * sunrpc/clnt_tcp.c: Likewise.
8563         * sunrpc/clnt_udp.c: Likewise.
8564         * sunrpc/clnt_unix.c: Likewise.
8565         * sysdeps/unix/bsd/ptsname.c: Likewise.
8566         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8567         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8569         Likewise.
8570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8571         Likewise.
8572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8576 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8578         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8581 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
8583         [BZ #15897]
8584         * dlfcn/Makefile (tests): Add bug-dl-leaf.
8585         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8586         ($(objpfx)bug-dl-leaf): New rule.
8587         ($(objpfx)bug-dl-leaf.so): Likewise.
8588         ($(objpfx)bug-dl-leaf.out): Likewise.
8589         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8590         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8591         * dlfcn/bug-dl-leaf.c: New test.
8592         * dlfcn/bug-dl-leaf-lib.c: Likewise.
8593         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8594         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8595         (dlclose): Likewise.
8596         (dlmopen): Likewise.
8598 2013-08-27  Roland McGrath  <roland@hack.frob.com>
8600         * include/netdb.h [!_ISOMAC]:
8601         Don't include <tls.h>.
8602         (h_errno, __libc_h_errno): Move declaration and macros out of
8603         [_LIBC_REENTRANT].
8605         * include/resolv.h [_RESOLV_H_]:
8606         Don't include <tls.h>.
8607         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8608         * resolv/res_libc.c: Don't include <tls.h>.
8609         (_res): Use __attribute__ ((nocommon)) in place of
8610         __attribute__ ((section (".bss"))).
8612         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8613         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8615         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8617         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8618         only under [SIOCGIFCONF && SIOCGIFNETMASK].
8620         * resolv/res_mkquery.c: Include <sys/time.h>.
8622         * inet/ifreq.c: Moved to ...
8623         * sysdeps/unix/ifreq.c: ... here.
8624         * inet/ifreq.c: New file, true stub version.
8626         * socket/sa_len.c: New file.
8627         * socket/Makefile (aux): Add it.
8628         * sysdeps/unix/sysv/linux/Makefile
8629         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8630         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8631         and #include <socket/sa_len.c>.
8632         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8633         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8635         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8636         * bits/socket.h: ... here.
8638         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8639         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8640         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8642 2013-08-27  Andreas Schwab  <schwab@suse.de>
8644         [BZ #15736]
8645         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8646         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8647         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8648         * string/test-strcasecmp.c (test_main): Run tests in several
8649         locales.
8650         * string/test-strncasecmp.c (test_main): Likewise.
8652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8653         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8654         to __strcasecmp_nonascii and __strncasecmp_nonascii.
8655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8656         (__strncasecmp_ssse3) [PIC]: Likewise.
8658 2013-08-26  Roland McGrath  <roland@hack.frob.com>
8660         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8662         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8663         instead of explicitly declaring xdecrypt.
8664         * nis/nss_nis/nis-publickey.c: Likewise.
8666 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8668         [BZ #15890]
8669         * nscd/aicache.c: Include res_hconf.h.
8670         (addhstaiX): Initialize res_hconf.
8672 2013-08-26  Andreas Schwab  <schwab@suse.de>
8674         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8675         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8677 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8679         * nscd/aicache.c (addhstaiX): Fix indentation.
8681 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
8683         * configure.ac: Quote $build_pt_chown test.
8684         * configure: Regenerated.
8686 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
8688         [BZ #15532]
8689         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8690         * math/s_cexpf.c (__cexpf): Likewise.
8691         * math/s_cexpl.c (__cexpl): Likewise.
8692         * math/libm-test.inc (cexp_test_data): Correct expected return
8693         value for NaN + i0.  Add another test.
8695 2013-08-22  David S. Miller  <davem@davemloft.net>
8697         * po/ca.po: Update Catalan translation from translation project.
8698         * po/uk.po: Add Ukrainian translations from translation project.
8700 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
8702         [BZ #15797]
8703         * math/s_fdim.c (__fdim): Check for infinite arguments if result
8704         is infinite, not alongside NaN test.
8705         * math/s_fdimf.c (__fdimf): Likewise.
8706         * math/s_fdiml.c (__fdiml): Likewise.
8707         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
8708         errno is unchanged.
8710 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
8712         * argp/argp-help.c: Fix typos.
8713         * crypt/speeds.c: Likewise.
8714         * csu/check_fds.c: Likewise.
8715         * elf/dl-load.c: Likewise.
8716         * elf/dl-open.c: Likewise.
8717         * elf/reldep3.c: Likewise.
8718         * elf/reldep.c: Likewise.
8719         * elf/sprof.c: Likewise.
8720         * iconv/iconv_charmap.c: Likewise.
8721         * iconv/skeleton.c: Likewise.
8722         * iconv/strtab.c: Likewise.
8723         * io/lockf64.c: Likewise.
8724         * libio/libioP.h: Likewise.
8725         * resolv/gai_notify.c: Likewise.
8726         * resolv/ns_name.c: Likewise.
8727         * resolv/ns_samedomain.c: Likewise.
8728         * resolv/res_send.c: Likewise.
8729         * stdlib/random.c: Likewise.
8730         * sunrpc/rpc/xdr.h: Likewise.
8731         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8732         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8733         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8734         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8735         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8738         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8739         * sysdeps/mach/hurd/check_fds.c: Likewise.
8740         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8741         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8743         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8744         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8745         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8746         * sysdeps/pthread/aio_notify.c: Likewise.
8747         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8748         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8749         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8750         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8751         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8753 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8755         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8756         version if bit_Slow_SSE4_2 is set.
8757         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8760 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8762         [BZ #15867]
8763         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8764         trampoline stack frame information.
8765         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8767         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8768         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8769         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8770         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8771         (_libc_vdso_platform_setup): Initialize the signal trampolines.
8772         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8773         sa_flags value.
8774         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8775         interrupting a syscall and set with option SA_SIGINFO.
8777 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
8779         [BZ #15531]
8780         * math/s_cproj.c (__cproj): Only return an infinity if one part of
8781         argument is infinite.
8782         * math/s_cprojf.c (__cprojf): Likewise.
8783         * math/s_cprojl.c (__cprojl): Likewise.
8784         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8785         * math/libm-test.inc (cproj_test_data): Add more tests.
8787         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8789         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8790         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8791         size.  Use __ffs to determine corresponding shift.
8793 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
8794             Roland McGrath  <roland@hack.frob.com>
8796         * Makefile (INSTALL): Remove trailing blank lines from output of
8797         makeinfo.
8799 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8801         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8802         Align 32 bit compat elf_greg to 8 bytes.
8804 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8806         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8808 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8810         * string/strcoll_l.c (coll_seq): New structure.
8811         (get_next_seq_cached): New function.
8812         (get_next_seq): New function.
8813         (do_compare): New function.
8814         (STRCOLL): Use GNU style definition.  Simplify implementation
8815         by using get_next_seq, get_next_seq_cached and do_compare.
8817 2013-08-16  Florian Weimer  <fweimer@redhat.com>
8819         [BZ #14699]
8820         CVE-2013-4237
8821         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8822         member.
8823         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8824         member.
8825         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8826         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8827         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
8828         conditional.
8829         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8830         GETDENTS_64BIT_ALIGNED.
8831         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8832         * manual/filesys.texi (Reading/Closing Directory): Document
8833         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
8834         strongly.
8835         * manual/conf.texi (Limits for Files): Add portability note to
8836         NAME_MAX, PATH_MAX.
8837         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8839 2013-08-13  Andreas Schwab  <schwab@suse.de>
8841         [BZ #15749]
8842         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8843         of fabs.
8844         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8845         LDBL_MAX_EXP >= 16384]: Add tests for it.
8847 2013-08-12  David S. Miller  <davem@davemloft.net>
8849         * version.h (RELEASE): Set to "development".
8850         (VERSION): Set to "2.18.90".
8851         * NEWS: Add 2.19 section.
8853 2013-08-03  David S. Miller  <davem@davemloft.net>
8855         * po/ko.po: Update Korean translation from translation project.
8857 2013-08-01  David S. Miller  <davem@davemloft.net>
8859         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
8860         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8861         Bilka.
8863 2013-07-30  David S. Miller  <davem@davemloft.net>
8865         * po/fr.po: Update French translation from translation project.
8867 2013-07-28  David S. Miller  <davem@davemloft.net>
8869         * po/cs.po: Update Czech translation from translation project.
8871         * po/sv.po: Update Swedish translation from translation project.
8873 2013-07-27  David S. Miller  <davem@davemloft.net>
8875         * po/eo.po: Update Esperanto translation from translation project.
8877         * po/vi.po: Update Vietnamese translation from translation project.
8879         * po/de.po: Update German translation from translation project.
8881 2013-07-26  David S. Miller  <davem@davemloft.net>
8883         * po/bg.po: Update Bulgarian translation from translation project.
8885         * po/nl.po: Update Dutch translation from translation project.
8886         * po/pl.po: Update Polish translation from translation project.
8887         * po/ru.po: Update Russian translation from translation project.
8889 2013-07-24  David S. Miller  <davem@davemloft.net>
8891         * po/libc.pot: Update.
8893 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8895         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8896         variable page size.
8897         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8898         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8899         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8901 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8903         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8905 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8906             Andreas Schwab  <schwab@suse.de>
8907             Roland McGrath  <roland@hack.frob.com>
8908             Joseph Myers  <joseph@codesourcery.com>
8909             Carlos O'Donell  <carlos@redhat.com>
8911         [BZ #15755]
8912         * config.h.in: Define HAVE_PT_CHOWN.
8913         * config.make.in (build-pt-chown): New variable.
8914         * configure.in (--enable-pt_chown): New configure option.
8915         * configure: Regenerate.
8916         * login/Makefile: Include Makeconfig.  Build pt_chown only if
8917         build-pt-chown is enabled.
8918         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8919         pt_chown to fix pty ownership.
8920         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8921         CLOSE_ALL_FDS.
8922         * manual/install.texi (Configuring and compiling): Mention
8923         --enable-pt_chown. Add @findex for grantpt.
8924         * INSTALL: Regenerate.
8926 2013-07-20  David S. Miller  <davem@davemloft.net>
8928         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8929         difference between 32-bit and 64-bit.
8931 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
8933         [BZ #15711]
8934         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8935         Avoid system header dependency with -ffreestanding.
8936         ($(objpfx)bits/syscall%d): Likewise.
8938 2013-07-13  David S. Miller  <davem@davemloft.net>
8940         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8941         underflows from atanl/atan2l due to bug 15319.
8942         (casinh_test_data): Likewise.
8944 2013-07-07  David S. Miller  <davem@davemloft.net>
8946         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8948 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
8950         * sysdeps/i386/fpu/libm-test-ulps: Update.
8951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8953 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8955         * configure.in (--enable-lock-elision): Fix message text.
8956         * INSTALL: Regenerate.
8957         * configure: Regenerate.
8959 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8963 2013-07-03  Andreas Jaeger  <aj@suse.de>
8965         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8966         define.
8967         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8968         (ptrace_peeksiginfo_args): Add.
8969         (__ptrace_peeksiginfo_flags): Add.
8970         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8974 2013-07-03  Allan McRae  <allan@archlinux.org>
8976         * sysdeps/i386/fpu/libm-test-ulps: Update.
8978 2013-07-02  David S. Miller  <davem@davemloft.net>
8980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8982 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
8984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8986 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
8988         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8991 2013-07-02  Andi Kleen <ak@linux.intel.com>
8993         * config.h.in (ENABLE_LOCK_ELISION): Add.
8994         * configure.in (--enable-lock-elision): Add option.
8995         * manual/install.texi: Document --enable lock elision.
8996         * configure: Regenerate
8997         * INSTALL: Regenerate.
8999 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9001         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9002         SSE4.2 strcasecmp for libc.a.
9003         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9005 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9007         [BZ #13304]
9008         * soft-fp/op-common.h (_FP_FMA): New macro.
9009         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
9010         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
9011         (_FP_MUL_MEAT_1_imm): ... here.
9012         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
9013         (_FP_MUL_MEAT_1_wide): ... here.
9014         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
9015         (_FP_MUL_MEAT_1_hard): ... here.
9016         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
9017         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
9018         (_FP_MUL_MEAT_2_wide): ... here.
9019         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
9020         (_FP_MUL_MEAT_2_wide_3mul): ... here.
9021         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
9022         (_FP_MUL_MEAT_2_gmp): ... here.
9023         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
9024         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
9025         (_FP_MUL_MEAT_4_wide): ... here.
9026         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
9027         (_FP_MUL_MEAT_4_gmp): ... here.
9028         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
9029         (_FP_WFRACBITS_DW_S): Likewise.
9030         (_FP_WFRACXBITS_DW_S): Likewise.
9031         (_FP_HIGHBIT_DW_S): Likewise.
9032         (FP_FMA_S): Likewise.
9033         (_FP_FRAC_HIGH_DW_S): Likewise.
9034         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
9035         (_FP_WFRACBITS_DW_D): Likewise.
9036         (_FP_WFRACXBITS_DW_D): Likewise.
9037         (_FP_HIGHBIT_DW_D): Likewise.
9038         (FP_FMA_D): Likewise.
9039         (_FP_FRAC_HIGH_DW_D): Likewise.
9040         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
9041         (_FP_WFRACBITS_DW_E): Likewise.
9042         (_FP_WFRACXBITS_DW_E): Likewise.
9043         (_FP_HIGHBIT_DW_E): Likewise.
9044         (FP_FMA_E): Likewise.
9045         (_FP_FRAC_HIGH_DW_E): Likewise.
9046         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
9047         (_FP_WFRACBITS_DW_Q): Likewise.
9048         (_FP_WFRACXBITS_DW_Q): Likewise.
9049         (_FP_HIGHBIT_DW_Q): Likewise.
9050         (FP_FMA_Q): Likewise.
9051         (_FP_FRAC_HIGH_DW_Q): Likewise.
9052         * soft-fp/fmasf4.c: New file.
9053         * soft-fp/fmadf4.c: Likewise.
9054         * soft-fp/fmatf4.c: Likewise.
9056 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9059         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
9060         Silvermont.
9061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
9062         macro.
9063         (index_Slow_SSE4_2): Likewise.
9064         (index_Prefer_PMINUB_for_stringop): Likewise.
9065         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
9066         bit_Slow_SSE4_2 is set.
9067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9070 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9072         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
9073         rtld_global._dl_hwcap2.
9074         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
9075         POWER8.
9076         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
9077         POWER8 feature descriptions defined in _dl_hwcap2.
9078         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
9079         string handling for POWER8 feature bits.
9080         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
9081         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
9082         _dl_powerpc_cap_flags.
9083         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
9084         * sysdeps/powerpc/rtld-global-offsets.sym
9085         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
9086         _dl_hwcap2 in the rtld_global_ro structure.
9088 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9090         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
9091         hardware capabilities in support of AT_HWCAP2.
9092         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
9093         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
9094         GLRO(dl_hwcap2).
9095         (_dl_show_auxv): Add support for calling _dl_procinfo to display
9096         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
9097         explicitly the unknown a_type display mechanism is used.
9098         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
9099         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
9100         struct member.
9101         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
9102         to macro prototype for AT_HWCAP2 support.
9103         * sysdeps/i386/dl-procinfo.h: Likewise.
9104         * sysdeps/s390/dl-procinfo.h: Likewise.
9105         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
9106         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
9107         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
9108         return -1 for unknown a_type display fallback.
9109         * sysdeps/sparc/dl-procinfo.h: Likewise.
9110         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
9111         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
9113 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
9115         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
9116         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
9118 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
9120         [BZ #12492]
9121         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
9122         mprotect making __stack_prot writable.
9124 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
9125             Joseph Myers  <joseph@codesourcery.com>
9127         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
9128         as being properly aligned.
9130 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
9132         * dlfcn/modstatic5.c: New file.
9133         * dlfcn/tststatic5.c: New file.
9134         * dlfcn/Makefile (tests): Add tststatic5.
9135         (tests-static): Likewise.
9136         (modules-names): Add modstatic5.
9137         (tststatic5-ENV): New variable.
9138         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
9140         [BZ #15022]
9141         * elf/dl-support.c (_dl_main_map): New variable.
9142         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
9143         (_dl_nns, _dl_load_adds): Set to 1.
9144         (_dl_initial_searchlist): Refer to _dl_main_map.
9145         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
9146         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
9147         call to _dl_get_origin.
9148         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
9149         around call_map.
9150         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
9151         * dlfcn/modstatic3.c: New file.
9152         * dlfcn/tststatic3.c: New file.
9153         * dlfcn/tststatic4.c: New file.
9154         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
9155         (tests-static): Likewise.
9156         (modules-names): Add modstatic3.
9157         (tststatic3-ENV, tststatic4-ENV): New variables.
9158         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
9159         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
9161 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
9163         * configure.in (CC): Require GCC version 4.4 or later.
9164         * configure: Regenerated.
9165         * manual/install.texi (Tools for Compilation): Update GCC version
9166         requirement.
9167         * INSTALL: Regenerated.
9169 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9171         [BZ #15674]
9172         * string/test-memcmp.c (check2): New.
9173         (main): Call check2.
9175         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
9177 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
9179         [BZ #15022]
9180         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
9181         over to...
9182         (dl_open_worker) [!SHARED]: ... here.
9184 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9186         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
9188 2013-06-25  Richard Henderson  <rth@redhat.com>
9190         * locale/programs/locarchive.c: Include <libc-internal.h>
9192 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
9194         * manual/texinfo.tex: Update to version 2013-06-21.17, with
9195         trailing whitespace removed.
9197 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9199         [BZ #10283]
9200         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
9201         * locale/programs/locarchive.c: Include libc-mmap.h.
9202         (prepare_address_space): Take two new outputs (the mmap base and len).
9203         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
9204         values.
9205         (create_archive): Declare new mmap base and len values for
9206         prepare_address_space, and store the result in ah.
9207         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
9208         (enlarge_archive): If ah->mmap_base is not NULL, use that and
9209         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9210         Declare new mmap base and len values for
9211         prepare_address_space, and store the result in new_ah.
9212         (open_archive): Declare new mmap base and len values for
9213         prepare_address_space, and store the result in ah.
9214         (close_archive): If ah->mmap_base is not NULL, use that and
9215         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9216         * sysdeps/generic/libc-mmap.h: New file.
9218 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9220         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
9221         (ALIGN_UP): Likewise.
9222         (PTR_ALIGN_DOWN): Likewise.
9223         (PTR_ALIGN_UP): Likewise.
9225 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
9228         entry mapped to PPC_PLATFORM_POWER8.
9229         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
9230         POWER8.
9231         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
9232         (_dl_string_platform): Add case for exporting platform position for
9233         POWER8.
9234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
9235         search path to sysdeps/powerpc/powerpc32/power8 directory.
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
9237         search path to sysdeps/powerpc/powerpc64/power8 directory.
9238         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
9239         power7 directories.
9240         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
9241         power7 directories.
9243 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9245         * INSTALL: Regenerate.
9247         * nscd/connections.c (nscd_init): Fix comment.
9249 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
9251         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
9253         [BZ #15667]
9254         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
9255         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
9257 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9259         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
9260         DL_DST_REQ_STATIC.
9261         (DL_DST_REQ_STATIC): Remove macro.
9263 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
9265         [BZ #7006]
9266         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
9267         with a shift of 0 bits.
9269 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9271         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
9272         $(tststatic-ENV).
9274 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9276         [BZ #15655]
9277         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
9279 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9281         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
9282         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
9283         accepts -fno-tree-loop-distribute-patterns.
9284         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
9285         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
9286         recursive call.
9287         * string/memset.c (memset): Likewise.
9288         * string/test-memmove.c (simple_memmove): Disable loop transformation
9289         to library calls.
9290         * string/test-memset.c (simple_memset): Likewise.
9291         * benchtests/bench-memmove.c (simple_memmove): Likewise.
9292         * benchtests/bench-memset.c (simple_memset): Likewise.
9293         * configure: Regenerated.
9295 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
9297         * math/test-misc.c (main): Ignore fesetround failure when failures
9298         of subsequent rounding tests would be ignored.
9300         [BZ #15654]
9301         * math/fedisblxcpt.c (fedisableexcept): Return 0.
9302         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
9303         * math/fegetenv.c (__fegetenv): Return 0.
9304         * math/fegetexcept.c (fegetexcept): Return 0.
9305         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9306         FE_TONEAREST.
9307         * math/feholdexcpt.c (feholdexcept): Return 0.
9308         * math/fesetenv.c (__fesetenv): Return 0.
9309         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
9310         argument FE_TONEAREST.
9311         * math/feupdateenv.c (__feupdateenv): Return 0.
9312         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
9314 2013-06-18  Roland McGrath  <roland@hack.frob.com>
9316         * elf/rtld-Rules (rtld-compile-command.S): New variable.
9317         (rtld-compile-command.s, rtld-compile-command.c): New variables.
9318         ($(objpfx)rtld-%.os rules): Use them.
9320 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9322         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
9323         fields.
9325 2013-06-17  Roland McGrath  <roland@hack.frob.com>
9327         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
9328         length of target pattern, then descending length of dependency pattern.
9329         * configure.in (AWK): Require gawk 3.1.2 or newer.
9330         * manual/install.texi (Tools for Compilation): Say that we do.
9331         * configure: Regenerated.
9333         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
9334         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
9335         * scripts/sysd-rules.awk: ... this new script.
9336         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
9337         than a glob-style pattern.
9339 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
9341         * math/test-misc.c (main): Do not treat incorrectly rounded
9342         conversions as failure unless ROUNDING_TESTS passes.
9344 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
9346         [BZ #15631]
9347         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
9348         restore exception state around main square root computation, then
9349         check for inexactness explicitly.
9351         * math/libm-test.inc (fma_test_data): Add another test.
9353 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9355         * manual/threads.texi (Non-POSIX Extensions): New document
9356         node.  Document pthread_getattr_default_np and
9357         pthread_setattr_default_np.
9359         * Versions.def (libpthread): Add GLIBC_2.18.
9360         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
9361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9362         Likewise.
9363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9364         Likewise.
9365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9366         Likewise.
9367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9368         Likewise.
9369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9370         Likewise.
9371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9372         Likewise.
9373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9374         Likewise.
9375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9376         Likewise.
9377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9378         Likewise.
9380 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9383         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9385 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9386             H.J. Lu  <hjl.tools@gmail.com>
9388         [BZ #15627]
9389         * sysdeps/x86_64/rtld-memset.c: Remove file.
9390         * sysdeps/x86_64/rtld-memset.S: New file.
9392 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
9394         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9395         (test_in_one_mode): Take arguments for whether the rounding mode
9396         is supported for each floating-point type.
9397         (do_test): Pass new arguments to test_in_one_mode using
9398         ROUNDING_TESTS.
9400 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9402         * posix/tst-waitid.c (do_test): Distinguish different instances of
9403         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
9404         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9405         before entering the kernel for waitpid.
9407 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9409         * NEWS: Fix note on clock function precision.  Text by Roland
9410         McGrath.
9412 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9414         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9415         it into place only when and if the sanity check passes.
9417 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
9419         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9420         output for whether conversion result is exact.  Take argument
9421         indicating whether type is IBM long double.
9422         (round_for_all): Change need_exact field to ibm_ld.
9423         * stdlib/tst-strtod-round.c (struct exactness): New type.
9424         (struct test): Change bool ld_ok field to struct exactness exact.
9425         (TEST): Update all definitions for change to field.
9426         (tests): Regenerate array contents.
9427         (test_in_one_mode): Take pointer to new field instead of old ld_ok
9428         field value.  Check for IBM long double here.
9429         (do_test): Update calls to test_in_one_mode.
9431 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9433         [BZ #12515]
9434         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9435         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9437 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9439         [BZ #15605]
9440         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9441         generated by the compiler on loop optimizations.
9442         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9443         general definitions.
9445 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
9447         * math/bug-nextafter.c: Include <math-tests.h>.
9448         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9449         the relevant type.
9450         * math/bug-nexttoward.c: Include <math-tests.h>.
9451         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9452         the relevant type.
9453         * math/test-misc.c: Include <math-tests.h>.
9454         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9455         the relevant type.
9457 2013-06-12  Andreas Jaeger  <aj@suse.de>
9459         * po/ia.po: Update Interlingua translation from translation
9460         project.
9462 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9464         * include/fenv.h: Include stdbool.h.
9465         (struct rm_ctx): New structure.
9466         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9467         Define macro.
9468         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9469         (SET_RESTORE_ROUNDF): Likewise.
9470         (SET_RESTORE_ROUNDL): Likewise.
9471         (SET_RESTORE_ROUND_NOEX): Likewise.
9472         (SET_RESTORE_ROUND_NOEXF): Likewise.
9473         (SET_RESTORE_ROUND_NOEXL): Likewise.
9474         (SET_RESTORE_ROUND_53BIT): Likewise.
9475         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9476         (libc_feresetround_noexf_ctx): Likewise.
9477         (libc_feresetround_noexl_ctx): Likewise.
9478         (libc_feholdsetround_53bit_ctx): Likewise.
9479         (libc_feresetround_53bit_ctx): Likewise.
9480         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9481         (libc_feholdexcept_setround_sse_ctx): New function.
9482         (libc_fesetenv_sse_ctx): Likewise.
9483         (libc_feupdateenv_sse_ctx): Likewise.
9484         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9485         (libc_feholdexcept_setround_387_ctx): Likewise.
9486         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9487         (libc_feholdsetround_387_prec_ctx): Likewise.
9488         (libc_feholdsetround_387_ctx): Likewise.
9489         (libc_feholdsetround_387_53bit_ctx): Likewise.
9490         (libc_feholdsetround_sse_ctx): Likewise.
9491         (libc_feresetround_sse_ctx): Likewise.
9492         (libc_feresetround_387_ctx): Likewise.
9493         (libc_feupdateenv_387_ctx): Likewise.
9494         (libc_feholdexcept_setroundf_ctx): Define macro.
9495         (libc_fesetenvf_ctx): Likewise.
9496         (libc_feupdateenvf_ctx): Likewise.
9497         (libc_feholdsetroundf_ctx): Likewise.
9498         (libc_feresetroundf_ctx): Likewise.
9499         (libc_feholdexcept_setround_ctx): Likewise.
9500         (libc_fesetenv_ctx): Likewise.
9501         (libc_feupdateenv_ctx): Likewise.
9502         (libc_feholdsetround_ctx): Likewise.
9503         (libc_feresetround_ctx): Likewise.
9504         (libc_feholdexcept_setroundl_ctx): Likewise.
9505         (libc_feupdateenvl_ctx): Likewise.
9506         (libc_feholdsetroundl_ctx): Likewise.
9507         (libc_feresetroundl_ctx): Likewise.
9508         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9509         (libc_feresetround_53bit_ctx): Likewise.
9511 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9513         * locale/iso-639.def: Convert to UTF-8.
9515 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
9517         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9518         (EXCEPTION_TESTS_double): Likewise.
9519         (EXCEPTION_TESTS_long_double): Likewise.
9520         (EXCEPTION_TESTS): Likewise.
9521         * math/libm-test.inc (test_exceptions): Only test exceptions if
9522         EXCEPTION_TESTS (FLOAT).
9524 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9526         * benchtests/Makefile (string-bench): Add strcpy_chk and
9527         stpcpy_chk.
9528         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9529         * benchtests/bench-stpcpy_chk.c: New file.
9530         * benchtests/bench-strcpy_chk-ifunc.c: New file.
9531         * benchtests/bench-strcpy_chk.c: New file.
9532         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9533         code.
9534         (do_test): Likewise.
9536 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9538         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9539         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9540         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9541         with tabs where appropriate.
9542         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9543         dl-procinfo.h.
9544         [PPC_PLATFORM_PPC440]: Likewise.
9545         [PPC_PLATFORM_PPC464]: Likewise.
9546         [PPC_PLATFORM_PPC476]: Likewise.
9547         (_dl_string_platform): Add support for detecting ppc405, ppc440,
9548         ppc464, and ppc476 platform strings merging from ports/
9549         dl-procinfo.h.
9551 2013-06-11  Andreas Schwab  <schwab@suse.de>
9553         [BZ #14991]
9554         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9555         (from_ucs4_idx): Regenerate.
9556         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9557         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9558         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9559         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9560         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9561         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9562         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9563         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9564         from FROM_LOOP and TO_LOOP specific macros.
9565         (BODY): Handle combining characters.
9566         * iconvdata/BIG5HKSCS.irreversible: Update.
9567         * iconvdata/BIG5HKSCS.precomposed: New file.
9568         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9569         characters.
9570         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9572 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9574         * include/sys/time.h: Fix indentation and add copyright header.
9576         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9577         (do_test): Likewise.
9578         * string/test-memchr.c (do_one_test): Likewise.
9579         (do_test): Likewise.
9580         * string/test-memcmp.c (do_one_test): Likewise.
9581         (do_test): Likewise.
9582         * string/test-memcpy.c (do_one_test): Likewise.
9583         (do_test): Likewise.
9584         * string/test-memmem.c (do_one_test): Likewise.
9585         (do_test): Likewise.
9586         (do_random_tests): Likewise.
9587         * string/test-memmove.c (do_one_test): Likewise.
9588         (do_test): Likewise.
9589         * string/test-memset.c (do_one_test): Likewise.
9590         (do_test): Likewise.
9591         * string/test-rawmemchr.c (do_one_test): Likewise.
9592         (do_test): Likewise.
9593         * string/test-strcasecmp.c (do_one_test): Likewise.
9594         (do_test): Likewise.
9595         * string/test-strcasestr.c (do_one_test): Likewise.
9596         (do_test): Likewise.
9597         * string/test-strcat.c (do_one_test): Likewise.
9598         (do_test): Likewise.
9599         * string/test-strchr.c (do_one_test): Likewise.
9600         (do_test): Likewise.
9601         * string/test-strcmp.c (do_one_test): Likewise.
9602         (do_test): Likewise.
9603         * string/test-strcpy.c (do_one_test): Likewise.
9604         (do_test): Likewise.
9605         * string/test-string.h: Likewise.
9606         (test_init): Likewise.
9607         * string/test-strlen.c (do_one_test): Likewise.
9608         (do_test): Likewise.
9609         * string/test-strncasecmp.c (do_one_test): Likewise.
9610         (do_test): Likewise.
9611         * string/test-strncat.c (do_one_test): Likewise.
9612         (do_test): Likewise.
9613         * string/test-strncmp.c (do_one_test): Likewise.
9614         (do_test_limit): Likewise.
9615         (do_test): Likewise.
9616         * string/test-strncpy.c (do_one_test): Likewise.
9617         (do_test): Likewise.
9618         * string/test-strnlen.c (do_one_test): Likewise.
9619         (do_test): Likewise.
9620         * string/test-strpbrk.c (do_one_test): Likewise.
9621         (do_test): Likewise.
9622         * string/test-strrchr.c (do_one_test): Likewise.
9623         (do_test): Likewise.
9624         * string/test-strspn.c (do_one_test): Likewise.
9625         (do_test): Likewise.
9626         * string/test-strstr.c (do_one_test): Likewise.
9627         (do_test): Likewise.
9629         * benchtests/Makefile (string-bench): Add string benchmarks.
9630         * benchtests/bench-bcopy-ifunc.c: New file.
9631         * benchtests/bench-bcopy.c: New file.
9632         * benchtests/bench-bzero-ifunc.c: New file.
9633         * benchtests/bench-bzero.c: New file.
9634         * benchtests/bench-memccpy-ifunc.c: New file.
9635         * benchtests/bench-memccpy.c: New file.
9636         * benchtests/bench-memchr-ifunc.c: New file.
9637         * benchtests/bench-memchr.c: New file.
9638         * benchtests/bench-memcmp-ifunc.c: New file.
9639         * benchtests/bench-memcmp.c: New file.
9640         * benchtests/bench-memmem-ifunc.c: New file.
9641         * benchtests/bench-memmem.c: New file.
9642         * benchtests/bench-memmove-ifunc.c: New file.
9643         * benchtests/bench-memmove.c: New file.
9644         * benchtests/bench-mempcpy-ifunc.c: New file.
9645         * benchtests/bench-mempcpy.c: New file.
9646         * benchtests/bench-memset-ifunc.c: New file.
9647         * benchtests/bench-memset.c: New file.
9648         * benchtests/bench-rawmemchr-ifunc.c: New file.
9649         * benchtests/bench-rawmemchr.c: New file.
9650         * benchtests/bench-stpcpy-ifunc.c: New file.
9651         * benchtests/bench-stpcpy.c: New file.
9652         * benchtests/bench-stpncpy-ifunc.c: New file.
9653         * benchtests/bench-stpncpy.c: New file.
9654         * benchtests/bench-strcasecmp-ifunc.c: New file.
9655         * benchtests/bench-strcasecmp.c: New file.
9656         * benchtests/bench-strcasestr-ifunc.c: New file.
9657         * benchtests/bench-strcasestr.c: New file.
9658         * benchtests/bench-strcat-ifunc.c: New file.
9659         * benchtests/bench-strcat.c: New file.
9660         * benchtests/bench-strchr-ifunc.c: New file.
9661         * benchtests/bench-strchr.c: New file.
9662         * benchtests/bench-strchrnul-ifunc.c: New file.
9663         * benchtests/bench-strchrnul.c: New file.
9664         * benchtests/bench-strcmp-ifunc.c: New file.
9665         * benchtests/bench-strcmp.c: New file.
9666         * benchtests/bench-strcpy-ifunc.c: New file.
9667         * benchtests/bench-strcpy.c: New file.
9668         * benchtests/bench-strcspn-ifunc.c: New file.
9669         * benchtests/bench-strcspn.c: New file.
9670         * benchtests/bench-strlen-ifunc.c: New file.
9671         * benchtests/bench-strlen.c: New file.
9672         * benchtests/bench-strncasecmp-ifunc.c: New file.
9673         * benchtests/bench-strncasecmp.c: New file.
9674         * benchtests/bench-strncat-ifunc.c: New file.
9675         * benchtests/bench-strncat.c: New file.
9676         * benchtests/bench-strncmp-ifunc.c: New file.
9677         * benchtests/bench-strncmp.c: New file.
9678         * benchtests/bench-strncpy-ifunc.c: New file.
9679         * benchtests/bench-strncpy.c: New file.
9680         * benchtests/bench-strnlen-ifunc.c: New file.
9681         * benchtests/bench-strnlen.c: New file.
9682         * benchtests/bench-strpbrk-ifunc.c: New file.
9683         * benchtests/bench-strpbrk.c: New file.
9684         * benchtests/bench-strrchr-ifunc.c: New file.
9685         * benchtests/bench-strrchr.c: New file.
9686         * benchtests/bench-strspn-ifunc.c: New file.
9687         * benchtests/bench-strspn.c: New file.
9688         * benchtests/bench-strstr-ifunc.c: New file.
9689         * benchtests/bench-strstr.c: New file.
9691         * benchtests/Makefile: Disable parallel execution of targets.
9692         (string-bench): Add memcpy.
9693         (benchset): New variable to store a list of benchmark sets.
9694         (bench-func): Renamed from bench.
9695         (bench-set): New target.
9696         (bench): Depend on bench-func and bench-set.
9697         * benchtests/README: Add section on benchmark sets.
9698         * benchtests/bench-memcpy-ifunc.c: New file.
9699         * benchtests/bench-memcpy.c: New file.
9700         * benchtests/bench-string.h: New file.
9702 2013-06-11  Andreas Schwab  <schwab@suse.de>
9704         [BZ #15577]
9705         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9706         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9707         values in the triple.
9708         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9709         terminator in the group key.
9711 2013-06-11  Andreas Jaeger  <aj@suse.de>
9713         * po/zh_TW.po: Update Chinese (traditional) translation from
9714         translation project.
9716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9718         * include/time.h (__clock_gettime): Add libc_hidden_proto.
9719         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9720         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
9721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9722         (clock_getcpuclockid): Likewise.
9723         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9724         Add weak_alias and libc_hidden_def.
9725         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9726         * rt/clock_gettime.c (clock_gettime): Rename to
9727         __clock_gettime.  Add weak_alias and libc_hidden_def.
9728         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9729         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9730         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
9731         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9732         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9733         Likewise.
9734         * rt/clock_settime.c (clock_settime): Rename to
9735         __clock_settime.  Add weak_alias and libc_hidden_def.
9736         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9738 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
9740         * mach/err_boot.sub: Remove trailing whitespace.
9741         * mach/err_ipc.sub: Likewise.
9742         * mach/err_mach.sub: Likewise.
9744         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9745         (ROUNDING_TESTS_double): Likewise.
9746         (ROUNDING_TESTS_long_double): Likewise.
9747         (ROUNDING_TESTS): Likewise.
9748         * math/libm-test.inc: Include <math-tests.h>.
9749         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9750         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9751         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9752         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9754 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9756         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9757         of assigning.
9759 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
9761         * sysdeps/gnu/errlist.awk: Do not generate space at end of
9762         otherwise empty TRANS lines.
9763         * sysdeps/gnu/errlist.c: Regenerated.
9765         * catgets/gencat.c (error_print): Use (void) in function
9766         definition.
9767         * crypt/crypt_util.c (__init_des): Likewise.
9768         * crypt/speeds.c (Stop): Likewise.
9769         (main): Likewise.
9770         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9771         * inet/ruserpass.c (token): Likewise.
9772         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9773         * intl/localealias.c (extend_alias_table): Likewise.
9774         * intl/plural-exp.c (init_germanic_plural): Likewise.
9775         * libio/fcloseall.c (__fcloseall): Likewise.
9776         * libio/genops.c (_IO_flush_all): Likewise.
9777         (_IO_flush_all_linebuffered): Likewise.
9778         (_IO_cleanup): Likewise.
9779         (_IO_iter_begin): Likewise.
9780         (_IO_iter_end): Likewise.
9781         (_IO_list_lock): Likewise.
9782         (_IO_list_unlock): Likewise.
9783         (_IO_list_resetlock): Likewise.
9784         * libio/getchar.c (getchar): Likewise.
9785         * libio/getchar_u.c (getchar_unlocked): Likewise.
9786         * libio/getwchar.c (getwchar): Likewise.
9787         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9788         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9789         * login/getpt.c (__getpt): Likewise.
9790         * login/tst-utmp.c (main): Likewise.
9791         * malloc/hooks.c (__malloc_check_init): Likewise.
9792         * malloc/malloc.c (__malloc_stats): Likewise.
9793         * malloc/mtrace.c (tr_break): Likewise.
9794         (mtrace): Likewise.
9795         (muntrace): Likewise.
9796         * misc/fstab.c (endfsent): Likewise.
9797         * misc/getclktck.c (__getclktck): Likewise.
9798         * misc/getdtsz.c (__getdtablesize): Likewise.
9799         * misc/gethostid.c (gethostid): Likewise.
9800         * misc/getpagesize.c (__getpagesize): Likewise.
9801         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9802         (__get_nprocs): Likewise.
9803         (__get_phys_pages): Likewise.
9804         (__get_avphys_pages): Likewise.
9805         * misc/getttyent.c (getttyent): Likewise.
9806         (setttyent): Likewise.
9807         (endttyent): Likewise.
9808         * misc/getusershell.c (getusershell): Likewise.
9809         (endusershell): Likewise.
9810         (setusershell): Likewise.
9811         (initshells): Likewise.
9812         * misc/hsearch.c (__hdestroy): Likewise.
9813         * misc/sync.c (sync): Likewise.
9814         * misc/syslog.c (closelog_internal): Likewise.
9815         (closelog): Likewise.
9816         * misc/ttyslot.c (ttyslot): Likewise.
9817         * misc/vhangup.c (vhangup): Likewise.
9818         * posix/fork.c (__fork): Likewise.
9819         * posix/getegid.c (__getegid): Likewise.
9820         * posix/geteuid.c (__geteuid): Likewise.
9821         * posix/getgid.c (__getgid): Likewise.
9822         * posix/getpid.c (__getpid): Likewise.
9823         * posix/getppid.c (__getppid): Likewise.
9824         * posix/getuid.c (__getuid): Likewise.
9825         * posix/pause.c (pause): Likewise.
9826         * posix/setpgrp.c (setpgrp): Likewise.
9827         * posix/setsid.c (__setsid): Likewise.
9828         * posix/test-vfork.c (noop): Likewise.
9829         * resolv/gethnamaddr.c (_endhtent): Likewise.
9830         (_gethtent): Likewise.
9831         (ht_endhostent): Likewise.
9832         (gethostent): Likewise.
9833         (dns_service): Likewise.
9834         * stdlib/drand48.c (drand48): Likewise.
9835         * stdlib/lrand48.c (lrand48): Likewise.
9836         * stdlib/mrand48.c (mrand48): Likewise.
9837         * stdlib/rand.c (rand): Likewise.
9838         * stdlib/random.c (__random): Likewise.
9839         * stdlib/setenv.c (clearenv): Likewise.
9840         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9841         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9842         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9843         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9844         (__get_nprocs): Likewise.
9845         (__get_phys_pages): Likewise.
9846         (__get_avphys_pages): Likewise.
9847         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9848         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9849         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9850         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9851         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9852         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9853         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9854         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9855         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9856         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9857         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9858         * sysdeps/mach/hurd/sync.c (sync): Likewise.
9859         * sysdeps/posix/clock.c (clock): Likewise.
9860         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9861         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9862         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9863         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9864         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9866         (__get_nprocs_conf): Likewise.
9867         (__get_phys_pages): Likewise.
9868         (__get_avphys_pages): Likewise.
9869         * time/clock.c (clock): Likewise.
9870         * time/tzset.c (__tzname_max): Likewise.
9872 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
9874         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9875         (__bswap_32): Do not use "register".
9876         * crypt/crypt.c (_ufc_doit_r): Likewise.
9877         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9878         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9879         * gmon/gmon.c (__monstartup): Likewise.
9880         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9881         * hurd/hurdmalloc.c (more_memory): Likewise.
9882         (malloc): Likewise.
9883         (free): Likewise.
9884         (realloc): Likewise.
9885         (malloc_fork_prepare): Likewise.
9886         (malloc_fork_parent): Likewise.
9887         (malloc_fork_child): Likewise.
9888         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9889         (_svcauth_des): Likewise.
9890         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9891         * inet/inet_net.c (inet_network): Likewise.
9892         * inet/inet_netof.c (inet_netof): Likewise.
9893         * inet/rcmd.c (__validuser2_sa): Likewise.
9894         * io/fts.c (fts_open): Likewise.
9895         (fts_load): Likewise.
9896         (fts_close): Likewise.
9897         (fts_read): Likewise.
9898         (fts_children): Likewise.
9899         (fts_build): Likewise.
9900         (fts_stat): Likewise.
9901         (fts_sort): Likewise.
9902         (fts_alloc): Likewise.
9903         (fts_lfree): Likewise.
9904         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9905         (_IO_file_xsgetn): Likewise.
9906         (_IO_file_xsgetn_mmap): Likewise.
9907         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9908         (_IO_cookie_write): Likewise.
9909         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9910         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9911         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9912         * malloc/obstack.c (_obstack_begin): Likewise.
9913         (_obstack_begin_1): Likewise.
9914         (_obstack_newchunk): Likewise.
9915         (_obstack_allocated_p): Likewise.
9916         (obstack_free): Likewise.
9917         (_obstack_memory_used): Likewise.
9918         * misc/getttyent.c (getttynam): Likewise.
9919         (getttyent): Likewise.
9920         (skip): Likewise.
9921         (value): Likewise.
9922         * misc/getusershell.c (initshells): Likewise.
9923         * misc/syslog.c (__vsyslog_chk): Likewise.
9924         * misc/ttyslot.c (ttyslot): Likewise.
9925         * nis/nis_hash.c (__nis_hash): Likewise.
9926         * posix/fnmatch_loop.c (FCT): Likewise.
9927         * posix/getconf.c (print_all): Likewise.
9928         (main): Likewise.
9929         * posix/getopt.c (exchange): Likewise.
9930         * posix/glob.c (globfree): Likewise.
9931         (prefix_array): Likewise.
9932         (__glob_pattern_type): Likewise.
9933         * resolv/arpa/nameser.h (NS_GET16): Likewise.
9934         (NS_GET32): Likewise.
9935         (NS_PUT16): Likewise.
9936         (NS_PUT32): Likewise.
9937         * resolv/gethnamaddr.c (getanswer): Likewise.
9938         (gethostbyname2): Likewise.
9939         (gethostbyaddr): Likewise.
9940         (_gethtent): Likewise.
9941         (_gethtbyname2): Likewise.
9942         (_gethtbyaddr): Likewise.
9943         * resolv/ns_print.c (dst_s_get_int16): Likewise.
9944         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9945         * resolv/res_init.c (__res_vinit): Likewise.
9946         (net_mask): Likewise.
9947         * resolv/res_mkquery.c (outchar): Likewise.
9948         (PRINT): Likewise.
9949         * stdio-common/printf_fp.c (outchar): Likewise.
9950         (PRINT): Likewise.
9951         * stdio-common/printf_fphex.c (outchar): Likewise.
9952         (PRINT): Likewise.
9953         * stdio-common/printf_size.c (outchar): Likewise.
9954         (PRINT): Likewise.
9955         * stdio-common/test_rdwr.c (main): Likewise.
9956         * stdio-common/tfformat.c (matches): Likewise.
9957         * stdio-common/vfprintf.c (outchar): Likewise.
9958         (printf_unknown): Likewise.
9959         (buffered_vfprintf): Likewise.
9960         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9961         * stdio-common/xbug.c (AppendToBuffer): Likewise.
9962         (ReadFile): Likewise.
9963         * stdlib/qsort.c (SWAP): Likewise.
9964         (_quicksort): Likewise.
9965         * stdlib/setenv.c (__add_to_environ): Likewise.
9966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9967         * stdlib/strtol_l.c (__strtol_l): Likewise.
9968         * stdlib/tst-strtod.c (main): Likewise.
9969         * stdlib/tst-strtol.c (main): Likewise.
9970         * stdlib/tst-strtoll.c (main): Likewise.
9971         * string/bits/string2.h (__strcmp_cc): Likewise.
9972         (__strcmp_cg): Likewise.
9973         (__strcspn_c1): Likewise.
9974         (__strcspn_c2): Likewise.
9975         (__strcspn_c3): Likewise.
9976         (__strspn_c1): Likewise.
9977         (__strspn_c2): Likewise.
9978         (__strspn_c3): Likewise.
9979         (__strsep_1c): Likewise.
9980         (__strsep_2c): Likewise.
9981         (__strsep_3c): Likewise.
9982         * string/memccpy.c (__memccpy): Likewise.
9983         * string/stpcpy.c (__stpcpy): Likewise.
9984         * string/strcmp.c (strcmp): Likewise.
9985         * string/strrchr.c (strrchr): Likewise.
9986         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9987         Likewise.
9988         * sysdeps/mach/hurd/getcwd.c
9989         (_hurd_canonicalize_directory_name_internal): Likewise.
9990         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9991         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9992         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9993         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9994         Likewise, in both definitions.
9995         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9996         definitions.
9997         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9998         64] (__bswap_64): Likewise.
9999         * time/test_time.c (main): Likewise.
10000         * time/tzfile.c (__tzfile_read): Likewise.
10001         (__tzfile_compute): Likewise.
10002         * time/tzset.c (__tzset_parse_tz): Likewise.
10003         (tzset_internal): Likewise.
10004         (compute_change): Likewise.
10005         * wcsmbs/wcscat.c (__wcscat): Likewise.
10006         * wcsmbs/wcschr.c (wcschr): Likewise.
10007         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10008         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10009         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10010         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
10011         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10012         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10013         * wcsmbs/wmemchr.c (wmemchr): Likewise.
10014         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10015         * wcsmbs/wmemset.c (wmemset): Likewise.
10017 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
10019         * scripts/config.guess: Update to version 2013-05-16.
10020         * scripts/config.sub: Update to version 2013-04-24.
10021         * scripts/install-sh: Update to version 2011-11-20.07.
10022         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
10023         * scripts/move-if-change: Update to version 2012-01-06 07:23.
10025 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
10027         * debug/fgetws_u_chk.c: Fix leading whitespaces.
10028         * elf/sln.c: Likewise.
10029         * hurd/hurd/ioctl.h: Likewise.
10030         * hurd/hurdmalloc.c: Likewise.
10031         * hurd/xattr.c: Likewise.
10032         * include/shlib-compat.h: Likewise.
10033         * inet/ruserpass.c: Likewise.
10034         * libio/iofgets_u.c: Likewise.
10035         * libio/iofgetws_u.c: Likewise.
10036         * locale/programs/ld-identification.c: Likewise.
10037         * locale/programs/ld-time.c: Likewise.
10038         * mach/msg-destroy.c: Likewise.
10039         * nss/nss_files/files-netgrp.c: Likewise.
10040         * resolv/res_data.c: Likewise.
10041         * soft-fp/op-1.h: Likewise.
10042         * soft-fp/op-2.h: Likewise.
10043         * soft-fp/op-4.h: Likewise.
10044         * soft-fp/op-common.h: Likewise.
10045         * stdio-common/printf_fphex.c: Likewise.
10046         * stdlib/strtod_l.c: Likewise.
10047         * sunrpc/rpc/clnt.h: Likewise.
10048         * sysdeps/generic/framestate.c: Likewise.
10049         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10050         * sysdeps/i386/bsd-setjmp.S: Likewise.
10051         * sysdeps/i386/__longjmp.S: Likewise.
10052         * sysdeps/i386/setjmp.S: Likewise.
10053         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10054         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10056         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10057         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10058         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10060         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10061         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10062         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10063         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10064         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10065         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10066         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10067         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10069         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10070         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
10071         * sysdeps/ieee754/support.c: Likewise.
10072         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10073         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
10074         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
10075         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
10076         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
10077         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
10078         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
10079         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
10080         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
10081         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
10082         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
10083         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
10084         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
10085         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
10086         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
10087         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
10088         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10091 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
10093         * posix/transbug.c: Remove executable mode.
10095 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
10097         * crypt/speeds.c: Remove trailing whitespace.
10098         * dlfcn/default.c: Likewise.
10099         * elf/ifuncdep2.c: Likewise.
10100         * elf/ifuncmain1.c: Likewise.
10101         * elf/ifuncmain1vis.c: Likewise.
10102         * elf/testobj.h: Likewise.
10103         * elf/tst-stackguard1.c: Likewise.
10104         * gmon/sys/gmon.h: Likewise.
10105         * hurd/hurdmsg.c: Likewise.
10106         * hurd/new-fd.c: Likewise.
10107         * hurd/ports-get.c: Likewise.
10108         * iconvdata/ibm1008_420.c: Likewise.
10109         * inet/tst-getni1.c: Likewise.
10110         * inet/tst-getni2.c: Likewise.
10111         * libio/ioungetc.c: Likewise.
10112         * libio/wfiledoalloc.c: Likewise.
10113         * manual/libm-err-tab.pl: Likewise.
10114         * math/w_dremf.c: Likewise.
10115         * misc/ftruncate.c: Likewise.
10116         * posix/bug-glob2.c: Likewise.
10117         * posix/tst-pcre.c: Likewise.
10118         * posix/wait4.c: Likewise.
10119         * resolv/README: Likewise.
10120         * resolv/res_debug.h: Likewise.
10121         * resolv/tst-inet_ntop.c: Likewise.
10122         * setjmp/bug269-setjmp.c: Likewise.
10123         * soft-fp/extended.h: Likewise.
10124         * soft-fp/op-1.h: Likewise.
10125         * soft-fp/op-2.h: Likewise.
10126         * soft-fp/op-4.h: Likewise.
10127         * soft-fp/op-8.h: Likewise.
10128         * soft-fp/testit.c: Likewise.
10129         * stdio-common/bug16.c: Likewise.
10130         * stdlib/random.c: Likewise.
10131         * sunrpc/rpcsvc/rquota.x: Likewise.
10132         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
10133         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10134         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10135         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10136         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10137         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10138         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10139         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10140         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10141         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10142         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10143         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10145         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10146         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10159         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10161         * sysdeps/ieee754/s_lib_version.c: Likewise.
10162         * sysdeps/mach/hurd/check_fds.c: Likewise.
10163         * sysdeps/mach/hurd/getsockname.c: Likewise.
10164         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
10165         * sysdeps/mach/hurd/recvfrom.c: Likewise.
10166         * sysdeps/powerpc/bits/link.h: Likewise.
10167         * sysdeps/powerpc/dl-procinfo.c: Likewise.
10168         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
10169         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
10170         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
10171         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10172         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10173         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
10174         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10175         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
10176         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10177         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10178         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10179         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
10180         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10181         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10182         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10183         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10184         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10185         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10186         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10187         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10188         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
10189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10190         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10191         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
10192         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10193         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10194         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10195         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10196         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10198         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10199         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10200         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10201         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
10202         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10203         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
10204         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10205         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10206         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
10207         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
10208         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
10209         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
10210         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
10211         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10212         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
10213         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
10214         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10215         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
10216         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
10217         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10218         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10219         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10220         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10221         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
10222         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10223         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10224         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10225         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
10226         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10227         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
10228         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
10229         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
10230         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10231         * sysdeps/powerpc/sysdep.h: Likewise.
10232         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10233         * sysdeps/s390/s390-64/sub_n.S: Likewise.
10234         * sysdeps/sh/dl-trampoline.S: Likewise.
10235         * sysdeps/sh/memset.S: Likewise.
10236         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
10237         * sysdeps/sh/strlen.S: Likewise.
10238         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
10239         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
10240         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
10241         * sysdeps/sparc/sparc32/rem.S: Likewise.
10242         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
10243         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
10244         * sysdeps/sparc/sparc32/strchr.S: Likewise.
10245         * sysdeps/sparc/sparc32/udiv.S: Likewise.
10246         * sysdeps/sparc/sparc32/urem.S: Likewise.
10247         * sysdeps/sparc/sparc64/add_n.S: Likewise.
10248         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10249         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
10250         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
10251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
10252         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
10253         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10254         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
10255         * sysdeps/unix/bsd/times.c: Likewise.
10256         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
10257         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
10258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10261         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10263         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10264         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
10265         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
10266         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
10267         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10268         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
10269         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10270         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10271         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10272         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10273         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
10274         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
10275         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
10276         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10277         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
10278         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10279         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
10280         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
10281         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10282         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
10283         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10284         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
10285         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
10286         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
10287         * sysdeps/x86_64/strcspn.S: Likewise.
10289 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10291         * locale/C-translit.h: Revert #include <stdint.h> because this is a
10292         generated file.  Regenerate properly from gen-translit.pl.
10293         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
10294         locale/C-translit.h.
10296 2013-06-05  Andreas Schwab  <schwab@suse.de>
10298         [BZ #15100]
10299         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
10300         week as 6 instead of -1.
10301         * time/tst-strptime.c (day_tests): Add test case.
10303 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10305         * sysdeps/generic/math_private.h
10306         (libc_feholdexcept_setround_53bit): Replace with
10307         libc_feholdsetround_53bit.
10308         (libc_feupdateenv_53bit): Replace with
10309         libc_feresetround_53bit.
10310         (SET_RESTORE_ROUND_53BIT): Adjust.
10312 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10314         * string/test-strchrnul.c: Add copyright header.
10316         * posix/tst-getaddrinfo4.c: Increase test timeout.
10318 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
10320         [BZ #15536]
10321         * math/libm-test.inc (MAX_EXP): Remove
10322         (MIN_EXP): Define.
10323         (ulp): Use MIN_EXP - MANT_DIG.
10324         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
10326 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
10328         * po/be.po: Revert last change.
10329         * po/zh_CN.po: Likewise.
10330         * po/header.pot: Likewise.
10332 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
10334         * Makefile ($(common-objpfx)linkobj/libc.so): Define
10335         link-libc-deps to empty as target-specific variable.
10336         * Makerules (link-libc-args): New variable.
10337         (libc-for-link): Likewise.
10338         (link-libc-deps): Likewise.
10339         (lib%.so): Depend on $(link-libc-deps).  Link with
10340         $(link-libc-args).
10341         (build-module): Link with $(link-libc-args).
10342         (build-module-asneeded): Likewise.
10343         (build-module-helper-objlist): Filter out $(link-libc-deps) from
10344         list of objects.
10345         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
10346         target-specific variable.
10347         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
10348         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
10349         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
10350         libc.
10351         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
10352         libc and ld.so.
10353         ($(objpfx)libpcprofile.so): Likewise.
10354         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
10355         libc_nonshared.a.
10356         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
10357         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
10358         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
10359         $(link-libc-deps).
10360         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
10361         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
10362         * login/Makefile ($(objpfx)libutil.so): Likewise.
10363         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
10364         * math/Makefile ($(objpfx)libm.so): Likewise.
10365         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
10366         $(objpfx)libnsl.so): Define libc-for-link as target-specific
10367         variable instead of depending directly on libc.
10368         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10369         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10370         $(link-libc-deps).
10371         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10372         libc.
10373         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10374         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10375         ($(objpfx)libanl.so): Likewise.
10376         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10377         ld.so.
10378         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10379         $(link-libc-deps).
10380         * sysdeps/i386/fpu/Makefile: Remove file.
10381         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10382         ($(objpfx)libm.so): Remove dependency on ld.so.
10384 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
10386         [BZ # 15553]
10387         * nis/yp_xdr.c (XDRMAXNAME): Define.
10388         (XDRMAXRECORD): Define.
10389         (xdr_domainname): Use XDRMAXNAME.
10390         (xdr_mapname): Likewise.
10391         (xdr_peername): Likewise.
10392         (xdr_keydat): Use XDRMAXRECORD.
10393         (xdr_valdat): Likewise.
10395 2013-05-30  Jeff Law  <law@redhat.com>
10397         [BZ #14256]
10398         * manual/errno.texi (ESTALE): Update to account for more than
10399         just NFS file systems.
10400         * sysdeps/gnu/errlist.c: Regenerated.
10402 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10404         [BZ #15465]
10405         * elf/Makefile (tests): Add tst-null-argv.
10406         (modules-names):  Add tst-null-argv-lib.
10407         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10408         (tst-null-argv-ENV): Set environment for tst-null-argv.
10409         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10410         (RTLD_PROGNAME): New macro.
10411         * elf/tst-null-argv.c: New test case.
10412         * elf/tst-null-argv-lib.c: Library for test case.
10413         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10414         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10415         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10416         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10417         * elf/dl-init.c (call_init): Likewise.
10418         (_dl_init): Likewise.
10419         * elf/dl-load.c (print_search_path): Likewise.
10420         (_dl_map_object): Likewise.
10421         * elf/dl-lookup.c (do_lookup_x): Likewise.
10422         (add_dependency): Likewise.
10423         (_dl_lookup_symbol_x): Likewise.
10424         (_dl_debug_bindings): Likewise.
10425         * elf/dl-open.c (_dl_show_scope): Likewise.
10426         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10427         * elf/dl-version.c (match_symbol): Likewise.
10428         (_dl_check_map_versions): Likewise.
10429         * elf/rtld.c (dl_main): Likewise.
10430         (print_unresolved): Use RTLD_PROGNAME.
10431         (print_missing_version): Likewise.
10432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10433         (elf_machine_rela): Likewise.
10434         * sysdeps/powerpc/powerpc32/dl-machine.c
10435         (__process_machine_rela): Likewise.
10436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10437         Likewise.
10438         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10439         Likewise.
10440         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10441         Likewise.
10442         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10444         Likewise.
10445         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10446         Likewise.
10447         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10449 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
10451         * po/be.po: Add descriptive title.
10452         * po/zh_CN.po: Likewise.
10453         * po/header.pot: Likewise.
10455 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
10457         * locale/programs/locarchive.c (create_archive): Inlucde fname in
10458         error message.
10459         (enlarge_archive): Likewise.
10461 2013-05-28  Ben North  <ben@redfrontdoor.org>
10463         * manual/arith.texi (frexp): It is the magnitude of the return
10464         value which lies in [0.5, 1), not the return value itself.
10466 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10470 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
10472         * stdio-common/bug26.c (main): Correct fscanf template.
10474         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10475         declare _dl_skip_args.
10477         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10478         Don't declare.
10480         * manual/platform.texi: Add missing @end deftypefun.
10482 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10484         [BZ #15529]
10485         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10486         bit of mantissa of 2^16382.
10487         * math/libm-test.inc (hypot_test_data): Add more tests.
10489         * math/libm-test.inc: Add drem and pow10 to list of tested
10490         functions.
10491         (pow10_test): New function.
10492         (drem_test): Likewise.
10493         (drem_test_tonearest): Likewise.
10494         (drem_test_towardzero): Likewise.
10495         (drem_test_downward): Likewise.
10496         (drem_test_upward): Likewise.
10497         (main): Call the new functions.
10499         * math/libm-test.inc (finite_test_data): Remove.
10500         (finite_test): Run tests from isfinite_test_data.
10501         (gamma_test_data): Remove.
10502         (gamma_test): Run tests from lgamma_test_data.
10503         * sysdeps/i386/fpu/libm-test-ulps: Update.
10504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10506 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10508         * manual/platform.texi: Add PowerPC PPR function set documentation.
10509         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10510         implementation.
10512 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
10514         * math/libm-test.inc (MAX_EXP): Define.
10515         (ULPDIFF): Define.
10516         (ulp): New function.
10517         (check_float_internal): Use ULPDIFF.
10518         (cpow_test): Disable failing test.
10519         (check_ulp): Test ulp() implemetnation.
10520         (main): Call check_ulp before starting tests.
10522 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10524         * math/gen-libm-test.pl (generate_testfile): Do not handle
10525         START_DATA and END_DATA.
10526         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10527         END_DATA.
10528         (acos_tonearest_test_data): Likewise.
10529         (acos_towardzero_test_data): Likewise.
10530         (acos_downward_test_data): Likewise.
10531         (acos_upward_test_data): Likewise.
10532         (acosh_test_data): Likewise.
10533         (asin_test_data): Likewise.
10534         (asin_tonearest_test_data): Likewise.
10535         (asin_towardzero_test_data): Likewise.
10536         (asin_downward_test_data): Likewise.
10537         (asin_upward_test_data): Likewise.
10538         (asinh_test_data): Likewise.
10539         (atan_test_data): Likewise.
10540         (atanh_test_data): Likewise.
10541         (atan2_test_data): Likewise.
10542         (cabs_test_data): Likewise.
10543         (cacos_test_data): Likewise.
10544         (cacosh_test_data): Likewise.
10545         (carg_test_data): Likewise.
10546         (casin_test_data): Likewise.
10547         (casinh_test_data): Likewise.
10548         (catan_test_data): Likewise.
10549         (catanh_test_data): Likewise.
10550         (cbrt_test_data): Likewise.
10551         (ccos_test_data): Likewise.
10552         (ccosh_test_data): Likewise.
10553         (ceil_test_data): Likewise.
10554         (cexp_test_data): Likewise.
10555         (cimag_test_data): Likewise.
10556         (clog_test_data): Likewise.
10557         (clog10_test_data): Likewise.
10558         (conj_test_data): Likewise.
10559         (copysign_test_data): Likewise.
10560         (cos_test_data): Likewise.
10561         (cos_tonearest_test_data): Likewise.
10562         (cos_towardzero_test_data): Likewise.
10563         (cos_downward_test_data): Likewise.
10564         (cos_upward_test_data): Likewise.
10565         (cosh_test_data): Likewise.
10566         (cosh_tonearest_test_data): Likewise.
10567         (cosh_towardzero_test_data): Likewise.
10568         (cosh_downward_test_data): Likewise.
10569         (cosh_upward_test_data): Likewise.
10570         (cpow_test_data): Likewise.
10571         (cproj_test_data): Likewise.
10572         (creal_test_data): Likewise.
10573         (csin_test_data): Likewise.
10574         (csinh_test_data): Likewise.
10575         (csqrt_test_data): Likewise.
10576         (ctan_test_data): Likewise.
10577         (ctan_tonearest_test_data): Likewise.
10578         (ctan_towardzero_test_data): Likewise.
10579         (ctan_downward_test_data): Likewise.
10580         (ctan_upward_test_data): Likewise.
10581         (ctanh_test_data): Likewise.
10582         (ctanh_tonearest_test_data): Likewise.
10583         (ctanh_towardzero_test_data): Likewise.
10584         (ctanh_downward_test_data): Likewise.
10585         (ctanh_upward_test_data): Likewise.
10586         (erf_test_data): Likewise.
10587         (erfc_test_data): Likewise.
10588         (exp_test_data): Likewise.
10589         (exp_tonearest_test_data): Likewise.
10590         (exp_towardzero_test_data): Likewise.
10591         (exp_downward_test_data): Likewise.
10592         (exp_upward_test_data): Likewise.
10593         (exp10_test_data): Likewise.
10594         (exp2_test_data): Likewise.
10595         (expm1_test_data): Likewise.
10596         (fabs_test_data): Likewise.
10597         (fdim_test_data): Likewise.
10598         (finite_test_data): Likewise.
10599         (floor_test_data): Likewise.
10600         (fma_test_data): Likewise.
10601         (fma_towardzero_test_data): Likewise.
10602         (fma_downward_test_data): Likewise.
10603         (fma_upward_test_data): Likewise.
10604         (fmax_test_data): Likewise.
10605         (fmin_test_data): Likewise.
10606         (fmod_test_data): Likewise.
10607         (fpclassify_test_data): Likewise.
10608         (frexp_test_data): Likewise.
10609         (gamma_test_data): Likewise.
10610         (hypot_test_data): Likewise.
10611         (ilogb_test_data): Likewise.
10612         (isfinite_test_data): Likewise.
10613         (isgreater_test_data): Likewise.
10614         (isgreaterequal_test_data): Likewise.
10615         (isinf_test_data): Likewise.
10616         (isless_test_data): Likewise.
10617         (islessequal_test_data): Likewise.
10618         (islessgreater_test_data): Likewise.
10619         (isnan_test_data): Likewise.
10620         (isnormal_test_data): Likewise.
10621         (issignaling_test_data): Likewise.
10622         (isunordered_test_data): Likewise.
10623         (j0_test_data): Likewise.
10624         (j1_test_data): Likewise.
10625         (jn_test_data): Likewise.
10626         (ldexp_test_data): Likewise.
10627         (lgamma_test_data): Likewise.
10628         (lrint_test_data): Likewise.
10629         (lrint_tonearest_test_data): Likewise.
10630         (lrint_towardzero_test_data): Likewise.
10631         (lrint_downward_test_data): Likewise.
10632         (lrint_upward_test_data): Likewise.
10633         (llrint_test_data): Likewise.
10634         (llrint_tonearest_test_data): Likewise.
10635         (llrint_towardzero_test_data): Likewise.
10636         (llrint_downward_test_data): Likewise.
10637         (llrint_upward_test_data): Likewise.
10638         (log_test_data): Likewise.
10639         (log10_test_data): Likewise.
10640         (log1p_test_data): Likewise.
10641         (log2_test_data): Likewise.
10642         (logb_test_data): Likewise.
10643         (logb_downward_test_data): Likewise.
10644         (lround_test_data): Likewise.
10645         (llround_test_data): Likewise.
10646         (modf_test_data): Likewise.
10647         (nearbyint_test_data): Likewise.
10648         (nextafter_test_data): Likewise.
10649         (nexttoward_test_data): Likewise.
10650         (pow_test_data): Likewise.
10651         (pow_tonearest_test_data): Likewise.
10652         (pow_towardzero_test_data): Likewise.
10653         (pow_downward_test_data): Likewise.
10654         (pow_upward_test_data): Likewise.
10655         (remainder_test_data): Likewise.
10656         (remainder_tonearest_test_data): Likewise.
10657         (remainder_towardzero_test_data): Likewise.
10658         (remainder_downward_test_data): Likewise.
10659         (remainder_upward_test_data): Likewise.
10660         (remquo_test_data): Likewise.
10661         (rint_test_data): Likewise.
10662         (rint_tonearest_test_data): Likewise.
10663         (rint_towardzero_test_data): Likewise.
10664         (rint_downward_test_data): Likewise.
10665         (rint_upward_test_data): Likewise.
10666         (round_test_data): Likewise.
10667         (scalb_test_data): Likewise.
10668         (scalbn_test_data): Likewise.
10669         (scalbln_test_data): Likewise.
10670         (signbit_test_data): Likewise.
10671         (sin_test_data): Likewise.
10672         (sin_tonearest_test_data): Likewise.
10673         (sin_towardzero_test_data): Likewise.
10674         (sin_downward_test_data): Likewise.
10675         (sin_upward_test_data): Likewise.
10676         (sincos_test_data): Likewise.
10677         (sinh_test_data): Likewise.
10678         (sinh_tonearest_test_data): Likewise.
10679         (sinh_towardzero_test_data): Likewise.
10680         (sinh_downward_test_data): Likewise.
10681         (sinh_upward_test_data): Likewise.
10682         (sqrt_test_data): Likewise.
10683         (tan_test_data): Likewise.
10684         (tan_tonearest_test_data): Likewise.
10685         (tan_towardzero_test_data): Likewise.
10686         (tan_downward_test_data): Likewise.
10687         (tan_upward_test_data): Likewise.
10688         (tanh_test_data): Likewise.
10689         (tgamma_test_data): Likewise.
10690         (trunc_test_data): Likewise.
10691         (y0_test_data): Likewise.
10692         (y1_test_data): Likewise.
10693         (yn_test_data): Likewise.
10694         (significand_test_data): Likewise.
10696         * math/gen-libm-test.pl (@functions): Remove variable.
10697         (generate_testfile): Don't handle START and END lines.
10698         * math/libm-test.inc (START): New macro.
10699         (END): Likewise.
10700         (END_COMPLEX): Likewise.
10701         (acos_test): Use END macro without arguments.
10702         (acos_test_tonearest): Likewise.
10703         (acos_test_towardzero): Likewise.
10704         (acos_test_downward): Likewise.
10705         (acos_test_upward): Likewise.
10706         (acosh_test): Likewise.
10707         (asin_test): Likewise.
10708         (asin_test_tonearest): Likewise.
10709         (asin_test_towardzero): Likewise.
10710         (asin_test_downward): Likewise.
10711         (asin_test_upward): Likewise.
10712         (asinh_test): Likewise.
10713         (atan_test): Likewise.
10714         (atanh_test): Likewise.
10715         (atan2_test): Likewise.
10716         (cabs_test): Likewise.
10717         (cacos_test): Use END_COMPLEX macro without arguments.
10718         (cacosh_test): Likewise.
10719         (carg_test): Use END macro without arguments.
10720         (casin_test): Use END_COMPLEX macro without arguments.
10721         (casinh_test): Likewise.
10722         (catan_test): Likewise.
10723         (catanh_test): Likewise.
10724         (cbrt_test): Use END macro without arguments.
10725         (ccos_test): Use END_COMPLEX macro without arguments.
10726         (ccosh_test): Likewise.
10727         (ceil_test): Use END macro without arguments.
10728         (cexp_test): Use END_COMPLEX macro without arguments.
10729         (cimag_test): Use END macro without arguments.
10730         (clog_test): Use END_COMPLEX macro without arguments.
10731         (clog10_test): Likewise.
10732         (conj_test): Likewise.
10733         (copysign_test): Use END macro without arguments.
10734         (cos_test): Likewise.
10735         (cos_test_tonearest): Likewise.
10736         (cos_test_towardzero): Likewise.
10737         (cos_test_downward): Likewise.
10738         (cos_test_upward): Likewise.
10739         (cosh_test): Likewise.
10740         (cosh_test_tonearest): Likewise.
10741         (cosh_test_towardzero): Likewise.
10742         (cosh_test_downward): Likewise.
10743         (cosh_test_upward): Likewise.
10744         (cpow_test): Use END_COMPLEX macro without arguments.
10745         (cproj_test): Likewise.
10746         (creal_test): Use END macro without arguments.
10747         (csin_test): Use END_COMPLEX macro without arguments.
10748         (csinh_test): Likewise.
10749         (csqrt_test): Likewise.
10750         (ctan_test): Likewise.
10751         (ctan_test_tonearest): Likewise.
10752         (ctan_test_towardzero): Likewise.
10753         (ctan_test_downward): Likewise.
10754         (ctan_test_upward): Likewise.
10755         (ctanh_test): Likewise.
10756         (ctanh_test_tonearest): Likewise.
10757         (ctanh_test_towardzero): Likewise.
10758         (ctanh_test_downward): Likewise.
10759         (ctanh_test_upward): Likewise.
10760         (erf_test): Use END macro without arguments.
10761         (erfc_test): Likewise.
10762         (exp_test): Likewise.
10763         (exp_test_tonearest): Likewise.
10764         (exp_test_towardzero): Likewise.
10765         (exp_test_downward): Likewise.
10766         (exp_test_upward): Likewise.
10767         (exp10_test): Likewise.
10768         (exp2_test): Likewise.
10769         (expm1_test): Likewise.
10770         (fabs_test): Likewise.
10771         (fdim_test): Likewise.
10772         (finite_test): Likewise.
10773         (floor_test): Likewise.
10774         (fma_test): Likewise.
10775         (fma_test_towardzero): Likewise.
10776         (fma_test_downward): Likewise.
10777         (fma_test_upward): Likewise.
10778         (fmax_test): Likewise.
10779         (fmin_test): Likewise.
10780         (fmod_test): Likewise.
10781         (fpclassify_test): Likewise.
10782         (frexp_test): Likewise.
10783         (gamma_test): Likewise.
10784         (hypot_test): Likewise.
10785         (ilogb_test): Likewise.
10786         (isfinite_test): Likewise.
10787         (isgreater_test): Likewise.
10788         (isgreaterequal_test): Likewise.
10789         (isinf_test): Likewise.
10790         (isless_test): Likewise.
10791         (islessequal_test): Likewise.
10792         (islessgreater_test): Likewise.
10793         (isnan_test): Likewise.
10794         (isnormal_test): Likewise.
10795         (issignaling_test): Likewise.
10796         (isunordered_test): Likewise.
10797         (j0_test): Likewise.
10798         (j1_test): Likewise.
10799         (jn_test): Likewise.
10800         (ldexp_test): Likewise.
10801         (lgamma_test): Likewise.
10802         (lrint_test): Likewise.
10803         (lrint_test_tonearest): Likewise.
10804         (lrint_test_towardzero): Likewise.
10805         (lrint_test_downward): Likewise.
10806         (lrint_test_upward): Likewise.
10807         (llrint_test): Likewise.
10808         (llrint_test_tonearest): Likewise.
10809         (llrint_test_towardzero): Likewise.
10810         (llrint_test_downward): Likewise.
10811         (llrint_test_upward): Likewise.
10812         (log_test): Likewise.
10813         (log10_test): Likewise.
10814         (log1p_test): Likewise.
10815         (log2_test): Likewise.
10816         (logb_test): Likewise.
10817         (logb_test_downward): Likewise.
10818         (lround_test): Likewise.
10819         (llround_test): Likewise.
10820         (modf_test): Likewise.
10821         (nearbyint_test): Likewise.
10822         (nextafter_test): Likewise.
10823         (nexttoward_test): Likewise.
10824         (pow_test): Likewise.
10825         (pow_test_tonearest): Likewise.
10826         (pow_test_towardzero): Likewise.
10827         (pow_test_downward): Likewise.
10828         (pow_test_upward): Likewise.
10829         (remainder_test): Likewise.
10830         (remainder_test_tonearest): Likewise.
10831         (remainder_test_towardzero): Likewise.
10832         (remainder_test_downward): Likewise.
10833         (remainder_test_upward): Likewise.
10834         (remquo_test): Likewise.
10835         (rint_test): Likewise.
10836         (rint_test_tonearest): Likewise.
10837         (rint_test_towardzero): Likewise.
10838         (rint_test_downward): Likewise.
10839         (rint_test_upward): Likewise.
10840         (round_test): Likewise.
10841         (scalb_test): Likewise.
10842         (scalbn_test): Likewise.
10843         (scalbln_test): Likewise.
10844         (signbit_test): Likewise.
10845         (sin_test): Likewise.
10846         (sin_test_tonearest): Likewise.
10847         (sin_test_towardzero): Likewise.
10848         (sin_test_downward): Likewise.
10849         (sin_test_upward): Likewise.
10850         (sincos_test): Likewise.
10851         (sinh_test): Likewise.
10852         (sinh_test_tonearest): Likewise.
10853         (sinh_test_towardzero): Likewise.
10854         (sinh_test_downward): Likewise.
10855         (sinh_test_upward): Likewise.
10856         (sqrt_test): Likewise.
10857         (tan_test): Likewise.
10858         (tan_test_tonearest): Likewise.
10859         (tan_test_towardzero): Likewise.
10860         (tan_test_downward): Likewise.
10861         (tan_test_upward): Likewise.
10862         (tanh_test): Likewise.
10863         (tgamma_test): Likewise.
10864         (trunc_test): Likewise.
10865         (y0_test): Likewise.
10866         (y1_test): Likewise.
10867         (yn_test): Likewise.
10868         (significand_test): Likewise.
10870 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
10872         [BZ #15381]
10873         * libio/genops.c (_IO_no_init): Initialize wide struct info.
10875 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10877         [BZ #14894]
10878         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10879         __ppc_mdoio and __ppc_mdoom.
10880         * manual/platform.texi: Document new functions __ppc_yield,
10881         __ppc_mdoio and __ppc_mdoom.
10883 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
10885         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10886         (main): Mention "tls" pseudo-hwcap is legacy.
10887         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10889 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
10891         * math/gen-libm-test.pl (parse_args): Output only string of
10892         arguments as text for test name, not full call or descriptions of
10893         tests for extra outputs.
10894         (generate_testfile): Do not pass function name to parse_args.
10895         Generate this_func variable from START.
10896         * math/libm-test.inc (struct test_f_f_data): Rename test_name
10897         field to arg_str.
10898         (struct test_ff_f_data): Likewise.
10899         (test_ff_f_data_nexttoward): Likewise.
10900         (struct test_fi_f_data): Likewise.
10901         (struct test_fl_f_data): Likewise.
10902         (struct test_if_f_data): Likewise.
10903         (struct test_fff_f_data): Likewise.
10904         (struct test_c_f_data): Likewise.
10905         (struct test_f_f1_data): Likewise.  Remove field extra_name.
10906         (struct test_fF_f1_data): Likewise.
10907         (struct test_ffI_f1_data): Likewise.
10908         (struct test_c_c_data): Rename test_name field to arg_str.
10909         (struct test_cc_c_data): Likewise.
10910         (struct test_f_i_data): Likewise.
10911         (struct test_ff_i_data): Likewise.
10912         (struct test_f_l_data): Likewise.
10913         (struct test_f_L_data): Likewise.
10914         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
10915         and extra2_name.
10916         (COMMON_TEST_SETUP): New macro.
10917         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10918         (COMMON_TEST_CLEANUP): Likewise.
10919         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10920         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
10921         macros.
10922         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10923         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
10924         macros.
10925         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10926         (RUN_TEST_fff_f): Take argument string.  Call new setup and
10927         cleanup macros.
10928         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10929         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
10930         macros.
10931         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10932         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
10933         macros.
10934         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10935         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
10936         cleanup macros.
10937         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10938         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
10939         cleanup macros.
10940         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10941         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
10942         cleanup macros.
10943         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10944         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
10945         macros.
10946         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10947         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
10948         macros.
10949         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10950         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
10951         macros.
10952         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10953         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
10954         cleanup macros.
10955         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10956         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
10957         cleanup macros.
10958         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10959         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
10960         macros.
10961         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10962         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
10963         cleanup macros.
10964         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10965         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
10966         macros.
10967         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10968         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
10969         macros.
10970         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10971         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
10972         cleanup macros.
10973         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10975 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
10977         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10978         to _sifields.sigfault.
10979         (si_addr_lsb): Define new macro.
10980         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10981         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10982         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10984 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
10986         [BZ #15441]
10987         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10988         returns -1.
10989         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10990         null return -1.
10991         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10992         loading the domain.
10994 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
10996         * math/gen-libm-test.pl (parse_args): Do not include expected
10997         result in test name.
10998         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10999         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11001         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11007         * benchtests/Makefile: Sort function entries.
11009         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
11010         tanh, asinh, acosh, atanh.
11011         * benchtests/acos-inputs: New file.
11012         * benchtests/acosh-inputs: New file.
11013         * benchtests/asin-inputs: New file.
11014         * benchtests/asinh-inputs: New file.
11015         * benchtests/atanh-inputs: New file.
11016         * benchtests/cosh-inputs: New file.
11017         * benchtests/log-inputs: New file.
11018         * benchtests/sinh-inputs: New file.
11019         * benchtests/tanh-inputs: New file.
11021 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
11023         [BZ #15339]
11024         * posix/tst-getaddrinfo4.c: New test.
11025         * posix/Makefile (tests): Add it.
11027 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11029         [BZ #15339]
11030         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11031         when no services were used.
11032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
11033         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
11035 2013-05-21  Andreas Schwab  <schwab@suse.de>
11037         [BZ #15014]
11038         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
11039         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
11040         successful.
11041         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
11042         redundant variable declarations and reallocation of buffer when
11043         parsing as IPv6 address.  Always set NSS status when called from
11044         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
11045         buffer too small.  Correct computation of needed size.
11046         * nss/Makefile (tests): Add test-digits-dots.
11047         * nss/test-digits-dots.c: New test.
11049 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11051         * benchtests/Makefile: Remove instructions for adding
11052         benchmark tests.
11053         * benchtests/README: New file to explain how to execute and
11054         enhance the benchmark tests.
11056 2013-05-21  Andreas Schwab  <schwab@suse.de>
11058         [BZ #15493]
11059         * setjmp/Makefile (tests): Add tst-sigsetjmp.
11060         * setjmp/tst-sigsetjmp.c: New test.
11062 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11064         * sysdeps/x86_64/memset.S (memset): New implementation.
11065         (__bzero): Likewise.
11066         (__memset_tail): New function.
11068 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11070         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
11071         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
11072         __memcpy_sse2_unaligned ifunc selection.
11073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11074         Add memcpy-sse2-unaligned.S.
11075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11076         Add: __memcpy_sse2_unaligned.
11078 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
11080         [BZ #15490]
11081         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11082         math_force_eval before restoring floating-point envrionment.
11083         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
11084         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11085         Likewise.
11086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
11087         <math_private.h>.
11088         (__nearbyintl): Use math_force_eval before restoring
11089         floating-point environment.
11090         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
11092         * math/gen-libm-test.pl (special_functions): Remove.
11093         (parse_args): Don't handle TEST_extra.  Handle functions with no
11094         return value.
11095         * math/libm-test.inc (struct test_sincos_data): Replace with
11096         struct test_fFF_11_data.
11097         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
11098         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
11099         (sincos_test_data): Change element type to struct
11100         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
11101         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
11102         RUN_TEST_LOOP_sincos.
11103         * math/README.libm-test: Don't mention special handling of
11104         individual functions.
11105         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
11106         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11107         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11108         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11109         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11112         * math/gen-libm-test.pl (get_variable): Remove function.
11113         (parse_args): Don't show pointer parameters to call in test
11114         names.  Use "extra output N" in test names for extra outputs
11115         rather than naming variables.
11117 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
11119         [BZ #15488]
11120         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
11121         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
11122         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
11123         double tests.
11124         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
11125         disable.
11126         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
11127         check_long_double.
11129         * math/gen-libm-test.pl (@tests): Remove variable.
11130         ($count): Likewise.
11131         (new_test): Remove function.
11132         (show_exceptions): New function.
11133         (special_functions): Use show_exceptions instead of new_test.
11134         (parse_args): Likewise.
11135         (generate_testfile): Pass only function name in generated call to
11136         print_max_error or print_complex_max_error.
11137         (get_ulps): Do not handle complex tests specially.
11138         (output_test): Rename to ...
11139         (get_all_ulps_for_test): ... this.  Return a string rather than
11140         printing to a file.  Require ulps to be present.
11141         (output_ulps): Generate arrays rather than #defines.
11142         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
11143         (struct ulp_data): New type.
11144         (BUILD_COMPLEX_ULP): Remove macro.
11145         (compare_ulp_data): New function.
11146         (find_ulps): Likewise.
11147         (find_test_ulps): Likewise.
11148         (find_function_ulps): Likewise.
11149         (find_complex_function_ulps): Likewise.
11150         (print_max_error): Determine allowed ulps using
11151         find_function_ulps.
11152         (print_complex_max_error): Determine allowed ulps using
11153         find_complex_function_ulps.
11154         (check_float_internal): Determine max ulps using find_test_ulps.
11155         (check_float): Do not take max_ulp parameter.  Update call to
11156         check_float_internal.
11157         (check_complex): Likewise.
11158         (check_int): Do not take max_ulp parameter.
11159         (check_long): Likewise.
11160         (check_bool): Likewise.
11161         (check_longlong): Likewise.
11162         (struct test_f_f_data): Remove max_ulp field.
11163         (struct test_ff_f_data): Likewise.
11164         (struct test_ff_f_data_nexttoward): Likewise.
11165         (struct test_fi_f_data): Likewise.
11166         (struct test_fl_f_data): Likewise.
11167         (struct test_if_f_data): Likewise.
11168         (struct test_fff_f_data): Likewise.
11169         (struct test_c_f_data): Likewise.
11170         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
11171         (struct test_fF_f1_data): Likewise.
11172         (struct test_ffI_f1_data): Likewise.
11173         (struct test_c_c_data): Remove max_ulp field.
11174         (struct test_cc_c_data): Likewise.
11175         (struct test_f_i_data): Likewise.
11176         (struct test_ff_i_data): Likewise.
11177         (struct test_f_l_data): Likewise.
11178         (struct test_f_L_data): Likewise.
11179         (struct test_sincos_data): Likewise.
11180         (RUN_TEST_f_f): Do not handle ulps.
11181         (RUN_TEST_LOOP_f_f): Likewise.
11182         (RUN_TEST_2_f): Likewise.
11183         (RUN_TEST_LOOP_2_f): Likewise.
11184         (RUN_TEST_fff_f): Likewise.
11185         (RUN_TEST_LOOP_fff_f): Likewise.
11186         (RUN_TEST_c_f): Likewise.
11187         (RUN_TEST_LOOP_c_f): Likewise.
11188         (RUN_TEST_f_f1): Likewise.
11189         (RUN_TEST_LOOP_f_f1): Likewise.
11190         (RUN_TEST_fF_f1): Likewise.
11191         (RUN_TEST_LOOP_fF_f1): Likewise.
11192         (RUN_TEST_fI_f1): Likewise.
11193         (RUN_TEST_LOOP_fI_f1): Likewise.
11194         (RUN_TEST_ffI_f1): Likewise.
11195         (RUN_TEST_LOOP_ffI_f1): Likewise.
11196         (RUN_TEST_c_c): Likewise.
11197         (RUN_TEST_LOOP_c_c): Likewise.
11198         (RUN_TEST_cc_c): Likewise.
11199         (RUN_TEST_LOOP_cc_c): Likewise.
11200         (RUN_TEST_f_i): Likewise.
11201         (RUN_TEST_LOOP_f_i): Likewise.
11202         (RUN_TEST_f_i_tg): Likewise.
11203         (RUN_TEST_LOOP_f_i_tg): Likewise.
11204         (RUN_TEST_ff_i_tg): Likewise.
11205         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11206         (RUN_TEST_f_b): Likewise.
11207         (RUN_TEST_LOOP_f_b): Likewise.
11208         (RUN_TEST_f_b_tg): Likewise.
11209         (RUN_TEST_LOOP_f_b_tg): Likewise.
11210         (RUN_TEST_f_l): Likewise.
11211         (RUN_TEST_LOOP_f_l): Likewise.
11212         (RUN_TEST_f_L): Likewise.
11213         (RUN_TEST_LOOP_f_L): Likewise.
11214         (RUN_TEST_sincos): Likewise.
11215         (RUN_TEST_LOOP_sincos): Likewise.
11217 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
11219         [BZ #15480]
11220         [BZ #15485]
11221         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
11222         main case of finite arguments, set rounding mode to FE_TONEAREST
11223         and discard exceptions.
11224         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
11225         exceptions.
11226         (remainder_tonearest_test_data): New variable.
11227         (remainder_test_tonearest): New function.
11228         (remainder_towardzero_test_data): New variable.
11229         (remainder_test_towardzero): New function.
11230         (remainder_downward_test_data): New variable.
11231         (remainder_test_downward): New function.
11232         (remainder_upward_test_data): New variable.
11233         (remainder_test_upward): New function.
11234         (main): Call the new test functions.
11236         * math/libm-test.inc (struct test_f_f1_data): Remove field
11237         extra_init.
11238         (struct test_fF_f1_data): Likewise.
11239         (struct test_ffI_f1_data): Likewise.
11240         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
11241         based on value of EXTRA_EXPECTED.
11242         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11243         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
11244         EXTRA_VAR based on value of EXTRA_EXPECTED.
11245         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11246         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
11247         EXTRA_VAR based on value of EXTRA_EXPECTED.
11248         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11249         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
11250         EXTRA_VAR based on value of EXTRA_EXPECTED.
11251         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11252         * math/gen-libm-test.pl (parse_args): Don't output initializers
11253         for extra output values.
11255         * math/libm-test.inc (check_int): Expect result to be exactly
11256         equal to expected value and do not handle ulps.
11257         (check_long): Likewise.
11258         (check_longlong): Likewise.
11260         * math/libm-test.inc (ceil_test_data): Test for "inexact"
11261         exceptions.
11262         (cimag_test_data): Likewise.
11263         (conj_test_data): Likewise.
11264         (copysign_test_data): Likewise.
11265         (cproj_test_data): Likewise.
11266         (creal_test_data): Likewise.
11267         (fabs_test_data): Likewise.
11268         (fdim_test_data): Likewise.
11269         (finite_test_data): Likewise.
11270         (floor_test_data): Likewise.
11271         (fmax_test_data): Likewise.
11272         (fmin_test_data): Likewise.
11273         (fmod_test_data): Likewise.
11274         (fpclassify_test_data): Likewise.
11275         (frexp_test_data): Likewise.
11276         (ilogb_test_data): Likewise.
11277         (isfinite_test_data): Likewise.
11278         (isgreater_test_data): Likewise.
11279         (isgreaterequal_test_data): Likewise.
11280         (isinf_test_data): Likewise.
11281         (isless_test_data): Likewise.
11282         (islessequal_test_data): Likewise.
11283         (islessgreater_test_data): Likewise.
11284         (isnan_test_data): Likewise.
11285         (isnormal_test_data): Likewise.
11286         (issignaling_test_data): Likewise.
11287         (isunordered_test_data): Likewise.
11288         (ldexp_test_data): Likewise.
11289         (lrint_test_data): Likewise.
11290         (lrint_test_data) [TEST_FLOAT]: Disable one test.
11291         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
11292         (lrint_tonearest_test_data): Test for "inexact" exceptions.
11293         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11294         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
11295         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11296         test input.
11297         (lrint_towardzero_test_data): Test for "inexact" exceptions.
11298         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11299         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
11300         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
11301         that test input.
11302         (lrint_downward_test_data): Test for "inexact" exceptions.
11303         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11304         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
11305         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11306         test input.
11307         (lrint_upward_test_data): Test for "inexact" exceptions.
11308         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
11309         test input.
11310         (llrint_test_data): Test for "inexact" exceptions.
11311         (llrint_test_data) [TEST_FLOAT]: Disable one test.
11312         (llrint_tonearest_test_data): Test for "inexact" exceptions.
11313         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11314         (llrint_towardzero_test_data): Test for "inexact" exceptions.
11315         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11316         (llrint_downward_test_data): Test for "inexact" exceptions.
11317         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11318         (llrint_upward_test_data): Test for "inexact" exceptions.
11319         (logb_test_data): Likewise.
11320         (logb_downward_test_data): Likewise.
11321         (nextafter_test_data): Likewise.
11322         (nexttoward_test_data): Likewise.
11323         (remainder_test_data): Likewise.
11324         (remquo_test_data): Likewise.
11325         (scalbn_test_data): Likewise.
11326         (scalbln_test_data): Likewise.
11327         (signbit_test_data): Likewise.
11328         (sqrt_test_data): Likewise.
11329         (significand_test_data): Likewise.
11331 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11333         [BZ #15424]
11334         * benchtests/bench-modf.c (struct args): Mark arg0 as
11335         volatile.
11336         * scripts/bench.pl: Mark members of struct args as volatile.
11338 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11340         [BZ # 15497]
11341         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11342         negative infinity on POWER6 or lower.
11343         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
11345 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11347         [BZ #15442]
11348         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
11349         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
11350         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
11351         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
11352         (_FP_SETQNAN): New macro.
11353         (_FP_SETQNAN_SEMIRAW): Likewise.
11354         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
11355         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
11356         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
11357         (FP_EXTEND): Use _FP_FRAC_SNANP.
11358         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
11359         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
11360         into account.
11361         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11362         New macro.
11363         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11364         Likewise.
11366 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11368         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11369         with DIVIDE_BY_ZERO_EXCEPTION.
11370         (gamma_test_data): Likewise.
11371         (lgamma_test_data): Likewise.
11372         (log_test_data): Likewise.
11373         (log10_test_data): Likewise.
11374         (log2_test_data): Likewise.
11375         (tgamma_test_data): Likewise.
11377         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11378         (acos_test_tonearest): Likewise.
11379         (acos_test_towardzero): Likewise.
11380         (acos_test_downward): Likewise.
11381         (acos_test_upward): Likewise.
11382         (acosh_test): Likewise.
11383         (asin_test): Likewise.
11384         (asin_test_tonearest): Likewise.
11385         (asin_test_towardzero): Likewise.
11386         (asin_test_downward): Likewise.
11387         (asin_test_upward): Likewise.
11388         (asinh_test): Likewise.
11389         (atan_test): Likewise.
11390         (atanh_test): Likewise.
11391         (atan2_test): Likewise.
11392         (cabs_test): Likewise.
11393         (cacos_test): Likewise.
11394         (cacosh_test): Likewise.
11395         (casin_test): Likewise.
11396         (casinh_test): Likewise.
11397         (catan_test): Likewise.
11398         (catanh_test): Likewise.
11399         (cbrt_test): Likewise.
11400         (ccos_test): Likewise.
11401         (ccosh_test): Likewise.
11402         (cexp_test): Likewise.
11403         (clog_test): Likewise.
11404         (clog10_test): Likewise.
11405         (cos_test): Likewise.
11406         (cos_test_tonearest): Likewise.
11407         (cos_test_towardzero): Likewise.
11408         (cos_test_downward): Likewise.
11409         (cos_test_upward): Likewise.
11410         (cosh_test): Likewise.
11411         (cosh_test_tonearest): Likewise.
11412         (cosh_test_towardzero): Likewise.
11413         (cosh_test_downward): Likewise.
11414         (cosh_test_upward): Likewise.
11415         (cpow_test): Likewise.
11416         (csin_test): Likewise.
11417         (csinh_test): Likewise.
11418         (csqrt_test): Likewise.
11419         (ctan_test): Likewise.
11420         (ctan_test_tonearest): Likewise.
11421         (ctan_test_towardzero): Likewise.
11422         (ctan_test_downward): Likewise.
11423         (ctan_test_upward): Likewise.
11424         (ctanh_test): Likewise.
11425         (ctanh_test_tonearest): Likewise.
11426         (ctanh_test_towardzero): Likewise.
11427         (ctanh_test_downward): Likewise.
11428         (ctanh_test_upward): Likewise.
11429         (erf_test): Likewise.
11430         (erfc_test): Likewise.
11431         (exp_test): Likewise.
11432         (exp_test_tonearest): Likewise.
11433         (exp_test_towardzero): Likewise.
11434         (exp_test_downward): Likewise.
11435         (exp_test_upward): Likewise.
11436         (exp10_test): Likewise.
11437         (exp2_test): Likewise.
11438         (expm1_test): Likewise.
11439         (fmod_test): Likewise.
11440         (gamma_test): Likewise.
11441         (hypot_test): Likewise.
11442         (j0_test): Likewise.
11443         (j1_test): Likewise.
11444         (jn_test): Likewise.
11445         (lgamma_test): Likewise.
11446         (log_test): Likewise.
11447         (log10_test): Likewise.
11448         (log1p_test): Likewise.
11449         (log2_test): Likewise.
11450         (logb_test_downward): Likewise.
11451         (pow_test): Likewise.
11452         (pow_test_tonearest): Likewise.
11453         (pow_test_towardzero): Likewise.
11454         (pow_test_downward): Likewise.
11455         (pow_test_upward): Likewise.
11456         (remainder_test): Likewise.
11457         (remquo_test): Likewise.
11458         (sin_test): Likewise.
11459         (sin_test_tonearest): Likewise.
11460         (sin_test_towardzero): Likewise.
11461         (sin_test_downward): Likewise.
11462         (sin_test_upward): Likewise.
11463         (sincos_test): Likewise.
11464         (sinh_test): Likewise.
11465         (sinh_test_tonearest): Likewise.
11466         (sinh_test_towardzero): Likewise.
11467         (sinh_test_downward): Likewise.
11468         (sinh_test_upward): Likewise.
11469         (sqrt_test): Likewise.
11470         (tan_test): Likewise.
11471         (tan_test_tonearest): Likewise.
11472         (tan_test_towardzero): Likewise.
11473         (tan_test_downward): Likewise.
11474         (tan_test_upward): Likewise.
11475         (tanh_test): Likewise.
11476         (tgamma_test): Likewise.
11477         (y0_test): Likewise.
11478         (y1_test): Likewise.
11479         (yn_test): Likewise.
11481         * math/gen-libm-test.pl (adjust_arg): Remove function.
11482         (special_function): Remove argument $in_func.  Only handle
11483         generating output for tables of tests, not inside functions.
11484         (parse_args): Likewise.
11485         (generate_testfile): Remove variable $in_func.  Update call to
11486         parse_args.
11487         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11488         (MINUS_ZERO_INIT): Rename macro to minus_zero.
11489         (PLUS_INFTY_INIT): Rename macro to plus_infty.
11490         (MINUS_INFTY_INIT): Rename macro to minus_infty.
11491         (QNAN_VALUE_INIT): Rename macro to qnan_value.
11492         (MAX_VALUE_INIT): Rename macro to max_value.
11493         (MIN_VALUE_INIT): Rename macro to min_value.
11494         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11495         (plus_zero): Remove variable.
11496         (minus_zero): Likewise.
11497         (plus_infty): Likewise.
11498         (minus_infty): Likewise.
11499         (qnan_value): Likewise.
11500         (max_value): Likewise.
11501         (min_value): Likewise.
11502         (min_subnorm_value): Likewise.
11504 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11506         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11507         uint64_t or uint32_t usage.
11508         * crypt/sha256-block.c: Likewise.
11509         * crypt/sha256-crypt.c: Likewise.
11510         * crypt/sha256.c: Likewise.
11511         * crypt/sha512-block.c: Likewise.
11512         * crypt/sha512-crypt.c: Likewise.
11513         * crypt/sha512.c: Likewise.
11514         * debug/backtrace-tst.c: Likewise.
11515         * debug/pcprofiledump.c: Likewise.
11516         * elf/cache.c: Likewise.
11517         * elf/dl-cache.c: Likewise.
11518         * elf/dl-misc.c: Likewise.
11519         * elf/dl-profile.c: Likewise.
11520         * elf/dl-support.c: Likewise.
11521         * elf/ldconfig.c: Likewise.
11522         * elf/sprof.c: Likewise.
11523         * iconv/dummy-repertoire.c: Likewise.
11524         * iconv/iconv_charmap.c: Likewise.
11525         * iconv/skeleton.c: Likewise.
11526         * iconvdata/8bit-generic.c: Likewise.
11527         * iconvdata/cp737.h: Likewise.
11528         * iconvdata/cp775.h: Likewise.
11529         * iconvdata/ibm1008.h: Likewise.
11530         * iconvdata/ibm1025.h: Likewise.
11531         * iconvdata/ibm1046.h: Likewise.
11532         * iconvdata/ibm1097.h: Likewise.
11533         * iconvdata/ibm1112.h: Likewise.
11534         * iconvdata/ibm1122.h: Likewise.
11535         * iconvdata/ibm1123.h: Likewise.
11536         * iconvdata/ibm1124.h: Likewise.
11537         * iconvdata/ibm1129.h: Likewise.
11538         * iconvdata/ibm1130.h: Likewise.
11539         * iconvdata/ibm1132.h: Likewise.
11540         * iconvdata/ibm1133.h: Likewise.
11541         * iconvdata/ibm1137.h: Likewise.
11542         * iconvdata/ibm1140.h: Likewise.
11543         * iconvdata/ibm1141.h: Likewise.
11544         * iconvdata/ibm1142.h: Likewise.
11545         * iconvdata/ibm1143.h: Likewise.
11546         * iconvdata/ibm1144.h: Likewise.
11547         * iconvdata/ibm1145.h: Likewise.
11548         * iconvdata/ibm1146.h: Likewise.
11549         * iconvdata/ibm1147.h: Likewise.
11550         * iconvdata/ibm1148.h: Likewise.
11551         * iconvdata/ibm1149.h: Likewise.
11552         * iconvdata/ibm1153.h: Likewise.
11553         * iconvdata/ibm1154.h: Likewise.
11554         * iconvdata/ibm1155.h: Likewise.
11555         * iconvdata/ibm1156.h: Likewise.
11556         * iconvdata/ibm1157.h: Likewise.
11557         * iconvdata/ibm1158.h: Likewise.
11558         * iconvdata/ibm1160.h: Likewise.
11559         * iconvdata/ibm1161.h: Likewise.
11560         * iconvdata/ibm1162.h: Likewise.
11561         * iconvdata/ibm1163.h: Likewise.
11562         * iconvdata/ibm1164.h: Likewise.
11563         * iconvdata/ibm1166.h: Likewise.
11564         * iconvdata/ibm1167.h: Likewise.
11565         * iconvdata/ibm12712.h: Likewise.
11566         * iconvdata/ibm1390.h: Likewise.
11567         * iconvdata/ibm1399.h: Likewise.
11568         * iconvdata/ibm16804.h: Likewise.
11569         * iconvdata/ibm4517.h: Likewise.
11570         * iconvdata/ibm4899.h: Likewise.
11571         * iconvdata/ibm4909.h: Likewise.
11572         * iconvdata/ibm4971.h: Likewise.
11573         * iconvdata/ibm5347.h: Likewise.
11574         * iconvdata/ibm803.h: Likewise.
11575         * iconvdata/ibm856.h: Likewise.
11576         * iconvdata/ibm901.h: Likewise.
11577         * iconvdata/ibm902.h: Likewise.
11578         * iconvdata/ibm9030.h: Likewise.
11579         * iconvdata/ibm9066.h: Likewise.
11580         * iconvdata/ibm921.h: Likewise.
11581         * iconvdata/ibm922.h: Likewise.
11582         * iconvdata/ibm9448.h: Likewise.
11583         * iconvdata/isiri-3342.h: Likewise.
11584         * iconvdata/jis0201.h: Likewise.
11585         * include/link.h: Likewise.
11586         * include/netdb.h: Likewise.
11587         * inet/check_native.c: Likewise.
11588         * inet/check_pf.c: Likewise.
11589         * inet/getipv4sourcefilter.c: Likewise.
11590         * inet/getnameinfo.c: Likewise.
11591         * inet/getsourcefilter.c: Likewise.
11592         * inet/htonl.c: Likewise.
11593         * inet/setipv4sourcefilter.c: Likewise.
11594         * inet/setsourcefilter.c: Likewise.
11595         * inet/test-inet6_opt.c: Likewise.
11596         * inet/tst-network.c: Likewise.
11597         * locale/C-collate.c: Likewise.
11598         * locale/C-ctype.c: Likewise.
11599         * locale/C-time.c: Likewise.
11600         * locale/C-translit.h: Likewise.
11601         * locale/loadarchive.c: Likewise.
11602         * locale/programs/3level.h: Likewise.
11603         * locale/programs/charmap.c: Likewise.
11604         * locale/programs/charmap.h: Likewise.
11605         * locale/programs/ld-address.c: Likewise.
11606         * locale/programs/ld-collate.c: Likewise.
11607         * locale/programs/ld-ctype.c: Likewise.
11608         * locale/programs/ld-identification.c: Likewise.
11609         * locale/programs/ld-measurement.c: Likewise.
11610         * locale/programs/ld-messages.c: Likewise.
11611         * locale/programs/ld-monetary.c: Likewise.
11612         * locale/programs/ld-name.c: Likewise.
11613         * locale/programs/ld-numeric.c: Likewise.
11614         * locale/programs/ld-paper.c: Likewise.
11615         * locale/programs/ld-telephone.c: Likewise.
11616         * locale/programs/ld-time.c: Likewise.
11617         * locale/programs/linereader.c: Likewise.
11618         * locale/programs/locale.c: Likewise.
11619         * locale/programs/locarchive.c: Likewise.
11620         * locale/programs/locfile.h: Likewise.
11621         * locale/programs/repertoire.c: Likewise.
11622         * locale/programs/simple-hash.c: Likewise.
11623         * locale/programs/simple-hash.h: Likewise.
11624         * malloc/memusage.c: Likewise.
11625         * malloc/memusagestat.c: Likewise.
11626         * nis/nis_defaults.c: Likewise.
11627         * nis/nis_hash.c: Likewise.
11628         * nis/nis_print.c: Likewise.
11629         * nis/nis_xdr.c: Likewise.
11630         * nscd/connections.c: Likewise.
11631         * nscd/hstcache.c: Likewise.
11632         * nscd/nscd_gethst_r.c: Likewise.
11633         * nscd/nscd_getserv_r.c: Likewise.
11634         * nscd/nscd_helper.c: Likewise.
11635         * nscd/servicescache.c: Likewise.
11636         * nss/makedb.c: Likewise.
11637         * nss/nss_db/db-XXX.c: Likewise.
11638         * nss/nss_db/db-initgroups.c: Likewise.
11639         * nss/nss_db/db-netgrp.c: Likewise.
11640         * nss/nss_files/files-network.c: Likewise.
11641         * nss/nss_files/files-parse.c: Likewise.
11642         * posix/bug-regex5.c: Likewise.
11643         * posix/fnmatch_loop.c: Likewise.
11644         * posix/regcomp.c: Likewise.
11645         * posix/regexec.c: Likewise.
11646         * posix/tst-rfc3484-2.c: Likewise.
11647         * posix/tst-rfc3484-3.c: Likewise.
11648         * posix/tst-rfc3484.c: Likewise.
11649         * resolv/nss_dns/dns-canon.c: Likewise.
11650         * resolv/nss_dns/dns-network.c: Likewise.
11651         * resolv/res_init.c: Likewise.
11652         * resolv/res_mkquery.c: Likewise.
11653         * resolv/tst-aton.c: Likewise.
11654         * stdlib/cxa_atexit.c: Likewise.
11655         * stdlib/cxa_finalize.c: Likewise.
11656         * stdlib/gen-fpioconst.c: Likewise.
11657         * stdlib/strtol_l.c: Likewise.
11658         * string/tst-endian.c: Likewise.
11659         * sunrpc/auth_des.c: Likewise.
11660         * sunrpc/clnt_udp.c: Likewise.
11661         * sunrpc/rtime.c: Likewise.
11662         * sunrpc/svcauth_des.c: Likewise.
11663         * sunrpc/xdr.c: Likewise.
11664         * sunrpc/xdr_intXX_t.c: Likewise.
11665         * sunrpc/xdr_rec.c: Likewise.
11666         * sysdeps/generic/ldconfig.h: Likewise.
11667         * sysdeps/generic/ldsodefs.h: Likewise.
11668         * sysdeps/generic/memusage.h: Likewise.
11669         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11670         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11671         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11672         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11673         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11674         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11675         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11677         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11679         * sysdeps/posix/getaddrinfo.c: Likewise.
11680         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11681         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11682         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11683         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11684         * sysdeps/powerpc/test-gettimebase.c: Likewise.
11685         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11686         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11687         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11688         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11689         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11690         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11691         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11692         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11693         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11694         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11695         * sysdeps/x86_64/dl-tls.h: Likewise.
11696         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11697         * time/alt_digit.c: Likewise.
11698         * time/era.c: Likewise.
11699         * wcsmbs/tst-c16c32-1.c: Likewise.
11701 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11703         * math/libm-test.inc (struct test_sincos_data): New type.
11704         (RUN_TEST_LOOP_sincos): New macro.
11705         (sincos_test_data): New variable.
11706         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11708 2013-05-16  Richard Henderson  <rth@redhat.com>
11710         * math/atest-exp2.c (LIMB64): New macro.
11711         (CONSTSZ): New macro.
11712         (mp_exp1, mp_exp_m1, mp_log2): New variables.
11713         (hexdig): Move ...
11714         (print_mpn_fp): ... to function scope.
11715         (read_mpn_hex): Remove.
11716         (get_log2): Remove.
11717         (exp2_mpn): Use mp_log2.
11718         (main): Use mp_exp1.
11720 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11722         * math/libm-test.inc: Remove comment about not testing "inexact"
11723         exceptions.
11724         (INEXACT_EXCEPTION): New macro.
11725         (NO_INEXACT_EXCEPTION): Likewise.
11726         (INVALID_EXCEPTION_OK): Update value.
11727         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11728         (OVERFLOW_EXCEPTION_OK): Likewise.
11729         (UNDERFLOW_EXCEPTION_OK): Likewise.
11730         (IGNORE_ZERO_INF_SIGN): Likewise.
11731         (ERRNO_UNCHANGED): Likewise.
11732         (ERRNO_EDOM): Likewise.
11733         (ERRNO_ERANGE): Likewise.
11734         (test_exceptions): Handle testing "inexact" exceptions.
11735         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11736         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11737         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11738         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11739         INEXACT_EXCEPTION.
11740         (rint_towardzero_test_data): Likewise.
11741         (rint_downward_test_data): Likewise.
11742         (rint_upward_test_data): Likewise.
11744         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11745         with OVERFLOW_EXCEPTION.
11746         (exp10_test_data): Likewise.
11747         (exp2_test_data): Likewise.
11748         (expm1_test_data): Likewise.
11749         (lgamma_test_data): Likewise.
11750         (pow_test_data): Likewise.
11751         (tgamma_test_data): Likewise.
11752         (yn_test_data): Remove duplicate test of overflow.
11754         * math/libm-test.inc (struct test_cc_c_data): New type.
11755         (RUN_TEST_LOOP_cc_c): New macro.
11756         (cpow_test_data): New variable.
11757         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11759         * math/libm-test.inc (struct test_f_L_data): New type.
11760         (RUN_TEST_LOOP_f_L): New macro.
11761         (llrint_test_data): New variable.
11762         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11763         (llrint_tonearest_test_data): New variable.
11764         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11765         (llrint_towardzero_test_data): New variable.
11766         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11767         (llrint_downward_test_data): New variable.
11768         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11769         (llrint_upward_test_data): New variable.
11770         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11771         (llround_test_data): New variable.
11772         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11774 2013-05-13  Peter Collingbourne  <pcc@google.com>
11776         * math/atest-exp2.c (get_log2): Remove const attribute.
11778 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
11780         * math/libm-test.inc (struct test_f_l_data): New type.
11781         (RUN_TEST_LOOP_f_l): New macro.
11782         (lrint_test_data): New variable.
11783         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11784         (lrint_tonearest_test_data): New variable.
11785         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11786         (lrint_towardzero_test_data): New variable.
11787         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11788         (lrint_downward_test_data): New variable.
11789         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11790         (lrint_upward_test_data): New variable.
11791         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11792         (lround_test_data): New variable.
11793         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11795 2013-05-15  Peter Collingbourne  <pcc@google.com>
11797         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11798         (EXTRACT_WORDS64) Use where appropriate.
11799         (INSERT_WORDS64) Likewise.
11801         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11802         constraints with x constraints.
11803         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11805         * malloc/obstack.c (_obstack_compat): Add initializer.
11807 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11809         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11810         si_trapno and add si_addr_lsb to _sifields.sigfault.
11811         (si_trapno): Remove macro.
11812         (si_addr_lsb): Define new macro.
11813         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11815 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
11817         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11818         instead of TEST_f_l.
11819         (llrint_test_tonearest): Likewise.
11820         (llrint_test_towardzero): Likewise.
11821         (llrint_test_downward): Likewise.
11822         (llrint_test_upward): Likewise.
11823         (llround_test): Likewise.
11825         * math/libm-test.inc (struct test_f_i_data): Add comment.
11826         (RUN_TEST_LOOP_f_b): New macro.
11827         (RUN_TEST_LOOP_f_b_tg): Likewise.
11828         (finite_test_data): New variable.
11829         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11830         (isfinite_test_data): New variable.
11831         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11832         (isinf_test_data): New variable.
11833         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11834         (isnan_test_data): New variable.
11835         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11836         (isnormal_test_data): New variable.
11837         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11838         (issignaling_test_data): New variable.
11839         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11840         (signbit_test_data): New variable.
11841         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11843         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11844         with INVALID_EXCEPTION.
11845         (acosh_test_data): Likewise.
11846         (asin_test_data): Likewise.
11847         (atanh_test_data): Likewise.
11848         (fmod_test_data): Likewise.
11849         (log_test_data): Likewise.
11850         (log10_test_data): Likewise.
11851         (log2_test_data): Likewise.
11852         (pow_test_data): Likewise.
11853         (sqrt_test_data): Likewise.
11854         (y0_test_data): Likewise.
11855         (y1_test_data): Likewise.
11856         (yn_test_data): Likewise.
11858         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11859         function contents.
11861         * math/libm-test.inc (struct test_ff_i_data): New type.
11862         (RUN_TEST_LOOP_ff_i_tg): New macro.
11863         (isgreater_test_data): New variable.
11864         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11865         (isgreaterequal_test_data): New variable.
11866         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11867         (isless_test_data): New variable.
11868         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11869         (islessequal_test_data): New variable.
11870         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11871         (islessgreater_test_data): New variable.
11872         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11873         (isunordered_test_data): New variable.
11874         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11876 2013-05-14  David S. Miller  <davem@davemloft.net>
11878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11880 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
11882         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11884         * math/libm-test.inc (struct test_fF_f1_data): Change type of
11885         extra_test to int.
11886         (struct test_f_i_data): Change type of max_ulp to int.
11888         * math/libm-test.inc (test_ffI_f1_data): New type.
11889         (RUN_TEST_LOOP_ffI_f1): New macro.
11890         (remquo_test_data): New variable.
11891         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11893         * setjmp/tst-setjmp-fp.c: New file.
11894         * setjmp/Makefile (tests): Add tst-setjmp-fp.
11895         (link-libm): New variable.
11896         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11898         * math/libm-test.inc (struct test_f_i_data): New type.
11899         (RUN_TEST_LOOP_f_i): New macro.
11900         (RUN_TEST_LOOP_f_i_tg): Likewise.
11901         (fpclassify_test_data): New variable.
11902         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11903         (ilogb_test_data): New variable.
11904         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11906         * math/libm-test.inc (scalbln_test): Correct function name in END
11907         call.
11909         * math/libm-test.inc (struct test_f_f1_data): Add comment.
11910         (RUN_TEST_LOOP_fI_f1): New macro.
11911         (frexp_test_data): New variable.
11912         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11914         * math/libm-test.inc (struct test_fF_f1_data): New type.
11915         (RUN_TEST_LOOP_fF_f1): New macro.
11916         (modf_test_data): New variable.
11917         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11919         * math/libm-test.inc (struct test_f_f1_data): New type.
11920         (RUN_TEST_LOOP_f_f1): New macro.
11921         (gamma_test_data): New variable.
11922         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11923         (lgamma_test_data): New variable.
11924         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11926 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
11928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11929         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11930         (main): Comment "tls" pseudo-hwcap.
11932 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
11934         * math/libm-test.inc (struct test_fl_f_data): New type.
11935         (RUN_TEST_LOOP_fl_f): New variable.
11936         (scalbln_test_data): New variable.
11937         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11939         * math/libm-test.inc (struct test_fi_f_data): New type.
11940         (RUN_TEST_LOOP_fi_f): New macro.
11941         (ldexp_test_data): New variable.
11942         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11943         (scalbn_test_data): New variable.
11944         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11946         * math/libm-test.inc (struct test_c_f_data): New type.
11947         (RUN_TEST_LOOP_c_f): New macro.
11948         (cabs_test_data): New variable.
11949         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11950         (carg_test_data): New variable.
11951         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11952         (cimag_test_data): New variable.
11953         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11954         (creal_test_data): New variable.
11955         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11957         * math/libm-test.inc (struct test_if_f_data): New type.
11958         (RUN_TEST_LOOP_if_f): New macro.
11959         (jn_test_data): New variable.
11960         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11961         (yn_test_data): New variable.
11962         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11964         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11966 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11968         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11969         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11971 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11973         * benchtests/Makefile (CPPFLAGS-nonlib): Add
11974         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11975         (bench-deps): Add bench-timing.h.
11976         * benchtests-bench-skeleton.c: Include bench-timing.h.
11977         (main): Use TIMING_* macros instead of clock_gettime.
11978         * benchtests/bench-timing.h: New file.
11980         [BZ #14582]
11981         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11982         Renamed from _LIB_VERSION.
11983         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11985 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
11987         * math/libm-test.inc (struct test_fff_f_data): New type.
11988         (RUN_TEST_LOOP_fff_f): New macro.
11989         (fma_test_data): New variable.
11990         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11991         (fma_towardzero_test_data): New variable.
11992         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11993         (fma_downward_test_data): New variable.
11994         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11995         (fma_upward_test_data): New variable.
11996         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11998         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11999         (struct test_c_c_data): New type.
12000         (RUN_TEST_LOOP_c_c): New macro.
12001         (cacos_test_data): New variable.
12002         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12003         (cacosh_test_data): New variable.
12004         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12005         (casin_test_data): New variable.
12006         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12007         (casinh_test_data): New variable.
12008         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
12009         (catan_test_data): New variable.
12010         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
12011         (catanh_test_data): New variable.
12012         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
12013         (ccos_test_data): New variable.
12014         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
12015         (ccosh_test_data): New variable.
12016         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
12017         (cexp_test_data): New variable.
12018         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
12019         (clog_test_data): New variable.
12020         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
12021         (clog10_test_data): New variable.
12022         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
12023         (conj_test_data): New variable.
12024         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
12025         (cproj_test_data): New variable.
12026         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
12027         (csin_test_data): New variable.
12028         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
12029         (csinh_test_data): New variable.
12030         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
12031         (csqrt_test_data): New variable.
12032         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
12033         (ctan_test_data): New variable.
12034         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
12035         (ctan_tonearest_test_data): New variable.
12036         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12037         (ctan_towardzero_test_data): New variable.
12038         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12039         (ctan_downward_test_data): New variable.
12040         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12041         (ctan_upward_test_data): New variable.
12042         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12043         (ctanh_test_data): New variable.
12044         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
12045         (ctanh_tonearest_test_data): New variable.
12046         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12047         (ctanh_towardzero_test_data): New variable.
12048         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12049         (ctanh_downward_test_data): New variable.
12050         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12051         (ctanh_upward_test_data): New variable.
12052         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12053         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
12054         of BUILD_COMPLEX.
12056         * math/libm-test.inc (struct test_ff_f_data): New type.
12057         (struct test_ff_f_data_nexttoward): Likewise.
12058         (RUN_TEST_LOOP_2_f): New macro.
12059         (RUN_TEST_LOOP_ff_f): Likewise.
12060         (atan2_test_data): New variable.
12061         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
12062         (copysign_test_data): New variable.
12063         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
12064         (fdim_test_data): New variable.
12065         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
12066         (fmax_test_data): New variable.
12067         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
12068         (fmin_test_data): New variable.
12069         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
12070         (fmod_test_data): New variable.
12071         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
12072         (hypot_test_data): New variable.
12073         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
12074         (nextafter_test_data): New variable.
12075         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
12076         (nexttoward_test_data): New variable.
12077         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
12078         (pow_test_data): New variable.
12079         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
12080         (pow_tonearest_test_data): New variable.
12081         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
12082         (pow_towardzero_test_data): New variable.
12083         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
12084         (pow_downward_test_data): New variable.
12085         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
12086         (pow_upward_test_data): New variable.
12087         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
12088         (remainder_test_data): New variable.
12089         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
12090         (scalb_test_data): New variable.
12091         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
12092         * sysdeps/i386/fpu/libm-test-ulps: Update.
12094 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
12096         * math/libm-test.inc (fma_test): Use max_value instead of local
12097         variable fltmax.
12098         (nextafter_test): Likewise.
12100         * math/libm-test.inc (acos_towardzero_test_data): New variable.
12101         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12102         (acos_downward_test_data): New variable.
12103         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12104         (acos_upward_test_data): New variable.
12105         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12106         (acosh_test_data): New variable.
12107         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
12108         (asin_test_data): New variable.
12109         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
12110         (asin_tonearest_test_data): New variable.
12111         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12112         (asin_towardzero_test_data): New variable.
12113         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12114         (asin_downward_test_data): New variable.
12115         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12116         (asin_upward_test_data): New variable.
12117         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12118         (asinh_test_data): New variable.
12119         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
12120         (atan_test_data): New variable.
12121         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
12122         (atanh_test_data): New variable.
12123         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
12124         (cbrt_test_data): New variable.
12125         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
12126         (ceil_test_data): New variable.
12127         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
12128         (cos_test_data): New variable.
12129         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
12130         (cos_tonearest_test_data): New variable.
12131         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12132         (cos_towardzero_test_data): New variable.
12133         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12134         (cos_downward_test_data): New variable.
12135         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12136         (cos_upward_test_data): New variable.
12137         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12138         (cosh_test_data): New variable.
12139         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
12140         (cosh_tonearest_test_data): New variable.
12141         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12142         (cosh_towardzero_test_data): New variable.
12143         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12144         (cosh_downward_test_data): New variable.
12145         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12146         (cosh_upward_test_data): New variable.
12147         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12148         (erf_test_data): New variable.
12149         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
12150         (erfc_test_data): New variable.
12151         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
12152         (exp_test_data): New variable.
12153         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
12154         (exp_tonearest_test_data): New variable.
12155         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12156         (exp_towardzero_test_data): New variable.
12157         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12158         (exp_downward_test_data): New variable.
12159         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12160         (exp_upward_test_data): New variable.
12161         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12162         (exp10_test_data): New variable.
12163         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
12164         (exp2_test_data): New variable.
12165         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
12166         (expm1_test_data): New variable.
12167         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
12168         (fabs_test_data): New variable.
12169         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
12170         (floor_test_data): New variable.
12171         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
12172         (j0_test_data): New variable.
12173         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
12174         (j1_test_data): New variable.
12175         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
12176         (log_test_data): New variable.
12177         (log_test): Run tests with RUN_TEST_LOOP_f_f.
12178         (log10_test_data): New variable.
12179         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
12180         (log1p_test_data): New variable.
12181         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
12182         (log2_test_data): New variable.
12183         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
12184         (logb_test_data): New variable.
12185         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
12186         (logb_downward_test_data): New variable.
12187         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12188         (nearbyint_test_data): New variable.
12189         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
12190         (rint_test_data): New variable.
12191         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
12192         (rint_tonearest_test_data): New variable.
12193         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12194         (rint_towardzero_test_data): New variable.
12195         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12196         (rint_downward_test_data): New variable.
12197         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12198         (rint_upward_test_data): New variable.
12199         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12200         (round_test_data): New variable.
12201         (round_test): Run tests with RUN_TEST_LOOP_f_f.
12202         (sin_test_data): New variable.
12203         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
12204         (sin_tonearest_test_data): New variable.
12205         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12206         (sin_towardzero_test_data): New variable.
12207         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12208         (sin_downward_test_data): New variable.
12209         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12210         (sin_upward_test_data): New variable.
12211         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12212         (sinh_test_data): New variable.
12213         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
12214         (sinh_tonearest_test_data): New variable.
12215         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12216         (sinh_towardzero_test_data): New variable.
12217         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12218         (sinh_downward_test_data): New variable.
12219         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12220         (sinh_upward_test_data): New variable.
12221         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12222         (sqrt_test_data): New variable.
12223         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
12224         (tan_test_data): New variable.
12225         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
12226         (tan_tonearest_test_data): New variable.
12227         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12228         (tan_towardzero_test_data): New variable.
12229         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12230         (tan_downward_test_data): New variable.
12231         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12232         (tan_upward_test_data): New variable.
12233         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12234         (tanh_test_data): New variable.
12235         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
12236         (tgamma_test_data): New variable.
12237         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
12238         (trunc_test_data): New variable.
12239         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
12240         (y0_test_data): New variable.
12241         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
12242         (y1_test_data): New variable.
12243         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
12244         (significand_test_data): New variable.
12245         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
12247 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
12249         [BZ #12387]
12250         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
12252 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12254         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
12256 2013-05-10  Andreas Jaeger  <aj@suse.de>
12258         [BZ #15448]
12259         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
12260         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
12262 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12264         * math/gen-libm-test.pl (adjust_arg): New function.
12265         (special_functions): Handle generating output in both functions
12266         and arrays.
12267         (parse_args): Likewise.
12268         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
12269         $in_func argument to parse_args.
12270         * math/libm-test.inc (struct test_f_f_data): New type.
12271         (IF_ROUND_INIT_): New macro.
12272         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
12273         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12274         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12275         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12276         (ROUND_RESTORE_): Likewise.
12277         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
12278         (ROUND_RESTORE_FE_TONEAREST): Likewise.
12279         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
12280         (ROUND_RESTORE_FE_UPWARD): Likewise.
12281         (RUN_TEST_LOOP_f_f): New macro.
12282         (acos_test_data): New variable.
12283         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
12284         (acos_tonearest_test_data): New variable.
12285         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12287 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12289         * benchtests/bench-skeleton.c (startup): Fix coding style.
12291 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12293         [BZ #6809]
12294         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
12295         negative infinity argument.
12296         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
12297         negative infinity argument.
12298         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
12299         negative infinity argument.
12300         * math/libm-test.inc (tgamma_test): Expect errno to be set for
12301         domain errors.
12303 2013-05-10  Florian Weimer  <fweimer@redhat.com>
12305         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
12306         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
12307         * iconv/iconv_prog.c (main): Likewise.
12308         * locale/programs/charmap-dir.c (charmap_readdir)
12309         (fopen_uncompressed): Likewise.
12310         * locale/programs/locfile.c (siblings_uncached)
12311         (write_locale_data): Use lstat64 instead of lstat.
12312         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
12313         stat.
12315 2013-05-10  Andreas Jaeger  <aj@suse.de>
12317         [BZ #15395]
12318         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
12319         localization.
12320         Include <locale.h>.
12322 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
12324         * elf/dl-close.c (_dl_close_worker): Add comments.
12326 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
12328         [BZ #15359]
12329         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
12330         high part of pi/2.
12331         (__ieee754_rem_pio2l): Update comments.
12333         [BZ #15429]
12334         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
12335         high part of pi/2.
12336         (__ieee754_rem_pio2l): Update comments.
12338         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
12339         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
12341         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
12342         M_PI_4l.
12344         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
12345         (M_PI_34_LOG10El): Likewise.
12346         (M_PI2_LOG10El): Likewise.
12347         (M_PI4_LOG10El): Likewise.
12348         (M_PI_LOG10El): Likewise.
12350 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12354 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
12356         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
12357         (MINUS_ZERO_INIT): Likewise.
12358         (PLUS_INFTY_INIT): Likewise.
12359         (MINUS_INFTY_INIT): Likewise.
12360         (QNAN_VALUE_INIT): Likewise.
12361         (MAX_VALUE_INIT): Likewise.
12362         (MIN_VALUE_INIT): Likewise.
12363         (MIN_SUBNORM_VALUE_INIT): Likewise.
12364         (plus_zero): Initialize with PLUS_ZERO_INIT.
12365         (minus_zero): Initialize with MINUS_ZERO_INIT.
12366         (plus_infty): Initialize with PLUS_INFTY_INIT.
12367         (minus_infty): Initialize with MINUS_INFTY_INIT.
12368         (qnan_value): Initialize with QNAN_VALUE_INIT.
12369         (max_value): Initialize with MAX_VALUE_INIT.
12370         (min_value): Initialize with MIN_VALUE_INIT.
12371         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12373         * math/libm-test.inc (RUN_TEST_if_f): New macro.
12374         (jn_test): Use TEST_if_f instead of TEST_ff_f.
12375         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12376         (yn_test): Use TEST_if_f instead of TEST_ff_f.
12378         * math/libm-test.inc (RUN_TEST_f_f): New macro.
12379         (RUN_TEST_2_f): Likewise.
12380         (RUN_TEST_ff_f): Likewise.
12381         (RUN_TEST_fi_f): Likewise.
12382         (RUN_TEST_fl_f): Likewise.
12383         (RUN_TEST_fff_f): Likewise.
12384         (RUN_TEST_c_f): Likewise.
12385         (RUN_TEST_f_f1): Likewise.
12386         (RUN_TEST_fF_f1): Likewise.
12387         (RUN_TEST_fI_f1): Likewise.
12388         (RUN_TEST_ffI_f1): Likewise.
12389         (RUN_TEST_c_c): Likewise.
12390         (RUN_TEST_cc_c): Likewise.
12391         (RUN_TEST_f_i): Likewise.
12392         (RUN_TEST_f_i_tg): Likewise.
12393         (RUN_TEST_ff_i_tg): Likewise.
12394         (RUN_TEST_f_b): Likewise.
12395         (RUN_TEST_f_b_tg): Likewise.
12396         (RUN_TEST_f_l): Likewise.
12397         (RUN_TEST_f_L): Likewise.
12398         (RUN_TEST_sincos): Likewise.
12399         * math/gen-libm-test.pl (new_test): Take new argument to indicate
12400         whether to show exceptions.  Do not include ");\n" in return
12401         value.
12402         (special_functions): Output call to RUN_TEST_sincos instead of
12403         check_float calls.  Update calls to new_test.
12404         (parse_args): Output call to single RUN_TEST_* macro instead of
12405         check_* calls and other assignments.  Update calls to new_test.
12407         [BZ #2546]
12408         [BZ #2560]
12409         [BZ #5159]
12410         [BZ #15426]
12411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12412         input to result for tgamma overflow.
12413         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12414         (gamma_coeff): New variable.
12415         (NCOEFF): New macro.
12416         (gamma_positive): New function.
12417         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12418         underflow here.  Use gamma_positive instead of exp (lgamma) for
12419         other arguments.
12420         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12421         (gamma_coeff): New variable.
12422         (NCOEFF): New macro.
12423         (gammaf_positive): New function.
12424         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12425         underflow here.  Use gamma_positive instead of exp (lgamma) for
12426         other arguments.
12427         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12428         (gamma_coeff): New variable.
12429         (NCOEFF): New macro.
12430         (gammal_positive): New function.
12431         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12432         underflow here.  Use gamma_positive instead of exp (lgamma) for
12433         other arguments.
12434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12435         (gamma_coeff): New variable.
12436         (NCOEFF): New macro.
12437         (gammal_positive): New function.
12438         (__ieee754_gammal_r): Handle positive infinity, overflow and
12439         underflow here.  Handle NaN the same as positive infinity.  Remove
12440         check x < 0xffffffff for negative integers.  Use gamma_positive
12441         instead of exp (lgamma) for other arguments.
12442         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12443         (gamma_coeff): New variable.
12444         (NCOEFF): New macro.
12445         (gammal_positive): New function.
12446         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12447         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12448         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12449         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12450         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12451         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12452         * sysdeps/generic/math_private.h (__gamma_productf): New
12453         prototype.
12454         (__gamma_product): Likewise.
12455         (__gamma_productl): Likewise.
12456         * math/Makefile (libm-calls): Add gamma_product.
12457         * math/libm-test.inc (tgamma_test): Add more tests.
12458         * sysdeps/i386/fpu/libm-test-ulps: Update.
12459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12461 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
12463         * benchtests/bench-skeleton.c (main): Preheat CPU.
12465 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
12467         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12469 2013-05-07  Roland McGrath  <roland@hack.frob.com>
12471         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12472         and _dl_skip_args_internal.
12474 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
12476         * manual/message.texi (Message Translation): Talk about users.
12477         Message to key mapping impacts design.
12479 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12481         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12483         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12485         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12486         * sysdeps/wordsize-64/glob64.c: ... here.
12488         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12489         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12490         New macros.
12492         * debug/getlogin_r_chk.c: Moved to ...
12493         * login/getlogin_r_chk.c: ... here.
12494         * debug/Makefile (routines): Move getlogin_r_chk to ...
12495         * login/Makefile (routines): ... here.
12496         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12497         * login/Versions (libc: GLIBC_2.4): ... here.
12499         * io/poll.c (__poll): Renamed from poll.
12500         Add libc_hidden_def.
12501         (poll): Define as weak alias.
12503         * debug/ptsname_r_chk.c: Moved to ...
12504         * login/ptsname_r_chk.c: ... here.
12505         * debug/Makefile (routines): Move ptsname_r_chk to ...
12506         * login/Makefile (routines): ... here.
12507         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12508         * login/Versions (libc: GLIBC_2.4): ... here.
12510         * posix/getlogin.c: Moved to ...
12511         * login/getlogin.c: ... here.
12512         * posix/getlogin_r.c: Moved to ...
12513         * login/getlogin_r.c: ... here.
12514         * posix/getlogin_r.c: Moved to ...
12515         * login/getlogin_r.c: ... here.
12516         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12517         * login/Makefile (routines): ... here.
12518         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12519         * login/Versions (libc: GLIBC_2.0): ... here.
12521         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12522         (setrlimit): Define as weak alias.
12524         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12525         Call __ names for open, ftruncate, and close.
12526         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12527         (truncate): Define as weak alias.
12529 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
12531         * math/gen-libm-test.pl (parse_args): Initialize x before each
12532         test of frexp, modf and remquo.
12534         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12535         test signgam value.
12537 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12539         [BZ #15418]
12540         [BZ #15419]
12541         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12542         internal tests.
12543         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12545 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12547         * elf/dl-writev.h: New file.
12548         * elf/dl-misc.c: Include it.
12549         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12550         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12552 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
12554         * math/libm-test.inc (noXFails): Remove variable.
12555         (noXPasses): Likewise.
12556         (BUILD_COMPLEX_INT): Remove macro.
12557         (print_screen): Remove xfail argument.
12558         (print_screen_max_error): Likewise.
12559         (update_stats): Likewise.
12560         (print_max_error): Likewise.  Update calls to other affected
12561         functions.
12562         (print_complex_max_error): Likewise.
12563         (test_single_exception): Update calls to print_screen.
12564         (test_single_errno): Likewise.
12565         (check_float_internal): Remove xfail argument.  Update calls to
12566         other affected functions.
12567         (check_float): Likewise.
12568         (check_complex): Likewise.
12569         (check_int): Likewise.
12570         (check_long): Likewise.
12571         (check_bool): Likewise.
12572         (check_longlong): Likewise.
12573         (main): Don't print noXFails and noXPasses.
12574         * math/gen-libm-test.pl (top level): Don't mention expected
12575         failure handling in comment.
12576         (new_test): Don't handle expected failures.
12577         (parse_args): Don't mention expected failure handling in comment.
12578         (generate_testfile): Don't handle expected failures.
12579         (parse_ulps): Likewise.
12580         (print_ulps_file): Likewise.
12581         (get_failure): Remove function.
12582         (output_test): Don't handle expected failures.
12583         * make/README.libm-test: Don't mention expected failure handling.
12585         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
12586         (minus_zero): Likewise.
12587         (plus_infty): Likewise.
12588         (minus_infty): Likewise.
12589         (qnan_value): Likewise.
12590         (max_value): Likewise.
12591         (min_value): Likewise.
12592         (min_subnorm_value): Likewise.
12593         (initialize): Do not initialize those variables dynamically.
12595 2013-05-03  Roland McGrath  <roland@hack.frob.com>
12597         * io/open.c (__open_2): Moved to ...
12598         * io/open_2.c: ... this new file.
12599         * io/open64.c (__open64_2): Moved to ...
12600         * io/open64_2.c: ... this new file.
12601         * io/openat.c (__openat_2): Moved to ...
12602         * io/openat_2.c: ... this new file.
12603         * io/openat64.c (__openat64_2): Moved to ...
12604         * io/openat64_2.c: ... this new file.
12605         * io/Makefile (routines): Add them.
12606         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12607         * sysdeps/unix/sysv/linux/open_2.c: File removed.
12608         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12609         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12610         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12611         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12612         (__openat64): Add hidden_ver.
12613         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12614         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12616         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12617         Separately conditionalize setting of GLRO(dl_sysinfo) so
12618         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12619         as well, but the actual setting is only under [NEED_DL_SYSINFO].
12621 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12623         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12625         definition.
12626         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12627         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12628         (_libc_vdso_platform_setup): Add __vdso_time initialization.
12629         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12630         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12632 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
12634         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12635         test signgam value.
12637         * math/libm-test.inc (hypot_test): Do not use
12638         IGNORE_ZERO_INF_SIGN.
12640 2013-05-03  Andreas Jaeger  <aj@suse.de>
12642         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12643         Linux 3.9.
12644         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12645         (PF_MAX): Adjust for VSOCK change.
12647 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12651 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
12653         [BZ #15264]
12654         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12655         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12656         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12658 2013-05-02  David S. Miller  <davem@davemloft.net>
12660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12662 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
12664         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12666 2013-05-01  Roland McGrath  <roland@hack.frob.com>
12668         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12670 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
12672         [BZ #14952]
12673         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12674         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12675         Use __attribute__ ((__gnu_inline__)).
12676         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12677         Don't use __attribute__ ((__gnu_inline__)).
12679 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
12681         [BZ #15423]
12682         * math/s_catan.c (__catan): Handle small real or imaginary part of
12683         input specially to avoid spurious underflow.
12684         * math/s_catanf.c (__catanf): Likewise.
12685         * math/s_catanh.c (__catanh): Likewise.
12686         * math/s_catanhf.c (__catanhf): Likewise.
12687         * math/s_catanhl.c (__catanhl): Likewise.
12688         * math/s_catanl.c (__catanl): Likewise.
12689         * math/libm-test.inc (catan_test): Add more tests.
12690         (catanh_test): Likewise.
12691         * sysdeps/i386/fpu/libm-test-ulps: Update.
12692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12694 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12698 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
12700         [BZ #15416]
12701         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12702         accurately for denominator in atan2.
12703         * math/s_catanf.c (__catanf): Likewise.
12704         * math/s_catanh.c (__catanh): Likewise.
12705         * math/s_catanhf.c (__catanhf): Likewise.
12706         * math/s_catanhl.c (__catanhl): Likewise.
12707         * math/s_catanl.c (__catanl): Likewise.
12708         * math/libm-test.inc (catan_test): Add more tests.
12709         (catanh_test): Likewise.
12710         * sysdeps/i386/fpu/libm-test-ulps: Update.
12711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12713 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12715         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12717         * benchtests/Makefile (bench): Remove slow benchmarks.
12718         * benchtests/atan-inputs: Add slow benchmark inputs.
12719         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12720         (BENCH_FUNC): Accept variant offset.
12721         (VARIANT): Define.
12722         * benchtests/bench-skeleton.c (main): Run benchmark for each
12723         variant.
12724         * benchtests/cos-inputs: Add slow benchmark inputs.
12725         * benchtests/exp-inputs: Likewise.
12726         * benchtests/pow-inputs: Likewise.
12727         * benchtests/sin-inputs: Likewise.
12728         * benchtests/slowatan-inputs: Remove.
12729         * benchtests/slowatan.c: Remove.
12730         * benchtests/slowcos-inputs: Remove.
12731         * benchtests/slowcos.c: Remove.
12732         * benchtests/slowexp-inputs: Remove.
12733         * benchtests/slowexp.c: Remove.
12734         * benchtests/slowpow-inputs: Remove.
12735         * benchtests/slowpow.c: Remove.
12736         * benchtests/slowsin-inputs: Remove.
12737         * benchtests/slowsin.c: Remove.
12738         * benchtests/slowtan-inputs: Remove.
12739         * benchtests/slowtan.c: Remove.
12740         * benchtests/tan-inputs: Add slow benchmark inputs.
12741         * scripts/bench.pl: Parse comments and directives.
12743         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
12744         in CPPFLAGS.
12745         ($(objpfx)bench-%.c): Remove *-ITER.
12746         * benchtests/bench-modf.c: Remove definition of ITER.
12747         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12748         (main): Loop for DURATION seconds instead of fixed number of
12749         iterations.
12750         * scripts/bench.pl: Don't expect iterations in parameters.
12752 2013-04-29  Roland McGrath  <roland@hack.frob.com>
12754         * io/fchdir.c (__fchdir): Renamed from fchdir.
12755         (fchdir): Define as weak alias.
12757 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
12759         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12760         (ERRNO_EDOM): Likewise.
12761         (ERRNO_ERANGE): Likewise.
12762         (noErrnoTests): New variable.
12763         (init_max_error): Set errno to 0.
12764         (test_single_errno): New function.
12765         (test_errno): Likewise.
12766         (check_float_internal): Call test_errno.  Set errno to 0.
12767         (check_complex): Refer to errno tests in comment.
12768         (check_int): Call test_errno.  Set errno to 0.
12769         (check_long): Likewise.
12770         (check_bool): Likewise.
12771         (check_longlong): Likewise.
12772         (cos_test): Use ERRNO_* flags for errno tests instead of
12773         check_int.
12774         (expm1_test): Likewise.
12775         (fmod_test): Likewise.
12776         (ilogb_test): Likewise.
12777         (lgamma_test): Likewise.
12778         (pow_test): Likewise.
12779         (remainder_test): Likewise.
12780         (sin_test): Likewise.
12781         (tan_test): Likewise.
12782         (yn_test): Likewise.
12783         (initialize): Set errno to 0.
12784         (main): Print number of errno tests.
12785         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12787 2013-04-29  Andreas Jaeger  <aj@suse.de>
12789         [BZ #15084]
12790         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12791         and RES_USEVC.
12793         [BZ #15085]
12794         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12795         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12796         unimplemented.
12798         [BZ #15380]
12799         * stdlib/random.c (__initstate): Return NULL if
12800         __initstate fails.
12802         [BZ #15086]
12803         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12804         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12805         RES_SNGLKUPREOP.
12807 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12811 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
12813         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12814         of individual tests.
12815         (casin_test): Likewise.
12816         (casinh_test): Likewise.
12818 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
12820         [BZ #15409]
12821         * math/s_catan.c (__catan): Handle arguments with large real or
12822         imaginary part separately without squaring.
12823         * math/s_catanf.c (__catanf): Likewise.
12824         * math/s_catanh.c (__catanh): Likewise.
12825         * math/s_catanhf.c (__catanhf): Likewise.
12826         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12827         and redefine.
12828         (__catanhl): Handle arguments with large real or imaginary part
12829         separately without squaring.
12830         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12831         and redefine.
12832         (__catanl): Handle arguments with large real or imaginary part
12833         separately without squaring.
12834         * math/libm-test.inc (catan_test): Add more tests.
12835         (catanh_test): Likewise.
12836         * sysdeps/i386/fpu/libm-test-ulps: Update.
12837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12839 2013-04-27  Andreas Jaeger  <aj@suse.de>
12841         [BZ #15007]
12842         * stdlib/stdlib.h: Update guards for qecvt.
12843         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12844         <stdlib.h>.
12846 2013-04-27  Allan McRae  <allan@archlinux.org>
12848         * sysdeps/i386/fpu/libm-test-ulps: Update.
12850 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
12852         [BZ #15406]
12853         * math/s_catan.c: Include <float.h>.
12854         (__catan): Ensure underflow exception occurs for underflowed
12855         result.
12856         * math/s_catanf.c: Include <float.h>.
12857         (__catanf): Ensure underflow exception occurs for underflowed
12858         result.
12859         * math/s_catanh.c: Include <float.h>.
12860         (__catanh): Ensure underflow exception occurs for underflowed
12861         result.
12862         * math/s_catanhf.c: Include <float.h>.
12863         (__catanhf): Ensure underflow exception occurs for underflowed
12864         result.
12865         * math/s_catanhl.c: Include <float.h>.
12866         (__catanhl): Ensure underflow exception occurs for underflowed
12867         result.
12868         * math/s_catanl.c: Include <float.h>.
12869         (__catanl): Ensure underflow exception occurs for underflowed
12870         result.
12871         * math/libm-test.inc (catan_test): Add more tests.
12872         (catanh_test): Likewise.
12874         [BZ #15405]
12875         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12876         underflowed result.
12877         * math/s_ccoshf.c (__ccoshf): Likewise.
12878         * math/s_ccoshl.c (__ccoshl): Likewise.
12879         * math/s_csin.c (__csin): Likewise.
12880         * math/s_csinf.c (__csinf): Likewise.
12881         * math/s_csinh.c (__csinh): Likewise.
12882         * math/s_csinhf.c (__csinhf): Likewise.
12883         * math/s_csinhl.c (__csinhl): Likewise.
12884         * math/s_csinl.c (__csinl): Likewise.
12885         * math/libm-test.inc (ccos_test): Add more tests.
12886         (ccosh_test): Likewise.
12887         (csin_test): Likewise.
12888         (csinh_test): Likewise.
12890 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12892         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12893         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12894         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12895         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12896         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12897         powerpc/power5+/fpu folders.
12898         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12901 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12905 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
12907         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12908         additions to variable.
12909         [$(config-machine) = x86_64] (modules-names): Likewise.
12910         ($(objpfx)tst-audit3): Remove dependency.
12911         ($(objpfx)tst-audit3.out): Likewise.
12912         ($(objpfx)tst-audit4): Likewise.
12913         ($(objpfx)tst-audit4.out): Likewise.
12914         ($(objpfx)tst-audit5): Likewise.
12915         ($(objpfx)tst-audit5.out): Likewise.
12916         ($(objpfx)tst-audit6): Likewise.
12917         ($(objpfx)tst-audit6.out): Likewise.
12918         ($(objpfx)tst-audit7): Likewise.
12919         ($(objpfx)tst-audit7.out): Likewise.
12920         (tst-audit3-ENV): Remove variable.
12921         (tst-audit4-ENV): Likewise.
12922         (tst-audit5-ENV): Likewise.
12923         (tst-audit6-ENV): Likewise.
12924         (tst-audit7-ENV): Likewise.
12925         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12926         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12927         addition to variable.
12928         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12929         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12930         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12931         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12932         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12933         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12934         tst-audit3, tst-audit4 and tst-audit5.
12935         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12936         tst-audit6 and tst-audit7.
12937         [$(subdir) = elf] (modules-names): Add audit modules for those
12938         tests.
12939         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12940         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12941         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12942         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12943         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12944         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12945         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12946         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12947         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12948         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12949         [$(subdir) = elf] (tst-audit3-ENV): New variable.
12950         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12951         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12952         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12953         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12954         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12955         Likewise.
12956         [$(subdir) = elf && $(config-cflags-avx) = yes]
12957         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12958         [$(subdir) = elf && $(config-cflags-avx) = yes]
12959         (CFLAGS-tst-auditmod4a.c): Likewise.
12960         [$(subdir) = elf && $(config-cflags-avx) = yes]
12961         (CFLAGS-tst-auditmod4b.c): Likewise.
12962         [$(subdir) = elf && $(config-cflags-avx) = yes]
12963         (CFLAGS-tst-auditmod6b.c): Likewise.
12964         [$(subdir) = elf && $(config-cflags-avx) = yes]
12965         (CFLAGS-tst-auditmod6c.c): Likewise.
12966         [$(subdir) = elf && $(config-cflags-avx) = yes]
12967         (CFLAGS-tst-auditmod7b.c): Likewise.
12968         * elf/tst-audit3.c: Move to ...
12969         * sysdeps/x86_64/tst-audit3.c: ... here.
12970         * elf/tst-audit4.c: Move to ...
12971         * sysdeps/x86_64/tst-audit4.c: ... here.
12972         * elf/tst-audit5.c: Move to ...
12973         * sysdeps/x86_64/tst-audit5.c: ... here.
12974         * elf/tst-audit6.c: Move to ...
12975         * sysdeps/x86_64/tst-audit6.c: ... here.
12976         * elf/tst-audit7.c: Move to ...
12977         * sysdeps/x86_64/tst-audit7.c: ... here.
12978         * elf/tst-auditmod3a.c: Move to ...
12979         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12980         * elf/tst-auditmod3b.c: Move to ...
12981         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12982         * elf/tst-auditmod4a.c: Move to ...
12983         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12984         * elf/tst-auditmod4b.c: Move to ...
12985         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12986         * elf/tst-auditmod5a.c: Move to ...
12987         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12988         * elf/tst-auditmod5b.c: Move to ...
12989         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12990         * elf/tst-auditmod6a.c: Move to ...
12991         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12992         * elf/tst-auditmod6b.c: Move to ...
12993         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12994         * elf/tst-auditmod6c.c: Move to ...
12995         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12996         * elf/tst-auditmod7a.c: Move to ...
12997         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12998         * elf/tst-auditmod7b.c: Move to ...
12999         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13001 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
13003         [BZ #15366]
13004         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13005         define unconditionally.
13006         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13007         define unconditionally.
13008         (INT8_C, INT16_C, etc.): Likewise.
13010 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
13012         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
13013         __ehdr_start with hidden visibility.
13015         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
13017 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
13019         * math/libm-test.inc (cos_test): Use accurate hex constants.
13020         (sincost_test): Likewise.
13022 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
13024         * math/libm-test.inc (catan_test): Add more tests.
13025         (catanh_test): Likewise.
13027         * math/s_catanf.c (__catanf): Use suffixed floating-point
13028         constants.
13029         * math/s_catanhf.c (__catanhf): Likewise.
13030         * math/s_catanhl.c (__catanhl): Likewise.
13031         * math/s_catanl.c (__catanl): Likewise.
13033         [BZ #15394]
13034         * math/s_catan.c (__catan): Calculate imaginary part of result
13035         with log1p not log unless computing log of number close to 0.
13036         * math/s_catanf.c (__catanf): Likewise.
13037         * math/s_catanl.c (__catanl): Likewise.
13038         * math/s_catanh.c (__catanh): Calculate real part of result with
13039         log1p not log unless computing log of number close to 0.
13040         * math/s_catanhf.c (__catanhf): Likewise.
13041         * math/s_catanhl.c (__catanhl): Likewise.
13042         * math/libm-test.inc (catan_test): Add more tests.
13043         (catanh_test): Likewise.
13044         * sysdeps/i386/fpu/libm-test-ulps: Update.
13045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13047 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13049         * benchtests/Makefile: Mention files in which fast and slow
13050         paths of math functions are implemented.
13052 2013-04-23  Roland McGrath  <roland@hack.frob.com>
13054         * sysdeps/posix/timespec_get.c: New file.
13056 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13058         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
13059         POWER.
13060         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
13061         for POWER.
13062         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
13063         powerpc/power5/fpu folders.
13064         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
13065         * benchtests/Makefile: Add modf testcase.
13066         * benchtests/bench-modf.c: New file: Benchmark test for mo
13068 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13070         [BZ #14888]
13071         * time/Makefile (tests): Add tst-strptime-whitespace.
13072         * time/strptime_l.c (get_number): Use ISSPACE.
13073         (__strptime_internal): Likewise.
13074         * time/tst-strptime-whitespace.c: New test case.
13076 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
13078         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
13079         member.
13080         (_nss_files_init): Set it here.
13082 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
13084         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
13085         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
13086         unsigned.
13088 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
13090         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
13092 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
13095         size just once.
13097 2013-04-21  David S. Miller  <davem@davemloft.net>
13099         * po/ru.po: Update Russion translation from translation project.
13101 2013-04-17  Adam Conrad  <adconrad@0c3.net>
13103         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
13104         and setfsgid.
13106 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
13108         * configure.in: Remove i386 configure warning. Remove i386 case.
13109         * configure: Regenerate.
13110         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
13111         Add example to error message.
13112         * sysdeps/i386/configure: Regenerate.
13114 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13116         * benchtests/Makefile (bench): Add cos, tan, slowcos and
13117         slowtan.
13118         * benchtests/cos-inputs: New file.
13119         * benchtests/slowcos-inputs: New file.
13120         * benchtests/slowcos.c: New file.
13121         * benchtests/slowtan-inputs: New file.
13122         * benchtests/slowtan.c: New file.
13123         * benchtests/tan-inputs: New file.
13125 2013-04-16  Roland McGrath  <roland@hack.frob.com>
13127         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
13128         considered kosher.
13130 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13132         * benchtests/Makefile: Include cppflags-iterator.mk to add
13133         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
13135         * Makefile.in (bench-clean): New target.
13136         * benchtests/Makefile (bench-clean): Likewise.
13138 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
13140         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
13142 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
13144         * stdio-common/tstdiomisc.c: Fix coding-style violation.
13146 2013-04-15  Andreas Schwab  <schwab@suse.de>
13148         * nscd/grpcache.c (cache_addgr): Properly check for short write.
13149         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13150         * nscd/pwdcache.c (cache_addpw): Likewise.
13151         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
13152         more than recsize.
13154 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13156         * benchtests/Makefile (bench): Write all output to
13157         bench-out.tmp together.
13159 2013-04-15  Andreas Schwab  <schwab@suse.de>
13161         * nscd/nscd.c (main): Don't fork again after closing files.
13163 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13165         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
13167         * benchtests/Rules (bench-deps): Collect dependencies into a
13168         single variable.  Add Makefile to dependencies.
13169         ($(objpfx)bench-%.c): Depend on bench-deps.
13171 2013-04-12  Roland McGrath  <roland@hack.frob.com>
13172             Xavier Roche  <roche+kml2@exalead.com>
13174         [BZ #15361]
13175         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
13176         just that it's a file descriptor.
13177         * manual/llio.texi (Synchronizing AIO Operations): Update description
13178         for EBADF error from aio_fsync.
13180 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13182         * Rules (bench): Move target definition...
13183         * benchtests/Makefile: ... here.
13185 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
13187         * math/libm-test.inc (cos_test): Fix PI/2 test.
13188         (sincos_test): Likewise.
13189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13190         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13192 2013-04-11  Andreas Schwab  <schwab@suse.de>
13194         [BZ #13988]
13195         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
13196         accept exponent character only when digits were seen.
13197         * stdio-common/Makefile (tests): Add bug26.
13198         * stdio-common/bug26.c: New file.
13200         [BZ #14293]
13201         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
13202         non-freeable.
13204 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13206         * Makeconfig (rtld-prefix): Define built linker prefix.
13207         * Rules (run-bench): Use it.
13208         * math/Makefile (run-regen-ulps): Likewise.
13210         * Rules (bench): Remove eval.
13212 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13213             Roland McGrath  <roland@hack.frob.com>
13214             Ondrej Bilka  <neleai@seznam.cz>
13216         [BZ #15346]
13217         * time/getdate.c: Include ctype.h and alloca.h.
13218         (__getdate_r): Trim leading and trailing spaces of input.
13219         * time/tst-getdate.c (tests): Add tests with leading and
13220         trailing spaces.
13222 2013-04-08  Roland McGrath  <roland@hack.frob.com>
13224         [BZ #14280]
13225         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
13226         when computing value.
13228 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13230         * math/README.libm-test (How can I generate "libm-test-ulps"?):
13231         Use testrun.sh to run libm tests.
13233         [BZ #15309]
13234         * elf/dl-open.c (dl_open_worker): memset all of seen array.
13236 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
13238         [BZ #15264]
13239         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
13241 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13243         * Makefile.in (regen-ulps): New target.
13244         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
13245         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
13246         [ifneq (no,$(PERL)] (regen-ulps): New target.
13247         [ifeq (no,$(PERL)] (regen-ulps): New target.
13248         * math/libm-test.inc (ulps_file_name): Define.
13249         (output_dir): New variable.
13250         (options): Add "output-dir" option.
13251         (parse_opt): Handle 'o' case.
13252         (main): If output_dir is non-NULL use it as a prefix
13253         otherwise use "".
13254         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
13256 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13258         [BZ #10060, #10062]
13259         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
13260         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
13261         fail configure if __sync_val_compare_and_swap is not inlined.
13262         * sysdeps/i386/configure: Regenerate.
13263         * configure.in: Build for i686 when configured for i386.
13264         * configure: Regenerate.
13265         * README: Remove i386 reference.
13267 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13269         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
13270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13272 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13274         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
13275         (lmsnanval): New variables.
13276         (F): Add conversion tests.
13277         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
13278         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
13280         * stdio-common/tstdiomisc.c (F): Properly collect individual
13281         tests' results.
13283         [BZ #14686, #15336]
13284         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
13285         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13286         Instead, use input NaN values or generate a qNaN by arithmetic
13287         operation.  Also fix bugs to comply with the standard.
13288         * math/libm-test.inc (remainder_test): Add more tests.
13290         [BZ #15335, #15342]
13291         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
13292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13293         input NaN values or generate a qNaN by arithmetic operation.
13295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
13296         unreachable code.
13298         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
13299         definitions.
13301 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
13303         [BZ #14478]
13304         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
13305         underflowed result.
13306         * math/s_cexpf.c (__cexpf): Likewise.
13307         * math/s_cexpl.c (__cexpl): Likewise.
13308         * math/libm-test.inc (cexp_test): Add more tests.
13310 2013-04-03  Andreas Schwab  <schwab@suse.de>
13312         [BZ #15330]
13313         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
13314         order arrays from heap if bigger than alloca cutoff.
13316 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
13318         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
13319         (SNAN_TESTS_double): Refer to GCC PR56831.
13320         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
13321         GCC PR56828.
13323 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13325         * Rules (bench): Move bench.out after the run is complete.
13327         * Rules (bench): Echo currently running benchmark.
13329         * benchtests/Makefile (bench): Add atan and slowatan.
13330         * benchtests/atan-inputs: New file.
13331         * benchtests/slowatan-inputs: New file.
13332         * benchtests/slowatan.c: New file.
13334         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13335         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
13336         its value.
13338         [BZ #15305]
13339         * sysdeps/unix/sysv/linux/kernel-features.h
13340         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
13341         __ASSUME_XFS_RESTRICTED_CHOWN.
13342         * sysdeps/unix/sysv/linux/pathconf.c
13343         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13344         Save and restore errno.
13346 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
13348         [BZ #15327]
13349         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
13350         arguments using __kernel_casinh.
13351         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
13352         arguments using __kernel_casinhf.
13353         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
13354         arguments using __kernel_casinhl.
13355         * math/libm-test.inc (cacosh_test): Add more tests.
13356         * sysdeps/i386/fpu/libm-test-ulps: Update.
13357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13359 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13361         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
13362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
13364         * bench/Makefile (bench): Add sin and slowsin.
13365         * benchtests/sin-inputs: New file.
13366         * benchtests/slowsin-inputs: New file.
13367         * benchtests/slowsin.c: New file.
13369         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13370         (bench): Add slowexp and slowpow.
13371         (exp-ITER): Increase iterations.
13372         (pow-ITER): Likewise.
13373         * benchtests/exp-inputs: Change input.
13374         * benchtests/pow-inputs: Likewise.
13375         * benchtests/slowexp-inputs: New file.
13376         * benchtests/slowexp.c: New file.
13377         * benchtests/slowpow-inputs: New file.
13378         * benchtests/slowpow.c: New file.
13380 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13382         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13383         instructions.
13384         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13385         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13386         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13387         * benchtests/Makefile: Add rint benchtest.
13388         * benchtests/rint-inputs: Input for rint benchtest.
13390 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13392         * Versions.def (libm): Add GLIBC_2.18.
13393         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13394         hidden libm prototypes.
13395         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13396         * math/Makefile (libm-calls): Add s_issignaling.
13397         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13398         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
13399         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13400         declaration.
13401         * math/math.h [__USE_GNU] (issignaling): New macro.
13402         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13403         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13404         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13405         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13406         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13407         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13408         * manual/arith.texi (issignaling): New section.
13409         * manual/libm-err-tab.pl (@all_functions): Update comment.
13410         * math/gen-libm-test.pl (parse_args): Apply special handling for
13411         issignaling.
13412         * math/libm-test.inc (print_float, issignaling_test): New
13413         functions.
13414         (check_float_internal): Add issignaling checks.
13415         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13416         default definition.
13417         * sysdeps/powerpc/math-tests.h: New file.
13418         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13419         tests.
13420         * math/test-snan.c (TEST_FUNC): Likewise.
13422 2013-03-30  David S. Miller  <davem@davemloft.net>
13424         * po/de.po: Update from translation team.
13426 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
13428         [BZ #10357]
13429         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13430         imaginary part less than 1.0 and real part less than 0.5
13431         specially.
13432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13434         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13435         (cacos_test): Add more tests.
13436         (casin_test): Likewise.
13437         (casinh_test): Likewise.
13438         * sysdeps/i386/fpu/libm-test-ulps: Update.
13439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13441 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13443         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13444         ONE with its value.
13446         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13447         (__pow_mp): Replace ONE and MONE with their values.
13448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13449         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13450         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13451         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13452         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13453         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13455         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13457         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13458         (__pow_mp): Replace ZERO and MZERO with their values.
13459         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13460         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13463         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13464         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13465         (__sqr): Likewise.
13467         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13469         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13471 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13473         * include/stdlib.h [!SHARED] (__call_tls_dtors):
13474         Declare with __attribute__ ((weak)).
13475         * stdlib/exit.c (__libc_atexit) [!SHARED]:
13476         Call __call_tls_dtors only if it's not NULL.
13478 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13480         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13481         didn't do it already, then set _dl_phdr and _dl_phnum based on the
13482         magic __ehdr_start linker symbol if it's defined.
13483         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13484         them up here if it was already done.
13486         * elf/dl-support.c (_dl_phdr): Make pointer to const.
13487         (_dl_aux_init): Use const in cast when setting it.
13488         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13489         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13490         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13492         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13493         Declare them here.
13494         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13495         * csu/libc-tls.c: Nor here.
13496         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13498         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13499         (__libc_message): Never call vsyslog.
13501 2013-03-28  Alan Modra  <amodra@gmail.com>
13503         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13504         Define as empty.
13505         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13506         Likewise.
13508 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13510         [BZ #15214]
13511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13512         underflow.
13513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13515 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13517         [BZ #15304]
13518         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13519         Don't add gid passed as argument.
13521         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13523 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
13525         [BZ #15307]
13526         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13527         imaginary part between 1.0 and 1.5 and real part less than 0.5
13528         specially.
13529         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13530         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13531         * math/libm-test.inc (cacos_test): Add more tests.
13532         (casin_test): Likewise.
13533         (casinh_test): Likewise.
13534         * sysdeps/i386/fpu/libm-test-ulps: Update.
13535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13537 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13539         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13540         constants.
13541         (norm): Likewise.
13542         (denorm): Likewise.
13543         (__dbl_mp): Likewise.
13544         (add_magnitudes): Likewise.
13545         (sub_magnitudes): Likewise.
13546         (__add): Likewise.
13547         (__sub): Likewise.
13548         (__mul): Likewise.
13549         (__sqr): Likewise.
13550         (__inv): Likewise.
13551         (__dvd): Likewise.
13553         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13554         commented code.
13555         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13556         (__dubcos): Likewise.
13557         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13558         (__ieee754_acos): Likewise.
13559         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13560         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13561         (__exp1): Likewise.
13562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13564         (log1): Likewise.
13565         (my_log2): Likewise.
13566         (checkint): Likewise.
13567         * sysdeps/ieee754/dbl-64/e_remainder.c
13568         (__ieee754_remainder): Likewise.
13569         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13571         (bsloww): Likewise.
13572         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13574         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13575         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13576         MANTISSA_STORE_T to store computations on mantissa.  Use
13577         macros for rounding and division.
13578         (denorm): Likewise.
13579         (__dbl_mp): Likewise.
13580         (add_magnitudes): Likewise.
13581         (sub_magnitudes): Likewise.
13582         (__mul): Likewise.
13583         (__sqr): Likewise.
13584         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13585         powers of two in terms of TWOPOW macro.
13586         (mp_no): Make type of mantissa as MANTISSA_T.
13587         [!RADIXI]: Define RADIXI.
13588         [!TWO52]: Define TWO52.
13589         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13591 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13593         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13594         llroundl symbol when building for PPC32.
13596 2013-03-24  Mark H Weaver  <mhw@netris.org>
13598         * manual/arith.texi (Normalization Functions): Fix prototypes for
13599         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13601 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13603         [BZ #13889]
13604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13605         high value to check if expl overflow.
13606         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13607         to check for underflow and overflow.
13608         * math/libm-test.inc: Add exp test.
13610 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
13612         [BZ #11120]
13613         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13614         with NOT_IN_libc.
13616 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13618         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13619         symbol.
13621 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13623         * math/gen-libm-test.pl (parse_args, special_functions): Properly
13624         wrap blocks consisting of several statements.
13626         * sysdeps/generic/math-tests.h: New file.
13627         * sysdeps/i386/fpu/math-tests.h: Likewise.
13628         * math/test-snan.c: Include it.
13629         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13631 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
13633         [BZ #15285]
13634         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13635         (__ieee754_j0l): Do not improve calculations using cos of twice
13636         input for inputs above LDBL_MAX / 2.0L.
13637         (__ieee754_y0l): Likewise.
13638         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13639         (__ieee754_j1l): Do not improve calculations using cos of twice
13640         input for inputs above LDBL_MAX / 2.0L.
13641         (__ieee754_y1l): Likewise.
13642         * math/libm-test.inc (j0_test): Add another test.
13643         (j1_test): Likewise.
13644         (y0_test): Likewise.
13645         (y1_test): Likewise.
13646         * sysdeps/i386/fpu/libm-test-ulps: Update.
13648 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13650         * Rules ($(objpfx)bench-%.c): Include code from a C source
13651         file.
13653 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
13655         [BZ #15287]
13656         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13657         imaginary part 1.0 and real part less than 0.5 specially.
13658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13660         * math/libm-test.inc (cacos_test): Add more tests.
13661         (casin_test): Likewise.
13662         (casinh_test): Likewise.
13663         * sysdeps/i386/fpu/libm-test-ulps: Update.
13664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13666 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13668         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13669         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13671 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
13673         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13674         * config.make.in (config-cflags-sse4): Remove variable.
13675         (config-cflags-avx): Likewise.
13676         (config-cflags-sse2avx): Likewise.
13677         (config-cflags-novzeroupper): Likewise.
13678         (config-asflags-i686): Likewise.
13679         (have-mfma4): Likewise.
13680         (have-as-vis3): Likewise.
13681         (MIG): Likewise.
13682         * configure.in (MIG): Do not AC_SUBST.
13683         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13684         (libc_cv_cc_sse4): Do not AC_SUBST.
13685         (libc_cv_cc_avx): Likewise.
13686         (libc_cv_cc_sse2avx): Likewise.
13687         (libc_cv_cc_novzeroupper): Likewise.
13688         (libc_cv_cc_fma4): Likewise.
13689         (libc_cv_as_i686): Likewise.
13690         (libc_cv_sparc_as_vis3): Likewise.
13691         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13692         LIBC_CONFIG_VAR.
13693         (config-asflags-i686): Likewise.
13694         (config-cflags-avx): Likewise.
13695         (config-cflags-sse2avx): Likewise.
13696         (have-mfma4): Likewise.
13697         (config-cflags-novzeroupper): Likewise.
13698         * sysdeps/mach/configure.in (MIG): Likewise.
13699         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13700         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13701         LIBC_CONFIG_VAR.
13702         (config-cflags-avx): Likewise.
13703         (config-cflags-sse2avx): Likewise.
13704         (have-mfma4): Likewise.
13705         (config-cflags-novzeroupper): Likewise.
13706         * configure: Regenerated.
13707         * sysdeps/i386/configure: Likewise.
13708         * sysdeps/mach/configure: Likewise.
13709         * sysdeps/sparc/configure: Likewise.
13710         * sysdeps/x86_64/configure: Likewise.
13712 2013-03-20  Roland McGrath  <roland@hack.frob.com>
13714         [BZ #14812]
13715         * locale/programs/localedef.c (options): Put N_ translation marker
13716         on argument names, not just descriptions.
13718 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13720         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13722 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
13724         [BZ #14176]
13725         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13727 2013-03-19  Roland McGrath  <roland@hack.frob.com>
13729         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13730         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13731         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13732         [!BEFORE_ABORT] (before_abort): New function.
13733         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13734         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13735         (writev_for_fatal): New function.
13736         (WRITEV_FOR_FATAL): New macro; call that.
13737         (backtrace_and_maps): New function.
13738         (BEFORE_ABORT): New macro; call that.
13739         (struct str_list): Type removed.
13740         (__libc_message, __libc_fatal): Functions removed.
13741         Include <sysdeps/posix/libc_fatal.c> instead.
13743 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
13745         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13746         constants.
13747         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13748         double constants.
13750 2013-03-19  Andreas Schwab  <schwab@suse.de>
13752         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13753         * sysdeps/gnu/configure: Regenerate.
13755         * configure.in: Substitute libc_cv_rtlddir.
13756         * configure: Regenerate.
13757         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13758         * Makeconfig (rtlddir, inst_rtlddir): New variables.
13759         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13760         * elf/Makefile (install-others, CFLAGS-interp.c)
13761         (ldso_install, common-ldd-rewrite): Likewise.
13762         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13763         $(inst_slibdir)/$(rtld-installed-name).
13764         * scripts/rellns-sh: Add -p option.
13765         * Makerules (make-shlib-link): Use rellns-sh to get relative name
13766         for source.
13768 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13770         * manual/nptl.texi: Renamed to ...
13771         * manual/threads.texi: ... this.
13772         * manual/Makefile (chapters): Update.
13774 2013-03-18  Roland McGrath  <roland@hack.frob.com>
13776         [BZ #14812]
13777         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13778         on argument names, not just descriptions.
13779         * malloc/memusagestat.c (options): Likewise.
13780         * nss/getent.c (options): Likewise.
13782 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
13784         [BZ #14812]
13785         * iconv/iconv_prog.c (options): Put N_ translation marker
13786         on argument names, not just descriptions.
13787         * iconv/iconvconfig.c (options): Likewise.
13789 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
13791         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13792         implementation which is faster on all x86_64 architectures.
13793         Tested on AMD, Intel Nehalem, SNB, IVB.
13794         * sysdeps/x86_64/strnlen.S: Likewise.
13796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13797         Remove all multiarch strlen and strnlen versions.
13798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13799         Remove strlen and strnlen related parts.
13801         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13802         Inline strlen part.
13803         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13805         * sysdeps/x86_64/multiarch/strlen.S: Remove.
13806         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13807         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13808         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13809         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13810         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13812 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
13814         * manual/memory.texi (Malloc Tunable Parameters):
13815         Sort parameters alphabetically. Add comments for missing entries.
13817 2013-03-17  David S. Miller  <davem@davemloft.net>
13819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13821 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
13823         [BZ #15283]
13824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13825         for arguments at most half maximum finite value.
13826         * math/libm-test.inc (j0_test): Add more tests.
13827         (j1_test): Likewise.
13828         (y0_test): Likewise.
13829         (y1_test): Likewise.
13830         * sysdeps/i386/fpu/libm-test-ulps: Update.
13831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13833         [BZ #14155]
13834         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13835         1 / x and functions P and Q for arguments above 0x1p256L.
13836         (__ieee754_y0l): Likewise.
13837         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13838         (__ieee754_y1l): Likewise.
13839         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13840         (j1_test): Likewise.
13841         (y0_test): Likewise.
13842         (y1_test): Likewise.
13844 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
13846         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13847         variable.
13849 2013-03-15  Roland McGrath  <roland@hack.frob.com>
13851         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13852         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13853         zero since it's initialized to EXEC_PAGESIZE.
13855         * sysdeps/unix/sysv/linux/ldsodefs.h
13856         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13857         * sysdeps/generic/ldsodefs.h: ... here.
13859 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
13861         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13863         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13864         math/test-snan.c.
13865         * math/test-snan.c: Renamed from
13866         sysdeps/powerpc/fpu/test-powerpc-snan.c.
13867         * math/Makefile (tests): Add test-snan.
13868         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13869         test-powerpc-snan.
13871         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13872         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
13873         functions.
13874         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
13875         __builtin_nan family of functions.
13876         * math/libm-test.inc (initialize): Initialize qnan_value with
13877         __builtin_nan family of functions.
13878         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13879         Remove variables.
13880         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13881         Remove functions.
13882         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
13883         storage class.  Initialize qNaN_var and sNaN_var with
13884         __builtin_nan and __builtin_nans families of functions,
13885         respectively.
13887         * math/libm-test.inc (acosh_test): Also test with qNaN input.
13888         (sqrt_test): Remove duplicate test with qNaN input.
13889         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13890         (round_test, signbit_test, significand_test): Note missing +/-Inf
13891         as well as qNaN tests.
13893         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13894         qNaN_var.  Fix a few strings, too.
13895         * math/libm-test.inc (nan_value): Rename to qnan_value.
13896         * math/gen-libm-test.pl (%beautify): Adjust to that.
13897         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13898         * math/test-misc.c (main): Likewise.
13899         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13900         to __qnan_bytes, and __qnan_union, respectively.
13901         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13902         Likewise.
13903         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13904         and lqnanval, respectively.
13905         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13906         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13907         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13908         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13910         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13911         * math/test-misc.c (main) [__x86_64__]: Enable test for long
13912         doubles.
13914         * math/test-misc.c (main): Fix copy'n'pastos.
13915         * misc/tst-efgcvt.c (special): Likewise.
13917         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13918         Remove declarations.
13920 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13922         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13923         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13924         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13925         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13927 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13929         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13930         macro to return vdso values correctly in IFUNC implementations.
13931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13932         Optimization by using IFUNC.
13934 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13935             Richard Henderson  <rth@redhat.com>
13936             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13938         * Makefile.in (bench): New target.
13939         * NEWS: Mention the benchmark framework.
13940         * Rules (bench): Likewise.
13941         (binaries-bench): Generate binaries for functions to
13942         benchmark.
13943         * benchtests/Makefile: New makefile for benchmark tests.
13944         * benchtests/bench-skeleton.c: New skeleton file for benchmark
13945         programs.
13946         * benchtests/exp-inputs: New input file for EXP function.
13947         * benchtests/pow-inputs: New input file for POW function.
13948         * scripts/bench.pl: New script to generate source files for
13949         benchmark programs.
13951 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13953         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13954         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13955         computations on mantissa.  Use macros for rounding and
13956         division.
13957         (denorm): Likewise.
13958         (__dbl_mp): Likewise.
13959         (add_magnitudes): Likewise.
13960         (sub_magnitudes): Likewise.
13961         (__mul): Likewise.
13962         (__sqr): Likewise.
13963         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13964         powers of two in terms of TWOPOW macro.
13965         (mp_no): Make type of mantissa as MANTISSA_T.
13966         [!RADIXI]: Define RADIXI.
13967         [!TWO52]: Define TWO52.
13968         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13970         * manual/nptl.texi (cindex): Modify threads to pthreads.
13972 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
13974         * sysdeps/x86_64/preconfigure: Regenerated.
13976 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #14155]
13979         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13980         0x1p28 and above.
13981         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13982         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13983         0x1p28 and above.
13984         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13985         * math/libm-test.inc (j0_test): Do not allow one spurious
13986         underflow exception.
13987         (y1_test): Likewise.
13989 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13991         * manual/Makefile (chapters): Add nptl.
13992         * manual/debug.texi (Debugging Support): Add link to Threads
13993         chapter.
13994         * manual/nptl.texi: New file.
13996         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13998 2013-03-14  Petr Baudis  <pasky@ucw.cz>
14000         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14001         for non-NULL pointer before the memory validity test. Pointed
14002         out by Holger Brunck <holger.brunck@keymile.com>.
14004 2013-03-13  Andreas Schwab  <schwab@suse.de>
14006         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
14007         instead of .os.
14009 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
14011         * timezone/zic.c: Update from tzcode 2013b.
14013 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
14015         * manual/install.texi (Configuring and compiling):
14016         Mention i686 and i586.
14017         * INSTALL: Regenerate.
14019 2013-03-12  Roland McGrath  <roland@hack.frob.com>
14021         * sysdeps/init_array/elf-init.c: New file.
14022         * csu/elf-init.c
14023         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
14024         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
14026         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
14027         __gmon_start__ as global, but as static with a .preinit_array pointer.
14028         * sysdeps/init_array/gmon-start.c: New file.  Use that.
14029         * sysdeps/init_array/crti.S: New file, empty except for comments.
14030         * sysdeps/init_array/crtn.S: Likewise.
14032 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
14034         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
14035         definining bcopy.
14036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14037         Remove Prefer_SSE_for_memop.
14038         * sysdeps/x86_64/multiarch/init-arch.h: Remove
14039         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
14040         HAS_PREFER_SSE_FOR_MEMOP.
14041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14042         memset-x86-64.
14043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14044         Remove bzero, memset ifunc support.
14045         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
14046         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
14047         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14048         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14050 2013-03-11  Andreas Schwab  <schwab@suse.de>
14052         [BZ #15234]
14053         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
14054         by SHLIB_COMPAT.
14055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
14056         (GLIBC_2.16): Remove pthread_atfork.
14058 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14060         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
14061         (ptestcases.h): Likewise.
14063 2013-03-08  Roland McGrath  <roland@hack.frob.com>
14065         * Makeconfig ($(common-objpfx)config.status): Depend on
14066         sysdeps/*/preconfigure{,.in} too.
14068 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
14070         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
14071         (__free_hook): Use void * instead of __malloc_ptr_t.
14072         (__malloc_hook): Likewise.
14073         (__realloc_hook): Likewise.
14074         (__memalign_hook): Likewise.
14075         (__after_morecore_hook): Likewise.
14076         * malloc/arena.c (save_malloc_hook): Likewise.
14077         (save_free_hook): Likewise.
14078         * malloc/hooks.c (malloc_hook_ini): Likewise.
14079         (realloc_hook_ini): Likewise.
14080         (memalign_hook_ini): Likewise.
14081         * malloc/malloc.c (malloc_hook_ini): Likewise.
14082         (realloc_hook_ini): Likewise.
14083         (memalign_hook_ini): Likewise.
14084         (__free_hook): Likewise.
14085         (__malloc_hook): Likewise.
14086         (__realloc_hook): Likewise.
14087         (__memalign_hook): Likewise.
14088         (__libc_malloc): Likewise.
14089         (__libc_free): Likewise.
14090         (__libc_realloc): Likewise.
14091         (__libc_memalign): Likewise.
14092         (__libc_valloc): Likewise.
14093         (__libc_pvalloc): Likewise.
14094         (__libc_calloc): Likewise.
14095         (__posix_memalign): Likewise.
14096         * malloc/morecore.c (__sbrk): Likewise.
14097         (__default_morecore): Likewise.
14099         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
14101         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
14102         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
14103         __malloc_ptrdiff_t.
14105         * malloc/malloc.h (__malloc_size_t): Remove macro.
14106         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
14107         __malloc_size_t.
14108         (old_memalign_hook): Likewise.
14109         (old_realloc_hook): Likewise.
14110         (struct hdr): Likewise.
14111         (flood): Likewise.
14112         (mallochook): Likewise.
14113         (memalignhook): Likewise.
14114         (reallochook): Likewise.
14115         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
14116         (tr_old_realloc_hook): Likewise.
14117         (tr_old_memalign_hook): Likewise.
14118         (tr_mallochook): Likewise.
14119         (tr_reallochook): Likewise.
14120         (tr_memalignhook): Likewise.
14122 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
14125         default_ldbl_pack and using as default implementation.
14126         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
14127         implementation.
14128         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
14129         redundant definition.
14130         (ldbl_insert_mantissa): Likewise.
14131         (ldbl_canonicalize): Likewise.
14132         (ldbl_nearbyint): Likewise.
14133         (ldbl_pack): Rename to ldbl_pack_ppc.
14134         (ldbl_unpack): Rename to ldbl_unpack_ppc.
14135         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
14136         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
14138 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
14141         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
14142         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
14143         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
14144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
14145         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
14146         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
14147         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
14149 2013-03-07  Andreas Jaeger  <aj@suse.de>
14151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14152         bits/mman-linux.h.
14154 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14156         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
14157         Include mpa.h and declare __MPEXP.
14158         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
14159         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14160         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14161         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
14162         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14163         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14164         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
14166         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
14167         (__slowpow): Use long double EXPL and LOGL functions to
14168         compute POW.
14169         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14170         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14171         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
14172         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14173         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14174         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
14176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
14177         intermediate variable to calculate exponent.
14178         (__sqr): Likewise.
14179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14180         Likewise.
14181         (__sqr): Likewise.
14183         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
14184         [!NO__SQR]: Define __sqr.
14185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
14186         and NO__SQR.  Remove all code except __mul and __sqr.  Include
14187         sysdeps/ieee754/dbl-64/mpa.c.
14188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14190         [BZ #12723]
14191         * posix/Makefile (tests): Add tst-pathconf.
14192         * posix/tst-pathconf.c: New test case.
14193         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
14194         _PC_PIPE_BUF.
14195         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
14197 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
14199         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
14201 2013-03-06  Andreas Jaeger  <aj@suse.de>
14203         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
14204         definition via __MAP_ANONYMOUS.
14206         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
14207         it's not part of Linux headers.
14209         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
14210         (MAP_HUGE_MASK): Define.
14212         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14213         Define.
14214         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14215         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14216         Define.
14217         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14218         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14219         Define.
14220         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
14222         Define.
14223         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14225         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
14226         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
14227         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
14228         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
14229         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
14230         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
14232         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14233         Handle f2fs.
14235         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14236         Handle f2fs and efivarfs.
14238         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
14239         f2fs.
14241         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
14242         (EFIVARFS_MAGIC): Add.
14243         (F2FS_LINK_MAX): Add.
14245 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14247         * stdio-common/vfprintf.c: Replace __builtin_expect with
14248         __glibc_unlikely.
14250 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
14252         [BZ #13550]
14253         * sysdeps/generic/bp-sym.h: Remove file.
14254         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
14255         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
14256         <bp-sym.h> and <bp-asm.h>.
14257         (__longjmp): Don't use BP_SYM.
14258         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
14259         and <bp-asm.h>.
14260         (memcpy): Don't use BP_SYM.
14261         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
14262         <bp-sym.h> and <bp-asm.h>.
14263         (memcpy): Don't use BP_SYM.
14264         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
14265         <bp-asm.h>.
14266         (memcpy): Don't use BP_SYM.
14267         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
14268         <bp-asm.h>.
14269         (memset): Don't use BP_SYM.
14270         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14271         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14272         (__bzero): Don't use BP_SYM.
14273         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14274         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14275         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
14276         <bp-sym.h> and <bp-asm.h>.
14277         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14278         pointers.
14279         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
14280         <bp-sym.h> and <bp-asm.h>.
14281         (memcpy): Don't use BP_SYM.
14282         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
14283         <bp-sym.h> and <bp-asm.h>.
14284         (memset): Don't use BP_SYM.
14285         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14286         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14287         (__bzero): Don't use BP_SYM.
14288         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14289         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14290         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
14291         <bp-sym.h> and <bp-asm.h>.
14292         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14293         pointers.
14294         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
14295         <bp-sym.h> and <bp-asm.h>.
14296         (memcpy): Don't use BP_SYM.
14297         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
14298         <bp-sym.h> and <bp-asm.h>.
14299         (memset): Don't use BP_SYM.
14300         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14301         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14302         (__bzero): Don't use BP_SYM.
14303         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14304         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14305         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
14306         <bp-sym.h> and <bp-asm.h>.
14307         (__memchr): Don't use BP_SYM.
14308         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
14309         <bp-sym.h> and <bp-asm.h>.
14310         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14311         pointers.
14312         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
14313         <bp-sym.h> and <bp-asm.h>.
14314         (memcpy): Don't use BP_SYM.
14315         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
14316         <bp-sym.h> and <bp-asm.h>.
14317         (__mempcpy): Don't use BP_SYM.
14318         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
14319         <bp-sym.h> and <bp-asm.h>.
14320         (__memrchr): Don't use BP_SYM.
14321         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
14322         <bp-sym.h> and <bp-asm.h>.
14323         (memset): Don't use BP_SYM.
14324         (__bzero): Likewise.
14325         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
14326         <bp-sym.h> and <bp-asm.h>.
14327         (__rawmemchr): Don't use BP_SYM.
14328         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
14329         <bp-sym.h> and <bp-asm.h>.
14330         (__STRCMP): Don't use BP_SYM.
14331         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
14332         <bp-sym.h> and <bp-asm.h>.
14333         (strchr): Don't use BP_SYM.
14334         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
14335         <bp-sym.h> and <bp-asm.h>.
14336         (__strchrnul): Don't use BP_SYM.
14337         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
14338         <bp-sym.h> and <bp-asm.h>.
14339         (strlen): Don't use BP_SYM.
14340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
14341         <bp-sym.h> and <bp-asm.h>.
14342         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14343         pointers.
14344         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
14345         <bp-sym.h> and <bp-asm.h>.
14346         (__strnlen): Don't use BP_SYM.
14347         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
14348         <bp-sym.h> and <bp-asm.h>.
14349         (__GI__setjmp): Don't use BP_SYM.
14350         (_setjmp): Likewise.
14351         (__sigsetjmp): Likewise.
14352         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
14353         (L(start_addresses)): Don't use BP_SYM.
14354         (_start): Likewise.
14355         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
14356         <bp-asm.h>.
14357         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
14358         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
14359         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14360         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14361         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
14362         <bp-asm.h>.
14363         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
14364         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
14365         about bounded pointers.
14366         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14367         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14368         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14369         <bp-asm.h>.
14370         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14371         about bounded pointers.  Remove GKM FIXME comments.
14372         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14373         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14374         <bp-asm.h>.
14375         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14376         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
14377         Remove GKM FIXME comments.
14378         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14379         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14380         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14381         <bp-asm.h>.
14382         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14383         about bounded pointers.  Remove GKM FIXME comment.
14384         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14385         and <bp-asm.h>.
14386         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14387         pointers.
14388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14389         <bp-sym.h> and <bp-asm.h>.
14390         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14392         <bp-sym.h> and <bp-asm.h>.
14393         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
14394         comment.
14396 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14398         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14399         call free(NULL).
14401 2013-03-05  David S. Miller  <davem@davemloft.net>
14403         * po/es.po: Update from translation team.
14405 2013-03-05  Andreas Jaeger  <aj@suse.de>
14407         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14408         <bits/mman-linux.h>.
14409         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14410         is fine.
14411         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14412         <bits/mman-linux.h> to end of file.
14413         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14414         is fine.
14415         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14416         <bits/mman-linux.h> to end of file.
14417         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14418         is fine.
14419         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14420         <bits/mman-linux.h> to end of file.
14422         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14423         (MCL_CURRENT, MCL_FUTURE): Define here.
14425 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14427         [BZ #15232]
14428         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14429         attribute_hidden.
14430         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14432 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14435         fourth parameter needed for rt_sigprocmask syscall.
14436         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14437         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14439         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14440         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14441         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14443 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
14445         [BZ #13550]
14446         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14447         comment about bounded pointers.
14448         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14449         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14451 2013-03-04  Andreas Jaeger  <aj@suse.de>
14453         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14454         common definitions.
14456         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14457         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14458         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14459         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14463 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14465         [BZ #15055]
14466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14467         __ieee754_sqrl instead of __sqrl.
14469 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
14471         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14472         * sysdeps/powerpc/fpu_control.h: ... here.
14473         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14474         * sysdeps/powerpc/bits/fenvinline.h: ... here.
14475         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14476         * sysdeps/powerpc/bits/mathinline.h: ... here.
14478 2013-03-01  Roland McGrath  <roland@hack.frob.com>
14480         * elf/dl-hwcaps.c (_dl_important_hwcaps):
14481         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14482         to just [NEED_DL_SYSINFO_DSO].
14483         * elf/dl-support.c: Likewise.
14484         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14485         * elf/rtld.c (dl_main): Likewise.
14486         * elf/setup-vdso.h (setup_vdso): Likewise.
14487         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14488         * sysdeps/unix/sysv/linux/dl-sysdep.c
14489         (_dl_discover_osversion): Likewise.
14491 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
14493         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14494         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14496 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14498         * NEWS: Mention libm performance improvements and non-x86 PI
14499         futex support.
14501         * csu/libc-start.c (__pthread_initialize_minimal): Change
14502         function arguments.
14503         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14505 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
14507         [BZ #13550]
14508         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14509         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14510         <bp-sym.h> and <bp-asm.h>.
14511         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14512         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14513         and <bp-asm.h>.
14514         (memcpy): Don't use BP_SYM.
14515         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14516         <bp-asm.h>.
14517         (__mpn_add_n): Don't use BP_SYM.
14518         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14519         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14520         and <bp-asm.h>.
14521         (__mpn_addmul_1): Don't use BP_SYM.
14522         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14523         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14524         <bp-sym.h>.
14525         (_setjmp): Don't use BP_SYM.
14526         (__novmx_setjmp): Likewise.
14527         (__GI__setjmp): Likewise.
14528         (__vmx_setjmp): Likewise.
14529         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14530         <bp-sym.h>.
14531         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14532         (__bzero): Don't use BP_SYM.
14533         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14534         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14535         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14536         <bp-sym.h> and <bp-asm.h>.
14537         (memcpy): Don't use BP_SYM.
14538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14539         <bp-sym.h> and <bp-asm.h>.
14540         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14541         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14542         <bp-sym.h> and <bp-asm.h>.
14543         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14544         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14545         <bp-asm.h>.
14546         (__mpn_lshift): Don't use BP_SYM.
14547         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14548         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14549         <bp-asm.h>.
14550         (memset): Don't use BP_SYM.
14551         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14552         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14553         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14554         <bp-asm.h>.
14555         (__mpn_mul_1): Don't use BP_SYM.
14556         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14557         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14558         <bp-sym.h> and <bp-asm.h>.
14559         (memcmp): Don't use BP_SYM.
14560         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14561         <bp-sym.h> and <bp-asm.h>.
14562         (memcpy): Don't use BP_SYM.
14563         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14564         <bp-sym.h> and <bp-asm.h>.
14565         (memset): Don't use BP_SYM.
14566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14567         <bp-sym.h> and <bp-asm.h>.
14568         (strncmp): Don't use BP_SYM.
14569         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14570         <bp-sym.h> and <bp-asm.h>.
14571         (memcpy): Don't use BP_SYM.
14572         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14573         <bp-sym.h> and <bp-asm.h>.
14574         (memset): Don't use BP_SYM.
14575         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14576         <bp-sym.h> and <bp-asm.h>.
14577         (__memchr): Don't use BP_SYM.
14578         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14579         <bp-sym.h> and <bp-asm.h>.
14580         (memcmp): Don't use BP_SYM.
14581         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14582         <bp-sym.h> and <bp-asm.h>.
14583         (memcpy): Don't use BP_SYM.
14584         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14585         <bp-sym.h> and <bp-asm.h>.
14586         (__mempcpy): Don't use BP_SYM.
14587         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14588         <bp-sym.h> and <bp-asm.h>.
14589         (__memrchr): Don't use BP_SYM.
14590         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14591         <bp-sym.h> and <bp-asm.h>.
14592         (memset): Don't use BP_SYM.
14593         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14594         <bp-sym.h> and <bp-asm.h>.
14595         (__rawmemchr): Don't use BP_SYM.
14596         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14597         <bp-sym.h> and <bp-asm.h>.
14598         (__STRCMP): Don't use BP_SYM.
14599         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14600         <bp-sym.h> and <bp-asm.h>.
14601         (strchr): Don't use BP_SYM.
14602         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14603         <bp-sym.h> and <bp-asm.h>.
14604         (__strchrnul): Don't use BP_SYM.
14605         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14606         <bp-sym.h> and <bp-asm.h>.
14607         (strlen): Don't use BP_SYM.
14608         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14609         <bp-sym.h> and <bp-asm.h>.
14610         (strncmp): Don't use BP_SYM.
14611         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14612         <bp-sym.h> and <bp-asm.h>.
14613         (__strnlen): Don't use BP_SYM.
14614         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14615         <bp-asm.h>.
14616         (__mpn_rshift): Don't use BP_SYM.
14617         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14618         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14619         <bp-sym.h> and <bp-asm.h>.
14620         (__sigsetjmp): Don't use BP_SYM.
14621         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14622         (L(start_addresses)): Don't use BP_SYM.
14623         (_start): Likewise.
14624         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14625         <bp-asm.h>.
14626         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14627         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14628         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14629         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14630         <bp-asm.h>.
14631         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14632         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14633         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14634         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14635         <bp-asm.h>.
14636         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
14637         comments.
14638         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14639         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14640         <bp-asm.h>.
14641         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
14642         FIXME comments.
14643         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14644         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14645         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14646         <bp-asm.h>.
14647         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
14648         comment.
14649         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14650         and <bp-asm.h>.
14651         (strncmp): Don't use BP_SYM,
14652         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14653         <bp-asm.h>.
14654         (__mpn_sub_n): Don't use BP_SYM.
14655         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14656         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14657         and <bp-asm.h>.
14658         (__mpn_submul_1): Don't use BP_SYM.
14659         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14661         <bp-sym.h> and <bp-asm.h>.
14662         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14664         <bp-sym.h> and <bp-asm.h>.
14665         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
14666         comment.
14668 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14671         Use ZK to minimize writes to Z.
14672         (sub_magnitudes): Simplify code a bit.
14673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14674         Use ZK to minimize writes to Z.
14675         (sub_magnitudes): Simplify code a bit.
14677 2013-02-27  Roland McGrath  <roland@hack.frob.com>
14679         * csu/gmon-start.c: Add special exception to license text.
14681 2013-02-27  Richard Henderson  <rth@redhat.com>
14683         * scripts/config.guess: Update from config.git.
14684         * scripts/config.sub: Likewise.
14686 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14688         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14690         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14692         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14694         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14696         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14698 2013-02-26  Roland McGrath  <roland@hack.frob.com>
14700         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14701         [$(build-shared = yes].
14703 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14705         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14706         (__mul): Reduce iterations for calculating mantissa.
14708         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14709         MPTWO.
14710         (__mpranred): Likewise.
14712         [BZ #15160]
14713         * malloc/memusagestat.c (main): Draw graphs for heap and stack
14714         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14716 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
14718         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14719         Define __attribute__.
14721 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14723         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14724         unused.
14725         * posix/regex_internal.h (__attribute): Remove.
14726         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14727         (re_string_context_at): Likewise.
14728         (bitset_not): Use __attribute__ and mark function as possibly
14729         unused.
14730         (bitset_merge): Likewise.
14731         (bitset_mask): Likewise.
14732         (re_string_char_size_at): Likewise.
14733         (re_string_wchar_at): Likewise.
14734         (re_string_elem_size_at): Likewise.
14736 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14738         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14739         code.
14740         (cc32): Likewise.
14742         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14743         (__acr): Likewise.
14744         (__cpy): Likewise.
14745         (norm): Likewise.
14746         (denorm): Likewise.
14747         (__dbl_mp): Likewise.
14748         (add_magnitudes): Likewise.
14749         (sub_magnitudes): Likewise.
14750         (__mul): Likewise.
14751         (__inv): Likewise.
14753         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14754         style.
14756         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14757         style.
14759         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14760         code.
14762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14763         up changes with default code.
14764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14765         Likewise.
14767 2013-02-24  Allan McRae  <allan@archlinux.org>
14769         * manual/socket.texi (The Internet Namespace): Order menu items
14770         to match that in the file.
14772         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14773         node listing of the info page menu.
14775 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
14777         [BZ #13550]
14778         * sysdeps/i386/bp-asm.h: Remove file.
14779         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14780         (PARMS): Do not use macros from bp-asm.h.
14781         (S1): Likewise.
14782         (S2): Likewise.
14783         (SIZE): Likewise.
14784         (__mpn_add_n): Do not use BP_SYM
14785         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14786         "bp-asm.h".
14787         (PARMS): Do not use macros from bp-asm.h.
14788         (S1): Likewise.
14789         (SIZE): Likewise.
14790         (__mpn_addmul_1): Do not use BP_SYM
14791         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14792         "bp-asm.h".
14793         (PARMS): Do not use macros from bp-asm.h.
14794         (SIGMSK): Likewise.
14795         (_setjmp): Likewise.  Do not use BP_SYM.
14796         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14797         "bp-asm.h".
14798         (PARMS): Do not use macros from bp-asm.h.
14799         (SIGMSK): Likewise.
14800         (setjmp): Likewise.  Do not use BP_SYM.
14801         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14802         "bp-asm.h".
14803         (PARMS): Do not use macros from bp-asm.h.
14804         (__frexp): Do not use BP_SYM.
14805         (frexp): Likewise.
14806         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14807         "bp-asm.h".
14808         (PARMS): Do not use macros from bp-asm.h.
14809         (__frexpf): Do not use BP_SYM.
14810         (frexpf): Likewise.
14811         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14812         "bp-asm.h".
14813         (PARMS): Do not use macros from bp-asm.h.
14814         (__frexpl): Do not use BP_SYM.
14815         (frexpl): Likewise.
14816         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14817         "bp-asm.h".
14818         (PARMS): Do not use macros from bp-asm.h.
14819         (__remquo): Do not use BP_SYM.
14820         (remquo): Likewise.
14821         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14822         "bp-asm.h".
14823         (PARMS): Do not use macros from bp-asm.h.
14824         (__remquof): Do not use BP_SYM.
14825         (remquof): Likewise.
14826         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14827         "bp-asm.h".
14828         (PARMS): Do not use macros from bp-asm.h.
14829         (__remquol): Do not use BP_SYM.
14830         (remquol): Likewise.
14831         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14832         "bp-asm.h".
14833         (PARMS): Do not use macros from bp-asm.h.
14834         (DEST): Likewise.
14835         (SRC): Likewise.
14836         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
14837         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14838         "bp-asm.h".
14839         (PARMS): Do not use macros from bp-asm.h.
14840         (strlen): Do not use BP_SYM.
14841         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14842         "bp-asm.h".
14843         (PARMS): Do not use macros from bp-asm.h.
14844         (S1): Likewise.
14845         (S2): Likewise.
14846         (SIZE): Likewise.
14847         (__mpn_add_n): Do not use BP_SYM.
14848         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14849         "bp-asm.h".
14850         (PARMS): Do not use macros from bp-asm.h.
14851         (S1): Likewise.
14852         (SIZE): Likewise.
14853         (__mpn_addmul_1): Do not use BP_SYM.
14854         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14855         weak_alias.
14856         (bzero): Likewise.
14857         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14858         "bp-asm.h".
14859         (PARMS): Do not use macros from bp-asm.h.
14860         (S): Likewise.
14861         (SIZE): Likewise.
14862         (__mpn_lshift): Do not use BP_SYM.
14863         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14864         "bp-asm.h".
14865         (PARMS): Do not use macros from bp-asm.h.
14866         (DEST): Likewise.
14867         (SRC): Likewise.
14868         (LEN): Likewise.
14869         (memcpy): Likewise.  Do not use BP_SYM.
14870         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14871         libc_hidden_def and weak_alias.
14872         (mempcpy): Do not use BP_SYM in weak_alias.
14873         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14874         "bp-asm.h".
14875         (PARMS): Do not use macros from bp-asm.h.
14876         (DEST): Likewise.
14877         (LEN): Likewise.
14878         [!BZERO_P] (CHR): Likewise.
14879         (memset): Likewise.  Do not use BP_SYM.
14880         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14881         "bp-asm.h".
14882         (PARMS): Do not use macros from bp-asm.h.
14883         (S1): Likewise.
14884         (SIZE): Likewise.
14885         (__mpn_mul_1): Do not use BP_SYM.
14886         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14887         "bp-asm.h".
14888         (PARMS): Do not use macros from bp-asm.h.
14889         (S): Likewise.
14890         (SIZE): Likewise.
14891         (__mpn_rshift): Do not use BP_SYM.
14892         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14893         "bp-asm.h".
14894         (PARMS): Do not use macros from bp-asm.h.
14895         (STR): Likewise.
14896         (CHR): Likewise.
14897         (strchr): Likewise.  Do not use BP_SYM.
14898         (index): Do not use BP_SYM in weak_alias.
14899         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14900         "bp-asm.h".
14901         (PARMS): Do not use macros from bp-asm.h.
14902         (DEST): Likewise.
14903         (SRC): Likewise.
14904         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
14905         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14906         "bp-asm.h".
14907         (PARMS): Do not use macros from bp-asm.h.
14908         (strlen): Do not use BP_SYM.
14909         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14910         "bp-asm.h".
14911         (PARMS): Do not use macros from bp-asm.h.
14912         (S1): Likewise.
14913         (S2): Likewise.
14914         (SIZE): Likewise.
14915         (__mpn_sub_n): Do not use BP_SYM.
14916         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14917         "bp-asm.h".
14918         (PARMS): Do not use macros from bp-asm.h.
14919         (S1): Likewise.
14920         (SIZE): Likewise.
14921         (__mpn_submul_1): Do not use BP_SYM.
14922         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14923         "bp-asm.h".
14924         (PARMS): Do not use macros from bp-asm.h.
14925         (S1): Likewise.
14926         (S2): Likewise.
14927         (SIZE): Likewise.
14928         (__mpn_add_n): Do not use BP_SYM.
14929         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14930         weak_alias.
14931         (bzero): Likewise.
14932         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14933         "bp-asm.h".
14934         (PARMS): Do not use macros from bp-asm.h.
14935         (BLK2): Likewise.
14936         (LEN): Likewise.
14937         (memcmp): Do not use BP_SYM.
14938         (bcmp): Do not use BP_SYM in weak_alias.
14939         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14940         "bp-asm.h".
14941         (PARMS): Do not use macros from bp-asm.h.
14942         (DEST): Likewise.
14943         (SRC): Likewise.
14944         (LEN): Likewise.
14945         (memcpy): Likewise.  Do not use BP_SYM.
14946         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14947         "bp-asm.h".
14948         (PARMS): Do not use macros from bp-asm.h.
14949         (DEST): Likewise.
14950         (SRC): Likewise.
14951         (LEN): Likewise.
14952         (memmove): Likewise.  Do not use BP_SYM.
14953         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14954         "bp-asm.h".
14955         (PARMS): Do not use macros from bp-asm.h.
14956         (DEST): Likewise.
14957         (SRC): Likewise.
14958         (LEN): Likewise.
14959         (__mempcpy): Likewise.  Do not use BP_SYM.
14960         (mempcpy): Do not use BP_SYM in weak_alias.
14961         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14962         "bp-asm.h".
14963         (PARMS): Do not use macros from bp-asm.h.
14964         (DEST): Likewise.
14965         (LEN): Likewise.
14966         [!BZERO_P] (CHR): Likewise.
14967         (memset): Likewise.  Do not use BP_SYM.
14968         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14969         "bp-asm.h".
14970         (PARMS): Do not use macros from bp-asm.h.
14971         (STR2): Likewise.
14972         (strcmp): Do not use BP_SYM.
14973         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14974         "bp-asm.h".
14975         (PARMS): Do not use macros from bp-asm.h.
14976         (STR): Likewise.
14977         (DELIM): Likewise.
14978         [USE_AS_STRTOK_R] (SAVE): Likewise.
14979         (FUNCTION): Likewise.  Do not use BP_SYM.
14980         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14981         aliases.
14982         (strtok_r): Likewise.
14983         (__GI___strtok_r): Likewise.
14984         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14985         (PARMS): Do not use macros from bp-asm.h.
14986         (S): Likewise.
14987         (SIZE): Likewise.
14988         (__mpn_lshift): Do not use BP_SYM.
14989         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14990         (PARMS): Do not use macros from bp-asm.h.
14991         (STR): Likewise.
14992         (CHR): Likewise.
14993         (__memchr): Do not use BP_SYM.
14994         (memchr): Do not use BP_SYM in weak_alias.
14995         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14996         (PARMS): Do not use macros from bp-asm.h.
14997         (BLK2): Likewise.
14998         (LEN): Likewise.
14999         (memcmp): Do not use BP_SYM.
15000         (bcmp): Do not use BP_SYM in weak_alias.
15001         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15002         (PARMS): Do not use macros from bp-asm.h.
15003         (S1): Likewise.
15004         (SIZE): Likewise.
15005         (__mpn_mul_1): Do not use BP_SYM.
15006         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
15007         "bp-asm.h".
15008         (PARMS): Do not use macros from bp-asm.h.
15009         (STR): Likewise.
15010         (CHR): Likewise.
15011         (__rawmemchr): Do not use BP_SYM.
15012         (rawmemchr): Do not use BP_SYM in weak_alias.
15013         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15014         (PARMS): Do not use macros from bp-asm.h.
15015         (S): Likewise.
15016         (SIZE): Likewise.
15017         (__mpn_rshift): Do not use BP_SYM.
15018         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15019         (PARMS): Do not use macros from bp-asm.h.
15020         (SIGMSK): Likewise.
15021         (__sigsetjmp): Likewise.  Do not use BP_SYM.
15022         * sysdeps/i386/start.S: Do not include "bp-sym.h".
15023         (_start): Do not use BP_SYM.
15024         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
15025         (PARMS): Do not use macros from bp-asm.h.
15026         (DEST): Likewise.
15027         (SRC): Likewise.
15028         (__stpcpy): Likewise.  Do not use BP_SYM.
15029         (stpcpy): Do not use BP_SYM in weak_alias.
15030         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
15031         "bp-asm.h".
15032         (PARMS): Do not use macros from bp-asm.h.
15033         (DEST): Likewise.
15034         (SRC): Likewise.
15035         (LEN): Likewise.
15036         (__stpncpy): Likewise.  Do not use BP_SYM.
15037         (stpncpy): Do not use BP_SYM in weak_alias.
15038         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15039         (PARMS): Do not use macros from bp-asm.h.
15040         (STR): Likewise.
15041         (CHR): Likewise.
15042         (strchr): Likewise.  Do not use BP_SYM.
15043         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
15044         "bp-asm.h".
15045         (PARMS): Do not use macros from bp-asm.h.
15046         (STR): Likewise.
15047         (CHR): Likewise.
15048         (__strchrnul): Likewise.  Do not use BP_SYM.
15049         (strchrnul): Do not use BP_SYM in weak_alias.
15050         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
15051         "bp-asm.h".
15052         (PARMS): Do not use macros from bp-asm.h.
15053         (STOP): Likewise.
15054         (strcspn): Do not use BP_SYM.
15055         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
15056         "bp-asm.h".
15057         (PARMS): Do not use macros from bp-asm.h.
15058         (STR): Likewise.
15059         (STOP): Likewise.
15060         (strpbrk): Likewise.  Do not use BP_SYM.
15061         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
15062         "bp-asm.h".
15063         (PARMS): Do not use macros from bp-asm.h.
15064         (STR): Likewise.
15065         (CHR): Likewise.
15066         (strrchr): Likewise.  Do not use BP_SYM.
15067         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
15068         (PARMS): Do not use macros from bp-asm.h.
15069         (SKIP): Likewise.
15070         (strspn): Do not use BP_SYM.
15071         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
15072         (PARMS): Do not use macros from bp-asm.h.
15073         (STR): Likewise.
15074         (DELIM): Likewise.
15075         (SAVE): Likewise.
15076         (FUNCTION): Likewise.  Do not use BP_SYM.
15077         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
15078         aliases.
15079         (strtok_r): Likewise.
15080         (__GI___strtok_r): Likewise.
15081         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15082         (PARMS): Do not use macros from bp-asm.h.
15083         (S1): Likewise.
15084         (S2): Likewise.
15085         (SIZE): Likewise.
15086         (__mpn_sub_n): Do not use BP_SYM.
15087         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
15088         "bp-asm.h".
15089         (PARMS): Do not use macros from bp-asm.h.
15090         (S1): Likewise.
15091         (SIZE): Likewise.
15092         (__mpn_submul_1): Do not use BP_SYM.
15093         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
15094         <bp-sym.h>.
15095         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
15096         and <bp-asm.h>.
15097         (PARMS): Do not use macros from bp-asm.h.
15098         (FLAGS): Likewise.
15099         (PTID): Likewise.
15100         (TLS): Likewise.
15101         (CTID): Likewise.
15102         (__clone): Do not use BP_SYM.
15103         (clone): Do not use BP_SYM in weak_alias.
15104         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
15105         and <bp-asm.h>.
15106         (PARMS): Do not use macros from bp-asm.h.
15107         (LEN): Likewise.
15108         (__mmap64): Do not use BP_SYM.
15109         (mmap64): Do not use BP_SYM in weak_alias.
15110         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15111         <bp-sym.h> and <bp-asm.h>.
15112         (PARMS): Do not use macros from bp-asm.h.
15113         (__posix_fadvise64_l64): Do not use BP_SYM.
15114         * sysdeps/unix/sysv/linux/i386/semtimedop.S
15115         (PARMS): Do not use macros from bp-asm.h.
15116         (NSOPS): Likewise.
15117         (semtimedop): Do not use BP_SYM.
15118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
15119         and <bp-asm.h>.
15121 2013-02-21  Allan McRae  <allan@archlinux.org>
15123         * manual/message.texi (Charset conversion in gettext):
15124         Move @end statement to beginning of line.
15126 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
15129         static.
15130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15131         Likewise.
15133         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
15134         (denorm): Likewise.
15135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
15136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
15138 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15140         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
15141         tail-call to the resolved function if pltexit isn't needed.
15143 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
15146         or Y being zero as being unlikely.
15147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15148         Likewise.
15150 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
15152         * manual/nss.texi (System Databases and Name Service Switch):
15153         Remove frobnicate @pxref.
15155 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15157         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15158         __attribute__ ((unused)) to __attribute__ ((__unused__)).
15160 2013-02-20  Petr Machata  <pmachata@redhat.com>
15162         * elf/elf.h (R_ARM_TARGET1): New macro.
15163         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
15164         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
15165         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
15166         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
15167         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
15168         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
15169         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
15170         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
15171         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
15172         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
15173         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
15174         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
15175         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
15176         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
15177         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
15178         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
15179         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
15180         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
15181         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
15182         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
15183         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
15184         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
15185         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
15186         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
15187         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
15188         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
15189         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
15190         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
15191         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
15192         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
15193         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
15194         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
15195         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
15196         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
15197         (R_ARM_THM_GOT_BREL12): Likewise.
15198         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
15199         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
15200         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
15201         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
15202         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
15203         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
15204         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
15205         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
15206         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
15208 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15210         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15211         __attribute_used__ to __attribute__ ((unused)).
15213 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15215         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
15216         powerpc mpa.c.
15217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
15218         comment formatting.
15219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
15221 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
15223         [BZ #13550]
15224         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
15225         Remove macro.
15226         (ENTER): Remove both macro definitions.
15227         (LEAVE): Likewise.
15228         (CHECK_BOUNDS_LOW): Likewise.
15229         (CHECK_BOUNDS_HIGH): Likewise.
15230         (CHECK_BOUNDS_BOTH): Likewise.
15231         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
15232         (RETURN_BOUNDED_POINTER): Likewise.
15233         (RETURN_NULL_BOUNDED_POINTER): Likewise.
15234         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
15235         (POP_ERRNO_LOCATION_RETURN): Likewise.
15236         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
15237         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15238         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
15239         macros.
15240         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15241         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
15242         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
15243         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
15244         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
15245         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
15246         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
15247         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
15248         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
15249         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
15250         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
15251         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
15252         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15253         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
15254         removed macros.
15255         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15256         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
15257         macros.
15258         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15259         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
15260         * sysdeps/i386/i586/memset.S (memset): Likewise.
15261         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
15262         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15263         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
15264         macros.
15265         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15266         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
15267         Change uses of L(2) to L(out).
15268         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
15269         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
15270         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
15271         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15272         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
15273         removed macros.
15274         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15275         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
15276         macros.
15277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15278         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
15279         (RETURN): Do not use macro LEAVE.
15280         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
15281         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
15282         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
15283         * sysdeps/i386/i686/memset.S (memset): Likewise.
15284         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
15285         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
15286         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15287         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
15288         Likewise.
15289         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15290         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
15291         L(1_2) and L(1_3) into L(1).
15292         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15293         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
15294         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15295         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
15296         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15297         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
15298         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
15299         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15300         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
15301         macros.
15302         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
15303         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15304         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
15305         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
15306         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
15307         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15308         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
15309         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
15310         * sysdeps/i386/strcspn.S (strcspn): Likewise.
15311         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
15312         * sysdeps/i386/strrchr.S (strrchr): Likewise.
15313         * sysdeps/i386/strspn.S (strspn): Likewise.
15314         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
15315         conditional code.
15316         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15317         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
15318         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15319         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
15320         L(1_3) into L(1_1).
15321         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
15322         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15323         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
15324         macros.
15325         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15327 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
15329         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
15330         macro.
15332 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15334         * math/atest-exp.c (exp_mpn): Remove ROUND.
15335         * math/atest-exp2.c (exp_mpn): Likewise.
15336         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
15338         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
15339         * stdlib/tst-tls-atexit-lib.c: Likewise.
15340         * stdlib/tst-tls-atexit.c: Likewise.
15342 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15344         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15345         and __attribute_alloc_size__.
15347 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15349         * include/programs/xmalloc.h: Change __attribute_alloc_size to
15350         __attribute_alloc_size__.
15351         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
15352         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
15354 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15356         * include/programs/xmalloc.h: New file.
15357         * catgets/gencat.c: Include it.
15358         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
15359         * elf/pldd.c: Likewise.
15360         * iconv/iconv_charmap.c: Likewise.
15361         * iconv/iconvconfig.c: Likewise.
15362         * iconv/strtab.c: Likewise.
15363         * locale/programs/locale.c: Likewise.
15364         * locale/programs/localedef.h: Likewise.
15365         * locale/programs/simple-hash.c: Likewise.
15366         * nscd/nscd.h: Likewise.
15367         * nss/makedb.c: Likewise.
15368         * sysdeps/generic/ldconfig.h: Likewise.
15370 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15372         * Versions.def: Add GLIBC_2.18.
15373         * include/link.h (struct link_map): New member l_tls_dtor_count.
15374         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15375         (__call_tls_dtors): Likewise.
15376         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15377         __cxa_thread_atexit_impl.
15378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15379         Likewise.
15380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15381         Likewise.
15382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15383         Likewise.
15384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15385         Likewise.
15386         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15388         Likewise.
15389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15390         Likewise.
15391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15393         Likewise.
15394         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15395         (tests): Add test case tst-tls-atexit.
15396         (modules-names): Add shared library for tst-tls-atexit.
15397         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
15398         (GLIBC_PRIVATE): Add __call_tls_dtors.
15399         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15400         for libstdc++.
15401         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15402         * stdlib/tst-tls-atexit.c: New test case.
15403         * stdlib/tst-tls-atexit-lib.c: New test case.
15405         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
15407         * elf/Versions (ld): Add _dl_find_dso_for_object.
15408         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15409         * elf/dl-open.c (_dl_find_dso_for_object): New function.
15410         (dl_open_worker): Use _dl_find_dso_for_object.
15411         * elf/dl-sym.c (do_sym): Likewise.
15412         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15414 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15416         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15417         Syntactic changes only.
15418         (_dl_runtime_profile): Do a tail-call to the resolved function.
15420 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
15422         [BZ #13550]
15423         * sysdeps/x86_64/bp-asm.h: Remove file.
15424         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15425         <bp-sym.h> and <bp-asm.h>.
15426         (__clone): Do not use BP_SYM.
15427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15428         <bp-sym.h> and <bp-asm.h>.
15429         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15430         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15431         "bp-asm.h".
15432         (_setjmp): Do not use BP_SYM.
15433         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15434         "bp-asm.h".
15435         (setjmp): Do not use BP_SYM.
15436         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15437         libc_hidden_def.
15438         (mempcpy): Do not use BP_SYM in weak_alias.
15439         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15440         "bp-asm.h".
15441         (strchr): Do not use BP_SYM.
15442         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15443         "bp-asm.h".
15444         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15445         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15446         (_start): Do not use BP_SYM.
15447         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15448         "bp-asm.h".
15449         (strcat): Do not use BP_SYM.
15450         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15451         "bp-asm.h".
15452         (STRCMP): Do not use BP_SYM.
15453         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15454         "bp-asm.h".
15455         (STRCPY): Do not use BP_SYM.
15456         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15457         "bp-asm.h".
15458         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15459         "bp-asm.h".
15460         (FUNCTION): Do not use BP_SYM.
15461         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15462         weak_alias.
15463         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15465 2013-02-17  Andreas Jaeger  <aj@suse.de>
15467         * time/Versions: Sort entries.
15468         * string/Versions: Likewise.
15469         * resolv/Versions: Likewise.
15470         * posix/Versions: Likewise.
15471         * iconv/Versions: Likewise.
15472         * elf/Versions: Likewise.
15473         * wcsmbs/Versions: Likewise.
15475 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15478         loop termination condition.
15480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15481         variable to calculate EZ.
15482         (__sqr): Likewise.
15484         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15485         the lower precision input.
15487 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
15489         [BZ #13550]
15490         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15491         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15492         (run-via-rtld-prefix): Do not handle %-bp tests.
15493         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15494         (all-object-suffixes): Remove .ob.
15495         (bppfx): Remove variable.
15496         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15497         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15498         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15499         [$(build-bounded) = yes] (libtype.ob): Likewise.
15500         * Makerules (elide-routines.ob): Remove variable.
15501         (do-tests-clean): Do not handle *-bp.out.
15502         (common-mostlyclean): Do not handle *-bp and *-bp.out.
15503         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15504         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15505         (tests): Do not include $(tests-bp.out).
15506         (xtests): Do not include $(xtests-bp.out).
15507         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15508         [$(build-bounded) = yes] ($(addprefix
15509         $(objpfx),$(binaries-bounded))): Remove rule.
15510         ($(objpfx)%-bp.out): Remove rule.
15511         * config.make.in (build-bounded): Remove variable.
15512         * crypt/Makefile [$(build-bounded) = yes]
15513         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15514         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15515         append to variable.
15516         [$(build-bounded) = yes] (install-lib): Likewise.
15517         [$(build-bounded) = yes] (generated): Likewise.
15518         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15519         Remove rule.
15520         * intl/Makefile [$(build-bounded) = yes]
15521         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15522         * math/Makefile [$(build-bounded) = yes]
15523         ($(tests:%=$(objpfx)%-bp): Likewise.
15524         * misc/Makefile [$(build-bounded) = yes]
15525         ($(objpfx)tst-tsearch-bp): Likewise.
15526         * nptl/Makeconfig (bounded-thread-library): Remove variable.
15527         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15528         Remove dependency.
15529         * string/Makefile (o-objects.ob): Remove variable.
15530         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15531         (CFLAGS-.ob): Remove variable.
15532         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15533         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15534         both definitions of variable.
15535         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15536         (ASFLAGS-.ob): Remove variable.
15538 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
15540         [BZ #13550]
15541         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15542         Remove __BOUNDED_POINTERS__ from condition.
15543         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15544         * string/bits/string2.h [!__NO_STRING_INLINES &&
15545         !__BOUNDED_POINTERS__]: Likewise.
15546         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15547         Likewise.
15548         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15549         Remove conditional code.
15550         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15551         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15552         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15553         condition.
15555         [BZ #13550]
15556         * csu/libc-start.c: Do not include <bp-sym.h>.
15557         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15558         * elf/dl-open.c: Do not include <bp-sym.h>.
15559         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15560         * math/fegetenv.c: Do not include <bp-sym.h>.
15561         (fegetenv): Do not use BP_SYM in versioned symbols.
15562         * nptl/sysdeps/pthread/bits/libc-lockP.h
15563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15564         <bp-sym.h>.
15565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15566         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15568         (__pthread_mutex_destroy): Likewise.
15569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15570         (__pthread_mutex_lock): Likewise.
15571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15572         (__pthread_mutex_trylock): Likewise.
15573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15574         (__pthread_mutex_unlock): Likewise.
15575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15576         (__pthread_mutexattr_init): Likewise.
15577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15578         (__pthread_mutexattr_destroy): Likewise.
15579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15580         (__pthread_mutexattr_settype): Likewise.
15581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15582         (__pthread_rwlock_init): Likewise.
15583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15584         (__pthread_rwlock_destroy): Likewise.
15585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15586         (__pthread_rwlock_rdlock): Likewise.
15587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15588         (__pthread_rwlock_tryrdlock): Likewise.
15589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15590         (__pthread_rwlock_wrlock): Likewise.
15591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15592         (__pthread_rwlock_trywrlock): Likewise.
15593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15594         (__pthread_rwlock_unlock): Likewise.
15595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15596         (__pthread_key_create): Likewise.
15597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15598         (__pthread_setspecific): Likewise.
15599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15600         (__pthread_getspecific): Likewise.
15601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15602         Likewise.
15603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15604         (_pthread_cleanup_push_defer): Likewise.
15605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15606         (_pthread_cleanup_pop_restore): Likewise.
15607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15608         (pthread_setcancelstate): Likewise.
15609         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15610         <bp-sym.h>.
15611         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15612         (memchr): Do not use BP_SYM in weak_alias.
15613         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15614         (fegetenv): Do not use BP_SYM in versioned symbols.
15615         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15616         (fesetenv): Do not use BP_SYM in versioned symbols.
15617         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15618         (feupdateenv): Do not use BP_SYM in versioned symbols.
15619         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15620         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15621         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15622         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15623         (open64): Do not use BP_SYM in weak_alias.
15624         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15625         (fegetenv): Do not use BP_SYM in versioned symbols.
15626         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15627         (fesetenv): Do not use BP_SYM in versioned symbols.
15628         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15629         (feupdateenv): Do not use BP_SYM in versioned symbols.
15630         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15631         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15632         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15633         (feraiseexcept): Do not use BP_SYM in versioned symbols.
15634         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15635         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15636         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15637         <bp-sym.h>.
15638         (__libc_start_main): Do not use BP_SYM.
15640 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15643         redundant return line.
15644         (norm): Likewise.
15645         (denorm): Likewise.
15646         (dbl_mp): Likewise.
15647         (sub_magnitudes): Likewise.
15648         (__add): Likewise.
15649         (__sub): Likewise.
15650         (__mul): Likewise.
15651         (__inv): Likewise.
15652         (__dvd): Likewise.
15653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15654         (norm): Likewise.
15655         (denorm): Likewise.
15656         (dbl_mp): Likewise.
15657         (sub_magnitudes): Likewise.
15658         (__add): Likewise.
15659         (__sub): Likewise.
15660         (__mul): Likewise.
15661         (__inv): Likewise.
15662         (__dvd): Likewise.
15664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15665         instead of __mul.
15666         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15667         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15668         (cc32): Likewise.
15670         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15671         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15673         of __mul for squares.
15674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15675         function
15676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15677         Likewise.
15678         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15679         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15681 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
15683         [BZ #13550]
15684         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15685         code.
15686         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15687         prototype or function definition.  Rename ubp_* variables and
15688         parameters.  Remove argv definitions conditional on
15689         [__BOUNDED_POINTERS__].
15690         * debug/backtrace.c (__backtrace): Do not use __unbounded.
15691         * elf/dl-runtime.c (_dl_fixup): Likewise.
15692         * include/set-hooks.h (RUN_HOOK): Likewise.
15693         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15694         definition.
15695         * string/strcpy.c (strcpy): Do not use __unbounded.
15696         * sysdeps/generic/frame.h (struct layout): Likewise.
15697         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15698         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15699         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15700         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15701         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15702         (__backtrace): Likewise.
15703         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15704         use __ptrvalue.
15705         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15706         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15707         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15708         Likewise.
15709         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15710         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15711         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15712         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15713         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15714         Do not use __unbounded.
15715         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15716         Rename __unboundedrlimits parameter to rlimits in prototype.
15717         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15718         Do not use __unbounded.
15719         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15720         not use __ptrvalue.
15721         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15722         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15724         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15725         __ptrvalue or __unbounded.
15726         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15727         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15728         use __unbounded.
15729         (__new_msgctl): Do not use __ptrvalue.
15730         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15731         __unbounded.
15732         (__libc_msgrcv): Do not use __ptrvalue.
15733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15734         startup_info): Do not use __unbounded.
15735         (__libc_start_main): Likewise.  Rename ubp_* variables and
15736         parameters.  Remove argv definitions conditional on
15737         [__BOUNDED_POINTERS__].
15738         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15739         __ptrvalue.
15740         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15741         use __unbounded.
15742         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15743         or __ptrvalue.
15744         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15745         use __unbounded.
15746         (__new_shmctl): Do not use __ptrvalue.
15747         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15748         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15749         Likewise.
15750         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15751         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15752         (__libc_sigaction): Likewise.
15753         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15754         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15755         Likewise.
15756         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15758 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
15760         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15762         * string/mempcpy.c: Implement by calling memcpy.
15764 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15769         evaluation.
15771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15772         values in the mantissa.
15774         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15775         minimize writes to Z.
15776         (sub_magnitudes): Simplify code a bit.
15778 2013-02-12  Roland McGrath  <roland@hack.frob.com>
15780         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15781         from the message.  The linker prefixes all warnings with that already.
15783 2013-02-12  Andreas Schwab  <schwab@suse.de>
15785         [BZ #15078]
15786         * posix/regexec.c (extend_buffers): Add parameter min_len.
15787         (check_matching): Pass minimum needed length.
15788         (clean_state_log_if_needed): Likewise.
15789         (get_subexp): Likewise.
15790         * posix/Makefile (tests): Add bug-regex34.
15791         (bug-regex34-ENV): Define.
15792         * posix/bug-regex34.c: New file.
15794         [BZ #11561]
15795         * posix/regcomp.c (parse_bracket_exp): When looking up collating
15796         elements compare against the byte sequence of it, not its name.
15797         * posix/Makefile (tests): Add bug-regex35.
15798         (bug-regex35-ENV): Define.
15799         * posix/bug-regex35.c: New file.
15801 2013-02-11  Tom de Vries  <tom@codesourcery.com>
15803         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
15804         comment.
15805         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15806         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15807         (CHECK_EOL): Add undef.
15809 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
15811         * bits/stdlib-bsearch.h: New file.
15812         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15813         * stdlib/stdlib.h: Likewise.
15815 2013-02-11  Roland McGrath  <roland@hack.frob.com>
15817         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15818         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15819         declaration.
15820         * manual/search.texi (Array Search Function): Add missing const in
15821         lfind prototype.
15822         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15823         declaration to use rlim_t.
15824         (Basic Scheduling Functions): Remove erroneous const from
15825         sched_getparam prototype.  Remove erroneous * from
15826         sched_get_priority_max and sched_get_priority_min prototypes.
15827         (Resource Usage): Fix summary @comment on vtimes to refer to
15828         sys/vtimes.h rather than vtimes.h.
15829         Add missing *s in vtimes prototype.
15830         (Limits on Resources): Fix ulimit prototype to return long int.
15831         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15832         prototypes to use long int rather than double.
15833         (BSD Random): Fix initstate and setstate to use char *, not void *.
15834         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15835         prototype to make second argument 'struct aiocb64 *const[]'.
15836         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15837         (Status of AIO Operations): Remove erroneous const in aio_return and
15838         aio_return64 prototypes.
15839         (Synchronizing I/O): Fix sync prototype to return void.
15840         * manual/startup.texi (Suboptions): Remove an erroneous const in
15841         getsubopt prototype.
15842         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15843         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15844         use size_t rather than int.
15845         (Scanning All Users): Likewise for getpwent_r.
15846         (Setting Groups): Add missing const to setgroups prototype.
15847         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15848         * manual/socket.texi (Host Names): Fix gethostbyaddr and
15849         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15850         'const void *' rather than 'const char *'.
15851         (Host Address Functions): Likewise for inet_ntop.
15852         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15853         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15854         ssize_t for return value.
15855         (Sending Data): Likewise for send, sendto, sendmsg.
15856         (Socket Option Functions): Add a missing const in setsockopt prototype.
15857         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15858         use wchar_t for the argument.
15859         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15860         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15861         take no arguments.
15862         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15863         double/float/long double for second argument.
15864         Fix return types of significand, significandf, significandl.
15865         * manual/filesys.texi (Setting Permissions): Use mode_t for second
15866         argument in fchmod prototype.
15867         (File Owner): Use uid_t and gid_t in fchown prototype.
15868         (File Times): Add const to utimes, futimes, and lutimes prototypes.
15869         (Making Special Files): Use mode_t and dev_t in mknod prototype.
15870         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15871         use 'const struct dirent **' as argument types to CMP function pointer
15872         argument.
15873         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15874         (File Times): Fix summary magic @comment for struct utimbuf and utime
15875         to refer to utime.h, not time.h.
15876         * manual/string.texi (Argz Functions): Add missing const in
15877         argz_extract and argz_next prototypes.
15878         (Finding Tokens in a String): Likewise for basename.
15879         (String/Array Comparison): Fix typo in wcscasecmp prototype.
15880         (Copying and Concatenation): Fix typo in wmemmove prototype.
15881         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15882         (Signal Stack): Remove erroneous const in sigstack prototype.
15883         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15884         prototype.
15885         (Simple Calendar Time): Likewise for stime.
15886         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15887         prototype.
15888         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15889         say sys/sysctl.h instead.
15890         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15891         and vsyslog prototypes.
15893 2013-02-11  Tom de Vries  <tom@codesourcery.com>
15895         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15896         Remove.
15898 2013-02-11  Roland McGrath  <roland@hack.frob.com>
15900         * misc/sys/mman.h: Fix typo in mremap comment.
15902 2013-02-08  Roland McGrath  <roland@hack.frob.com>
15904         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15905         the '\0' terminator.
15907 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
15909         [BZ #13550]
15910         * debug/segfault.c: Don't include <bp-checks.h>.
15911         * sysdeps/generic/bp-checks.h: Remove file.
15912         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15913         (__GETDENTS): Don't use CHECK_N.
15914         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15915         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15916         (__getgroups): Don't use CHECK_N.
15917         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15918         (setgroups): Don't use CHECK_N.
15919         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15920         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15921         (__libc_msgrcv): Don't use CHECK_N.
15922         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15923         (__libc_msgsnd): Don't use CHECK_N.
15924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15925         <bp-checks.h>.
15926         (__libc_pread): Don't use CHECK_N.
15927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15928         include <bp-checks.h>.
15929         (__libc_pread64): Don't use CHECK_N.
15930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15931         include <bp-checks.h>.
15932         (__libc_pwrite): Don't use CHECK_N.
15933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15934         include <bp-checks.h>.
15935         (__libc_pwrite64): Don't use CHECK_N.
15936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15937         <bp-checks.h>.
15938         (__libc_pread): Don't use CHECK_N.
15939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15940         include <bp-checks.h>.
15941         (__libc_pread64): Don't use CHECK_N.
15942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15943         include <bp-checks.h>.
15944         (__libc_pwrite): Don't use CHECK_N.
15945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15946         include <bp-checks.h>.
15947         (__libc_pwrite64): Don't use CHECK_N.
15948         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15949         (do_pread): Don't use CHECK_N.
15950         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15951         (do_pread64): Don't use CHECK_N.
15952         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15953         (do_pwrite): Don't use CHECK_N.
15954         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15955         (do_pwrite64): Don't use CHECK_N.
15956         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15957         (__libc_readv): Don't use CHECK_N.
15958         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15959         (semop): Don't use CHECK_N.
15960         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15961         <bp-checks.h>.
15962         (semtimedop): Don't use CHECK_N.
15963         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15964         (__libc_pread): Don't use CHECK_N.
15965         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15966         <bp-checks.h>.
15967         (__libc_pread64): Don't use CHECK_N.
15968         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15969         <bp-checks.h>.
15970         (__libc_pwrite): Don't use CHECK_N.
15971         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15972         <bp-checks.h>.
15973         (__libc_pwrite64): Don't use CHECK_N.
15974         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15975         <bp-checks.h>.
15976         (__libc_msgrcv): Don't use CHECK_N.
15977         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15978         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
15979         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15980         (__libc_writev): Don't use CHECK_N.
15982 2013-02-08  Roland McGrath  <roland@hack.frob.com>
15984         * string/strcpy.c: Removed unused variable.
15986         * Makeconfig (+sysdep-includes): Define with := rather than =.
15987         Use an existing include/ subdir of each sysdeps dir before it.
15989 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15991         * nscd/connection.c (register_traced_file): Comment function.
15992         [HAVE_INOTIFY] (union __inev): Define.
15993         [HAVE_INOTIFY] (inotify_check_files): New function.
15994         [HAVE_INOTIFY] (clear_db_cache): Likewise.
15995         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15996         clear_db_cache.
15997         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15999 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16001         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16002         loaded if not already and that a failure is permanent.
16004 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16006         [BZ #15006]
16007         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
16008         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
16010 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16012         [BZ #13550]
16013         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16014         (CHECK_1_NULL_OK): Likewise.
16015         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
16016         (__fxstat): Do not use CHECK_1.
16017         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
16018         <bp-checks.h>.
16019         (___fxstat64): Do not use CHECK_1.
16020         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16021         <bp-checks.h>.
16022         (__fxstatat): Do not use CHECK_1.
16023         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16024         <bp-checks.h>.
16025         (__fxstatat64): Do not use CHECK_1.
16026         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
16027         <bp-checks.h>.
16028         (__fxstat): Do not use CHECK_1.
16029         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16030         <bp-checks.h>.
16031         (__fxstatat): Do not use CHECK_1.
16032         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16033         <bp-checks.h>.
16034         (__getresgid): Do not use CHECK_1.
16035         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16036         <bp-checks.h>.
16037         (__getresuid): Do not use CHECK_1.
16038         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
16039         <bp-checks.h>.
16040         (__lxstat): Do not use CHECK_1.
16041         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16042         <bp-checks.h>.
16043         (__old_msgctl): Do not use CHECK_1.
16044         (__new_msgctl): Likewise.
16045         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
16046         <bp-checks.h>.
16047         (__new_setrlimit): Do not use CHECK_1.
16048         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16049         <bp-checks.h>.
16050         (__old_shmctl): Do not use CHECK_1.
16051         (__new_shmctl): Likewise.
16052         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
16053         <bp-checks.h>.
16054         (__xstat): Do not use CHECK_1.
16055         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
16056         (__lxstat): Do not use CHECK_1.
16057         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
16058         <bp-checks.h>.
16059         (___lxstat64): Do not use CHECK_1.
16060         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
16061         (__old_msgctl): Do not use CHECK_1.
16062         (__new_msgctl): Likewise.
16063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
16064         <bp-checks.h>.
16065         (__gettimeofday): Do not use CHECK_1.
16066         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
16067         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
16068         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
16069         <bp-checks.h>.
16070         (__gettimeofday): Do not use CHECK_1.
16071         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
16072         (__old_shmctl): Do not use CHECK_1_NULL_OK.
16073         (__new_shmctl): Do not use CHECK_1.
16074         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
16075         <bp-checks.h>.
16076         (do_sigtimedwait): Do not use CHECK_1.
16077         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
16078         <bp-checks.h>.
16079         (do_sigwaitinfo): Do not use CHECK_1.
16080         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
16081         <bp-checks.h>.
16082         (msgctl): Do not use CHECK_1.
16083         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
16084         <bp-checks.h>.
16085         (shmctl): Do not use CHECK_1.
16086         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
16087         (ustat): Do not use CHECK_1.
16088         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
16089         <bp-checks.h>.
16090         (__fxstat): Do not use CHECK_1.
16091         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16092         <bp-checks.h>.
16093         (__fxstatat): Do not use CHECK_1.
16094         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
16095         <bp-checks.h>.
16096         (__lxstat): Do not use CHECK_1.
16097         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
16098         <bp-checks.h>.
16099         (__xstat): Do not use CHECK_1.
16100         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
16101         (__xstat): Do not use CHECK_1.
16102         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
16103         (___xstat64): Do not use CHECK_1.
16105         [BZ #13550]
16106         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
16107         definitions.
16108         (CHECK_BOUNDS_HIGH): Likewise.
16109         * string/strcpy.c: Do not include <bp-checks.h>.
16110         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
16112 2013-02-07  Roland McGrath  <roland@hack.frob.com>
16114         * nscd/nscd-client.h (__nscd_drop_map_ref):
16115         Add __attribute__ ((unused)).
16116         * nis/nss-nisplus.h (niserr2nss): Likewise.
16118         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
16119         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
16121         * csu/libc-tls.c (init_static_tls, init_slotinfo):
16122         Remove inline keyword.
16123         * include/rounding-mode.h (round_away): Likewise.
16124         * libio/wfileops.c (adjust_wide_data): Likewise.
16125         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
16126         (__m128i_strloadu_tolower): Likewise.
16127         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
16128         (__m128i_strloadu_tolower): Likewise.
16129         * time/mktime.c (ydhms_diff): Likewise.
16130         * locale/elem-hash.h (elem_hash): Likewise.
16131         * locale/setlocale.c (setdata): Likewise.
16132         * posix/regex_internal.h (re_string_char_size_at): Likewise.
16133         (re_string_wchar_at): Likewise.
16134         (bitset_not, bitset_merge, bitset_mask): Likewise.
16135         [!(__GNUC__ > 3)] (inline): Remove macro.
16136         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
16137         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
16138         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16139         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
16140         * string/memcmp.c (memcmp_bytes): Likewise.
16141         * locale/programs/locarchive.c (compute_hashval): Likewise.
16142         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
16143         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16144         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
16145         * nss/getent.c (print_rpc, print_protocols): Likewise.
16146         (print_passwd, print_group, print_aliases): Likewise.
16147         * nis/nss-nisplus.h (niserr2nss): Likewise.
16148         * nscd/connections.c (restart_p): Likewise.
16149         Change return type to bool.
16151 2013-02-05  Roland McGrath  <roland@hack.frob.com>
16153         * Makeconfig (all-Depend-files): Add existing
16154         $(sorted-subdirs:=/Depend) files.
16155         (all-subdirs): Remove nss.
16156         * sysdeps/unix/inet/Subdirs: Add it here instead.
16157         * hesiod/Depend: New file.
16159         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
16160         instead of calling alloca.
16162         * io/lseek.c (__lseek): Rename to __libc_lseek.
16163         Define __lseek as an alias.
16165         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
16167 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
16169         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
16170         else clause and remove check for non-standard endianness.
16172 2013-02-04  David S. Miller  <davem@davemloft.net>
16174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16176 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
16178         [BZ #13550]
16179         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
16180         (__ubp_memchr): Remove prototype.
16181         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
16182         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16183         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
16184         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16185         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
16186         Remove alias.
16187         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
16188         (__ubp_memchr): Likewise.
16189         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
16190         (__ubp_memchr): Likewise.
16191         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
16192         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
16193         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
16194         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
16195         CHECK_STRING.
16196         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16197         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
16198         (__getcwd): Do not use CHECK_STRING.
16199         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16200         <bp-checks.h>.
16201         (__real_chown): Do not use CHECK_STRING.
16202         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
16203         <bp-checks.h>.
16204         (fchownat): Do not use CHECK_STRING.
16205         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
16206         CHECK_STRING.
16207         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16208         <bp-checks.h>.
16209         (__lchown): Do not use CHECK_STRING.
16210         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16211         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16212         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16213         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16215         include <bp-checks.h>.
16216         (truncate64): Do not use CHECK_STRING.
16217         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16218         <bp-checks.h>.
16219         (__real_chown): Do not use CHECK_STRING.
16220         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16221         <bp-checks.h>.
16222         (__lchown): Do not use CHECK_STRING.
16223         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16224         <bp-checks.h>.
16225         (__chown): Do not use CHECK_STRING.
16226         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
16227         <bp-checks.h>.
16228         (truncate64): Do not use CHECK_STRING.
16229         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
16230         Likewise.
16231         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
16232         (__xmknod): Do not use CHECK_STRING.
16233         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16234         <bp-checks.h>.
16235         (__xmknodat): Do not use CHECK_STRING.
16236         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16237         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16239 2013-02-04  Andreas Schwab  <schwab@suse.de>
16241         [BZ #14142]
16242         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
16243         * include/netdb.h: Likewise for h_errno.
16244         * elf/tst-stackguard1.c: Include <tls.h>.
16246 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16248         * elf/link.h (struct link_map): Extend the l_addr comment.
16249         * include/link.h (struct link_map): Likewise.
16251 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
16253         [BZ #13550]
16254         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
16255         (BOUNDED_1): Remove macro.
16256         * debug/backtrace.c: Don't include <bp-checks.h>.
16257         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
16258         (__backtrace): Likewise.
16259         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
16260         <bp-checks.h>.
16261         (__backtrace): Don't use BOUNDED_1.
16262         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
16263         <bp-checks.h>.
16264         (__backtrace): Don't use BOUNDED_1.
16265         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
16266         (__backtrace): Don't use BOUNDED_1.
16267         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
16268         (shmat): Don't use BOUNDED_N.
16270 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
16272         [BZ #13550]
16273         * sysdeps/generic/bp-start.h: Remove file.
16274         * csu/libc-start.c: Don't include <bp-start.h>.
16275         (LIBC_START_MAIN): Set up __environ directly instead of using
16276         INIT_ARGV_and_ENVIRON.
16277         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
16278         <bp-start.h>.
16280         [BZ #13550]
16281         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
16282         definitions.
16283         (CHECK_FCNTL): Likewise.
16284         (CHECK_N_PAGES): Likewise.
16286         [BZ #13550]
16287         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
16288         definitions.
16289         (CHECK_SIGSET_NULL_OK): Likewise.
16290         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
16291         <bp-checks.h>.
16292         (sigpending): Don't use CHECK_SIGSET.
16293         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
16294         <bp-checks.h>.
16295         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16296         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
16297         <bp-checks.h>.
16298         (do_sigsuspend): Don't use CHECK_SIGSET.
16299         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
16300         use CHECK_SIGSET.
16301         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
16302         (do_sigwait): Don't use CHECK_SIGSET.
16303         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
16304         use CHECK_SIGSET.
16305         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
16306         include <bp-checks.h>.
16307         (sigpending): Don't use CHECK_SIGSET.
16308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
16309         include <bp-checks.h>.
16310         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16311         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
16312         <bp-checks.h>.
16313         (sigpending): Don't use CHECK_SIGSET.
16314         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
16315         <bp-checks.h>.
16316         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16318         [BZ #13550]
16319         * sysdeps/generic/bp-semctl.h: Remove file.
16320         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
16321         <bp-checks.h> and <bp-semctl.h>.
16322         (__old_semctl): Don't use CHECK_SEMCTL.
16323         (__new_semctl): Likewise.
16324         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
16325         and <bp-semctl.h>.
16326         (__old_semctl): Don't use CHECK_SEMCTL.
16327         (__new_semctl): Likewise.
16328         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
16329         <bp-checks.h> and <bp-semctl.h>.
16330         (__old_semctl): Don't use CHECK_SEMCTL.
16331         (__new_semctl): Likewise.
16332         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
16333         <bp-checks.h> and <bp-semctl.h>.
16334         (semctl): Don't use CHECK_SEMCTL.
16336         [BZ #13550]
16337         * Makerules (elide-bp-thunks): Remove variable.
16338         (elide-routines.oS): Don't use $(elide-bp-thunks).
16339         (elide-routines.os): Likewise.
16340         (elide-routines.o): Likewise.
16341         (elide-routines.op): Likewise.
16342         (elide-routines.og): Likewise.
16343         (objects): Don't use $(bp-thunks).
16344         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
16345         include.
16346         (common-generated): Do not add s-proto-bp.d.
16347         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
16348         (int): Likewise.
16349         (typ): Likewise.
16350         Do not generate makefile rules for bounded-pointer thunks.
16351         * sysdeps/generic/bp-thunks.h: Remove file.
16352         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
16353         * sysdeps/unix/s-proto-bp.S: Likewise.
16355         [BZ #15062]
16356         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
16357         parts of result separately when argument is not close to line from
16358         -i to i and one part of argument is small.
16359         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16360         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16361         * math/libm-test.inc (cacos_test): Add more tests.
16362         (casin_test): Likewise.
16363         (casinh_test): Likewise.
16364         * sysdeps/i386/fpu/libm-test-ulps: Update.
16365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16367 2013-01-31  David S. Miller  <davem@davemloft.net>
16369         * po/de.po: Update from translation team.
16371 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
16373         * time/tzfile.c: Include stdint.h for SIZE_MAX.
16375 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
16377         * configure.in (_AC_PROG_CC_C89): New definition.
16378         * configure: Regenerate.
16380         * configure.in (AC_PROG_CPP): New definition.
16381         * configure: Regenerate.
16383 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16385         * debug/tst-backtrace.h: New file.
16386         * debug/tst-backtrace2.c: Include tst-backtrace.h.
16387         (ret): Remove variable.
16388         (x): Likewise.
16389         (FAIL): Remove macro.
16390         (NO_INLINE): Likewise.
16391         (fn1): Use match function instead of strstr.
16392         * debug/tst-backtrace3.c: Include tst-backtrace.h.
16393         (ret): Remove variable.
16394         (x): Likewise.
16395         (FAIL): Remove macro.
16396         (NO_INLINE): Likewise.
16397         (fn): Use match function instead of strstr.
16398         * debug/tst-backtrace4.c: Include tst-backtrace.h.
16399         (ret): Remove variable.
16400         (x): Likewise.
16401         (FAIL): Remove macro.
16402         (NO_INLINE): Likewise.
16403         (handle_signal): Use match function instead of strstr.
16404         * debug/tst-backtrace5.c: Include tst-backtrace.h.
16405         (ret): Remove variable.
16406         (x): Likewise.
16407         (FAIL): Remove macro.
16408         (NO_INLINE): Likewise.
16409         (handle_signal): Use match function instead of strstr.
16411 2013-01-23  Roland McGrath  <roland@hack.frob.com>
16413         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16415 2013-01-23  David S. Miller  <davem@davemloft.net>
16417         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16418         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16419         argument of CAS if possible.
16420         * sysdeps/sparc/sparc64/bits/atomic.h
16421         (__arch_compare_and_exchange_val_32_acq): Likewise.
16422         (__arch_compare_and_exchange_val_64_acq): Likewise.
16424 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
16426         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16427         * sysdeps/posix/ulimit.c: ... this.
16428         Include <limits.h>.
16429         * sysdeps/unix/bsd/ulimit.c: Remove file.
16431 2013-01-23  Adam Conrad  <adconrad@0c3.net>
16433         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16434         (LDFLAGS-tst-array5): Likewise.
16436 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16438         [BZ #15036]
16439         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16440         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16441         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16442         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16444 2013-01-21  David S. Miller  <davem@davemloft.net>
16446         * sysdeps/sparc/backtrace.c: New file.
16447         * sysdeps/sparc/sparc32/backtrace.h: New file.
16448         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16449         * sysdeps/sparc/sparc64/backtrace.h: New file.
16450         * sysdeps/sparc/sparc64/backtrace.c: Delete.
16451         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16452         -funwind-tables.
16454 2013-01-21  Andreas Schwab  <schwab@suse.de>
16456         [BZ #15020]
16457         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16458         closed its stdout.
16460 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
16462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16463         "mpa2.h".
16464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16466 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
16467             Mark Mitchell  <mark@codesourcery.com>
16468             Tom de Vries  <tom@codesourcery.com>
16469             Paul Pluzhnikov  <ppluzhnikov@google.com>
16471         * debug/tst-backtrace2.c: New file.
16472         * debug/tst-backtrace3.c: Likewise.
16473         * debug/tst-backtrace4.c: Likewise.
16474         * debug/tst-backtrace5.c: Likewise.
16475         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16476         (CFLAGS-tst-backtrace3.c): Likewise.
16477         (CFLAGS-tst-backtrace4.c): Likewise.
16478         (CFLAGS-tst-backtrace5.c): Likewise.
16479         (LDFLAGS-tst-backtrace2): Likewise.
16480         (LDFLAGS-tst-backtrace3): Likewise.
16481         (LDFLAGS-tst-backtrace4): Likewise.
16482         (LDFLAGS-tst-backtrace5): Likewise.
16483         (tests): Add new tests tst-backtrace2, tst-backtrace3,
16484         tst-backtrace4 and tst-backtrace5.
16486 2013-01-18  Anton Blanchard  <anton@samba.org>
16487             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16489         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16490         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16491         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16492         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16494         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16495         "+r" and remove output regs list as redundant.  Add explicit inline
16496         asm to specify register of return val to work around compiler codegen
16497         bug.  Remove (int) cast on return value.  Add return type parameter to
16498         use in macro so that this macro does not truncate return value for
16499         64-bit values.
16500         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16501         pass to INTERNAL_VSYSCALL_NCS.
16502         (INLINE_VSYSCALL): Add 'long int' as return type to
16503         INTERNAL_VSYSCALL_NCS macro invocation.
16504         (INTERNAL_VSYSCALL): Add 'long int' as return type to
16505         INTERNAL_VSYSCALL_NCS macro invocation.
16506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16508 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16510         [BZ #14496]
16511         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16512         Fix application of SIMD FP exception mask.
16514         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16515         mp_no from a power of two.
16516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16517         __mpexp_twomm1.  Use __pow_mp.
16519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16520         multiplication.
16522 2013-01-17  David S. Miller  <davem@davemloft.net>
16524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16526 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16528         [BZ #15023]
16529         * include/complex.h: Condition contents on [!_COMPLEX_H].
16530         (__kernel_casinhf): New prototype.
16531         (__kernel_casinh): Likewise.
16532         (__kernel_casinhl): Likewise.
16533         * math/Makefile (libm_calls): Add k_casinh.
16534         * math/k_casinh.c: New file.
16535         * math/k_casinhf.c: Likewise.
16536         * math/k_casinhl.c: Likewise.
16537         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16538         finite nonzero arguments.
16539         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16540         finite nonzero arguments.
16541         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16542         finite nonzero arguments.
16543         * math/s_casinh.c: Do not include <float.h>.
16544         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16545         * math/s_casinhf.c: Do not include <float.h>.
16546         (__casinhf): Move code for finite nonzero arguments to
16547         k_casinhf.c.
16548         * math/s_casinhl.c: Do not include <float.h>.
16549         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16550         redefine.
16551         (__casinhl): Move code for finite nonzero arguments to
16552         k_casinhl.c.
16553         * math/libm-test.inc (cacos_test): Add more tests.
16554         * sysdeps/i386/fpu/libm-test-ulps: Update.
16555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16557 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
16559         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16560         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16561         [!HAVE_MREMAP]: Remove [defined linux] case.
16562         * malloc/arena.c: Do not include <malloc-sysdep.h>.
16564 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16566         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16568 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
16570         * elf/elf.h (R_386_SIZE32): New relocation.
16571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16572         R_386_SIZE32.
16573         (elf_machine_rela): Likewise.
16574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16575         R_X86_64_SIZE64 and R_X86_64_SIZE32.
16577 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16579         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16580         (FP_FAST_FMA): Do not define.
16581         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16582         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16583         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16584         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16585         !_SOFT_FLOAT]: Likewise.
16586         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16587         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16588         value.
16589         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16590         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16591         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16592         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16593         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16594         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16595         file.
16597 2013-01-16  Andreas Schwab  <schwab@suse.de>
16599         [BZ #14327]
16600         * include/stdlib.h (__mktemp): Add declaration.
16601         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16602         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16604 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16606         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16607         definitions.
16608         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16609         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16610         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16611         definitions here.
16612         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16613         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16614         definitions.
16615         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16616         and ONE.
16617         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16618         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16619         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16620         definitions.
16621         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16622         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16623         definitions.
16624         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16626         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16628 2013-01-15  David S. Miller  <davem@davemloft.net>
16630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16631         trunc{,f} to libm-sysdep_routes.
16632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16634         file.
16635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16637         file.
16638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16639         file.
16640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16642         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16643         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16644         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16645         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16646         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16647         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16650         nearbyint{,f} to libm-sysdep_routes.
16651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16653         New file.
16654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16655         file.
16656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16657         New file.
16658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16659         file.
16660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16662         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16663         file.
16664         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16665         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16666         file.
16667         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16668         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16669         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16671         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16672         libc_feholdexcept and libc_fesetenv.
16674 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
16676         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16678 2013-01-14  David S. Miller  <davem@davemloft.net>
16680         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16681         (SPARC_ASM_VIS2_IFUNC): Likewise.
16682         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16684         use of 'siam' instruction.
16685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16686         Likewise.
16687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16688         Likewise.
16689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16690         Likewise.
16691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16696         file.
16697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16698         file.
16699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16700         file.
16701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16702         file.
16703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16708         new VIS2 routines.
16709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16712         Likewise.
16713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16718         routines to libm-sysdep_routines.
16719         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16722         fdim/fdimf to libm-sysdep_routines.
16723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16724         file.
16725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16727         file.
16728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16731         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16732         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16733         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16734         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16736 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16738         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16739         to optimize copies.
16741         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16746         local variable MPTWO.
16747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16748         Likewise.
16750 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16752         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16753         GLOB_NOESCAPE.
16755 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16757         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16759 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16761         * manual/pattern.texi (glob_t): Document gl_flags.
16762         (glob64_t): Likewise.
16764 2013-01-11  David S. Miller  <davem@davemloft.net>
16766         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16767         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16768         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
16769         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16770         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16771         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16772         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16773         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16774         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16775         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16776         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16777         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16778         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16780         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16781         sparc V9 rather than using V8 code.
16782         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16783         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16785         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16786         Move to...
16787         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16788         Here.
16790 2013-01-11  Roland McGrath  <roland@hack.frob.com>
16792         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16793         not in the main loop.
16794         * configure: Regenerated.
16796 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
16798         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16799         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16800         to just #else.
16801         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
16802         [!__GLIBC_HAVE_LONG_LONG] case.
16803         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16804         condition to just #else.
16805         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16806         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16807         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16808         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16809         unconditional.
16810         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16811         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16812         #elif condition to just #else.
16813         * sysdeps/unix/sysv/linux/sys/sysmacros.h
16814         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16815         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16816         #elif condition to just #else.
16818 2013-01-11  Steve Ellcey  <sellcey@mips.com>
16820         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16821         (EF_MIPS_ARCH_64): Fix value.
16822         (EF_MIPS_ARCH_32R2): New.
16823         (EF_MIPS_ARCH_64R2): New.
16825 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
16827         * Makeconfig (+link-pie-before-libc): New.
16828         (+link-pie-after-libc): Likewise.
16829         (+link-pie-tests): Likewise.
16830         (+link-pie): Rewritten.
16831         (link-before-libc): Remove $(config-LDFLAGS).
16832         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16833         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16834         (config-LDFLAGS): Renamed to ...
16835         (rtld-LDFLAGS): This.
16836         (rtld-tests-LDFLAGS): New macro.
16837         (link-libc-rpath-link): Likewise.
16838         (link-libc-tests-rpath-link): Likewise.
16839         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16840         (link-libc): Prepand $(link-libc-rpath-link).
16841         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16842         (test-program-prefix): New macro.
16843         (test-via-rtld-prefix): Likewise.
16844         (test-program-cmd): Likewise.
16845         (host-test-program-cmd): Likewise.
16846         * Makefile ($(common-objpfx)testrun.sh): Replace
16847         $(run-program-prefix) with $(test-program-prefix).
16848         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16849         $(rtld-LDFLAGS).
16850         ($(common-objpfx)shlib.lds): Likewise.
16851         (build-module-helper): Likewise.
16852         ($(common-objpfx)format.lds): Likewise.
16853         * Rules (binaries-pie-tests): New.
16854         (binaries-pie-notests): Likewise.
16855         (binaries-pie): Rewritten.
16856         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16857         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16858         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16859         (make-test-out): Replace $(host-built-program-cmd) with
16860         $(host-test-program-cmd).
16861         * config.make.in (build-hardcoded-path-in-tests): New variable.
16862         * configure.in (--enable-hardcoded-path-in-tests): New configure
16863         option.
16864         (hardcoded_path_in_tests): New AC_SUBST.
16865         * configure: Regenerated.
16866         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16867         $(built-program-cmd) with $(test-program-cmd).
16868         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16869         (test_program_cmd): This.
16870         * elf/Makefile ($(objpfx)order.out): Run test with
16871         $(test-program-prefix).
16872         ($(objpfx)order2.out): Likewise.
16873         ($(objpfx)tst-initorder.out): Likewise.
16874         ($(objpfx)tst-initorder2.out): Likewise.
16875         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16876         $(test-program-cmd).
16877         ($(objpfx)tst-array1-static.out): Likewise.
16878         ($(objpfx)tst-array2.out): Likewise.
16879         ($(objpfx)tst-array3.out): Likewise.
16880         ($(objpfx)tst-array4.out): Likewise.
16881         ($(objpfx)tst-array5.out): Likewise.
16882         ($(objpfx)tst-array5-static.out): Likewise.
16883         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16884         $(test-program-cmd).
16885         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16886         $(run-program-prefix) with $(test-program-prefix).
16887         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16888         (test_program_prefix): This.
16889         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16890         $(run-program-prefix) with $(test-program-prefix).
16891         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16892         (test_program_prefix): This.
16893         * iconvdata/tst-tables.sh: Likewise.
16894         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16895         $(run-program-prefix) with $(test-program-prefix).
16896         ($(objpfx)tst-translit.out): Likewise.
16897         ($(objpfx)tst-gettext2.out): Likewise.
16898         ($(objpfx)tst-gettext4.out): Likewise.
16899         ($(objpfx)tst-gettext6.out): Likewise.
16900         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16901         (test_program_prefix): This.
16902         * intl/tst-gettext2.sh: Likewise.
16903         * intl/tst-gettext4.sh  Likewise.
16904         * intl/tst-gettext6.sh: Likewise.
16905         * intl/tst-translit.sh: Likewise.
16906         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16907         with $(test-program-cmd).
16908         * libio/Makefile ($(objpfx)test-freopen.out): Replace
16909         $(run-program-prefix) with $(test-program-prefix).
16910         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16911         (test_program_prefix): This.
16912         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16913         $(run-program-prefix) with $(test-program-prefix).
16914         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16915         (test_program_prefix): This.
16916         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16917         * posix/Makefile ($(objpfx)globtest.out): Replace
16918         $(run-via-rtld-prefix) and $(test-wrapper) with
16919         $(test-program-prefix) and $(test-via-rtld-prefix).
16920         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16921         $(test-program-prefix).
16922         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16923         $(host-test-program-cmd).
16924         (tst-spawn-ARGS): Likewise.
16925         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16926         $(test-program-prefix).
16927         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16928         (test_via_rtld_prefix): This.
16929         (test_wrapper): Renamed to ...
16930         (test_program_prefix): This.
16931         (run_program_prefix): Replaced by test_program_prefix.
16932         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16933         (test_program_prefix): This.
16934         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16935         with $(host-test-program-cmd).
16936         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16937         $(run-program-prefix) with $(test-program-prefix).
16938         ($(objpfx)tst-printf.out): Likewise.
16939         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16940         $(test-program-cmd).
16941         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16942         (test_program_prefix): This.
16943         * stdio-common/tst-unbputc.sh: Likewise.
16944         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16945         $(run-program-prefix) with $(test-program-prefix).
16946         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16947         (test_program_prefix): This.
16948         * string/Makefile ($(objpfx)tst-svc.out):  Replace
16949         $(built-program-cmd) with $(test-program-cmd).
16951 2013-01-11  Andreas Jaeger  <aj@suse.de>
16953         [BZ #15003]
16954         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16955         value. Sync with Linux 3.7.
16957 2013-01-10  David S. Miller  <davem@davemloft.net>
16959         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16960         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16961         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16963 2013-01-10  Roland McGrath  <roland@hack.frob.com>
16965         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16966         never set.
16967         * configure: Regenerated.
16969 2013-01-10  David S. Miller  <davem@davemloft.net>
16971         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16972         sparc V9 rather than using V8 code.
16973         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16974         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16976 2013-01-10  Roland McGrath  <roland@hack.frob.com>
16978         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16979         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16980         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16981         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16982         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16983         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16984         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16985         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16986         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16987         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16988         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16989         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16990         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16991         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16992         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16993         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16994         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16995         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16996         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16997         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16998         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16999         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17000         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17001         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17002         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17003         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17004         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17006 2013-01-10  David S. Miller  <davem@davemloft.net>
17008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17010 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17012         * posix/Makefile (tests-static): New variable.
17013         (tests): Add $(tests-static).
17014         (tst-exec-static-ARGS): New variable.
17015         (tst-spawn-static-ARGS): Likewise.
17016         * posix/tst-exec-static.c: New file.
17017         * posix/tst-spawn-static.c: Likewise.
17018         * posix/tst-exec.c: Support run directly.
17019         * posix/tst-spawn.c: Likewise.
17021 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
17023         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
17024         long.
17025         * math/bits/mathcalls.h (llrint): Likewise.
17026         (llround): Likewise.
17027         * stdlib/stdlib.h (struct drand48_data): Likewise.
17028         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
17029         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
17030         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
17031         Likewise.
17032         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
17033         Likewise.
17034         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
17035         (elf_greg_t): Likewise.
17036         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
17037         (__jmp_buf): Likewise.
17038         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
17039         definitions.
17040         (llrint): Likewise, for all definitions.
17041         (llrintl): Likewise.
17043         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
17044         Remove [__GNUC__] condition.
17045         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
17046         condition to just [__USE_ISOC99].
17047         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
17049 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17051         [BZ #14200]
17052         * sysdeps/unix/sysv/linux/x86/bits/environments.h
17053         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
17054         defined.
17055         (_POSIX_V6_ILP32_OFF32): Likewise.
17056         (_XBS5_ILP32_OFF32): Likewise.
17057         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
17058         (__ILP32_OFFBIG_LDFLAGS): Likewise.
17060 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17062         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
17064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
17065         doubles __mpexp_twomm1.  Adjust usage.
17066         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
17067         Remove.
17069 2013-01-10  Andreas Schwab  <schwab@suse.de>
17071         [BZ #14964]
17072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
17073         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
17075 2013-01-09  David S. Miller  <davem@davemloft.net>
17077         [BZ #15003]
17078         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
17079         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
17080         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
17081         TCP_FASTOPEN): Define.
17082         (tcp_repair_opt): New structure.
17083         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
17084         enum values.
17085         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
17086         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
17087         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
17088         (tcp_cookie_transactions): New structure.
17090 2013-01-09  Anton Blanchard  <anton@samba.org>
17092         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
17093         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
17094         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
17095         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17097 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
17099         * include/features.h (__USE_ANSI): Remove.
17101 2013-01-09  Roland McGrath  <roland@hack.frob.com>
17103         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
17105         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
17107 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17109         * sysdeps/s390/fpu/libm-test-ulps: Update.
17111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17113         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
17114         (__acr): Likewise.
17115         (__cpy): Likewise.
17116         (norm): Likewise.
17117         (denorm): Likewise.
17118         (__mp_dbl): Likewise.
17119         (__dbl_mp): Likewise.
17120         (add_magnitudes): Likewise.
17121         (sub_magnitudes): Likewise.
17122         (__add): Likewise.
17123         (__sub): Likewise.
17124         (__mul): Likewise.
17125         (__inv): Likewise.
17126         (__dvd): Likewise.
17127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
17128         (__acr): Likewise.
17129         (__cpy): Likewise.
17130         (norm): Likewise.
17131         (denorm): Likewise.
17132         (__mp_dbl): Likewise.
17133         (__dbl_mp): Likewise.
17134         (add_magnitudes): Likewise.
17135         (sub_magnitudes): Likewise.
17136         (__add): Likewise.
17137         (__sub): Likewise.
17138         (__mul): Likewise.
17139         (__inv): Likewise.
17140         (__dvd): Likewise.
17141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
17142         (__acr): Likewise.
17143         (__cpy): Likewise.
17144         (norm): Likewise.
17145         (denorm): Likewise.
17146         (__mp_dbl): Likewise.
17147         (__dbl_mp): Likewise.
17148         (add_magnitudes): Likewise.
17149         (sub_magnitudes): Likewise.
17150         (__add): Likewise.
17151         (__sub): Likewise.
17152         (__mul): Likewise.
17153         (__inv): Likewise.
17154         (__dvd): Likewise.
17156 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
17158         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
17159         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
17160         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
17161         2 && __USE_EXTERN_INLINES]: Likewise.
17163 2013-01-08  Andreas Jaeger  <aj@suse.de>
17165         [BZ# 14985]
17166         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
17167         Remove.
17168         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17169         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17171 2013-01-07  Anton Blanchard  <anton@samba.org>
17173         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
17174         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17175         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
17176         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17177         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17178         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17179         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
17180         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17182         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17183         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17184         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17185         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17187         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17188         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17189         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17190         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17191         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17194         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
17195         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17196         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17197         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
17198         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17199         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17200         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17201         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
17202         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17203         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17205         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17206         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17207         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17208         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17210         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17211         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
17212         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17213         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
17214         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17215         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17217 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
17219         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
17220         (__MALLOC_PMT): Likewise.
17221         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
17222         [__GNUC__], only on [_LIBC].
17223         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17224         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
17225         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17226         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
17227         forward declaration.
17228         (realloc_hook_ini): Likewise.
17229         (memalign_hook_ini): Likewise.
17230         (__libc_memalign): Do not use __MALLOC_PMT in variable
17231         declaration.
17232         (__libc_valloc): Likewise.
17233         (__libc_pvalloc): Likewise.
17234         (__libc_calloc): Likewise.
17235         (__posix_memalign): Likewise.
17237         [BZ #14996]
17238         * math/s_casinh.c: Include <float.h>.
17239         (__casinh): Do not do computation with squaring and square root
17240         for large arguments.
17241         * math/s_casinhf.c: Include <float.h>.
17242         (__casinhf): Do not do computation with squaring and square root
17243         for large arguments.
17244         * math/s_casinhl.c: Include <float.h>.
17245         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
17246         (__casinhl): Do not do computation with squaring and square root
17247         for large arguments.
17248         * math/libm-test.inc (casin_test): Add more tests.
17249         (casinh_test): Likewise.
17250         * sysdeps/i386/fpu/libm-test-ulps: Update.
17251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17253 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
17255         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
17256         (__x86_64_raw_data_cache_size): Likewise.
17257         (__x86_64_data_cache_size_half): Likewise.
17258         (__x86_64_raw_data_cache_size_half): Likewise.
17259         (__x86_64_shared_cache_size): Likewise.
17260         (__x86_64_raw_shared_cache_size): Likewise.
17261         (__x86_64_shared_cache_size_half): Likewise.
17262         (__x86_64_raw_shared_cache_size_half): Likewise.
17263         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
17264         to ...
17265         (__x86_data_cache_size): This.
17266         (__x86_64_raw_data_cache_size): Renamed to ...
17267         (__x86_raw_data_cache_size): This.
17268         (__x86_64_data_cache_size_half): Renamed to ...
17269         (__x86_data_cache_size_half): This.
17270         (__x86_64_raw_data_cache_size_half): Renamed to ...
17271         (__x86_raw_data_cache_size_half): This.
17272         (__x86_64_shared_cache_size): Renamed to ...
17273         (__x86_shared_cache_size): This.
17274         (__x86_64_raw_shared_cache_size): Renamed to ...
17275         (__x86_raw_shared_cache_size): This.
17276         (__x86_64_shared_cache_size_half): Renamed to ...
17277         (__x86_shared_cache_size_half): This.
17278         (__x86_64_raw_shared_cache_size_half): Renamed to ...
17279         (__x86_raw_shared_cache_size_half): This.
17280         * sysdeps/x86_64/memcpy.S: Updated.
17281         * sysdeps/x86_64/memset.S: Likewise.
17282         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17283         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17284         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17286 2013-01-04  David S. Miller  <davem@davemloft.net>
17288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17290 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
17292         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
17293         1 to avoid redefinition warning.
17294         (__USE_GNU): Don't define.
17295         (init_signaling_nan): Protoize.
17297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17299 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17301         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
17302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
17303         (__cpymn): Likewise.
17304         (norm): Remove commented code.
17305         (denorm): Likewise.
17306         (__mp_dbl): Likewise.
17307         (__inv): Likewise.
17308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
17309         (__cpymn): Likewise.
17310         (norm): Remove commented code.
17311         (denorm): Likewise.
17312         (__mp_dbl): Likewise.
17313         (__inv): Likewise.
17315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
17316         mp_no value for 1.0 and 2.0.
17317         (norm): Use RADIXI instead of radixi.d.
17318         (denorm): Likewise.
17319         (__mul): Use 0.0 instead of zero.d.
17320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
17321         mp_no value for 1.0 and 2.0.
17322         (norm): Use RADIXI instead of radixi.d.
17323         (denorm): Likewise.
17324         (__mul): Use 0.0 instead of zero.d.
17326 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
17328         [BZ #14994]
17329         * math/s_casinh.c (__casinh): Reduce finite argument to first
17330         quadrant then set signs of results at the end.
17331         * math/s_casinhf.c (__casinhf): Likewise.
17332         * math/s_casinhl.c (__casinhl): Likewise.
17333         * math/libm-test.inc (casin_test): Add more tests.
17334         (casinh_test): Likewise.
17335         * sysdeps/i386/fpu/libm-test-ulps: Update.
17336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17338 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17340         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
17342         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
17344         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
17345         declarations.
17346         (denorm): Likewise.
17347         (__mp_dbl): Likewise.
17348         (__inv): Likewise.
17350         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
17351         and adjust the header comment.
17353         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
17354         variable name from declaration.
17356 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
17358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17359         Initialize COMMON_CPUID_INDEX_7 element.
17360         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
17361         (CPUID_RTM): Likewise.
17362         (HAS_RTM): Likewise.
17363         (COMMON_CPUID_INDEX_7): New enum.
17365 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
17367         [BZ #14981]
17368         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17369         size is zero, record memory as freed.
17371 2013-01-03  Andreas Jaeger  <aj@suse.de>
17373         * po/ia.po: Add new Interlingua translation.
17375 2012-01-03  Allan McRae  <allan@archlinux.org>
17377         * locale/programs/localedef.c: Fix description of '--posix' flag.
17379 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
17381         * NEWS: Update dates in second copyright notice.
17382         * README: Update copyright dates in example.
17383         * manual/libc.texinfo: Update copyright dates.
17384         * scripts/test-installation.pl: Update copyright date in --version
17385         output.
17387         * hurd/ctty-input.c: Fix copyright notice formatting.
17388         * hurd/ctty-output.c: Likewise.
17389         * hurd/dtable.c: Likewise.
17390         * hurd/hurd-raise.c: Likewise.
17391         * hurd/hurdprio.c: Likewise.
17392         * hurd/msgportdemux.c: Likewise.
17393         * misc/sys/file.h: Likewise.
17394         * misc/sys/ioctl.h: Likewise.
17395         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17396         * sysdeps/mach/hurd/chdir.c: Likewise.
17397         * sysdeps/mach/hurd/fchdir.c: Likewise.
17398         * sysdeps/mach/hurd/rename.c: Likewise.
17399         * sysdeps/mach/hurd/rmdir.c: Likewise.
17400         * sysdeps/mach/hurd/seekdir.c: Likewise.
17401         * sysdeps/mach/hurd/setsid.c: Likewise.
17402         * sysdeps/posix/wait3.c: Likewise.
17404         * All files with FSF copyright notices: Update copyright dates
17405         using scripts/update-copyrights.
17406         * intl/plural.c: Regenerated.
17407         * locale/programs/charmap-kw.h: Likewise.
17408         * locale/programs/locfile-kw.h: Likewise.
17410 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17412         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17413         four values.
17415         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17416         calculation loop and add branch prediction.
17418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17419         check access beyond bounds of m1np.
17421         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17422         MPTWO.
17423         (__inv): Remove local variable MPTWO to use the global
17424         constant.
17425         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17426         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17427         variable MPTWO.
17428         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17429         MP3HALFS static const.
17431 2013-01-01  David S. Miller  <davem@davemloft.net>
17433         * po/ca.po: Update from translation team.
17435 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
17437         * scripts/update-copyrights: New file.
17438         * Makeconfig: Reformat copyright notice.
17439         * ctype/ctype.h: Likewise.
17440         * debug/swprintf_chk.c: Likewise.
17441         * elf/dl-cache.c: Likewise.
17442         * elf/dl-debug.c: Likewise.
17443         * elf/dl-object.c: Likewise.
17444         * grp/initgroups.c: Likewise.
17445         * hurd/Makefile: Likewise.
17446         * hurd/hurd/signal.h: Likewise.
17447         * hurd/hurdfault.c: Likewise.
17448         * hurd/hurdioctl.c: Likewise.
17449         * hurd/hurdlookup.c: Likewise.
17450         * hurd/intr-msg.c: Likewise.
17451         * iconv/gconv_open.c: Likewise.
17452         * libio/swprintf.c: Likewise.
17453         * locale/lc-ctype.c: Likewise.
17454         * locale/nl_langinfo.c: Likewise.
17455         * mach/Machrules: Likewise.
17456         * mach/Makefile: Likewise.
17457         * malloc/obstack.h: Likewise.
17458         * manual/Makefile: Likewise.
17459         * manual/tsort.awk: Likewise.
17460         * misc/bits/stab.def: Likewise.
17461         * nis/nis_print_group_entry.c: Likewise.
17462         * nis/nis_table.c: Likewise.
17463         * nis/nss_compat/compat-pwd.c: Likewise.
17464         * nis/nss_compat/compat-spwd.c: Likewise.
17465         * po/Makefile: Likewise.
17466         * posix/fnmatch.c: Likewise.
17467         * posix/regex.h: Likewise.
17468         * resolv/Makefile: Likewise.
17469         * resolv/nss_dns/dns-network.c: Likewise.
17470         * resolv/res_hconf.c: Likewise.
17471         * scripts/gen-sorted.awk: Likewise.
17472         * soft-fp/soft-fp.h: Likewise.
17473         * stdio-common/printf.h: Likewise.
17474         * stdlib/monetary.h: Likewise.
17475         * stdlib/random.c: Likewise.
17476         * stdlib/random_r.c: Likewise.
17477         * sysdeps/generic/Makefile: Likewise.
17478         * sysdeps/gnu/Makefile: Likewise.
17479         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17481         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17483         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17486         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17487         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17489         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17490         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17491         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17492         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17493         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17494         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17495         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17496         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17497         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17498         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17499         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17500         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17501         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17502         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17503         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17504         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17505         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17506         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17507         * sysdeps/mach/hurd/errnos.awk: Likewise.
17508         * sysdeps/mach/hurd/fork.c: Likewise.
17509         * sysdeps/mach/hurd/getcwd.c: Likewise.
17510         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17511         * sysdeps/mach/hurd/mmap.c: Likewise.
17512         * sysdeps/mach/hurd/utimes.c: Likewise.
17513         * sysdeps/mach/hurd/xmknod.c: Likewise.
17514         * sysdeps/posix/profil.c: Likewise.
17515         * sysdeps/posix/readdir_r.c: Likewise.
17516         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17517         * sysdeps/powerpc/bits/setjmp.h: Likewise.
17518         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17519         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17521         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17522         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17523         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17525         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17526         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17527         * sysdeps/pthread/lio_listio.c: Likewise.
17528         * sysdeps/sparc/dl-procinfo.h: Likewise.
17529         * sysdeps/unix/i386/sysdep.S: Likewise.
17530         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17531         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17532         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17533         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17535         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17536         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17537         * sysdeps/unix/sysv/linux/speed.c: Likewise.
17538         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17539         * sysdeps/wordsize-32/divdi3.c: Likewise.
17540         * time/sys/time.h: Likewise.
17541         * wcsmbs/Makefile: Likewise.
17543 2013-01-01  David S. Miller  <davem@davemloft.net>
17545         * po/fr.po: Update from translation team.
17547         * catgets/gencat.c: Update copyright year.
17548         * csu/version.c: Likewise.
17549         * debug/catchsegv.sh: Likewise.
17550         * debug/pcprofiledump.c: Likewise.
17551         * debug/xtrace.sh: Likewise.
17552         * elf/ldconfig.c: Likewise.
17553         * elf/ldd.bash.in: Likewise.
17554         * elf/pldd.c: Likewise.
17555         * elf/sotruss.ksh: Likewise.
17556         * elf/sprof.c: Likewise.
17557         * iconv/iconv_prog.c: Likewise.
17558         * iconv/iconvconfig.c: Likewise.
17559         * locale/programs/locale.c: Likewise.
17560         * locale/programs/localedef.c: Likewise.
17561         * login/programs/pt_chown.c: Likewise.
17562         * malloc/memusage.sh: Likewise.
17563         * malloc/memusagestat.c: Likewise.
17564         * malloc/mtrace.pl: Likewise.
17565         * nscd/nscd.c: Likewise.
17566         * nss/getent.c: Likewise.
17567         * nss/makedb.c: Likewise.
17568         * posix/getconf.c: Likewise.
17570 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17572         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17573         numbers.
17575 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
17577         * math/bits/mathcalls.h (modf): Use __nonnull.
17579 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17581         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17582         (split): Use macro CN instead of the bare value.
17583         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17584         could be used.
17585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17586         instead of the bare value.
17587         (power1): Likewise.
17589 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17592         __ATAN_TWOM.
17593         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17595         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17596         their values.
17597         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17598         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17599         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17600         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17602 2012-12-28  Andreas Jaeger  <aj@suse.de>
17604         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
17605         values are from Linux 3.7.
17607         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17608         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
17610 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17612         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17613         TRUE case.
17615         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17616         (norm): Likewise.
17617         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17618         variables with preprocessor constants.
17619         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17620         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17621         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17623 2012-12-27  Bruno Haible  <bruno@clisp.org>
17625         [BZ #14317]
17626         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17627         only if needed.
17629 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17631         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17632         and use variable directly.
17633         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17635         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17636         MPONE.
17637         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17639         variable MPONE.
17640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17642         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17643         include directive.  Remove local variable MPONE.
17644         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17645         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17646         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17648 2012-12-25  David S. Miller  <davem@davemloft.net>
17650         * version.h (RELEASE): Set to "development".
17651         (VERSION): Set to "2.17.90".
17652         * NEWS: Add 2.18 section.
17654 2012-12-21  David S. Miller  <davem@davemloft.net>
17656         * po/hr.po: Update from translation team.
17658 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17660         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17662 2012-12-19  Steve Ellcey  <sellcey@mips.com>
17664         * NEWS:  Mention new memcpy for MIPS.
17666 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17668         * manual/contrib.texi (Contributors): Spelling correction.
17670 2012-12-15  David S. Miller  <davem@davemloft.net>
17672         * po/ru.po: Update from translation team.
17674 2012-12-13  David S. Miller  <davem@davemloft.net>
17676         * NEWS: Mention IFUNC testsuite enhancements.
17678         * po/pl.po: Update from translation team.
17679         * po/bg.po: Likewise.
17681         * manual/contrib.texi (Contributors): Update entries for Hongjiu
17682         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
17684 2012-12-11  David S. Miller  <davem@davemloft.net>
17686         * po/sv.po: Update from translation team.
17688         * po/vi.po: Update from translation team.
17690         * po/cs.po: Update from translation team.
17692         * po/de.po: Update from translation team.
17693         * po/eo.po: Likewise.
17694         * po/nl.po: Likewise.
17696 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17698         [BZ #14246]
17699         * manual/argp.texi (Argp Helper Functions): Move node to follow
17700         Argp Parsing State.
17702         [BZ #14872]
17703         * manual/conf.texi (Limits on File System Capacity): Mention if
17704         terminating null is included in the max size.
17706 2012-12-10  Andreas Jaeger  <aj@suse.de>
17708         * po/cs.po: Update from translation team.
17710 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17712         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17713         void pointer and cast to uintptr_t.
17714         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17715         path.
17716         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17717         * sysdeps/s390/s390-64/memset.S: Likewise.
17719 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
17721         [BZ #14833]
17722         * menual/message.texi (Message Translation): Fix typos.
17723         (Helper programs for gettext): Likewise.
17725 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
17727         [BZ #14898]
17728         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17729         Change to -1.
17731 2012-12-07  David S. Miller  <davem@davemloft.net>
17733         * po/libc.pot: Update.
17735 2012-12-07  Richard Henderson  <rth@redhat.com>
17737         [BZ #10114]
17738         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17739         normal/normal case to before the switch.
17740         (_FP_DIV): Likewise.
17742 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
17743             Mike Frysinger  <vapier@gentoo.org>
17745         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17746         check for __NR_fadvise64_64.
17748 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
17750         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17751         0, not just to plain "0" as a statement.
17752         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17753         with cw.
17755 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
17757         * NEWS: Use sourceware.org in Bugzilla URL.
17759 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17762         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17764         * stdio-common/tst-put-error.c (do_test): Add newline to the
17765         padded test to ensure flush.
17767 2012-12-05  Jeff Law  <law@redhat.com>
17769         * sunrpc/etc.rpc (fedfs_admin): Add entry.
17771 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
17773         * README: Don't refer to ports add-on as distributed separately.
17774         Mention AArch64 in list of systems supported in the ports add-on.
17776         * LICENSES: Add more non-FSF copyright and license notices.
17778         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17779         ((unused)).
17781         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17783         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17784         10000 as width of padded output.
17786 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
17788         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17790         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17791         variable LX with __attribute__ ((unused)).
17792         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17793         Likewise.
17794         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17795         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17796         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17797         with __attribute__ ((unused)).
17799 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
17801         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17803 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
17805         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17806         (CFLAGS-nldbl-acos.c): New variable.
17807         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17808         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17809         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17810         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17811         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17812         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17813         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17814         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17815         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17816         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17817         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17818         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17819         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17820         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17821         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17822         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17823         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17824         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17825         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17826         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17827         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17828         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17829         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17830         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17831         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17832         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17833         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17834         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17835         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17836         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17837         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17838         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17839         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17840         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17841         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17842         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17843         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17844         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17845         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17846         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17847         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17848         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17849         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17850         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17851         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17852         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17853         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17854         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17855         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17856         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17857         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17858         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17859         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17860         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17861         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17862         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17863         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17864         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17865         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17866         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17867         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17868         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17869         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17870         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17871         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17872         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17873         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17874         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17875         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17876         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17877         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17878         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17879         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17880         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17881         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17882         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17883         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17884         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17885         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17886         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17887         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17888         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17889         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17890         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17891         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17892         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17893         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17894         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17895         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17896         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17897         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17898         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17899         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17900         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17901         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17902         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17903         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17906         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17908         [BZ #14914]
17909         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17910         whole low double instead of just low 47 bits when splitting values
17911         into two parts.
17913 2012-12-03  Allan McRae  <allan@archlinux.org>
17915         * manual/stdio.texi (Predefined Printf Handlers): Remove
17916         @hsep and @vsep usage.
17918 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
17920         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17921         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17923 2012-12-03  Jeff Law  <law@redhat.com>
17925         * time/sys/time.h (settimeofday): Do not mark TV argument
17926         as __nonnull.
17928 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
17930         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17931         when currently writing and seek to current position when not.
17932         * libio/Makefile (tests): Remove bug-fclose1.
17933         * libio/bug-fclose1.c: Delete.
17935 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
17937         * manual/arith.texi (feenableexcept): Fix typo.
17938         (fedisableexcept): Likewise.
17940 2012-11-30  Roland McGrath  <roland@hack.frob.com>
17942         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17943         second, differently-typed declaration, rather than a cast.
17945 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17947         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17948         * include/rpc/svc.h: ... here.
17950 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
17952         [BZ #13013]
17953         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17954         depending n and resplen2 to catch cases where answer
17955         equals answerp2.
17957 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
17959         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17960         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17962 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
17964         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17966 2012-11-29  Roland McGrath  <roland@hack.frob.com>
17968         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17970 2012-11-28  Jeff Law  <law@redhat.com>
17972         [BZ #13761]
17973         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17974         dataset_temporary.  Track alloca usage into alloca_used.
17975         If dataset is large allocate and release it via malloc/free.
17977 2012-06-04  Florian Weimer  <fweimer@redhat.com>
17979         [BZ #14197]
17980         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17982 2012-11-28  David S. Miller  <davem@davemloft.net>
17984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17986 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
17988         [BZ #14803]
17989         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17990         of pi/2 rounded to nearest to 64 bits.
17991         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17992         nearest to 64 bits.
17993         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17994         bits.
17996 2012-11-28  Jeff Law <law@redhat.com>
17997             Martin Osvald <mosvald@redhat.com>
17999         [BZ #14889]
18000         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18001         * sunrpc/svc.c: Include time.h.
18002         (__svc_accept_failed): New function.
18003         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18004         any reason other than EINTR, call __svc_accept_failed.
18005         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18006         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
18008 2012-11-28  Andreas Schwab  <schwab@suse.de>
18010         * scripts/abilist.awk: Also handle indirect functions in .opd
18011         section.
18013 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18015         [BZ #13881]
18016         * sysdeps/x86/fpu/powl_helper.c: New file.
18017         * sysdeps/x86/fpu/Makefile: Likewise.
18018         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
18019         (p3): New object.
18020         (__ieee754_powl): Use __powl_helper for finite arguments except
18021         integer exponents below 8.
18022         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
18023         (p3): New object.
18024         (__ieee754_powl): Use __powl_helper for finite arguments except
18025         integer exponents below 8.
18026         * math/libm-test.inc (pow_test): Add more tests and enable some
18027         previously disabled tests.
18028         * sysdeps/i386/fpu/libm-test-ulps: Update.
18029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18031 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18032             Carlos O'Donell  <carlos_odonell@mentor.com>
18034         * nss/makedb.c (is_prime): Assert that input is odd and greater
18035         than 4.  Note that fact in a comment too.
18036         (next_prime): Add 4 to input.
18038 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18040         [BZ #11741]
18041         * libio/Makefile (tests): Add test case tst-fwrite-error.
18042         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
18043         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18044         * libio/tst-fwrite-error.c: New test case.
18046 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
18048         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
18049         before casting to void *.
18050         * include/libc-internal.h (__pointer_type): New macro.
18051         (__integer_if_pointer_type_sub): Likewise.
18052         (__integer_if_pointer_type): Likewise.
18053         (cast_to_integer): Likewise.
18054         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
18055         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
18056         before casting to atomic64_t.
18057         (atomic_exchange_acq): Likewise.
18058         (__arch_exchange_and_add_body): Likewise.
18059         (__arch_add_body): Likewise.
18060         (atomic_add_negative): Likewise.
18061         (atomic_add_zero): Likewise.
18063 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
18065         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
18066         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
18067         (add_fdes): Likewise.
18068         (linear_search_fdes): Likewise.
18069         (binary_search_unencoded_fdes): Likewise.
18071 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
18073         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
18075 2012-11-24  Adam Conrad  <adconrad@0c3.net>
18077         * configure.in: Autodetect C++ header directories.
18078         * configure: Regenerated.
18080 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
18082         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
18084 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
18086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18088 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
18090         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
18091         LDBL_MANT_DIG == 106]: Disable some tests.
18092         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18093         Likewise.
18094         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18095         Likewise.
18097         [BZ #14871]
18098         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
18099         input for small inputs.  Return +/- pi/2 for large inputs.
18100         * math/libm-test.inc (atan_test): Add more tests.
18102         * sysdeps/generic/unwind-dw2-fde-glibc.c
18103         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
18104         __attribute__ ((unused)).
18106         [BZ #14645]
18107         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
18108         x * y if x and y are nonzero and z is zero.
18110         [BZ #14811]
18111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
18112         nonzero exponents with absolute value below 0x1p-117 to +/-
18113         0x1p-117.
18115         [BZ #14869]
18116         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
18117         up arguments below 2**-450, not just those below 2**-500.
18118         * math/libm-test.inc (hypot_test): Add another test.
18120         [BZ #14868]
18121         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18122         Return a+b for ratio over 2**120, not 2**60.
18123         * math/libm-test.inc (hypot_test): Add another test.
18125         * math/libm-test.inc (clog_test): Use
18126         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
18127         (clog10_test): Likewise.
18129         [BZ #6778]
18130         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
18132 2012-11-22  Andreas Schwab  <schwab@suse.de>
18134         * sysdeps/i386/fpu/libm-test-ulps: Update.
18136 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
18138         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
18139         printf output with newline.
18141 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
18143         [BZ #14865]
18144         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
18145         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
18146         -z nodlopen, -z initfirst and -z execstack support.
18147         * configure: Regenerated.
18149         * elf/elf.h (DF_1_NODIRECT): New macro.
18150         (DF_1_IGNMULDEF): Likewise.
18151         (DF_1_NOKSYMS): Likewise.
18152         (DF_1_NOHDR): Likewise.
18153         (DF_1_EDITED): Likewise.
18154         (DF_1_NORELOC): Likewise.
18155         (DF_1_SYMINTPOSE): Likewise.
18156         (DF_1_GLOBAUDIT): Likewise.
18157         (DF_1_SINGLETON): Likewise.
18158         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
18159         DT_1_SUPPORTED_MASK bits.
18160         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
18162 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
18164         * sysdeps/unix/make-syscalls.sh: Document prefixes.
18166 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
18168         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
18169         macro.
18171         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
18172         (sendmmsg): Move declarations...
18173         * socket/sys/socket.h: ... here.
18174         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
18175         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
18176         include it from...
18177         * socket/recvmmsg.c: ... this new file.
18178         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
18179         (sendmmsg): Rename to __sendmmsg, create weak alias and make
18180         definition of __sendmmsg hidden.
18181         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18182         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
18183         Move ENOSYS stub into and include it from...
18184         * socket/sendmmsg.c: ... this new file.
18185         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
18186         (sysdep_routines): Move recvmmsg and sendmmsg...
18187         * socket/Makefile (routines): ... here.
18188         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
18189         (GLIBC_PRIVATE): Add __sendmmsg.
18190         * include/sys/socket.h (__sendmmsg): Add declarations.
18191         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
18192         sendmmsg.
18194 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
18196         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
18197         variable I1 with __attribute__ ((unused)).
18198         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18200 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18202         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
18203         DUMMY variables with __attribute__ ((unused)).
18205         * bits/byteswap.h: Include <bits/types.h>.
18206         (__bswap_64): Use __uint64_t instead of unsigned long long int.
18208 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18210         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
18211         string_t.  Do not manually set errno.
18212         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
18213         length with __strnlen.  Make sure to both set errno and return it on
18214         failure.
18216 2012-11-19  David S. Miller  <davem@davemloft.net>
18218         With help from Joseph Myers.
18219         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
18220         very large arguments properly.
18221         * math/libm-test.inc (atan_test): New tests.
18222         (atan2_test): New tests.
18223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18226 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18228         [BZ #14856]
18229         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
18230         Define to 3.
18232         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
18233         [POSIX] (EADDRNOTAVAIL): Likewise.
18234         [POSIX] (EAFNOSUPPORT): Likewise.
18235         [POSIX] (EALREADY): Likewise.
18236         [POSIX] (ECONNABORTED): Likewise.
18237         [POSIX] (ECONNREFUSED): Likewise.
18238         [POSIX] (ECONNRESET): Likewise.
18239         [POSIX] (EDESTADDRREQ): Likewise.
18240         [POSIX] (EDQUOT): Likewise.
18241         [POSIX] (EHOSTUNREACH): Likewise.
18242         [POSIX] (EIDRM): Likewise.
18243         [POSIX] (EISCONN): Likewise.
18244         [POSIX] (ELOOP): Likewise.
18245         [POSIX] (EMULTIHOP): Likewise.
18246         [POSIX] (ENETDOWN): Likewise.
18247         [POSIX] (ENETUNREACH): Likewise.
18248         [POSIX] (ENOBUFS): Likewise.
18249         [POSIX] (ENODATA): Likewise.
18250         [POSIX] (ENOLINK): Likewise.
18251         [POSIX] (ENOMSG): Likewise.
18252         [POSIX] (ENOPROTOOPT): Likewise.
18253         [POSIX] (ENOSR): Likewise.
18254         [POSIX] (ENOSTR): Likewise.
18255         [POSIX] (ENOTCONN): Likewise.
18256         [POSIX] (ENOTSOCK): Likewise.
18257         [POSIX] (EOPNOTSUPP): Likewise.
18258         [POSIX] (EOVERFLOW): Likewise.
18259         [POSIX] (EPROTO): Likewise.
18260         [POSIX] (EPROTONOSUPPORT): Likewise.
18261         [POSIX] (EPROTOTYPE): Likewise.
18262         [POSIX] (ESTALE): Likewise.
18263         [POSIX] (ETIME): Likewise.
18264         [POSIX] (ETXTBSY): Likewise.
18265         [POSIX] (EWOULDBLOCK): Likewise.
18266         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
18267         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
18268         [POSIX] (SEEK_CUR): Likewise.
18269         [POSIX] (SEEK_END): Likewise.
18270         [POSIX || UNIX98] (mode_t): Do not require.
18271         [POSIX] (off_t): Likewise.
18272         [POSIX] (pid_t): Likewise.
18273         [POSIX] (sys/stat.h): Do not allow header.
18274         [POSIX] (unistd.h): Likewise.
18275         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
18276         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
18277         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
18278         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
18279         require.
18280         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
18281         sigevent): Specify elements.
18282         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
18283         entry.
18284         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
18285         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
18287         * conform/data/cpio.h-data [POSIX]: Disable whole file.
18288         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
18289         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
18290         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
18291         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
18292         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
18293         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
18294         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
18295         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
18296         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
18297         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
18298         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
18299         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
18300         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
18301         Likewise.
18302         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
18303         Likewise.
18304         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
18305         Likewise.
18306         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
18307         Likewise.
18308         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
18309         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
18310         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
18311         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
18312         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
18313         Specify lower bound on value.
18314         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
18315         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
18316         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
18317         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
18318         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
18319         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
18320         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
18321         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
18322         value.
18323         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
18324         as optional.
18325         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
18326         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
18327         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
18328         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
18329         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
18330         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
18331         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
18332         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
18333         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
18334         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
18335         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
18336         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
18337         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
18338         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
18339         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
18340         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
18341         entry.
18342         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
18343         optional.
18344         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
18345         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
18346         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
18347         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
18348         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
18349         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
18350         Likewise.
18351         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
18352         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
18353         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
18354         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
18355         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
18356         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
18357         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
18358         as optional.
18359         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
18360         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
18361         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
18362         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
18363         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
18364         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
18365         specify as optional.
18366         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
18367         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
18368         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18369         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18370         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18371         [XPG3] (NL_LANGMAX): Likewise.
18372         [POSIX || XPG3] (NL_MSGMAX): Likewise.
18373         [POSIX || XPG3] (NL_NMAX): Likewise.
18374         [POSIX || XPG3] (NL_SETMAX): Likewise.
18375         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18376         [XPG3] (NZERO): Likewise.
18377         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18378         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18379         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18380         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18381         (REG_ERANGE): Expect.
18382         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18383         optional-constant.
18384         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18385         Use (void) in prototype.
18386         [POSIX] (*_t): Allow.
18387         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18388         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18389         (WRDE_BADVAL): Expect.
18391         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18392         expect.
18393         [XPG3 || XPG4] (O_RSYNC): Likewise.
18394         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18395         Likewise.
18396         [XPG3 || XPG4] (pthread_sigmask): Likewise.
18397         [XPG3 || XPG4] (sigqueue): Likewise.
18398         [XPG3 || XPG4] (sigtimedwait): Likewise.
18399         [XPG3 || XPG4] (sigwaitinfo): Likewise.
18400         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18401         [XPG3 || XPG4] (vsnprintf): Likewise.
18402         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18403         Likewise.
18404         [XPG3 || XPG4] (blksize_t): Likewise.
18405         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18406         Likewise.
18407         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18408         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18409         [XPG3 || XPG4] (struct itimerspec): Likewise.
18410         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18411         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18412         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18413         [XPG3 || XPG4] (clockid_t): Likewise.
18414         [XPG3 || XPG4] (timer_t): Likewise.
18415         [XPG3 || XPG4] (clock_getres): Likewise.
18416         [XPG3 || XPG4] (clock_gettime): Likewise.
18417         [XPG3 || XPG4] (clock_settime): Likewise.
18418         [XPG3 || XPG4] (nanosleep): Likewise.
18419         [XPG3 || XPG4] (timer_create): Likewise.
18420         [XPG3 || XPG4] (timer_delete): Likewise.
18421         [XPG3 || XPG4] (timer_gettime): Likewise.
18422         [XPG3 || XPG4] (timer_getoverrun): Likewise.
18423         [XPG3 || XPG4] (timer_settime): Likewise.
18424         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18425         [XPG3 || XPG4] (getlogin_r): Likewise.
18426         [XPG3 || XPG4] (pread): Likewise.
18427         [XPG3 || XPG4] (pthread_atfork): Likewise.
18428         [XPG3 || XPG4] (pwrite): Likewise.
18430         [BZ #14835]
18431         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18432         <bits/siginfo.h>.
18434 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18436         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18437         finalizing MALLSTREAM.
18439         * sysdeps/mach/hurd/syncfs.c: New file.
18441 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18443         [BZ #14719]
18444         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18445         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18446         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18447         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18448         (_nss_dns_gethostbyname4_r): Likewise.
18449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18450         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18452 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
18454         [BZ #13763]
18455         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18457 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
18459         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18460         * elf/cache.c (print_entry): Print ",AArch64" for
18461         FLAG_AARCH64_LIB64
18463         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18464         * elf/cache.c (print_entry): Print ",hard-float" for
18465         FLAG_ARM_LIBHF.
18467 2012-11-18  David S. Miller  <davem@davemloft.net>
18469         With help from Joseph Myers.
18470         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18471         cutoff to 2**-13.
18472         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18473         cutoff to 2**-25.
18474         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18475         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18476         small.
18477         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18478         * math/libm-test.inc (y0_test): New tests.
18479         (y1_test): New tests.
18480         * sysdeps/i386/fpu/libm-test-ulps: Update.
18481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18484 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
18486         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18487         64-bit targets.
18488         * configure: Regenerated.
18490 2012-11-17  David S. Miller  <davem@davemloft.net>
18492         [BZ #14811]
18493         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18494         nonzero exponents with absolute value below 0x1p-128 to +/-
18495         0x1p-128.
18497 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
18499         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18501         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18503         * posix/getconf-speclist.c: New file.
18504         * posix/posix-envs.def: Likewise.
18505         * posix/confstr.c (START_ENV_GROUP): New macro.
18506         (END_ENV_GROUP): Likewise.
18507         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18508         (KNOWN_PRESENT_ENV_STRING): Likewise.
18509         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18510         (UNKNOWN_ENVIRONMENT): Likewise.
18511         (confstr): Include posix-envs.def instead of handling
18512         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18513         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18514         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18515         (END_ENV_GROUP): Likewise.
18516         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18517         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18518         (UNKNOWN_ENVIRONMENT): Likewise.
18519         (__sysconf): Include posix-envs.def instead of handling associated
18520         cases directly here.
18521         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18522         preprocessing getconf-speclist.c rather than running getconf or
18523         generating empty file.
18525 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
18527         * scripts/check-local-headers.sh: Ignore 'mach' headers.
18529 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
18531         [BZ #14672]
18532         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18534 2012-11-16  David S. Miller  <davem@davemloft.net>
18536         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18537         smaller than LDBL_EPSILON/2.0L, just return xm1.
18539 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
18541         * elf/tst-array1.c (init): Set constructor priority to 1000.
18542         (fini): Set destructor priority to 1000.
18543         * elf/tst-array2dep.c: Likewise.
18545 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18547         [BZ #11741]
18548         * libio/fileops.c (_IO_new_file_write): Correctly return error.
18549         (_IO_new_file_xsputn): Also return EOF if none of the input
18550         data was written when overflow failed.
18551         * libio/iopadn.c (_IO_padn): Likewise.
18552         * libio/iowpadn.c (_IO_wpadn): Likewise.
18553         * stdio-common/tst-put-error.c: Add copyright notice.
18554         (do_test): Add case for printing padded string.
18555         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18556         _IO_padn returned error.
18557         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18558         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18559         return EOF.
18561 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18563         * libio/libioP.h: Add comment note that the references to C++
18564         bits are now obsolete.
18566 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18568         * math/libm-test.inc (check_complex): Use asprintf.
18570 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
18572         * debug/pcprofiledump.c (print_version): Update copyright year.
18573         * malloc/memusagestat.c (print_version): Likewise.
18575 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18577         [BZ #14831]
18578         * elf/Makefile (tests): Add tst-audit8.
18579         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18580         ($(objpfx)tst-audit8.out): New target.
18581         (tst-audit8-ENV): New variable.
18582         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18583         audit if l_reloc_result is NULL.
18584         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18585         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18586         * elf/tst-audit8.c: New file.
18588 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18590         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18591         * misc/Makefile (CFLAGS-select.c): Define.
18592         * posix/Makefile (CFLAGS-pause.c): Define.
18594 2012-11-13  David S. Miller  <davem@davemloft.net>
18596         * crypt/Makefile: Move test targets after toplevel Rules
18597         inclusion.  Grab any necessary sysdep routines when linking.
18598         * crypt/md5.c (md5_process_block): Remove define, we will always
18599         name it __md5_process_block.
18600         (md5_finish_ctx): Update md5_process_block call.
18601         (md5_stream): Likewise.
18602         (md5_process_bytes): Likewise.
18603         (md5_process_block): Rename to __md5_process_block and move to ...
18604         * crypt/md5-block.c: ... here.
18605         * crypt/sha256.c (sha256_process_block): Move to ...
18606         * crypt/sha256-block.c: ... here.
18607         * crypt/sha512.c (sha512_process_block): Move to ...
18608         * crypt/sha512-block.c: ... here.
18609         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18610         path.
18611         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18612         * sysdeps/sparc/sparc64/multiarch/Makefile
18613         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18614         crypt subdir.
18615         (localedef-aux): Add md5 crypto assembler when in locale subdir.
18616         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18617         multiarch changes.
18618         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18619         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18620         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18621         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18622         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18623         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18624         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18625         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18626         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18627         file.
18628         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18629         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18630         file.
18631         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18633 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
18635         * timezone/tzselect.ksh: Update from tzcode git revision
18636         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18637         * timezone/zdump.c: Likewise.
18638         * timezone/zic.c: Likewise.
18639         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18640         in TZVERSION setting, not $(PKGVERSION).
18641         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
18642         REPORT_BUGS_TO settings.
18644         [BZ #14838]
18645         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18646         macro.
18648 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18650         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18651         detection to immediately after _FP_ROUND().
18652         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18653         bits are 0.
18655 2012-11-11  David S. Miller  <davem@davemloft.net>
18657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18658         inttypes.h
18659         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18660         __close rather than their public counterparts.
18662 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
18664         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18665         file.
18666         [UNIX98] (sem_timedwait): Do not expect.
18667         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18668         [XPG4 || UNIX98] (sockatmark): Do not expect.
18669         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18670         (clock_getcpuclockid): Do not expect.
18671         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18672         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18673         Do not expect.
18674         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18675         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18676         [UNIX98] (vwscanf): Likewise.
18677         [UNIX98] (vswscanf): Likewise.
18679 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
18681         * timezone/version.h: Remove file.
18682         * timezone/README: Do not refer to version.h.
18683         * timezone/Makefile ($(objpfx)zic.o): New dependency on
18684         $(objpfx)version.h.
18685         ($(objpfx)zdump.o): Likewise.
18686         ($(objpfx)version.h): New target.
18688         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18689         2012i.
18690         * timezone/README: Don't mention modification to tzselect.ksh.
18691         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18692         work on unmodified tzselect.ksh.  Substitute version numbers in
18693         tzselect.ksh.
18695         * Makefile (format-me): Remove.
18696         (INSTALL): Adjust indentation.  Use commands directly instead of
18697         using $(format-me).
18699         * aclocal.m4 (ACX_PKGVERSION): New macro.
18700         (ACX_BUGURL): Likewise.
18701         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18702         (PKGVERSION): New AC_DEFINE_UNQUOTED.
18703         (REPORT_BUGS_TO): Likewise.
18704         * configure: Regenerated.
18705         * config.h.in (PKGVERSION): New macro.
18706         (REPORT_BUGS_TO): Likewise.
18707         * config.make.in (PKGVERSION): New variable.
18708         (PKGVERSION_TEXI): Likewise.
18709         (REPORT_BUGS_TO): Likewise.
18710         (REPORT_BUGS_TEXI): Likewise.
18711         * Makefile (format-me): Use -I$(common-objpfx)manual.
18712         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18713         ($(common-objpfx)manual/%): New target.
18714         (manual/%): Remove target.
18715         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18716         (print_version): Use PKGVERSION.
18717         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18718         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18719         and REPORT_BUGS_TO.
18720         ($(objpfx)xtrace): Likewise.
18721         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18722         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18723         (print_version): Use PKGVERSION.
18724         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18725         (do_version): Use PKGVERSION.
18726         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18727         REPORT_BUGS_TO.
18728         (common-ldd-rewrite): Likewise.
18729         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18730         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18731         (print_version): Use PKGVERSION.
18732         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18733         * elf/pldd.c (argp_program_bug_address): Remove variable.
18734         (more_help): New function.
18735         (argp): Use more_help.
18736         (print_version): Use PKGVERSION.
18737         * elf/sln.c (main): Use PKGVERSION.
18738         (usage): Use REPORT_BUGS_TO.
18739         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18740         (top level): Use PKGVERSION.
18741         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18742         (print_version): Use PKGVERSION.
18743         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18744         (print_version): Use PKGVERSION.
18745         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18746         (print_version): Use PKGVERSION.
18747         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18748         (print_version): Use PKGVERSION.
18749         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18750         (print_version): Use PKGVERSION.
18751         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18752         (print_version): Use PKGVERSION.
18753         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18754         and BUGURL.
18755         ($(objpfx)memusage): Likewise.
18756         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18757         (do_version): Use PKGVERSION.
18758         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18759         (print_version): Use PKGVERSION.
18760         * malloc/mtrace.pl ($PACKAGE): Remove variable.
18761         ($PKGVERSION): New variable.
18762         ($REPORT_BUGS_TO): Likewise.
18763         (usage): Use $REPORT_BUGS_TO.
18764         (top level): Use $PKGVERSION.
18765         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18766         ($(objpfx)pkgvers.texi): New rule.
18767         ($(objpfx)stamp-pkgvers): Likewise.
18768         * manual/install.texi: Include pkgvers.texi.
18769         (--with-pkgversion): Document new configure option.
18770         (--with-bugurl): Likewise.
18771         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18772         than necessarily for this particular distribution.  Use
18773         REPORT_BUGS_TO for where to report bugs.
18774         * INSTALL: Regenerated.
18775         * manual/libc.texinfo: Include pkgvers.texi.
18776         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18777         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18778         (print_version): Use PKGVERSION.
18779         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18780         (print_version): Use PKGVERSION.
18781         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18782         (print_version): Use PKGVERSION.
18783         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18784         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18785         macro.
18786         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18787         (print_version): Use PKGVERSION.
18788         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18789         (print_version): Use PKGVERSION.
18790         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18791         and PKGVERSION.
18793         * timezone/checktab.awk: Update from tzcode 2012i.
18794         * timezone/ialloc.c: Likewise.
18795         * timezone/private.h: Likewise.
18796         * timezone/scheck.c: Likewise.
18797         * timezone/tzfile.h: Likewise.
18798         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18799         (TZVERSION): Hardcode tzcode version number.
18800         * timezone/zdump.c: Update from tzcode 2012i.
18801         * timezone/zic.c: Likewise.
18802         * timezone/version.h: New file.
18803         * timezone/README: Describe version.h.  Update upstream location.
18805         [BZ #14824]
18806         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18807         (mktemp): Enable declaration.
18808         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18809         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18810         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18811         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18812         Likewise.
18813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18814         Likewise.
18815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18816         Likewise.
18817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18818         Likewise.
18819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18820         Likewise.
18821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18822         Likewise.
18824         [BZ #14821]
18825         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18826         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
18827         for copies of such integer values.
18828         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18829         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18831 2012-11-09  Andreas Jaeger  <aj@suse.de>
18833         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18834         definitions and declarations that are provided by
18835         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18837 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18839         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18840         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18841         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18842         definition.
18844 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18846         * elf/elf.h: Update comment before AArch64 relocations.
18848 2012-11-07  David S. Miller  <davem@davemloft.net>
18850         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18851         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18852         (__start_context): Declare.
18853         (__makecontext_ret): Delete.
18854         (__makecontext): Hook up __start_context instead of
18855         __makecontext_ret.
18856         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18857         (sysdep_routines): Add __start_context when in stdlib.
18859 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18861         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18862         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18863         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
18864         hardcoded "nm".
18865         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
18866         (READELF): New variable.  Use it instead of hardcoded "readelf".
18868 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18870         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18871         * sysdeps/x86/Makefile: Here.
18872         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18873         * sysdeps/x86/tst-xmmymm.sh: This.
18875 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18877         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18878         expectations.
18879         [UNIX98] (pthread_barrier_t): Do not expect.
18880         [UNIX98] (pthread_barrierattr_t): Likewise.
18881         [UNIX98] (pthread_spinlock_t): Likewise.
18882         [UNIX98] (pthread_barrier_destroy): Likewise.
18883         [UNIX98] (pthread_barrier_init): Likewise.
18884         [UNIX98] (pthread_barrier_wait): Likewise.
18885         [UNIX98] (pthread_barrierattr_destroy): Likewise.
18886         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18887         [UNIX98] (pthread_barrierattr_init): Likewise.
18888         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18889         [UNIX98] (pthread_getcpuclockid): Likewise.
18890         [UNIX98] (pthread_mutex_timedlock): Likewise.
18891         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18892         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18893         [UNIX98] (pthread_sigmask): Likewise.
18894         [UNIX98] (pthread_spin_destroy): Likewise.
18895         [UNIX98] (pthread_spin_init): Likewise.
18896         [UNIX98] (pthread_spin_lock): Likewise.
18897         [UNIX98] (pthread_spin_trylock): Likewise.
18898         [UNIX98] (pthread_spin_unlock): Likewise.
18899         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18900         Do not expect.
18901         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18902         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18903         [XPG3 || XPG4] (pthread_cond_t): Likewise.
18904         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18905         [XPG3 || XPG4] (pthread_key_t): Likewise.
18906         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18907         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18908         [XPG3 || XPG4] (pthread_once_t): Likewise.
18909         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18910         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18911         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18912         [XPG3 || XPG4] (pthread_t): Likewise.
18914         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18915         not expect.
18916         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18918         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18919         Change function return type to int.
18921         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18922         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18923         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18924         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18925         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18926         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18927         [!POSIX] (posix_madvise): Likewise.
18928         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18929         && !UNIX98].
18930         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18931         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18932         (mode_t): Likewise.
18933         (posix_mem_offset): Likewise.
18934         (posix_typed_mem_get_info): Likewise.
18935         (posix_typed_mem_open): Likewise.
18937         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18938         Change condition to [XOPEN2K8].
18940         * conform/conformtest.pl: Preprocess allow-header data with -x c
18941         instead of from stdin.
18942         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18943         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18944         [C99-based standards] (cerfc): Likewise.
18945         [C99-based standards] (cexp2): Likewise.
18946         [C99-based standards] (cexpm1): Likewise.
18947         [C99-based standards] (clog10): Likewise.
18948         [C99-based standards] (clog1p): Likewise.
18949         [C99-based standards] (clog2): Likewise.
18950         [C99-based standards] (clgamma): Likewise.
18951         [C99-based standards] (ctgamma): Likewise.
18952         [C99-based standards] (cerff): Likewise.
18953         [C99-based standards] (cerfcf): Likewise.
18954         [C99-based standards] (cexp2f): Likewise.
18955         [C99-based standards] (cexpm1f): Likewise.
18956         [C99-based standards] (clog10f): Likewise.
18957         [C99-based standards] (clog1pf): Likewise.
18958         [C99-based standards] (clog2f): Likewise.
18959         [C99-based standards] (clgammaf): Likewise.
18960         [C99-based standards] (ctgammaf): Likewise.
18961         [C99-based standards] (cerfl): Likewise.
18962         [C99-based standards] (cerfcl): Likewise.
18963         [C99-based standards] (cexp2l): Likewise.
18964         [C99-based standards] (cexpm1l): Likewise.
18965         [C99-based standards] (clog10l): Likewise.
18966         [C99-based standards] (clog1pl): Likewise.
18967         [C99-based standards] (clog2l): Likewise.
18968         [C99-based standards] (clgammal): Likewise.
18969         [C99-based standards] (ctgammal): Likewise.
18970         * conform/data/inttypes.h-data [C99-based standards]: Include
18971         stdint.h-data.  Remove all expectations for stdint.h contents.
18972         [C99-based standards] (PRI*): Do not allow.
18973         [C99-based standards] (SCN*): Likewise.
18974         [C99-based standards] (*_t): Likewise.
18975         [C99-based-standards] (PRId8): Expect macro.
18976         [C99-based-standards] (PRIi8): Likewise.
18977         [C99-based-standards] (PRIo8): Likewise.
18978         [C99-based-standards] (PRIu8): Likewise.
18979         [C99-based-standards] (PRIx8): Likewise.
18980         [C99-based-standards] (PRIX8): Likewise.
18981         [C99-based-standards] (SCNd8): Likewise.
18982         [C99-based-standards] (SCNi8): Likewise.
18983         [C99-based-standards] (SCNo8): Likewise.
18984         [C99-based-standards] (SCNu8): Likewise.
18985         [C99-based-standards] (SCNx8): Likewise.
18986         [C99-based-standards] (PRIdLEAST8): Likewise.
18987         [C99-based-standards] (PRIiLEAST8): Likewise.
18988         [C99-based-standards] (PRIoLEAST8): Likewise.
18989         [C99-based-standards] (PRIuLEAST8): Likewise.
18990         [C99-based-standards] (PRIxLEAST8): Likewise.
18991         [C99-based-standards] (PRIXLEAST8): Likewise.
18992         [C99-based-standards] (SCNdLEAST8): Likewise.
18993         [C99-based-standards] (SCNiLEAST8): Likewise.
18994         [C99-based-standards] (SCNoLEAST8): Likewise.
18995         [C99-based-standards] (SCNuLEAST8): Likewise.
18996         [C99-based-standards] (SCNxLEAST8): Likewise.
18997         [C99-based-standards] (PRIdFAST8): Likewise.
18998         [C99-based-standards] (PRIiFAST8): Likewise.
18999         [C99-based-standards] (PRIoFAST8): Likewise.
19000         [C99-based-standards] (PRIuFAST8): Likewise.
19001         [C99-based-standards] (PRIxFAST8): Likewise.
19002         [C99-based-standards] (PRIXFAST8): Likewise.
19003         [C99-based-standards] (SCNdFAST8): Likewise.
19004         [C99-based-standards] (SCNiFAST8): Likewise.
19005         [C99-based-standards] (SCNoFAST8): Likewise.
19006         [C99-based-standards] (SCNuFAST8): Likewise.
19007         [C99-based-standards] (SCNxFAST8): Likewise.
19008         [C99-based-standards] (PRId16): Likewise.
19009         [C99-based-standards] (PRIi16): Likewise.
19010         [C99-based-standards] (PRIo16): Likewise.
19011         [C99-based-standards] (PRIu16): Likewise.
19012         [C99-based-standards] (PRIx16): Likewise.
19013         [C99-based-standards] (PRIX16): Likewise.
19014         [C99-based-standards] (SCNd16): Likewise.
19015         [C99-based-standards] (SCNi16): Likewise.
19016         [C99-based-standards] (SCNo16): Likewise.
19017         [C99-based-standards] (SCNu16): Likewise.
19018         [C99-based-standards] (SCNx16): Likewise.
19019         [C99-based-standards] (PRIdLEAST16): Likewise.
19020         [C99-based-standards] (PRIiLEAST16): Likewise.
19021         [C99-based-standards] (PRIoLEAST16): Likewise.
19022         [C99-based-standards] (PRIuLEAST16): Likewise.
19023         [C99-based-standards] (PRIxLEAST16): Likewise.
19024         [C99-based-standards] (PRIXLEAST16): Likewise.
19025         [C99-based-standards] (SCNdLEAST16): Likewise.
19026         [C99-based-standards] (SCNiLEAST16): Likewise.
19027         [C99-based-standards] (SCNoLEAST16): Likewise.
19028         [C99-based-standards] (SCNuLEAST16): Likewise.
19029         [C99-based-standards] (SCNxLEAST16): Likewise.
19030         [C99-based-standards] (PRIdFAST16): Likewise.
19031         [C99-based-standards] (PRIiFAST16): Likewise.
19032         [C99-based-standards] (PRIoFAST16): Likewise.
19033         [C99-based-standards] (PRIuFAST16): Likewise.
19034         [C99-based-standards] (PRIxFAST16): Likewise.
19035         [C99-based-standards] (PRIXFAST16): Likewise.
19036         [C99-based-standards] (SCNdFAST16): Likewise.
19037         [C99-based-standards] (SCNiFAST16): Likewise.
19038         [C99-based-standards] (SCNoFAST16): Likewise.
19039         [C99-based-standards] (SCNuFAST16): Likewise.
19040         [C99-based-standards] (SCNxFAST16): Likewise.
19041         [C99-based-standards] (PRId32): Likewise.
19042         [C99-based-standards] (PRIi32): Likewise.
19043         [C99-based-standards] (PRIo32): Likewise.
19044         [C99-based-standards] (PRIu32): Likewise.
19045         [C99-based-standards] (PRIx32): Likewise.
19046         [C99-based-standards] (PRIX32): Likewise.
19047         [C99-based-standards] (SCNd32): Likewise.
19048         [C99-based-standards] (SCNi32): Likewise.
19049         [C99-based-standards] (SCNo32): Likewise.
19050         [C99-based-standards] (SCNu32): Likewise.
19051         [C99-based-standards] (SCNx32): Likewise.
19052         [C99-based-standards] (PRIdLEAST32): Likewise.
19053         [C99-based-standards] (PRIiLEAST32): Likewise.
19054         [C99-based-standards] (PRIoLEAST32): Likewise.
19055         [C99-based-standards] (PRIuLEAST32): Likewise.
19056         [C99-based-standards] (PRIxLEAST32): Likewise.
19057         [C99-based-standards] (PRIXLEAST32): Likewise.
19058         [C99-based-standards] (SCNdLEAST32): Likewise.
19059         [C99-based-standards] (SCNiLEAST32): Likewise.
19060         [C99-based-standards] (SCNoLEAST32): Likewise.
19061         [C99-based-standards] (SCNuLEAST32): Likewise.
19062         [C99-based-standards] (SCNxLEAST32): Likewise.
19063         [C99-based-standards] (PRIdFAST32): Likewise.
19064         [C99-based-standards] (PRIiFAST32): Likewise.
19065         [C99-based-standards] (PRIoFAST32): Likewise.
19066         [C99-based-standards] (PRIuFAST32): Likewise.
19067         [C99-based-standards] (PRIxFAST32): Likewise.
19068         [C99-based-standards] (PRIXFAST32): Likewise.
19069         [C99-based-standards] (SCNdFAST32): Likewise.
19070         [C99-based-standards] (SCNiFAST32): Likewise.
19071         [C99-based-standards] (SCNoFAST32): Likewise.
19072         [C99-based-standards] (SCNuFAST32): Likewise.
19073         [C99-based-standards] (SCNxFAST32): Likewise.
19074         [C99-based-standards] (PRId64): Likewise.
19075         [C99-based-standards] (PRIi64): Likewise.
19076         [C99-based-standards] (PRIo64): Likewise.
19077         [C99-based-standards] (PRIu64): Likewise.
19078         [C99-based-standards] (PRIx64): Likewise.
19079         [C99-based-standards] (PRIX64): Likewise.
19080         [C99-based-standards] (SCNd64): Likewise.
19081         [C99-based-standards] (SCNi64): Likewise.
19082         [C99-based-standards] (SCNo64): Likewise.
19083         [C99-based-standards] (SCNu64): Likewise.
19084         [C99-based-standards] (SCNx64): Likewise.
19085         [C99-based-standards] (PRIdLEAST64): Likewise.
19086         [C99-based-standards] (PRIiLEAST64): Likewise.
19087         [C99-based-standards] (PRIoLEAST64): Likewise.
19088         [C99-based-standards] (PRIuLEAST64): Likewise.
19089         [C99-based-standards] (PRIxLEAST64): Likewise.
19090         [C99-based-standards] (PRIXLEAST64): Likewise.
19091         [C99-based-standards] (SCNdLEAST64): Likewise.
19092         [C99-based-standards] (SCNiLEAST64): Likewise.
19093         [C99-based-standards] (SCNoLEAST64): Likewise.
19094         [C99-based-standards] (SCNuLEAST64): Likewise.
19095         [C99-based-standards] (SCNxLEAST64): Likewise.
19096         [C99-based-standards] (PRIdFAST64): Likewise.
19097         [C99-based-standards] (PRIiFAST64): Likewise.
19098         [C99-based-standards] (PRIoFAST64): Likewise.
19099         [C99-based-standards] (PRIuFAST64): Likewise.
19100         [C99-based-standards] (PRIxFAST64): Likewise.
19101         [C99-based-standards] (PRIXFAST64): Likewise.
19102         [C99-based-standards] (SCNdFAST64): Likewise.
19103         [C99-based-standards] (SCNiFAST64): Likewise.
19104         [C99-based-standards] (SCNoFAST64): Likewise.
19105         [C99-based-standards] (SCNuFAST64): Likewise.
19106         [C99-based-standards] (SCNxFAST64): Likewise.
19107         [C99-based-standards] (PRIdMAX): Likewise.
19108         [C99-based-standards] (PRIiMAX): Likewise.
19109         [C99-based-standards] (PRIoMAX): Likewise.
19110         [C99-based-standards] (PRIuMAX): Likewise.
19111         [C99-based-standards] (PRIxMAX): Likewise.
19112         [C99-based-standards] (PRIXMAX): Likewise.
19113         [C99-based-standards] (SCNdMAX): Likewise.
19114         [C99-based-standards] (SCNiMAX): Likewise.
19115         [C99-based-standards] (SCNoMAX): Likewise.
19116         [C99-based-standards] (SCNuMAX): Likewise.
19117         [C99-based-standards] (SCNxMAX): Likewise.
19118         [C99-based-standards] (PRIdPTR): Likewise.
19119         [C99-based-standards] (PRIiPTR): Likewise.
19120         [C99-based-standards] (PRIoPTR): Likewise.
19121         [C99-based-standards] (PRIuPTR): Likewise.
19122         [C99-based-standards] (PRIxPTR): Likewise.
19123         [C99-based-standards] (PRIXPTR): Likewise.
19124         [C99-based-standards] (SCNdPTR): Likewise.
19125         [C99-based-standards] (SCNiPTR): Likewise.
19126         [C99-based-standards] (SCNoPTR): Likewise.
19127         [C99-based-standards] (SCNuPTR): Likewise.
19128         [C99-based-standards] (SCNxPTR): Likewise.
19129         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
19130         allow.
19131         * conform/data/stdint.h-data: Update comments to clarify
19132         requirements.
19133         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
19134         type.
19135         [C99-based standards] (INT8_MAX): Likewise.
19136         [C99-based standards] (INT16_MIN): Likewise.
19137         [C99-based standards] (INT16_MAX): Likewise.
19138         [C99-based standards] (INT32_MIN): Likewise.
19139         [C99-based standards] (INT32_MAX): Likewise.
19140         [C99-based standards] (INT64_MIN): Likewise.
19141         [C99-based standards] (INT64_MAX): Likewise.
19142         [C99-based standards] (UINT8_MAX): Likewise.
19143         [C99-based standards] (UINT16_MAX): Likewise.
19144         [C99-based standards] (UINT32_MAX): Likewise.
19145         [C99-based standards] (UINT64_MAX): Likewise.
19146         [C99-based standards] (INT_LEAST8_MIN): Likewise.
19147         [C99-based standards] (INT_LEAST8_MAX): Likewise.
19148         [C99-based standards] (INT_LEAST16_MIN): Likewise.
19149         [C99-based standards] (INT_LEAST16_MAX): Likewise.
19150         [C99-based standards] (INT_LEAST32_MIN): Likewise.
19151         [C99-based standards] (INT_LEAST32_MAX): Likewise.
19152         [C99-based standards] (INT_LEAST64_MIN): Likewise.
19153         [C99-based standards] (INT_LEAST64_MAX): Likewise.
19154         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
19155         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
19156         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
19157         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
19158         [C99-based standards] (INT_FAST8_MIN): Likewise.
19159         [C99-based standards] (INT_FAST8_MAX): Likewise.
19160         [C99-based standards] (INT_FAST16_MIN): Likewise.
19161         [C99-based standards] (INT_FAST16_MAX): Likewise.
19162         [C99-based standards] (INT_FAST32_MIN): Likewise.
19163         [C99-based standards] (INT_FAST32_MAX): Likewise.
19164         [C99-based standards] (INT_FAST64_MIN): Likewise.
19165         [C99-based standards] (INT_FAST64_MAX): Likewise.
19166         [C99-based standards] (UINT_FAST8_MAX): Likewise.
19167         [C99-based standards] (UINT_FAST16_MAX): Likewise.
19168         [C99-based standards] (UINT_FAST32_MAX): Likewise.
19169         [C99-based standards] (UINT_FAST64_MAX): Likewise.
19170         [C99-based standards] (INTPTR_MIN): Likewise.
19171         [C99-based standards] (INTPTR_MAX): Likewise.
19172         [C99-based standards] (UINTPTR_MAX): Likewise.
19173         [C99-based standards] (INTMAX_MIN): Likewise.
19174         [C99-based standards] (INTMAX_MAX): Likewise.
19175         [C99-based standards] (UINTMAX_MAX): Likewise.
19176         [C99-based standards] (PTRDIFF_MIN): Likewise.
19177         [C99-based standards] (PTRDIFF_MAX): Likewise.
19178         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
19179         [C99-based standards] (SIZE_MAX): Likewise.
19180         [C99-based standards] (WCHAR_MAX): Likewise.
19181         [C99-based standards] (WINT_MAX): Likewise.
19182         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
19183         constraint on value.
19184         [C99-based standards] (WCHAR_MIN): Likewise.
19185         [C99-based standards] (WINT_MIN): Likewise.
19186         [C99-based standards] (*_t): Allow.
19187         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
19188         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
19189         Include math.h-data and complex.h-data.  Remove all expectations
19190         of math.h and complex.h contents.
19191         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
19192         at end of line.
19193         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
19194         (struct tm): Expect tag.
19195         [C99-based-standards] (wcstof): Expect function.
19196         [C99-based-standards] (wcstold): Likewise.
19197         [C99-based-standards] (wcstoll): Likewise.
19198         [C99-based-standards] (wcstoull): Likewise.
19199         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
19200         macro-int-constant.  Specify type.
19201         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
19202         constraint on value.
19203         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19204         Specify type.
19205         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
19206         Specify value.
19207         [ISO C standards]: Do not allow headers.
19208         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
19209         wcs[abcdefghijklmnopqrstuvwxyz]*.
19210         [ISO C standards] (*_t): Do not allow.
19211         * conform/data/wctype.h-data [C99-based standards] (iswblank):
19212         Expect function.
19213         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
19214         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19215         Specify type.
19216         [ISO C standards]: Do not allow headers.
19217         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
19218         is[abcdefghijklmnopqrstuvwxyz]*.
19219         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
19220         to[abcdefghijklmnopqrstuvwxyz]*.
19221         [ISO C standards] (*_t): Do not allow.
19222         * conform/data/stdalign.h-data: New file.
19223         * conform/data/stdbool.h-data: Likewise.
19224         * conform/data/stdnoreturn.h-data: Likewise.
19226 2012-11-07  Roland McGrath  <roland@hack.frob.com>
19228         [BZ #14815]
19229         * manual/filesys.texi (Directory Entries): Typo fix.
19230         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
19232 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19234         * elf/elf.h (EM_AARCH64): New macro.
19235         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
19236         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
19237         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
19238         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
19239         (R_AARCH64_TLSDESC): Likewise.
19240         (NT_ARM_TLS): Likewise.
19241         (NT_ARM_HW_BREAK): Likewise.
19242         (NT_ARM_HW_WATCH): Likewise.
19244 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19246         [BZ #14811]
19247         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
19248         (__ieee754_powl): Saturate nonzero exponents with absolute value
19249         below 0x1p-79 to +/- 0x1p-79.
19250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
19251         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
19252         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
19253         nonzero exponents with absolute value below 0x1p-32 to +/-
19254         0x1p-32.
19255         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
19256         (__ieee754_powl): Saturate nonzero exponents with absolute value
19257         below 0x1p-79 to +/- 0x1p-79.
19258         * math/libm-test.inc (pow_test): Add more tests.
19260 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19262         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
19263         _dl_s390_cap_flags with kernel. Increase string length.
19264         (_dl_s390_platforms): Add z196 and zEC12.
19266 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19268         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
19269         Change XOPEN21K to XOPEN2K.
19271 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
19273         * string/memmove.c: Use memcpy when possible.
19275 2012-11-06  Andreas Jaeger  <aj@suse.de>
19277         * po/eo.po: Update from translation team.
19279 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
19281         [BZ #14793]
19282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
19283         exponent and small x and y exponents, scale x or y up.  Increase
19284         by 2 the exponent used in scaling up.
19285         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19287         * math/libm-test.inc (fma_test): Add more tests.
19288         (fma_test_towardzero): Likewise.
19289         (fma_test_downward): Likewise.
19290         (fma_test_upward): Likewise.
19292 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
19294         [BZ #14805]
19295         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
19296         fenv_t *.
19298         [BZ #14801]
19299         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
19300         namespace for names of struct fields.
19301         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
19302         fenv_t fields.
19303         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19304         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
19306 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19308         [BZ #3665]
19309         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
19311 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19313         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
19314         PTR_DEMANGLE.
19316         [BZ #5246]
19317         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
19318         PTR_DEMANGLE.
19320 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #14797]
19323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
19324         definitely overflow as x * y not x * y + z.
19325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19327         * math/libm-test.inc (fma_test): Add more tests.
19328         (fma_test_towardzero): Likewise.
19329         (fma_test_downward): Likewise.
19330         (fma_test_upward): Likewise.
19332 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19334         [BZ #157]
19336         * include/stub-tag.h: Remove file.
19337         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
19338         '#include' of it.
19339         * manual/maint.texi (Porting): Don't reference it.
19340         * Makerules ($(objpfx)stubs): Likewise.
19341         * dirent/closedir.c: Don't include <stub-tag.h>.
19342         * dirent/dirfd.c: Likewise.
19343         * dirent/fdopendir.c: Likewise.
19344         * dirent/getdents.c: Likewise.
19345         * dirent/getdents64.c: Likewise.
19346         * dirent/opendir.c: Likewise.
19347         * dirent/readdir.c: Likewise.
19348         * dirent/readdir64.c: Likewise.
19349         * dirent/readdir64_r.c: Likewise.
19350         * dirent/readdir_r.c: Likewise.
19351         * dirent/rewinddir.c: Likewise.
19352         * dirent/seekdir.c: Likewise.
19353         * dirent/telldir.c: Likewise.
19354         * gmon/profil.c: Likewise.
19355         * grp/setgroups.c: Likewise.
19356         * inet/if_index.c: Likewise.
19357         * io/access.c: Likewise.
19358         * io/chdir.c: Likewise.
19359         * io/chmod.c: Likewise.
19360         * io/chown.c: Likewise.
19361         * io/close.c: Likewise.
19362         * io/dup.c: Likewise.
19363         * io/dup2.c: Likewise.
19364         * io/dup3.c: Likewise.
19365         * io/euidaccess.c: Likewise.
19366         * io/faccessat.c: Likewise.
19367         * io/fchdir.c: Likewise.
19368         * io/fchmod.c: Likewise.
19369         * io/fchmodat.c: Likewise.
19370         * io/fchown.c: Likewise.
19371         * io/fchownat.c: Likewise.
19372         * io/fcntl.c: Likewise.
19373         * io/flock.c: Likewise.
19374         * io/fstatfs.c: Likewise.
19375         * io/fstatfs64.c: Likewise.
19376         * io/fstatvfs.c: Likewise.
19377         * io/fstatvfs64.c: Likewise.
19378         * io/futimens.c: Likewise.
19379         * io/fxstat.c: Likewise.
19380         * io/fxstat64.c: Likewise.
19381         * io/fxstatat.c: Likewise.
19382         * io/fxstatat64.c: Likewise.
19383         * io/getcwd.c: Likewise.
19384         * io/isatty.c: Likewise.
19385         * io/lchmod.c: Likewise.
19386         * io/lchown.c: Likewise.
19387         * io/link.c: Likewise.
19388         * io/linkat.c: Likewise.
19389         * io/lseek.c: Likewise.
19390         * io/lseek64.c: Likewise.
19391         * io/lxstat64.c: Likewise.
19392         * io/mkdir.c: Likewise.
19393         * io/mkdirat.c: Likewise.
19394         * io/mkfifo.c: Likewise.
19395         * io/mkfifoat.c: Likewise.
19396         * io/open.c: Likewise.
19397         * io/open64.c: Likewise.
19398         * io/openat.c: Likewise.
19399         * io/openat64.c: Likewise.
19400         * io/pipe.c: Likewise.
19401         * io/pipe2.c: Likewise.
19402         * io/poll.c: Likewise.
19403         * io/posix_fadvise.c: Likewise.
19404         * io/posix_fadvise64.c: Likewise.
19405         * io/posix_fallocate.c: Likewise.
19406         * io/posix_fallocate64.c: Likewise.
19407         * io/read.c: Likewise.
19408         * io/readlink.c: Likewise.
19409         * io/readlinkat.c: Likewise.
19410         * io/rmdir.c: Likewise.
19411         * io/sendfile.c: Likewise.
19412         * io/sendfile64.c: Likewise.
19413         * io/statfs.c: Likewise.
19414         * io/statfs64.c: Likewise.
19415         * io/statvfs.c: Likewise.
19416         * io/statvfs64.c: Likewise.
19417         * io/symlink.c: Likewise.
19418         * io/symlinkat.c: Likewise.
19419         * io/ttyname.c: Likewise.
19420         * io/ttyname_r.c: Likewise.
19421         * io/umask.c: Likewise.
19422         * io/unlink.c: Likewise.
19423         * io/unlinkat.c: Likewise.
19424         * io/utime.c: Likewise.
19425         * io/utimensat.c: Likewise.
19426         * io/write.c: Likewise.
19427         * io/xmknod.c: Likewise.
19428         * io/xmknodat.c: Likewise.
19429         * io/xstat.c: Likewise.
19430         * io/xstat64.c: Likewise.
19431         * login/getpt.c: Likewise.
19432         * login/grantpt.c: Likewise.
19433         * login/unlockpt.c: Likewise.
19434         * math/e_acoshl.c: Likewise.
19435         * math/e_acosl.c: Likewise.
19436         * math/e_asinl.c: Likewise.
19437         * math/e_atan2l.c: Likewise.
19438         * math/e_atanhl.c: Likewise.
19439         * math/e_coshl.c: Likewise.
19440         * math/e_expl.c: Likewise.
19441         * math/e_fmodl.c: Likewise.
19442         * math/e_gammal_r.c: Likewise.
19443         * math/e_hypotl.c: Likewise.
19444         * math/e_j0l.c: Likewise.
19445         * math/e_j1l.c: Likewise.
19446         * math/e_jnl.c: Likewise.
19447         * math/e_lgammal_r.c: Likewise.
19448         * math/e_log10l.c: Likewise.
19449         * math/e_log2l.c: Likewise.
19450         * math/e_logl.c: Likewise.
19451         * math/e_powl.c: Likewise.
19452         * math/e_rem_pio2l.c: Likewise.
19453         * math/e_sinhl.c: Likewise.
19454         * math/e_sqrtl.c: Likewise.
19455         * math/fclrexcpt.c: Likewise.
19456         * math/fedisblxcpt.c: Likewise.
19457         * math/feenablxcpt.c: Likewise.
19458         * math/fegetenv.c: Likewise.
19459         * math/fegetexcept.c: Likewise.
19460         * math/fegetround.c: Likewise.
19461         * math/feholdexcpt.c: Likewise.
19462         * math/fesetenv.c: Likewise.
19463         * math/fesetround.c: Likewise.
19464         * math/feupdateenv.c: Likewise.
19465         * math/fgetexcptflg.c: Likewise.
19466         * math/fraiseexcpt.c: Likewise.
19467         * math/fsetexcptflg.c: Likewise.
19468         * math/ftestexcept.c: Likewise.
19469         * math/k_cosl.c: Likewise.
19470         * math/k_rem_pio2l.c: Likewise.
19471         * math/k_sinl.c: Likewise.
19472         * math/k_tanl.c: Likewise.
19473         * math/s_asinhl.c: Likewise.
19474         * math/s_atanl.c: Likewise.
19475         * math/s_cbrtl.c: Likewise.
19476         * math/s_erfl.c: Likewise.
19477         * math/s_expm1l.c: Likewise.
19478         * math/s_log1pl.c: Likewise.
19479         * math/s_tanhl.c: Likewise.
19480         * misc/acct.c: Likewise.
19481         * misc/brk.c: Likewise.
19482         * misc/chflags.c: Likewise.
19483         * misc/chroot.c: Likewise.
19484         * misc/fchflags.c: Likewise.
19485         * misc/fgetxattr.c: Likewise.
19486         * misc/flistxattr.c: Likewise.
19487         * misc/fremovexattr.c: Likewise.
19488         * misc/fsetxattr.c: Likewise.
19489         * misc/fsync.c: Likewise.
19490         * misc/ftruncate.c: Likewise.
19491         * misc/futimes.c: Likewise.
19492         * misc/futimesat.c: Likewise.
19493         * misc/getdomain.c: Likewise.
19494         * misc/getdtsz.c: Likewise.
19495         * misc/gethostid.c: Likewise.
19496         * misc/gethostname.c: Likewise.
19497         * misc/getloadavg.c: Likewise.
19498         * misc/getpagesize.c: Likewise.
19499         * misc/getsysstats.c: Likewise.
19500         * misc/getxattr.c: Likewise.
19501         * misc/gtty.c: Likewise.
19502         * misc/ioctl.c: Likewise.
19503         * misc/lgetxattr.c: Likewise.
19504         * misc/listxattr.c: Likewise.
19505         * misc/llistxattr.c: Likewise.
19506         * misc/lremovexattr.c: Likewise.
19507         * misc/lsetxattr.c: Likewise.
19508         * misc/lutimes.c: Likewise.
19509         * misc/madvise.c: Likewise.
19510         * misc/mincore.c: Likewise.
19511         * misc/mlock.c: Likewise.
19512         * misc/mlockall.c: Likewise.
19513         * misc/mmap.c: Likewise.
19514         * misc/mprotect.c: Likewise.
19515         * misc/msync.c: Likewise.
19516         * misc/munlock.c: Likewise.
19517         * misc/munlockall.c: Likewise.
19518         * misc/munmap.c: Likewise.
19519         * misc/preadv.c: Likewise.
19520         * misc/preadv64.c: Likewise.
19521         * misc/ptrace.c: Likewise.
19522         * misc/pwritev.c: Likewise.
19523         * misc/pwritev64.c: Likewise.
19524         * misc/readv.c: Likewise.
19525         * misc/reboot.c: Likewise.
19526         * misc/remap_file_pages.c: Likewise.
19527         * misc/removexattr.c: Likewise.
19528         * misc/revoke.c: Likewise.
19529         * misc/select.c: Likewise.
19530         * misc/setdomain.c: Likewise.
19531         * misc/setegid.c: Likewise.
19532         * misc/seteuid.c: Likewise.
19533         * misc/sethostid.c: Likewise.
19534         * misc/sethostname.c: Likewise.
19535         * misc/setregid.c: Likewise.
19536         * misc/setreuid.c: Likewise.
19537         * misc/setxattr.c: Likewise.
19538         * misc/sstk.c: Likewise.
19539         * misc/stty.c: Likewise.
19540         * misc/swapoff.c: Likewise.
19541         * misc/swapon.c: Likewise.
19542         * misc/sync.c: Likewise.
19543         * misc/syncfs.c: Likewise.
19544         * misc/syscall.c: Likewise.
19545         * misc/truncate.c: Likewise.
19546         * misc/ualarm.c: Likewise.
19547         * misc/usleep.c: Likewise.
19548         * misc/ustat.c: Likewise.
19549         * misc/utimes.c: Likewise.
19550         * misc/vhangup.c: Likewise.
19551         * misc/writev.c: Likewise.
19552         * posix/_exit.c: Likewise.
19553         * posix/alarm.c: Likewise.
19554         * posix/execve.c: Likewise.
19555         * posix/fexecve.c: Likewise.
19556         * posix/fork.c: Likewise.
19557         * posix/fpathconf.c: Likewise.
19558         * posix/getaddrinfo.c: Likewise.
19559         * posix/getegid.c: Likewise.
19560         * posix/geteuid.c: Likewise.
19561         * posix/getgid.c: Likewise.
19562         * posix/getgroups.c: Likewise.
19563         * posix/getlogin.c: Likewise.
19564         * posix/getlogin_r.c: Likewise.
19565         * posix/getpgid.c: Likewise.
19566         * posix/getpid.c: Likewise.
19567         * posix/getppid.c: Likewise.
19568         * posix/getresgid.c: Likewise.
19569         * posix/getresuid.c: Likewise.
19570         * posix/getsid.c: Likewise.
19571         * posix/getuid.c: Likewise.
19572         * posix/glob64.c: Likewise.
19573         * posix/nanosleep.c: Likewise.
19574         * posix/pathconf.c: Likewise.
19575         * posix/pause.c: Likewise.
19576         * posix/posix_madvise.c: Likewise.
19577         * posix/pread.c: Likewise.
19578         * posix/pread64.c: Likewise.
19579         * posix/pwrite.c: Likewise.
19580         * posix/pwrite64.c: Likewise.
19581         * posix/sched_getaffinity.c: Likewise.
19582         * posix/sched_getp.c: Likewise.
19583         * posix/sched_gets.c: Likewise.
19584         * posix/sched_primax.c: Likewise.
19585         * posix/sched_primin.c: Likewise.
19586         * posix/sched_rr_gi.c: Likewise.
19587         * posix/sched_setaffinity.c: Likewise.
19588         * posix/sched_setp.c: Likewise.
19589         * posix/sched_sets.c: Likewise.
19590         * posix/sched_yield.c: Likewise.
19591         * posix/setgid.c: Likewise.
19592         * posix/setlogin.c: Likewise.
19593         * posix/setpgid.c: Likewise.
19594         * posix/setresgid.c: Likewise.
19595         * posix/setresuid.c: Likewise.
19596         * posix/setsid.c: Likewise.
19597         * posix/setuid.c: Likewise.
19598         * posix/sleep.c: Likewise.
19599         * posix/spawni.c: Likewise.
19600         * posix/sysconf.c: Likewise.
19601         * posix/times.c: Likewise.
19602         * posix/wait.c: Likewise.
19603         * posix/wait3.c: Likewise.
19604         * posix/wait4.c: Likewise.
19605         * posix/waitpid.c: Likewise.
19606         * resolv/gai_sigqueue.c: Likewise.
19607         * resource/getpriority.c: Likewise.
19608         * resource/getrlimit.c: Likewise.
19609         * resource/getrusage.c: Likewise.
19610         * resource/nice.c: Likewise.
19611         * resource/setpriority.c: Likewise.
19612         * resource/setrlimit.c: Likewise.
19613         * resource/ulimit.c: Likewise.
19614         * rt/aio_cancel.c: Likewise.
19615         * rt/aio_fsync.c: Likewise.
19616         * rt/aio_read.c: Likewise.
19617         * rt/aio_sigqueue.c: Likewise.
19618         * rt/aio_suspend.c: Likewise.
19619         * rt/aio_write.c: Likewise.
19620         * rt/clock_getres.c: Likewise.
19621         * rt/clock_gettime.c: Likewise.
19622         * rt/clock_nanosleep.c: Likewise.
19623         * rt/clock_settime.c: Likewise.
19624         * rt/lio_listio.c: Likewise.
19625         * rt/mq_close.c: Likewise.
19626         * rt/mq_getattr.c: Likewise.
19627         * rt/mq_notify.c: Likewise.
19628         * rt/mq_open.c: Likewise.
19629         * rt/mq_receive.c: Likewise.
19630         * rt/mq_send.c: Likewise.
19631         * rt/mq_setattr.c: Likewise.
19632         * rt/mq_timedreceive.c: Likewise.
19633         * rt/mq_timedsend.c: Likewise.
19634         * rt/mq_unlink.c: Likewise.
19635         * rt/shm_open.c: Likewise.
19636         * rt/shm_unlink.c: Likewise.
19637         * rt/timer_create.c: Likewise.
19638         * rt/timer_delete.c: Likewise.
19639         * rt/timer_getoverr.c: Likewise.
19640         * rt/timer_gettime.c: Likewise.
19641         * rt/timer_settime.c: Likewise.
19642         * setjmp/__longjmp.c: Likewise.
19643         * setjmp/setjmp.c: Likewise.
19644         * signal/kill.c: Likewise.
19645         * signal/killpg.c: Likewise.
19646         * signal/raise.c: Likewise.
19647         * signal/sigaction.c: Likewise.
19648         * signal/sigaltstack.c: Likewise.
19649         * signal/sigblock.c: Likewise.
19650         * signal/sigignore.c: Likewise.
19651         * signal/sigintr.c: Likewise.
19652         * signal/signal.c: Likewise.
19653         * signal/sigpause.c: Likewise.
19654         * signal/sigpending.c: Likewise.
19655         * signal/sigqueue.c: Likewise.
19656         * signal/sigreturn.c: Likewise.
19657         * signal/sigset.c: Likewise.
19658         * signal/sigsetmask.c: Likewise.
19659         * signal/sigstack.c: Likewise.
19660         * signal/sigsuspend.c: Likewise.
19661         * signal/sigtimedwait.c: Likewise.
19662         * signal/sigvec.c: Likewise.
19663         * signal/sigwait.c: Likewise.
19664         * signal/sigwaitinfo.c: Likewise.
19665         * signal/sysv_signal.c: Likewise.
19666         * socket/accept.c: Likewise.
19667         * socket/accept4.c: Likewise.
19668         * socket/bind.c: Likewise.
19669         * socket/connect.c: Likewise.
19670         * socket/getpeername.c: Likewise.
19671         * socket/getsockname.c: Likewise.
19672         * socket/getsockopt.c: Likewise.
19673         * socket/isfdtype.c: Likewise.
19674         * socket/listen.c: Likewise.
19675         * socket/recv.c: Likewise.
19676         * socket/recvfrom.c: Likewise.
19677         * socket/recvmsg.c: Likewise.
19678         * socket/send.c: Likewise.
19679         * socket/sendmsg.c: Likewise.
19680         * socket/sendto.c: Likewise.
19681         * socket/setsockopt.c: Likewise.
19682         * socket/shutdown.c: Likewise.
19683         * socket/sockatmark.c: Likewise.
19684         * socket/socket.c: Likewise.
19685         * socket/socketpair.c: Likewise.
19686         * stdio-common/ctermid.c: Likewise.
19687         * stdio-common/cuserid.c: Likewise.
19688         * stdio-common/remove.c: Likewise.
19689         * stdio-common/rename.c: Likewise.
19690         * stdio-common/renameat.c: Likewise.
19691         * stdio-common/tempname.c: Likewise.
19692         * stdlib/getcontext.c: Likewise.
19693         * stdlib/makecontext.c: Likewise.
19694         * stdlib/setcontext.c: Likewise.
19695         * stdlib/swapcontext.c: Likewise.
19696         * stdlib/system.c: Likewise.
19697         * streams/fattach.c: Likewise.
19698         * streams/fdetach.c: Likewise.
19699         * streams/getmsg.c: Likewise.
19700         * streams/getpmsg.c: Likewise.
19701         * streams/putmsg.c: Likewise.
19702         * streams/putpmsg.c: Likewise.
19703         * sysdeps/unix/bsd/getpt.c: Likewise.
19704         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19705         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19706         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19708         Likewise.
19709         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19710         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19711         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19712         * sysvipc/msgctl.c: Likewise.
19713         * sysvipc/msgget.c: Likewise.
19714         * sysvipc/msgrcv.c: Likewise.
19715         * sysvipc/msgsnd.c: Likewise.
19716         * sysvipc/semctl.c: Likewise.
19717         * sysvipc/semget.c: Likewise.
19718         * sysvipc/semop.c: Likewise.
19719         * sysvipc/semtimedop.c: Likewise.
19720         * sysvipc/shmat.c: Likewise.
19721         * sysvipc/shmctl.c: Likewise.
19722         * sysvipc/shmdt.c: Likewise.
19723         * sysvipc/shmget.c: Likewise.
19724         * termios/tcdrain.c: Likewise.
19725         * termios/tcflow.c: Likewise.
19726         * termios/tcflush.c: Likewise.
19727         * termios/tcgetattr.c: Likewise.
19728         * termios/tcgetpgrp.c: Likewise.
19729         * termios/tcsendbrk.c: Likewise.
19730         * termios/tcsetattr.c: Likewise.
19731         * termios/tcsetpgrp.c: Likewise.
19732         * time/adjtime.c: Likewise.
19733         * time/clock.c: Likewise.
19734         * time/getitimer.c: Likewise.
19735         * time/gettimeofday.c: Likewise.
19736         * time/setitimer.c: Likewise.
19737         * time/settimeofday.c: Likewise.
19738         * time/stime.c: Likewise.
19739         * time/time.c: Likewise.
19741 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
19743         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19744         /usr/old/bin.
19746         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19747         instead of spaces.
19748         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19750 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
19752         [BZ #14796]
19753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19754         FE_TONEAREST before applying Dekker multiplication and Knuth
19755         addition.  Clear inexact exceptions and check for exact zero
19756         results afterwards.
19757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19758         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19760         * math/libm-test.inc (fma_test): Add more tests.
19761         (fma_test_towardzero): Likewise.
19762         (fma_test_downward): Likewise.
19763         (fma_test_upward): Likewise.
19764         * sysdeps/generic/math_private.h (default_libc_fesetround): New
19765         function.
19766         (libc_fesetround): New macro.
19767         (libc_fesetroundf): Likewise.
19768         (libc_fesetroundl): Likewise.
19769         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19770         function.
19771         (libc_fesetround_387): Likewise.
19772         (libc_fesetroundf): New macro.
19773         (libc_fesetround): Likewise.
19774         (libc_fesetroundl): Likewise.
19775         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19776         function.
19777         (libc_fesetroundf): New macro.
19778         (libc_fesetround): Likewise.
19779         (libc_fesetroundl): Likewise.
19780         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19781         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19782         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19783         libm_hidden_ver.
19784         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19785         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19786         libm_hidden_def.
19787         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19788         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19789         libm_hidden_ver.
19790         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19791         libm_hidden_def.
19793         [BZ #3439]
19794         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19795         integer constant usable in #if and use that to give value to enum
19796         constant.
19797         (FE_DIVBYZERO): Likewise.
19798         (FE_UNDERFLOW): Likewise.
19799         (FE_OVERFLOW): Likewise.
19800         (FE_INVALID): Likewise.
19801         (FE_INVALID_SNAN): Likewise.
19802         (FE_INVALID_ISI): Likewise.
19803         (FE_INVALID_IDI): Likewise.
19804         (FE_INVALID_ZDZ): Likewise.
19805         (FE_INVALID_IMZ): Likewise.
19806         (FE_INVALID_COMPARE): Likewise.
19807         (FE_INVALID_SOFTWARE): Likewise.
19808         (FE_INVALID_SQRT): Likewise.
19809         (FE_INVALID_INTEGER_CONVERSION): Likewise.
19810         (FE_TONEAREST): Likewise.
19811         (FE_TOWARDZERO): Likewise.
19812         (FE_UPWARD): Likewise.
19813         (FE_DOWNWARD): Likewise.
19814         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19815         (FE_DIVBYZERO): Likewise.
19816         (FE_OVERFLOW): Likewise.
19817         (FE_UNDERFLOW): Likewise.
19818         (FE_INEXACT): Likewise.
19819         (FE_TONEAREST): Likewise.
19820         (FE_DOWNWARD): Likewise.
19821         (FE_UPWARD): Likewise.
19822         (FE_TOWARDZERO): Likewise.
19823         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19824         (FE_UNDERFLOW): Likewise.
19825         (FE_OVERFLOW): Likewise.
19826         (FE_DIVBYZERO): Likewise.
19827         (FE_INVALID): Likewise.
19828         (FE_TONEAREST): Likewise.
19829         (FE_TOWARDZERO): Likewise.
19830         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19831         (FE_OVERFLOW): Likewise.
19832         (FE_UNDERFLOW): Likewise.
19833         (FE_DIVBYZERO): Likewise.
19834         (FE_INEXACT): Likewise.
19835         (FE_TONEAREST): Likewise.
19836         (FE_TOWARDZERO): Likewise.
19837         (FE_UPWARD): Likewise.
19838         (FE_DOWNWARD): Likewise.
19839         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19840         (FE_DIVBYZERO): Likewise.
19841         (FE_OVERFLOW): Likewise.
19842         (FE_UNDERFLOW): Likewise.
19843         (FE_INEXACT): Likewise.
19844         (FE_TONEAREST): Likewise.
19845         (FE_DOWNWARD): Likewise.
19846         (FE_UPWARD): Likewise.
19847         (FE_TOWARDZERO): Likewise.
19849 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
19851         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19853 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
19855         * scripts/cross-test-ssh.sh (command): Use newlines to separate
19856         commands.  Quote $PWD.
19857         (blacklist_exports): Don't use remove_newlines.  Replace "declare
19858         -x" by "export".
19859         (remove_newlines): Remove.
19861 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
19863         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19864         * stdlib/stdlib.h (atof): Moved to ...
19865         * include/bits/stdlib-float.h: Here.  New file.
19866         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19867         * stdlib/bits/stdlib-float.h: New file.
19868         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19869         -mno-sse -mno-mmx.
19870         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19871         <xmmintrin.h>.
19873 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
19875         * conform/conformtest.pl (@headers): Add fenv.h.
19876         * conform/data/fenv.h-data: New file.
19877         * include/fenv.h [_ISOMAC]: Disable all contents of file except
19878         include of <math/fenv.h>.
19880         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19881         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19882         && !UNIX98].  Enables tests for XOPEN2K8.
19883         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19884         POSIX2008]: Likewise.
19886         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19887         (struct rusage): Do not expect type or its members.
19889         [BZ #3439]
19890         * math/math.h (FP_NAN): Define macro to integer constant usable in
19891         #if and use that to give value to enum constant.
19892         (FP_INFINITE): Likewise.
19893         (FP_ZERO): Likewise.
19894         (FP_SUBNORMAL): Likewise.
19895         (FP_NORMAL): Likewise.
19897 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
19899         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19900         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19901         arguments.
19903 2012-11-02  Roland McGrath  <roland@hack.frob.com>
19905         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19906         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19907         autoconf-time if not.
19908         * configure.in: Remove AC_PREREQ.
19910 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19912         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19913         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19914         of the internal implementation.
19916 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
19918         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19919         except include of <misc/sys/syslog.h>.
19921 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
19923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19924         function returns with a NULL context exit with zero.
19926 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19928         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19930 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
19932         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19933         (run_program_cmd): This.
19934         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19935         (tst_langinfo): New variable.  Use it.
19937 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
19939         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19940         floating point opcodes.
19942 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19944         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19945         variable.
19947         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19949         * sysdeps/mach/hurd/powerpc: Remove directory.
19950         * sysdeps/mach/powerpc: Likewise.
19952 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
19954         * scripts/check-local-headers.sh: Ignore c++ headers.
19956 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19958         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19959         __libc_cleanup_region_start argument.
19961 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
19963         [BZ #14784]
19964         [BZ #14785]
19965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19966         x * y using scaling, not as x * y + z.
19967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19969         * math/libm-test.inc (fma_test): Add more tests.
19970         (fma_test_towardzero): Likewise.
19971         (fma_test_downward): Likewise.
19972         (fma_test_upward): Likewise.
19974 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19976         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19978 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
19980         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19981         New variable.
19983 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
19985         * rt/tst-shm.c (worker): Correct checking for mmap failure.
19987 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19990         Fix sort order.
19991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19992         Likewise.
19994 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19997         Fix the order of the list for glibc 2.17.
19998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19999         Likewise.
20001 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20005 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20007         [BZ #14610]
20008         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
20009         for low part of x being zero before using __atanl (y).
20010         * math/libm-test.inc (atan2_test): Add another test.
20012         * manual/install.texi (Configuring and compiling): Document
20013         general use of test-wrapper and test-wrapper-env.
20014         * INSTALL: Regenerated.
20016         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
20017         (__fma): Do not extract and scale down low bits on after-rounding
20018         systems when result rounded to normal precision would have normal
20019         exponent.
20020         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
20021         (__fmal): Do not extract and scale down low bits on after-rounding
20022         systems when result rounded to normal precision would have normal
20023         exponent.
20024         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
20025         (__fmal): Do not extract and scale down low bits on after-rounding
20026         systems when result rounded to normal precision would have normal
20027         exponent.
20028         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
20029         macro.
20030         (fma_test): Add more tests.
20031         (fma_test_towardzero): Likewise.
20032         (fma_test_downward): Likewise.
20033         (fma_test_upward): Likewise.
20035 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
20037         * sysdeps/i386/tininess.h: Renamed to ...
20038         * sysdeps/x86/tininess.h: This.
20039         * sysdeps/x86_64/tininess.h: Removed.
20041 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20043         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
20044         input.  Use $(build-program-cmd).
20045         ($(objpfx)tst-array1-static.out): Likewise.
20046         ($(objpfx)tst-array2.out): Likewise.
20047         ($(objpfx)tst-array3.out): Likewise.
20048         ($(objpfx)tst-array4.out): Likewise.
20049         ($(objpfx)tst-array5.out): Likewise.
20050         ($(objpfx)tst-array5-static.out): Likewise.
20052 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
20054         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
20055         if defined.
20057         * nss/nsswitch.h (nss_interface_function): Provide new
20058         macro for use with NSS functions.
20059         * grp/initgroups.c: Use new macro.
20060         * nss/getXXbyYY.c: Likewise.
20061         * nss/getXXbyYY_r.c: Likewise.
20062         * nss/getXXent.c: Likewise.
20063         * nss/getXXent_r.c: Likewise.
20064         * sysdeps/posix/getaddrinfo.c: Likewise.
20066 2012-10-30  Andreas Jaeger  <aj@suse.de>
20068         * po/ru.po: Update Russion translation from translation project.
20070 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20072         [BZ #14152]
20073         [BZ #14783]
20074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
20075         result and shift together with sticky bit instead of replicating
20076         round-to-nearest rounding.
20077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20079         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
20080         missing underflow exceptions.
20081         (fma_test_towardzero): Add more tests.
20082         (fma_test_downward): Likewise.
20083         (fma_test_upward): Likewise.
20085         [BZ #14047]
20086         * sysdeps/generic/tininess.h: New file.
20087         * sysdeps/i386/tininess.h: Likewise.
20088         * sysdeps/sh/tininess.h: Likewise.
20089         * sysdeps/x86_64/tininess.h: Likewise.
20090         * stdlib/tst-strtod-underflow.c: Likewise.
20091         * stdlib/tst-tininess.c: Likewise.
20092         * stdlib/strtod_l.c: Include <tininess.h>.
20093         (round_and_return): Do not set errno for exact underflow cases.
20094         Force an underflow exception when setting errno for underflow.
20095         Determine underflow based on rounding to normal precision if
20096         TININESS_AFTER_ROUNDING.
20097         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
20098         ERANGE for exact underflow cases.
20099         * stdlib/Makefile (tests): Add tst-tininess and
20100         tst-strtod-underflow.
20101         ($(objpfx)tst-tininess): Use $(link-libm).
20102         ($(objpfx)tst-strtod-underflow): Likewise.
20104 2012-10-30  Andreas Jaeger  <aj@suse.de>
20106         [BZ#14767]
20107         * elf/Makefile (tests): Remove conditional for have-initfini-array
20108         since this is now always required and the variable does not exist
20109         anymore.
20110         (tests-static): Likewise.
20111         (modules-names): Likewise.
20113         * po/eo.po: Add Esperanto translation from translation project.
20115         * elf/tst-array1.c (fini_array): Make writeable so that it can be
20116         merged with constructor/destructor.
20117         (init_array): Likewise.
20118         * elf/tst-array2dep.c (fini_array): Likewise.
20119         (init_array): Likewise.
20121 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
20123         * manual/message.texi: Delete @cartouche tags.
20125 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
20127         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
20128         EOPNOTSUPP.
20129         * sysdeps/mach/hurd/fsync.c: Likewise.
20131         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
20132         [_POSIX_REALTIME_SIGNALS]: Change condition to
20133         [_POSIX_REALTIME_SIGNALS > 0].
20135 2012-10-27  Andreas Jaeger  <aj@suse.de>
20137         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
20138         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
20139         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
20140         [__WORDSIZE != 64]: Likewise.
20142 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
20144         *  iconvdata/tst-table.sh: Remove ${SHELL}.
20145         *  iconvdata/tst-tables.sh: Likewise.
20147 2012-10-25  David S. Miller  <davem@davemloft.net>
20149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20150         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
20151         of strtoull.
20153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
20154         ifunc-impl-list.c
20155         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20156         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
20157         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
20158         file.
20160 2012-10-25  Roland McGrath  <roland@hack.frob.com>
20162         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20163         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
20164         __getdirentries.
20166 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20167             Jim Blandy  <jimb@codesourcery.com>
20169         * scripts/cross-test-ssh.sh: New file.
20170         * manual/install.texi (Configuring and compiling): Document use of
20171         cross-test-ssh.sh.
20172         * INSTALL: Regenerated.
20174 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
20176         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
20177         EOPNOTSUPP.
20179 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20181         * Makeconfig (run-program-prefix): Fix comment.
20183 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20184             Jim Blandy  <jimb@codesourcery.com>
20186         * Makeconfig (test-wrapper): New variable,
20187         (test-wrapper-env): Likewise.
20188         [$(cross-compiling) = yes && $(test-wrapper) != ""]
20189         (run-built-tests): Define to yes.
20190         (run-program-prefix): Use $(test-wrapper).
20191         (built-program-cmd): Likewise.
20192         * Rules (make-test-out): Use $(test-wrapper-env) and
20193         $(host-built-program-cmd).
20194         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
20195         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
20196         tst-pathopt.sh.
20197         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
20198         $(test-wrapper-env) to tst-rtld-load-self.sh.
20199         ($(objpfx)order2.out): Use $(test-wrapper).
20200         ($(objpfx)tst-initorder.out): Likewise.
20201         ($(objpfx)tst-initorder2.out): Likewise.
20202         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
20203         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
20204         (test_wrapper_env): New variable.  Use it to run ld.so.
20205         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
20206         Use it to run ld.so.
20207         (test_wrapper_env): Likewise.
20208         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
20209         $(test-wrapper) to run-iconv-test.sh.
20210         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
20211         (ICONV): Use $test_wrapper.
20212         * posix/Makefile ($(objpfx)globtest.out): Pass
20213         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
20214         globtest.sh, not $(run-program-prefix).
20215         * posix/globtest.sh (run_via_rtld_prefix): New variable.
20216         (test_wrapper): Likewise.
20217         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
20218         set together with run_via_rtld_prefix.
20219         (run_program_prefix): Define in terms of test_wrapper and
20220         run_via_rtld_prefix.
20222 2012-10-24  Roland McGrath  <roland@hack.frob.com>
20224         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
20225         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
20226         Targets removed.
20228         [BZ #14743]
20229         * include/time.h: Remove librt_hidden_proto (clock_gettime).
20230         Declare __clock_getres, __clock_gettime, __clock_settime,
20231         __clock_nanosleep, and __clock_getcpuclockid.
20232         * rt/clock_gettime.c: Define __clock_gettime as an alias.
20233         Remove librt_hidden_def (clock_gettime).
20234         * sysdeps/unix/clock_gettime.c: Likewise.
20235         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
20236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20237         * rt/clock_getres.c: Define __clock_getres as an alias.
20238         * sysdeps/posix/clock_getres.c: Likewise.
20239         * rt/clock_settime.c: Define __clock_settime as an alias.
20240         * sysdeps/unix/clock_settime.c: Likewise.
20241         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
20242         * sysdeps/unix/clock_nanosleep.c: Likewise.
20243         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20244         * rt/clock-compat.c: New file.
20245         * rt/Makefile (librt-routines): Add clock-compat and move
20246         $(clock-routines) to ...
20247         (routines): ... here, new variable.
20248         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
20249         Don't add get_clockfreq here.
20250         * rt/Versions (libc: GLIBC_2.17): New version set.
20251         Add clock_* symbols here.
20252         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
20253         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
20254         (GLIBC_2.17): Add clock_* symbols.
20255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20259         Likewise.
20260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20261         Likewise.
20262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20266         * NEWS: Mention the move.
20268         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20269         Use __open, __read, __close rather than their public counterparts.
20270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20271         (__get_clockfreq_via_cpuinfo): Likewise.
20272         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
20273         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
20275         * config.h.in (HAVE_IFUNC): New #undef.
20276         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
20277         was successful.
20278         * configure: Regenerated.
20280 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20282         * configure.in: Move READELF check to start of file.
20283         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
20284         libc_cv_asm_gnu_indirect_function in the process.
20285         * configure: Regenerated.
20287 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20289         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
20290         send the output to /dev/null.
20291         (libc_cv_cc_with_libunwind): Likewise.
20292         (libc_cv_as_noexecstack): Likewise.
20293         * configure: Regenerate.
20295 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20297         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
20299         * posix/globtest.sh (TMPDIR): Do not set.
20300         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
20301         (testout): Likewise.
20303 2012-10-24  Andreas Jaeger  <aj@suse.de>
20305         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
20306         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
20307         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
20308         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
20309         posix_fadvise64, posix_fallocate64.
20311         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
20312         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
20313         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20314         Likewise.
20315         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
20316         Likewise.
20317         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
20319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
20320         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
20321         <bits/fcntl-linux.h>.
20322         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
20324         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
20325         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
20326         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
20327         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20328         [__WORDSIZE != 64]: Likewise.
20330 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20332         * Makeconfig (run-built-tests): New variable.
20333         * Rules [$(cross-compiling) = yes]: Change condition to
20334         [$(run-built-tests) = no].
20335         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
20336         to [$(run-built-tests) = yes].
20337         * elf/Makefile [$(cross-compiling) = no]: Likewise
20338         * grp/Makefile [$(cross-compiling) = no]: Likewise.
20339         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
20340         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
20341         * intl/Makefile [$(cross-compiling) = no]: Likewise.
20342         * io/Makefile [$(cross-compiling) = no]: Likewise.
20343         * libio/Makefile [$(cross-compiling) = no]: Likewise.
20344         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
20345         * misc/Makefile [$(cross-compiling) = no]: Likewise.
20346         * posix/Makefile [$(cross-compiling) = no]: Likewise.
20347         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
20348         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
20349         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
20350         * string/Makefile [$(cross-compiling) = no]: Likewise.
20352         * posix/Makefile ($(objpfx)globtest.out): Pass
20353         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
20354         $(rtld-installed-name).
20355         * posix/globtest.sh (elf_objpfx): Remove variable.
20356         (rtld_installed_name): Likewise.
20357         (library_path): Likewise.
20358         (run_program_prefix): New variable.  Use for running globtest
20359         binary.
20361 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
20362             Joseph Myers  <joseph@codesourcery.com>
20364         * Makeconfig (host-built-program-cmd): New variable.
20365         * elf/Makefile (tst-stackguard1-ARGS): Use
20366         $(host-built-program-cmd).
20367         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
20368         (tst-spawn-ARGS): Likewise.
20369         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20371 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20372             Jim Blandy  <jimb@codesourcery.com>
20374         * Makeconfig (run-via-rtld-prefix): New variable.
20375         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20376         (built-program-cmd): Likewise.
20378 2012-10-22  Andreas Jaeger  <aj@suse.de>
20380         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20381         __O_RSYNC if it exists, otherwise to O_SYNC.
20383 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
20384             Joseph Myers  <joseph@codesourcery.com>
20386         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20387         /dev/null.
20388         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20389         from /dev/null
20390         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20391         /dev/null.
20393 2012-10-22  Andreas Jaeger  <aj@suse.de>
20395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20396         Define always.
20397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20400         bits/fcntl-linux.h.
20402         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20403         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20406         to __O_LARGEFILE.
20407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20408         to __O_LARGEFILE.
20410 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
20411             Joseph Myers  <joseph@codesourcery.com>
20413         * config.make.in (NM): New variable.
20415 2012-10-21  Andreas Jaeger  <aj@suse.de>
20417         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20418         definitions and declarations that are provided by
20419         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20421 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20423         [BZ #14683]
20424         * elf/Makefile (tests-static): Add tst-leaks1-static.
20425         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20426         ($(objpfx)tst-leaks1-static): New rule.
20427         ($(objpfx)tst-leaks1-static-mem): Likewise.
20428         (tst-leaks1-static-ENV): New macro.
20429         * elf/dl-open.c (dl_open_worker): Check the main application
20430         only if SHARED is defined.
20431         * elf/tst-leaks1-static.c: New file.
20433 2012-10-20  Andreas Jaeger  <aj@suse.de>
20435         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20436         generic values for Linux.
20437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20438         and declarations that are provided by <bits/fcntl-linux.h> and
20439         include <bits/fcntl-linux.h>.
20440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20443 2012-10-20  Roland McGrath  <roland@hack.frob.com>
20445         * io/fcntl.h: Move include of <bits/types.h> to the top and
20446         include it unconditionally.
20448 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20450         * wcsmbs/Makefile (tests-ifunc): New variable.
20451         (tests): Add $(tests-ifunc).
20452         * wcsmbs/test-wcschr-ifunc.c: New file.
20453         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20454         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20455         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20456         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20457         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20459         * string/Makefile (tests-ifunc): New variable.
20460         (tests): Add $(tests-ifunc).
20461         * string/test-memccpy.c (TEST_NAME): New macro.
20462         * string/test-memchr.c (TEST_NAME): Likewise.
20463         * string/test-memcmp.c (TEST_NAME): Likewise.
20464         * string/test-memcpy.c (TEST_NAME): Likewise.
20465         * string/test-memmem.c (TEST_NAME): Likewise.
20466         * string/test-memmove.c (TEST_NAME): Likewise.
20467         * string/test-memset.c (TEST_NAME): Likewise.
20468         * string/test-rawmemchr.c (TEST_NAME): Likewise.
20469         * string/test-stpcpy.c (TEST_NAME): Likewise.
20470         * string/test-stpncpy.c (TEST_NAME): Likewise.
20471         * string/test-strcasecmp.c (TEST_NAME): Likewise.
20472         * string/test-strcasestr.c (TEST_NAME): Likewise.
20473         * string/test-strcat.c (TEST_NAME): Likewise.
20474         * string/test-strchr.c (TEST_NAME): Likewise.
20475         * string/test-strcmp.c(TEST_NAME): Likewise.
20476         * string/test-strcpy.c (TEST_NAME): Likewise.
20477         * string/test-strcspn.c (TEST_NAME): Likewise.
20478         * string/test-strlen.c (TEST_NAME): Likewise.
20479         * string/test-strncasecmp.c (TEST_NAME): Likewise.
20480         * string/test-strncmp.c (TEST_NAME): Likewise.
20481         * string/test-strncpy.c (TEST_NAME): Likewise.
20482         * string/test-strnlen.c (TEST_NAME): Likewise.
20483         * string/test-strpbrk.c (TEST_NAME): Likewise.
20484         * string/test-strrchr.c (TEST_NAME): Likewise.
20485         * string/test-strspn.c (TEST_NAME): Likewise.
20486         * string/test-strstr.c (TEST_NAME): Likewise.
20487         * string/test-bcopy-ifunc.c: New file.
20488         * string/test-bzero-ifunc.c: Likewise.
20489         * string/test-memccpy-ifunc.c: Likewise.
20490         * string/test-memchr-ifunc.c: Likewise.
20491         * string/test-memcmp-ifunc.c: Likewise.
20492         * string/test-memcpy-ifunc.c: Likewise.
20493         * string/test-memmem-ifunc.c: Likewise.
20494         * string/test-memmove-ifunc.c: Likewise.
20495         * string/test-mempcpy-ifunc.c: Likewise.
20496         * string/test-memset-ifunc.c: Likewise.
20497         * string/test-rawmemchr-ifunc.c: Likewise.
20498         * string/test-stpcpy-ifunc.c: Likewise.
20499         * string/test-stpncpy-ifunc.c: Likewise.
20500         * string/test-strcasecmp-ifunc.c: Likewise.
20501         * string/test-strcasestr-ifunc.c: Likewise.
20502         * string/test-strcat-ifunc.c: Likewise.
20503         * string/test-strchr-ifunc.c: Likewise.
20504         * string/test-strchrnul-ifunc.c: Likewise.
20505         * string/test-strcmp-ifunc.c: Likewise.
20506         * string/test-strcpy-ifunc.c: Likewise.
20507         * string/test-strcspn-ifunc.c: Likewise.
20508         * string/test-strlen-ifunc.c: Likewise.
20509         * string/test-strncasecmp-ifunc.c: Likewise.
20510         * string/test-strncat-ifunc.c: Likewise.
20511         * string/test-strncmp-ifunc.c: Likewise.
20512         * string/test-strncpy-ifunc.c: Likewise.
20513         * string/test-strnlen-ifunc.c: Likewise.
20514         * string/test-strpbrk-ifunc.c: Likewise.
20515         * string/test-strrchr-ifunc.c: Likewise.
20516         * string/test-strspn-ifunc.c: Likewise.
20517         * string/test-strstr-ifunc.c: Likewise.
20519         * debug/Makefile (tests-ifunc): New variable.
20520         (tests): Add $(tests-ifunc).
20521         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20522         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20523         * debug/test-stpcpy_chk-ifunc.c: New file.
20524         * debug/test-strcpy_chk-ifunc.c: Likewise.
20526 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20528         [BZ #13601]
20529         * elf/dl-load.c (open_verify): Retry read if the entire ELF
20530         header is not read in.
20532 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
20534         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
20535         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
20536         directly.  Pass built executable to script as
20537         $(built-program-cmd).
20538         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
20539         $testprogram without using LD_LIBRARY_PATH and $ldso.
20541         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20542         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20543         $(rtld-installed-name).
20544         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20545         (rtld_installed_name): Likewise.
20546         (library_path): Likewise.
20547         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
20548         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20549         $(run-program-prefix) to tst-tables.sh.
20550         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
20551         it to run tst-table-from and tst-table-to.
20552         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20553         Pass it to tst-table.sh.
20554         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20555         $(run-program-prefix) to tst-gettext.sh.
20556         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20557         tst-translit.sh.
20558         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20559         tst-gettext2.sh.
20560         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
20561         to run tst-gettext.
20562         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
20563         to run tst-gettext2.
20564         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
20565         to run tst-translit.
20566         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20567         $(run-program-prefix) to tst-mtrace.sh.
20568         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
20569         to run tst-mtrace.
20570         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20571         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20572         $(rtld-installed-name).
20573         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20574         (rtld_installed_name): Likewise.
20575         (run_program_prefix): New variable.  Use it to run wordexp-test.
20577         * Makeconfig (ARCH): Remove all definitions.
20578         (machine): Likewise.
20579         [ARCH]: Remove conditional code.
20580         [!objdir]: Give error.
20581         [!objdir] (objpfx): Remove.
20582         [!objdir] (common-objpfx): Likewise.
20583         [!objdir] (common-objdir): Likewise.
20584         * configure.in (config_makefile): Remove.  Hardcode Makefile in
20585         AC_CONFIG_FILES call.
20586         * configure: Regenerated.
20588         [BZ #13888]
20589         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20590         or TMPDIR.
20591         (testout): Likewise.
20593         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20594         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20595         $(rtld-installed-name).
20596         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20597         (rtld_installed_name): Likwise.
20598         (runit): Remove function.
20599         (run_getconf): New variable,  Use it for running getconf binary.
20601 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
20603         [BZ #14716]
20604         * string/test-memmem.c (check_result): New function.
20605         (do_one_test): Use it.
20606         (check1): New function.
20607         (test_main): Use it.
20609 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
20611         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20613 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
20615         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20616         (_G_LSEEK64): Likewise.
20617         (_G_MMAP64): Likewise.
20618         (_G_FSTAT64): Likewise.
20619         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20620         (_G_LSEEK64): Likewise.
20621         (_G_MMAP64): Likewise.
20622         (_G_FSTAT64): Likewise.
20623         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20624         unconditional.  Call __mmap64 directly.
20625         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20626         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
20627         __lseek64 directly.
20628         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20629         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
20630         __mmap64 directly.
20631         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20632         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
20633         __lseek64 directly.
20634         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20635         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
20636         __lseek64 directly.
20637         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20638         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
20639         __lseek64 directly.
20640         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20641         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
20642         __fxstat64 directly.
20643         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20644         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20645         unconditional.
20646         (freopen64) [!_G_OPEN64]: Remove conditional code.
20647         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20648         unconditional.
20649         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20650         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20651         unconditional.
20652         (ftello64) [!_G_LSEEK64]: Remove conditional code.
20653         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20654         unconditional.
20655         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20656         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20657         unconditional.
20658         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20659         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20660         unconditional.
20661         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20662         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20663         unconditional.
20664         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20665         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20666         unconditional.
20667         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20669 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671         [BZ #12140]
20672         * manual/memory.texi (Malloc Tunable Parameters): Add note
20673         about free list pointers overwriting some perturb bytes.
20674         Wording suggested by Roland McGrath.
20676 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
20678         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20679         (lgamma_test): Likewise.
20680         (tgamma_test): Likewise.
20682 2012-10-16  Florian Weimer  <fweimer@redhat.com>
20684         [BZ #14700]
20685         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20686         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20688 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
20690         * NEWS: Mention BZ #14716.
20691         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20692         when removing AVAILABLE1_USES_J macro.
20694 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
20696         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20697         (__bswap_64): __uint64_t for unsigned 64-bit int.
20699 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
20701         * include/string.h (memmem): Declare libc hidden alias.
20702         * string/memmem.c (memmem): Define libc hidden alias.
20703         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20704         __read, __close instead of open, read, close.
20706 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
20708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20709         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20710         global and hidden.
20711         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20712         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20713         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20714         Likewise.
20715         (__rawmemchr_sse2): Likewise.
20716         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20717         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20718         (__strchr_sse2): Likewise.
20719         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20720         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20721         (__strcasecmp_sse2): Likewise.
20722         (__strncasecmp_sse2): Likewise.
20723         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20724         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20725         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20726         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20727         (__strrchr_sse2): Likewise.
20728         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20729         ifunc-impl-list.c.
20730         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20731         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20732         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20733         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20734         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20735         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20736         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20737         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20738         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20739         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20740         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20741         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20742         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20743         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20744         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20745         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20746         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20747         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20748         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20749         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20750         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20751         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20752         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20753         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20754         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20755         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20756         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20757         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20758         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20759         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20761         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20762         global and hidden.
20763         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20764         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20765         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20766         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20767         Likewise.
20768         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20769         Likewise.
20770         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20771         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20772         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20773         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20774         ifunc-impl-list.c.
20775         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20776         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20777         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20778         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20779         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20780         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20781         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20782         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20783         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20784         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20785         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20786         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20787         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20788         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20789         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20790         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20791         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20792         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20793         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20794         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20796         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20797         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20798         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20799         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20800         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20801         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20802         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20803         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20804         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20805         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20806         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20807         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20808         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20809         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20810         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20811         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20812         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20813         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20814         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20815         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20817         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20818         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20819         * include/ifunc-impl-list.h: New file.
20820         * misc/ifunc-impl-list.c: Likewise.
20821         * misc/Makefile (routines): Add ifunc-impl-list.
20822         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20823         * string/test-string.h: Include <ifunc-impl-list.h>.
20824         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20825         impl_array): New variables.
20826         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20827         are defined.
20828         (test_init): Call __libc_ifunc_impl_list to initialize
20829         func_list if TEST_IFUNC and TEST_NAME are defined.
20831         * string/Makefile (strop-tests): Add bcopy and bzero.
20832         * string/test-bcopy.c: New file.
20833         * string/test-bzero.c: Likewise.
20834         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20835         defined.
20836         * string/test-memset.c: Support bzero test if TEST_BZERO is
20837         defined.
20838         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20839         __libc_memmove.
20840         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20841         __libc_memset.
20842         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20843         of memset.
20845 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
20847         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20848         * configure: Regenerated.
20850         * Makeconfig (+link-static-before-libc): Don't include
20851         $(link-static-libc).
20853         * libio/libio.h (_IO_pos_t): Remove.
20855 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20857         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
20858         McGrath.
20860 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20862         * crypt/crypt-entry.c: Include fips-private.h.
20863         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20864         * crypt/md5c-test.c (main): Tolerate disabled MD5.
20865         * sysdeps/unix/sysv/linux/fips-private.h: New file.
20866         * sysdeps/generic/fips-private.h: New file, dummy fallback.
20868 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20870         * crypt/crypt-private.h: Include stdbool.h.
20871         (_ufc_setup_salt_r): Return bool.
20872         * crypt/crypt-entry.c: Include errno.h.
20873         (__crypt_r): Return NULL with EINVAL for bad salt.
20874         * crypt/crypt_util.c (bad_for_salt): New.
20875         (_ufc_setup_salt_r): Check that salt is long enough and within
20876         the specified alphabet.
20877         * crypt/badsalttest.c: New file.
20878         * crypt/Makefile (tests): Add it.
20879         ($(objpfx)badsalttest): New.
20881 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
20883         * NEWS: Add entry for BZ #14602.
20885 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
20887         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20888         type-generic.
20889         * math/libm-test.inc: Update comment listing what functions and
20890         macros are tested.
20891         (isgreater_test): New function.
20892         (isgreaterequal_test): Likewise.
20893         (isless_test): Likewise.
20894         (islessequal_test): Likewise.
20895         (islessgreater_test): Likewise.
20896         (isunordered_test): Likewise.
20897         (main): Call the new functions.
20899 2012-10-09  Roland McGrath  <roland@hack.frob.com>
20901         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20902         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20903         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20904         * sysdeps/i386/configure: Regenerated.
20905         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20906         * sysdeps/mach/configure: Regenerated.
20907         * sysdeps/mach/hurd/configure: Regenerated.
20908         * sysdeps/powerpc/configure: Regenerated.
20909         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20910         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20911         * sysdeps/s390/s390-32/configure: Regenerated.
20912         * sysdeps/s390/s390-64/configure: Regenerated.
20913         * sysdeps/sh/configure: Regenerated.
20914         * sysdeps/sparc/configure: Regenerated.
20915         * sysdeps/unix/sysv/linux/configure: Regenerated.
20916         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20917         * sysdeps/x86_64/configure: Regenerated.
20919         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20920         defined.  Don't check if MAP is NULL.
20922 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
20924         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20925         (_G_stat64): Likewise.
20926         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20927         (_G_stat64): Likewise.
20928         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20929         instead of struct _G_stat64.
20930         * libio/fileops.c (mmap_remap_check): Likewise.
20931         (decide_maybe_mmap): Likewise.
20932         (_IO_new_file_seekoff): Likewise.
20933         (_IO_file_stat): Likewise.
20934         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20935         _G_off64_t.
20936         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20937         instead of struct _G_stat64.
20938         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20940 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
20942         [BZ #14602]
20943         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20944         Replace with ...
20945         (CHECK_EOL): New macro.
20946         (two_way_short_needle): Check beginning of haystack for EOL.  Use
20947         CHECK_EOL.
20948         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20949         Replace with CHECK_EOL.
20950         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20951         Replace with CHECK_EOL.
20953 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
20955         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20956         type-generic.
20957         * math/libm-test.inc: Update comment listing what functions and
20958         macros are tested.
20959         (finite_test): New function.
20960         (isinf_test): Likewise.
20961         (isnan_test): Likewise.
20962         (fpclassify_test): Test subnormal input.
20963         (isfinite_test): Likewise.
20964         (isnormal_test): Likewise.
20965         (main): Call the new functions.
20967 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
20969         [BZ #14660]
20970         * Makerules (%.dynsym): Force C locale when running
20971         $(OBJDUMP) --dynamic-syms.
20973 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
20975         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20976         <stdint.h>.
20978 2012-10-06  David S. Miller  <davem@davemloft.net>
20980         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20981         upper 32-bits of the length value in %o2 since we use branch-on-register
20982         tests which consider the entire 64-bit register.
20984 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
20986         * string/test-strstr.c (check2): Add a test for page boundary.
20988 2012-10-05  David S. Miller  <davem@davemloft.net>
20990         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20991         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20992         file.
20993         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20994         sysdep_routines.
20995         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20996         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20997         and bzero when HWCAP_SPARC_CRYPTO is present.
20999 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
21001         [BZ #14602]
21002         * string/test-strstr.c (check2): New function.
21003         (test_main): Call check2.
21005         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21006         and bug-strchr1.
21007         * string/bug-strcasestr1.c (do_test): Moved to ...
21008         * string/test-strcasestr.c (check1): Here.  New function.
21009         (do_one_test): Break out result checking code into ...
21010         (check_result): This.  New function.
21011         (do_one_test): Call check_result.
21012         (test_main): Call check1.
21013         * string/bug-strchr1.c (do_test): Moved to ...
21014         * string/test-strchr.c (check1): Here.  New function.
21015         (do_one_test): Break out result checking code into ...
21016         (check_result): This.  New function.
21017         (do_one_test): Call check_result.
21018         (test_main): Call check1.
21019         * string/bug-strstr1.c (main): Moved to ...
21020         * string/test-strstr.c (check1): Here.  New function.
21021         (do_one_test): Break out result checking code into ...
21022         (check_result): This.  New function.
21023         (do_one_test): Call check_result.
21024         (test_main): Call check1.
21025         * string/bug-strcasestr1.c: Removed.
21026         * string/bug-strchr1.c: Likewise.
21027         * string/bug-strstr1.c: Likewise.
21029         * elf/Makefile (dl-routines): Add hwcaps.
21030         * elf/dl-support.c (_dl_important_hwcaps): Removed.
21031         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
21032         (_dl_important_hwcaps): Moved to ...
21033         * elf/dl-hwcaps.c: Here.  New file.
21034         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
21036         [BZ #14557]
21037         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
21038         if IS_IN_rtld isn't defined.
21040         * elf/dl-support.c (_dl_sysinfo_map): New.
21041         Include "get-dynamic-info.h" and "setup-vdso.h".
21042         (_dl_non_dynamic_init): Call setup_vdso.
21043         * elf/dynamic-link.h: Don't include <assert.h>.
21044         (elf_get_dynamic_info): Moved to ...
21045         * elf/get-dynamic-info.h: Here.  New file.
21046         * elf/dynamic-link.h: Include "get-dynamic-info.h".
21047         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
21048         * elf/setup-vdso.h: Here.  New file.
21049         * elf/rtld.c: Include "setup-vdso.h".
21050         (dl_main): Call setup_vdso.
21052 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
21054         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
21055         creal in comment listing functions tested.  List finite, isinf,
21056         isnan, isless, islessequal, isgreater, isgreaterequal,
21057         islessgreater, isunordered, lgamma_r and pow10 as functions and
21058         macros not tested.  Mention which functions not tested are aliases
21059         for other functions.  Fix typo.  Note that signs of NaNs are not
21060         tested.
21062         * scripts/config.guess: Update from config.git.
21063         * scripts/config.sub: Likewise.
21065 2012-10-04  Roland McGrath  <roland@hack.frob.com>
21067         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
21068         * misc/madvise.c (madvise): Renamed to __madvise.
21069         Make madvise a weak alias.
21070         * include/sys/mman.h: Declare __madvise.
21071         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
21072         * sysdeps/unix/syscalls.list
21073         (madvise): Make __madvise the strong name, and madvise a weak alias.
21074         * sysdeps/unix/sysv/linux/syscalls.list
21075         (madvise, mmap): Remove redundant entries.
21076         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
21077         * malloc/malloc.c (mtrim): Likewise.
21078         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
21080 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21082         * sysdeps/mach/hurd/dl-cache.c: File removed.
21083         * config.h.in (USE_LDCONFIG): New #undef.
21084         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
21085         * configure: Regenerated.
21086         * elf/Makefile (dl-routines): Add dl-cache only under
21087         [$(use-ldconfig) = yes].
21088         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
21089         cache on [USE_LDCONFIG].
21090         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
21091         [USE_LDCONFIG].
21092         * elf/rtld.c (dl_main): Likewise.
21094 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
21096         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
21097         _SC_LEVEL4_CACHE_LINESIZE.
21099 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21101         * sysdeps/unix/bsd/confstr.h: File removed.
21103 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
21105         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
21106         sys/sdt-config.h.
21108 2012-10-02  Roland McGrath  <roland@hack.frob.com>
21110         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
21111         Make 'mapoff' field ElfW(Off) rather than off_t.
21113 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
21115         * nscd/Makefile: Remove nscd-cflags and all its users.
21116         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
21117         (CFLAGS-nonlib): Add compiler flags for nscd modules.
21119         [BZ #10631]
21120         * malloc.c (malloc_printerr): Clarify error message.
21122 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
21124         [BZ #14648]
21125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21126         Set bit_FMA_Usable if FMA is supported.
21127         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
21128         macro.
21129         (bit_FMA4_Usable): Updated.
21130         (index_FMA_Usable): New macro.
21131         (CPUID_FMA): Likewise
21132         (HAS_FMA): Defined with bit_FMA_Usable.
21134 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21136         * bits/types.h (__swblk_t): Type removed.
21137         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
21138         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
21139         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21140         (__SWBLK_T_TYPE): Likewise.
21141         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21142         (__SWBLK_T_TYPE): Likewise.
21143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21144         (__SWBLK_T_TYPE): Likewise.
21145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21146         (__SWBLK_T_TYPE): Likewise.
21148 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
21149             Honza Horak <hhorak@redhat.com>
21151         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
21152         (xdr_mapname): Use YPMAXMAP as maxsize.
21153         (xdr_peername): Use YPMAXPEER as maxsize.
21154         (xdr_keydat): Use YPAXRECORD as maxsize.
21155         (xdr_valdat): Use YPMAXRECORD as maxsize.
21157 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21159         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
21161         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
21162         * csu/init-first.c: ... here.
21163         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
21164         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21165         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21166         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21167         * sysdeps/i386/init-first.c: File removed.
21168         * sysdeps/sh/init-first.c: File removed.
21170 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
21172         [BZ #14645]
21173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
21174         if x * y might underflow to zero and z is zero.
21175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21177         * math/libm-test.inc (min_subnorm_value): New variable.
21178         (fma_test): Add more tests.
21179         (fma_test_towardzero): Likewise.
21180         (fma_test_downward): Likewise
21181         (fma_test_upward): Likewise.
21182         (initialize): Set min_subnorm_value.
21184 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
21186         [BZ #14638]
21187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
21188         0 + 0.
21189         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
21190         mode for addition resulting in exact zero.
21191         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
21192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
21193         exact 0 + 0.
21194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21196         * math/libm-test.inc (fma_test): Add more tests.
21197         (fma_test_towardzero): New function.
21198         (fma_test_downward): Likewise.
21199         (fma_test_upward): Likewise.
21200         (main): Call the new functions.
21202 2012-09-28  David S. Miller  <davem@davemloft.net>
21204         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
21206 2012-09-28  Roland McGrath  <roland@hack.frob.com>
21208         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
21209         instead of SIGALRM.
21211         * sysdeps/gnu/_G_config.h: Moved to ...
21212         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
21213         * sysdeps/mach/hurd/_G_config.h: Moved to ...
21214         * sysdeps/generic/_G_config.h: ... here.
21216         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
21218         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
21220         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
21221         Conditionalize target on [libnss_test1.so-version].
21223         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
21225         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
21226         (elfobjdir): Move out of conditionals.
21228         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
21229         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
21230         (__nss_lookup_function): Conditionalize label remove_from_tree on
21231         [!DO_STATIC_NSS || SHARED], matching its only use.
21233 2012-09-28  David S. Miller  <davem@davemloft.net>
21235         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
21236         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
21237         file.
21238         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21239         sysdep_routines.
21240         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
21242         when HWCAP_SPARC_CRYPTO is present.
21244 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21246         * io/tst-mknodat.c: Create a FIFO instead of a socket.
21248 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
21250         [BZ #6530]
21251         * stdio-common/vfprintf.c (process_string_arg): Revert
21252         2000-07-22 change.
21254 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
21256         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
21257         for testcase.
21258         * stdio-common/tst-sprintf.c: Include <locale.h>
21259         (main): Test sprintf's handling of incomplete multibyte
21260         characters.
21262 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
21264         * elf/dl-runtime.c (VERSYMIDX): Removed.
21265         * elf/dl-version.c (VERSYMIDX): Likewise.
21266         * elf/do-rel.h (VERSYMIDX): Likewise.
21267         (VALIDX): Likewise.
21268         * elf/dynamic-link.h (VERSYMIDX): Likewise.
21269         * elf/rtld.c (VALIDX): Likewise.
21270         (ADDRIDX): Likewise.
21271         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
21272         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
21273         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
21274         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
21275         (VALIDX): Likewise.
21276         (ADDRIDX): Likewise.
21278 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21280         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
21282 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
21284         [BZ #11438]
21285         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
21286         to global scope.
21287         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
21288         addresses are in the same scope as 192.0.2/24.
21289         * posix/gai.conf: Document new scope table defaults.
21291 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21293         [BZ #5298]
21294         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
21295         for ftell.  Compute offsets from write pointers instead.
21296         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21298 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21300         [BZ #14543]
21301         * libio/Makefile (tests): New test case tst-fseek.
21302         * libio/tst-fseek.c: New test case to verify that fseek/ftell
21303         combination works in wide mode.
21304         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
21305         state when the external buffer state changes.
21307 2012-09-27  David S. Miller  <davem@davemloft.net>
21309         [BZ #14376]
21310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
21311         pass reloc->r_addend in as the 'high' argument to
21312         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
21314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21316 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21318         * rt/tst-aio2.c: Include <pthread.h>.
21319         * rt/tst-aio3.c: Likewise.
21321 2012-09-27  Steve Ellcey  <sellcey@mips.com>
21323         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
21325 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
21327         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
21328         contents on [SHARED].
21330 2012-09-26  Marek Polacek  <polacek@redhat.com>
21332         [BZ #14530]
21333         [BZ #13741]
21334         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
21335         for C++ and GCC <4.3 as well as for non GCC compilers.
21337 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21341 2012-09-25  Roland McGrath  <roland@hack.frob.com>
21343         * Makefile.in (all, install): Declare with .PHONY.
21344         Reported by Michael Hope <michael.hope@linaro.org>.
21346 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21348         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
21349         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21350         system header.
21351         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
21352         Likewise.
21353         (sydep_routines): Add the new and the internal functions.
21354         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
21355         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
21356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
21357         (GLIBC_2.17): Add the new function.
21358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21359         (GLIBC_2.17): Likewise.
21360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
21361         (GLIBC_2.17): Likewise.
21362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
21363         (GLIBC_2.17): Likewise.
21364         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21366 2012-09-25  Alan Modra  <amodra@gmail.com>
21368         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21369         Add release barrier before setting once_control to say
21370         initialisation is done.  Add hints on lwarx.  Use macro in
21371         place of isync.
21372         (clear_once_control): Add release barrier.
21374 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21376         [BZ #13629]
21377         * math/s_clog.c (__clog): Handle more values close to |z| = 1
21378         specially.
21379         * math/s_clog10.c (__clog10): Likewise.
21380         * math/s_clog10f.c (__clog10f): Likewise.
21381         * math/s_clog10l.c (__clog10l): Likewise.
21382         * math/s_clogf.c (__clogf): Likewise.
21383         * math/s_clogl.c (__clogl): Likewise.
21384         * math/Makefile (libm-calls): Add x2y2m1.
21385         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21386         (__x2y2m1): Likewise.
21387         (__x2y2m1l): Likewise.
21388         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21389         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21390         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21391         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21392         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21393         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21394         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21395         * sysdeps/i386/fpu/libm-test-ulps: Update.
21396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21398         [BZ #14621]
21399         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21400         int as type of variable DEPTH.
21401         (glob): Use size_t instead of int as type of variables NEWCOUNT
21402         and OLD_PATHC.
21404 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21406         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21407         Add s_sincosf-sse2.
21408         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21409         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21410         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21411         macros for using routine as __sincosf_ia32.
21412         Use macro for function declaration and weak_alias.
21413         * sysdeps/i386/fpu/libm-test-ulps: Update.
21415         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21418         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21419         subnormal argument.
21420         * math/s_cexpf.c (__cexpf): Likewise.
21421         * math/s_csinf.c (__csinf): Likewise.
21422         * math/s_csinhf.c (__csinhf): Likewise.
21423         * math/s_ctanf.c (__ctanf): Likewise.
21424         * math/s_ctanhf.c (__ctanhf): Likewise.
21425         * math/s_ccosh.c (__ccoshf): Likewise.
21426         * math/s_cexp.c (__cexpl): Likewise.
21427         * math/s_csin.c (__csin): Likewise.
21428         * math/s_csinh.c (__csinh): Likewise.
21429         * math/s_ctan.c (__ctan): Likewise.
21430         * math/s_ctanh.c (ctanh): Likewise.
21431         * math/s_ccoshl.c (__ccoshl): Likewise.
21432         * math/s_cexpl.c (__cexpl): Likewise.
21433         * math/s_csinl.c (__csinl): Likewise.
21434         * math/s_csinhl.c (__csinhl): Likewise.
21435         * math/s_ctanl.c (__ctanl): Likewise.
21436         * math/s_ctanhl.c (__ctanhl): Likewise.
21438 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21440         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21441         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21442         (_IO_off_t): Define to __off_t, not _G_off_t.
21443         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21444         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21445         (_IO_wint_t): Define to wint_t, not _G_wint_t.
21446         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21447         type of __dummy and __dummy2 fields.
21448         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21449         (_G_ssize_t): Likewise.
21450         (_G_off_t): Likewise.
21451         (_G_pid_t): Likewise.
21452         (_G_uid_t): Likewise.
21453         (_G_wchar_t): Likewise.
21454         (_G_wint_t): Likewise.
21455         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21456         (_G_ssize_t): Likewise.
21457         (_G_off_t): Likewise.
21458         (_G_pid_t): Likewise.
21459         (_G_uid_t): Likewise.
21460         (_G_wchar_t): Likewise.
21461         (_G_wint_t): Likewise.
21462         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21463         (_G_ssize_t): Likewise.
21464         (_G_off_t): Likewise.
21465         (_G_pid_t): Likewise.
21466         (_G_uid_t): Likewise.
21467         (_G_wchar_t): Likewise.
21468         (_G_wint_t): Likewise.
21470 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21472         * malloc/arena.c: Include malloc-sysdep.h.
21473         (shrink_heap): Use check_may_shrink_heap to decide if madvise
21474         is sufficient to shrink the heap or an unmap is needed.
21475         * sysdeps/generic/malloc-sysdep.h: New file.  Define
21476         new function check_may_shrink_heap.
21477         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
21478         new function check_may_shrink_heap.
21480 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21482         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21483         comments.
21485 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
21487         * catgets/test-gencat.sh: Add "set -e".
21488         * elf/tst-pathopt.sh: Likewise.
21489         * grp/tst_fgetgrent.sh: Likewise.
21490         * iconvdata/run-iconv-test.sh: Likewise.
21491         * intl/tst-gettext.sh: Likewise.
21492         * intl/tst-gettext2.sh: Likewise.
21493         * intl/tst-gettext4.sh: Likewise.
21494         * intl/tst-gettext6.sh: Likewise.
21495         * intl/tst-translit.sh: Likewise.
21496         * io/ftwtest-sh: Likewise.
21497         * libio/test-freopen.sh: Likewise.
21498         * malloc/tst-mtrace.sh: Likewise.
21499         * posix/globtest.sh: Likewise.
21500         * posix/tst-getconf.sh: Likewise.
21501         * posix/wordexp-tst.sh: Likewise.
21502         * stdio-common/tst-printf.sh: Likewise.
21503         * stdio-common/tst-unbputc.sh: Likewise.
21504         * stdlib/tst-fmtmsg.sh: Likewise.
21505         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21506         * catgets/Makefile: Do not specify -e option when running
21507         testsuite shell scripts.
21508         * elf/Makefile: Likewise.
21509         * grp/Makefile: Likewise.
21510         * iconvdata/Makefile: Likewise.
21511         * intl/Makefile: Likewise.
21512         * io/Makefile: Likewise.
21513         * libio/Makefile: Likewise.
21514         * malloc/Makefile: Likewise.
21515         * posix/Makefile: Likewise.
21516         * stdio-common/Makefile: Likewise.
21517         * stdlib/Makefile: Likewise.
21518         * sysdeps/x86_64/Makefile: Likewise.
21520         * io/ftwtest-sh: Add copyright header.
21521         * posix/globtest.sh: Likewise.
21522         * posix/tst-getconf.sh: Likewise.
21523         * posix/wordexp-tst.sh: Likewise.
21524         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21526 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
21528         [BZ #13679]
21529         * Makeconfig (+link): Defined as $(+link-static) if
21530         $(build-shared) isn't yes.
21531         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21532         isn't yes.
21533         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21535         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21537         [BZ #14562]
21538         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21539         new chunk size with MALLOC_ALIGN_MASK.
21541 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
21543         [BZ #5044]
21544         * stdio-common/printf_fphex.c: Include <stdbool.h> and
21545         <rounding-mode.h>.
21546         (__printf_fphex): Determine rounding using get_rounding_mode and
21547         round_away.
21548         * stdio-common/tst-printf-round.c (struct hex_test): New
21549         structure.
21550         (hex_tests): New variable.
21551         (test_hex_in_one_mode): New function.
21552         (do_test): Also run tests for hex float output.
21554 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
21556         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21557         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21558         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21559         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21560         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21561         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21562         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21563         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21565 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
21567         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21568         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21569         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21570         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21572 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
21574         [BZ #14579]
21575         * elf/rtld.c (dl_main): Limit the check for self loading to normal
21576         mode only.
21577         * elf/tst-rtld-load-self.sh: New test.
21578         * elf/Makefile: Run it.
21580 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
21582         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21583         (tst-writev-ENV): Remove.
21584         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21586 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
21588         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21590 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
21592         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21593         unconditional.
21594         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21595         Likewise.
21596         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21597         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21598         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21599         Likewise.
21601 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
21603         [BZ #14587]
21604         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21605         * config.make.in (have-cpp-asm-debuginfo): Removed.
21606         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21607         * configure: Regenerated.
21609 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
21611         [BZ #5044]
21612         * stdio-common/printf_fp.c: Include <stdbool.h> and
21613         <rounding-mode.h>.
21614         (___printf_fp): Determine rounding using get_rounding_mode and
21615         round_away.
21616         * stdio-common/tst-printf-round.c: New file.
21617         * stdio-common/Makefile (tests): Add tst-printf-round.
21618         (link-libm): New variable.
21619         ($(objpfx)tst-printf-round): Depend in $(link-libm).
21621 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
21623         [BZ #14576]
21624         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21625         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21626         Likewise.
21627         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21628         Likewise.
21630 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
21632         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21633         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21634         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21635         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21637 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
21639         [BZ #14518]
21640         * include/rounding-mode.h: New file.
21641         * sysdeps/generic/get-rounding-mode.h: Likewise.
21642         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21643         * stdlib/strtod_l.c: Include <rounding-mode.h>.
21644         (MAX_VALUE): New macro.
21645         (MIN_VALUE): Likewise.
21646         (overflow_value): New function.
21647         (underflow_value): Likewise.
21648         (round_and_return): Use overflow_value and underflow_value to
21649         determine return values in overflow and underflow cases.  Use
21650         round_away to determine rounding depending on rounding mode.
21651         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21652         determine return values in overflow and underflow cases.
21653         * stdlib/tst-strtod-round.c: Include <fenv.h>.
21654         (struct test_results): New structure.
21655         (struct test): Use struct test_results to store expected results
21656         for all rounding modes.
21657         (TEST): Include expected results for all rounding modes.
21658         (test_in_one_mode): New function.
21659         (do_test): Use test_in_one_mode to compute and check results.
21660         Check results for all rounding modes.
21661         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21662         $(link-libm).
21664 2012-12-09  Allan McRae  <allan@archlinux.org>
21666         * sysdeps/i386/fpu/libm-test-ulps: Update
21668 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
21670         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21671         (_G_int32_t): Likewise.
21672         (_G_uint16_t): Likewise.
21673         (_G_uint32_t): Likewise.
21674         (_G_HAVE_BOOL): Likewise.
21675         (_G_HAVE_ATEXIT): Likewise.
21676         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21677         (_G_HAVE_IO_FILE_OPEN): Likewise.
21678         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21679         (_G_int32_t): Likewise.
21680         (_G_uint16_t): Likewise.
21681         (_G_uint32_t): Likewise.
21682         (_G_HAVE_BOOL): Likewise.
21683         (_G_HAVE_ATEXIT): Likewise.
21684         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21685         (_G_HAVE_IO_FILE_OPEN): Likewise.
21686         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21687         (_G_int32_t): Likewise.
21688         (_G_uint16_t): Likewise.
21689         (_G_uint32_t): Likewise.
21690         (_G_HAVE_BOOL): Likewise.
21691         (_G_HAVE_ATEXIT): Likewise.
21692         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21693         (_G_HAVE_IO_FILE_OPEN): Likewise.
21695 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
21697         * csu/libc-tls.c: Update copyright years.
21699 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
21701         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21702         [!_G_USING_THUNKS]: Remove conditional code.
21703         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21704         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21706         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21707         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21708         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21709         (_G_VTABLE_LABEL_PREFIX): Likewise.
21710         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21711         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21712         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21713         (_G_VTABLE_LABEL_PREFIX): Likewise.
21714         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21715         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21716         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21717         (_G_VTABLE_LABEL_PREFIX): Likewise.
21718         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21720 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
21722         * libio/Makefile: Include ../Makeconfig before tests.
21723         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21724         only if $(build-shared) is yes.
21726         * iconv/gconv_db.c: Update copyright years.
21728 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21730         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21731         unwind info if defined PIC. Fix special cases description.
21732         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21734         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21735         DP_HI_MASK entry.
21736         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21738 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
21740         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21742         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21743         is NULL.
21745         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21746         (LDLIBS-tst-chk4): This.
21747         (LDFLAGS-tst-chk5): Renamed to ...
21748         (LDLIBS-tst-chk5): This.
21749         (LDFLAGS-tst-chk6): Renamed to ...
21750         (LDLIBS-tst-chk6): This.
21751         (LDFLAGS-tst-lfschk4): Renamed to ...
21752         (LDLIBS-tst-lfschk4): This.
21753         (LDFLAGS-tst-lfschk5): Renamed to ...
21754         (LDLIBS-tst-lfschk5): This.
21755         (LDFLAGS-tst-lfschk6): Renamed to ...
21756         (LDLIBS-tst-lfschk6): This.
21758         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21759         on $(common-objpfx)soversions.mk.
21761 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
21763         [BZ #10014]
21764         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21765         example host name.
21767 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21769         * malloc/arena.c (arena_get_retry): New function that gets
21770         another arena for the caller to try its request on.
21771         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21772         current arena cannot fulfill the request.
21773         (__libc_memalign): Likewise.
21774         (__libc_memalign): Likewise.
21775         (__libc_pvalloc): Likewise.
21776         (__libc_calloc): Likewise.
21778 2012-09-05  John Tobey  <john.tobey@gmail.com>
21780         [BZ #13542]
21781         * manual/arith.texi (Operations on Complex): Fix description
21782         of carg branch cut.
21784 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #10014]
21787         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21788         host name.
21790         [BZ #10038]
21791         * manual/memory.texi (Memory): Make order of menu items match
21792         order of sections.
21794 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21796         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21797         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
21798         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21800 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21802         * csu/libc-tls.c (static_dtv): Renamed to ...
21803         (_dl_static_dtv): This.  Make it global.
21804         (_dl_initial_dtv): Removed.
21805         (__libc_setup_tls): Updated.
21806         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21807         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21808         DL_INITIAL_DTV.
21810 2012-09-06  Petr Machata  <pmachata@redhat.com>
21812         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21813         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21814         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21815         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21817 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21819         [BZ #14545]
21820         * csu/libc-tls.c (_dl_initial_dtv): New variable.
21821         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21822         freeing dtv[-1].
21824 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21826         [BZ #14544]
21827         * Makeconfig (link-static-before-libc): Replace $(+prector)
21828         with $(+prectorT).
21829         (link-static-after-libc): Replace $(+postctor) with
21830         $(+postctorT).
21831         (link-bounded): Replace $(+prector)/$(+postctor) with
21832         $(+prectorT)/$(+postctorT).
21833         (+prectorT): New macro.
21834         (+postctorT): Likewise.
21836 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
21838         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21839         (round_str): Handle values above the maximum for IBM long double
21840         as inexact.
21841         * stdlib/tst-strtod-round.c (tests): Regenerated.
21843 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21845         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21846         assembler flag.
21847         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21848         zarch_nohighgprs around the zarch optimized routines.
21849         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21850         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21851         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21852         for zarch.
21854 2012-09-05  David S. Miller  <davem@davemloft.net>
21856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21858         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21859         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21860         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21861         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21862         entries.
21864 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21866         * malloc/arena.c: Fold copyright years.
21867         * malloc/mcheck.c, malloc/memusage.c: Likewise.
21869 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21871         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21873 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21875         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
21877 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21879         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21880         change internal state upon failure.
21882 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21884         * malloc/mcheck.c (mcheck_check_all): Fix typo.
21885         * malloc/memusage.c (mmap): Likewise.
21886         (mmap64, mremap): Likewise.  Adjust name in comment.
21888 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21890         * libio/fileops.c: Fix typos in comments.
21891         * libio/oldfileops.c: Likewise.
21892         * libio/wfileops.c: Likewise.
21894 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21896         [BZ #1349]
21897         * malloc/Makefile (tests): Add tst-malloc-usable test case.
21898         (tst-malloc-usable-ENV): Set environment for test case.
21899         * malloc/hooks.c (malloc_check_get_size): New function to get
21900         requested size.
21901         * malloc/malloc.c (musable): Use malloc_check_get_size.
21902         * malloc/tst-malloc-usable.c: New test case.
21904 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21906         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21908 2012-09-05  Allan McRae  <allan@archlinux.org>
21910         [BZ #13966]
21911         * configure.in (CXX_SYSINCLUDES): Use compiler output to
21912         determine header location.
21913         * configure: Regenerated.
21915 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21917         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21918         float format.
21919         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21920         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21921         format.
21922         (test): Regenerate.
21924 2012-09-04  David S. Miller  <davem@davemloft.net>
21926         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21927         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21928         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21930 2012-09-04  Florian Weimer  <fweimer@redhat.com>
21932         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21933         failures.
21935         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21937 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
21939         [BZ #9914]
21940         * libio/iogetdelim.c: Include <limits.h>.
21941         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21942         + len + 1 would overflow.
21944 2012-09-03  Andreas Jaeger  <aj@suse.de>
21946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21947         * sysdeps/i386/fpu/libm-test-ulps: Update.
21949 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21951         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21952         Add s_sinf-sse2, s_conf-sse2.
21954         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21955         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21956         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21957         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21959         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21960         for using routine as __sinf_ia32.
21961         Use macro for function declaration and weak_alias.
21962         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21963         for using routine as __cosf_ia32.
21964         Use macro for function declaration and weak_alias.
21966         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21967         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21969         * sysdeps/x86_64/fpu/s_sinf.S: New file.
21970         * sysdeps/x86_64/fpu/s_cosf.S: New file.
21971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21973         * math/libm-test.inc (cos_test): Add more test cases.
21974         (sin_test): Likewise.
21975         (sincos_test): Likewise.
21977 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21980         (IFUNC_RESOLVE): Make pointers to the specialized implementations
21981         hidden.
21982         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21984 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
21986         [BZ #14538]
21987         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21988         first element of the GOT.
21989         (elf_machine_load_address): Return the difference between
21990         the runtime address of _DYNAMIC and elf_machine_dynamic ().
21992 2012-09-01  Allan McRae  <allan@archlinux.org>
21994         [BZ #13412]
21995         * configure.in (AWK): Require gawk version 3.0 or later.
21996         * configure: Regenerated.
21998 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
22000         * sysdeps/unix/sysv/linux/kernel-features.h
22001         (__ASSUME_POSIX_CPU_TIMERS): Remove.
22002         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22003         [__NR_clock_getres]: Make code unconditional.
22004         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22005         (clock_getcpuclockid): Remove code left unreachable by removal of
22006         conditionals.
22007         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
22008         code unconditional.
22009         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22010         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22011         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
22012         Make code unconditional.
22013         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22014         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22015         * sysdeps/unix/sysv/linux/clock_settime.c
22016         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
22017         conditional code.
22018         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22019         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22021 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
22023         [BZ #14476]
22024         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
22025         scripts/test-installation.pl.
22027         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
22028         and $ld_so_version if it is set.
22030 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22032         [BZ #14516]
22033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
22034         failure if reading from procfs failed.
22035         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
22037 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22039         * sysdeps/unix/sysv/linux/kernel-features.h
22040         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
22041         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22042         Remove conditional code.
22043         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22044         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
22045         Remove conditional code.
22046         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22047         * sysdeps/unix/sysv/linux/i386/fxstat.c
22048         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22050         * sysdeps/unix/sysv/linux/i386/fxstatat.c
22051         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22053         * sysdeps/unix/sysv/linux/i386/lxstat.c
22054         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22055         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22056         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
22057         Remove conditional code.
22058         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22059         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22060         Remove conditional code.
22061         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22062         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
22063         <kernel-features.h>.
22064         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
22065         Remove.
22066         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
22067         Remove conditional code.
22068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22069         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
22070         Remove conditional.
22072 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
22074         [BZ #5400]
22075         * NEWS: Add fixed bug number.
22077 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22079         [BZ #14519]
22080         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
22081         underflowing exponent in case of negative sign.
22082         * stdlib/tst-strtod-round-data: Add more tests.
22083         * stdlib/tst-strtod-round.c (tests): Regenerated.
22085         [BZ #3479]
22086         * stdlib/strtod_l.c (NDIG): Remove.
22087         (HEXNDIG): Likewise.
22088         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
22089         smallest representable value.
22090         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
22091         lie within an exact representation of 1/2 ulp of the result.
22092         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
22093         unconditionally.
22094         (TENS_P9_IDX): Define unconditionally.
22095         (TENS_P9_SIZE): Likewise.
22096         (TENS_P10_IDX): Likewise.
22097         (TENS_P10_SIZE): Likewise.
22098         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
22099         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
22100         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
22101         entries for 10^2^13 and 10^2^14.
22102         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
22103         (TENS_P13_IDX): Define.
22104         (TENS_P13_SIZE): Likewise.
22105         (TENS_P14_IDX): Likewise.
22106         (TENS_P14_SIZE): Likewise.
22107         (_fpioconst_pow10): Change array size to
22108         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
22109         unconditional.
22110         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
22111         1024]: Add entries for 10^2^13 and 10^2^14.
22112         [LAST_POW10 > _LAST_POW10]: Remove #error.
22113         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
22114         (_fpioconst_pow10): Change array size to
22115         FPIOCONST_POW10_ARRAY_SIZE.
22116         * stdlib/gen-fpioconst.c: New file.
22117         * stdlib/gen-tst-strtod-round.c: Likewise.
22118         * stdlib/tst-strtod-round-data: Likewise.
22119         * stdlib/tst-strtod-round.c: Likewise.
22120         * stdlib/Makefile (tests): Add tst-strtod-round.
22122         [BZ #14459]
22123         * stdlib/strtod_l.c: Include <stdint.h>.
22124         (NDEBUG): Do not define.
22125         (round_and_return): Change EXPONENT parameter to type intmax_t.
22126         Rearrange calculations to avoid internal overflow possibilities.
22127         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
22128         Rearrange calculations to avoid internal overflow possibilities.
22129         Assert that number fits inside MPNSIZE limbs.
22130         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
22131         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
22132         calculations and add assertions to avoid internal overflow
22133         possibilities.  Add casts to avoid signed/unsigned operations.
22134         * stdlib/tst-strtod-overflow.c: New file.
22135         * stdlib/Makefile (tests): Add tst-strtod-overflow.
22137 2012-08-25  Marek Polacek  <polacek@redhat.com>
22139         * time/time.h: Fix some typos in comments.
22141 2012-08-23  Roland McGrath  <roland@hack.frob.com>
22143         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
22144         * posix/tst-rfc3484-2.c: Likewise.
22145         * posix/tst-rfc3484-3.c: Likewise.
22147 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
22149         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
22150         (EF_ARM_ABI_FLOAT_HARD): Likewise.
22152 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
22154         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
22155         #include of fxstatat64.c.
22157 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22159         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
22160         * shadow/getspent_r.c: Likewise.
22161         * shadow/getspnam.c: Likewise.
22162         * shadow/getspnam_r.c: Likewise.
22163         * gshadow/getsgent.c: Likewise.
22164         * gshadow/getsgent_r.c: Likewise.
22165         * gshadow/getsgnam.c: Likewise.
22166         * gshadow/getsgnam_r.c: Likewise.
22167         * inet/getnetbyad.c: Likewise.
22168         * inet/getnetbyad_r.c: Likewise.
22169         * inet/getnetbynm.c: Likewise.
22170         * inet/getnetbynm_r.c: Likewise.
22171         * inet/getnetent.c: Likewise.
22172         * inet/getnetent_r.c: Likewise.
22173         * inet/getproto.c: Likewise.
22174         * inet/getproto_r.c: Likewise.
22175         * inet/getprtent.c: Likewise.
22176         * inet/getprtent_r.c: Likewise.
22177         * inet/getprtname.c: Likewise.
22178         * inet/getprtname_r.c: Likewise.
22179         * inet/getrpcbyname.c: Likewise.
22180         * inet/getrpcbyname_r.c: Likewise.
22181         * inet/getrpcbynumber.c: Likewise.
22182         * inet/getrpcbynumber_r.c: Likewise.
22183         * inet/getrpcent.c: Likewise.
22184         * inet/getrpcent_r.c: Likewise.
22185         * inet/getaliasent.c: Likewise.
22186         * inet/getaliasent_r.c: Likewise.
22187         * inet/getaliasname.c: Likewise.
22188         * inet/getaliasname_r.c: Likewise.
22189         * nscd/getgrgid_r.c: Likewise.
22190         * nscd/getgrnam_r.c: Likewise.
22191         * nscd/gethstbyad_r.c: Likewise.
22192         * nscd/gethstbynm3_r.c: Likewise.
22193         * nscd/getpwnam_r.c: Likewise.
22194         * nscd/getpwuid_r.c: Likewise.
22195         * nscd/getsrvbynm_r.c: Likewise.
22196         * nscd/getsrvbypt_r.c: Likewise.
22197         * nscd/gai.c: Likewise.
22199         * configure.in (build_nscd): New substituted variable, set
22200         by --disable-build-nscd and defaults to $use_nscd.
22201         * configure: Regenerated.
22202         * config.make.in (build-nscd): New substituted variable.
22203         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
22204         Change conditional to require [$(build-nscd) = yes] as well.
22205         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
22207         [BZ# 13696]
22208         * configure.in (use_nscd): New substituted variable, set by
22209         --disable-nscd.  If enabled, define USE_NSCD.
22210         * configure: Regenerated.
22211         * config.h.in: Add USE_NSCD.
22212         * config.make.in (use-nscd): New substituted variable.
22213         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22214         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
22215         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
22216         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
22217         (CFLAGS-getgrnam_r.c): Likewise.
22218         (CFLAGS-initgroups.c): Likewise.
22219         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
22220         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
22221         Variables removed.
22222         * inet/getnetgrent_r.c
22223         (nscd_setnetgrent): New function, broken out of ...
22224         (setnetgrent): ... here.  Call it.
22225         (innetgr): Conditionalize nscd bits on [USE_NSCD].
22226         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
22227         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
22228         * nscd/Makefile (routines, aux): Move definitions after include of
22229         Makeconfig.  Conditionalize on [$(use-nscd) != no].
22230         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
22231         Conditionalize on [USE_NSCD].
22232         (is_nscd, nscd_init_cb): Likewise.
22233         (nss_load_library): Conditionalize init callback on [USE_NSCD].
22234         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
22235         * nss/nss_db/db-init.c: Likewise.
22236         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
22237         [USE_NSCD].
22238         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
22239         (make_request): Use it.
22240         (cache_valid_p): New function.
22241         (__check_pf): Use it.
22242         * NEWS: Add item for --disable-nscd.
22244 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
22246         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
22247         to support sed >= 4.2.1-20-ga9bf076.
22248         * configure: Regenerated.
22250 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22252         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
22253         Conditionalize whole body on [IREL].
22255 2012-08-22  Jeff Law <law@redhat.com>
22257         [BZ #14505]
22258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
22259         if the family is PF_UNSPEC.
22261 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
22263         * Makerules (lib-version): Rename from V.
22264         (install-lib-nosubdir): Change V to lib-version.
22266 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
22268         [BZ #14252]
22269         * powerpc32/power6/wcschr.c: New file.
22270         * powerpc32/power6/wcscpy.c: New file.
22271         * powerpc32/power6/wcsrchr.c: New file.
22272         * powerpc64/power6/wcschr.c: New file.
22273         * powerpc64/power6/wcscpy.c: New file.
22274         * powerpc64/power6/wcsrchr.c: New file.
22276 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22278         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
22279         (two_way_short_needle): Use it.
22280         * string/strstr.c (AVAILABLE1_USES_J): Define.
22281         * string/strcasestr.c: Likewise.
22283         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
22284         array references.
22285         * string/strcasestr.c (TOLOWER): Make side-effect safe.
22287         [BZ #11607]
22288         * NEWS: Add an entry.
22289         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
22290         define their defaults.
22291         (two_way_short_needle): Detect end-of-string on-the-fly.
22292         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
22293         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
22294         * string/bug-strcasestr1.c: New test.
22295         * string/Makefile: Run it.
22297 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22299         [BZ #11607]
22300         * string/str-two-way.h (two_way_short_needle): Optimize matching of
22301         the first character.
22303 2012-08-21  Roland McGrath  <roland@hack.frob.com>
22305         * csu/elf-init.c (__libc_csu_irel): Function removed.
22306         * csu/libc-start.c (apply_irel): New function.
22307         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
22309 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
22311         * sysdeps/unix/sysv/linux/kernel-features.h
22312         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
22313         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22314         <kernel-features.h>.
22315         [__NR_fadvise64_64]: Make code unconditional.
22316         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
22317         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22318         !__NR_fadvise64_64)]: Likewise.
22319         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22320         !__NR_fadvise64_64))]: Likewise.
22321         [__NR_fadvise64]: Make code unconditional.
22322         [!__NR_fadvise64]: Remove conditional code.
22323         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
22324         <kernel-features.h>.
22325         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22326         unconditional.
22327         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22328         conditional code.
22329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22330         not include <kernel-features.h>.
22331         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22332         unconditional.
22333         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22334         conditional code.
22335         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
22336         include <kernel-features.h>.
22337         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22338         unconditional.
22339         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22340         conditional code.
22342 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
22344         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
22345         slight instruction rearrangements per scrollpipe analysis.
22346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22348 2012-08-20  Roland McGrath  <roland@hack.frob.com>
22350         * manual/syslog.texi (syslog; vsyslog, closelog):
22351         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
22352         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
22354         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
22355         DSOCAPS to match condition on defining it.
22357 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
22359         * sysdeps/unix/sysv/linux/kernel-features.h
22360         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
22361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
22362         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22363         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
22365         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22366         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
22368         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22369         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22371         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22372         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22374         * sysdeps/unix/sysv/linux/kernel-features.h
22375         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22376         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22377         unconditional.
22378         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22379         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22380         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22381         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22382         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22383         Make code unconditional.
22384         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22385         (__mmap64) [!__NR_mmap2]: Likewise.
22386         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22387         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22388         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22389         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22390         [__NR_mmap2]: Make code unconditional.
22391         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22392         (__mmap64) [!__NR_mmap2]: Likewise.
22394 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22396         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22398 2012-08-18  Andreas Jaeger  <aj@suse.de>
22400         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22402 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22404         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22405         * include/unistd.h (__have_sock_cloexec): Likewise.
22406         (__have_pipe2): Likewise.
22407         (__have_dup3): Likewise.
22409 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22411         [BZ #9685]
22412         * include/unistd.h (__have_pipe2): Change define into an extern int.
22413         (__have_dup3): Likewise.
22414         * socket/have_sock_cloexec.c: Include fcntl.h.
22415         (__have_pipe2): New variable.
22416         (__have_dup3): Likewise.
22418 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
22420         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22422 2012-08-17  Marek Polacek  <polacek@redhat.com>
22424         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22425         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22427 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22429         * configure.in: Add AC_SUBST for sysheaders.
22430         * configure: Regenerated.
22431         * config.make.in (sysheaders): New substituted variable.
22433         * sysdeps/unix/mkfifo.c: Moved ...
22434         * sysdeps/posix/mkfifo.c: ... here.
22435         * sysdeps/unix/mkfifoat.c: Moved ...
22436         * sysdeps/posix/mkfifoat.c: ... here.
22438         * sysdeps/unix/utime.c: Moved ...
22439         * sysdeps/posix/utime.c: ... here.
22441         * sysdeps/unix/time.c: Moved ...
22442         * sysdeps/posix/time.c: ... here.
22443         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22444         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22446         * sysdeps/unix/nice.c: Moved ...
22447         * sysdeps/posix/nice.c: ... here.
22449         * sysdeps/unix/alarm.c: Moved ...
22450         * sysdeps/posix/alarm.c: ... here.
22452         * intl/Makefile ($(codeset_mo)): Depend on the input file.
22454 2012-08-17  Jeff Law <law@redhat.com>
22456         * intl/Makefile (codeset_mo): New variable.
22457         ($(codeset_mo)): New target.
22458         (tst-codeset.out): Depend on that.  Remove explicit rule.
22459         (tst-gettext3.out, tst-gettext5.out): Likewise.
22460         (LOCPATH-ENV, tst-codeset-ENV): New variables.
22461         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22462         * intl/tst-codeset.sh: Remove.
22463         * intl/tst-gettext3.sh: Likewise.
22464         * intl/tst-gettext5.sh: Likewise.
22466 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22468         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
22469         * sysdeps/unix/syscalls.list: ... here.
22471         * sysdeps/posix/getaddrinfo.c
22472         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22473         (gaiconf_init, gaiconf_reload): Use them.
22474         [!_STATBUF_ST_NSEC]
22475         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22476         Define using time_t rather than struct timespec.
22478         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22479         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22480         Macros removed.
22481         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22482         [!NO_THREADS].
22483         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22484         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22485         Likewise.
22487         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22488         __libc_cleanup_push argument.
22490         * bits/param.h: New file.
22491         * misc/sys/param.h: New file.
22492         * include/sys/param.h: New file.
22493         * misc/Makefile (headers): Add bits/param.h.
22494         * sysdeps/generic/sys/param.h: File removed.
22495         * sysdeps/unix/sysv/linux/bits/param.h: New file.
22496         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22497         * sysdeps/mach/hurd/bits/param.h: New file.
22498         * sysdeps/mach/hurd/sys/param.h: File removed.
22500         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22501         last change.
22503         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22504         [_IO_MTSAFE_IO].
22505         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22506         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22507         New macros.
22509         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22510         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22511         rather than -D_IO_MTSAFE_IO conditionally.
22512         * stdio-common/Makefile (CPPFLAGS): Likewise.
22513         * wcsmbs/Makefile (CPPFLAGS): Likewise.
22514         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22515         Use $(libio-mtsafe).
22516         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22517         of -D_IO_MTSAFE_IO.
22518         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22519         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22520         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22521         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22522         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22523         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22524         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22525         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22526         (CFLAGS-fread_u_chk.c): Likewise.
22527         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22528         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22529         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22530         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22531         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22532         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22533         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22534         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22535         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22537         * libio/Makefile: Test [$(libc-reentrant) = yes]
22538         instead of [$(filter %REENTRANT, $(defines)) nonempty].
22540         * Makeconfig
22541         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22542         * sysdeps/pthread/configure: File removed.
22543         * sysdeps/pthread/Makeconfig: New file.
22544         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22545         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22547 2012-08-16  Gary Benson  <gbenson@redhat.com>
22549         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22550         unmapping the first object in a namespace.
22552 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22554         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22555         (__internal_setnetgrent): ... this.  Add internal_function to
22556         definition.  Add libc_hidden_def.
22557         (setnetgrent): Update caller.
22558         (internal_endnetgrent): Renamed to ...
22559         (__internal_endnetgrent): ... this.  Add internal_function to
22560         definition.  Add libc_hidden_def.
22561         (endnetgrent): Update caller.
22562         (internal_getnetgrent_r): Renamed to ...
22563         (__internal_getnetgrent_r): ... this.  Add internal_function to
22564         definition.  Add libc_hidden_def.
22565         (__getnetgrent_r): Update caller.
22566         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
22568 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22570         * stdlib/longlong.h: Update from GCC.
22572 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22574         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22575         on _QL, which is set by umul_ppmm but never used.
22576         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22577         variables, which are set by GMP macros but never used.
22578         * stdio-common/_itowa.c (_itowa): Likewise.
22579         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22580         * stdlib/mod_1.c (mpn_mod_1): Likewise.
22582 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
22584         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22585         struct La_sh_regs is not constant.
22586         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22587         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22588         and struct La_sparc64_regs are not constant.
22590 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22592         * sysdeps/unix/sysv/linux/kernel-features.h
22593         (__ASSUME_POSIX_TIMERS): Remove.
22594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22595         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22596         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22597         Make code unconditional.
22598         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22599         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22600         Make code unconditional.
22601         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22602         * sysdeps/unix/sysv/linux/clock_nanosleep.c
22603         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22604         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22605         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22606         Make code unconditional.
22607         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22608         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22609         (__libc_missing_posix_timers): Remove.
22611 2012-08-15  Roland McGrath  <roland@hack.frob.com>
22613         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22614         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22616         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22618         * elf/dl-sym.c: Include <stdlib.h>.
22620         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22621         constants, which avoids warnings in 32-bit builds.
22623         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22624         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22626         * misc/lseek.c: File moved to ...
22627         * io/lseek.c: ... here.
22629         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22631         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22632         shifting LEN more than 31 bits at once.
22634 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22636         [BZ #14195]
22637         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22638         segmentation fault for a case of two empty input strings.
22639         * string/test-strncasecmp.c (check1): Renamed to...
22640         (bz12205): ...this.
22641         (bz14195): Add new testcase for two empty input strings and N > 0.
22642         (test_main): Call new testcase, adapt for renamed function.
22644 2012-08-15  Andreas Jaeger  <aj@suse.de>
22646         [BZ #14090]
22647         * crypt/md5test2.c: New test, based on test supplied by Serge
22648         Belyshev <belyshev@depni.sinp.msu.ru>.
22649         * crypt/Makefile (xtests): Add md5test-giant..
22650         * crypt/Makefile ($(objpfx)md5test-giant): Add.
22652 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
22654         [BZ #14090]
22655         * crypt/md5.c (md5_process_block): Don't assume the buffer
22656         length is less than 2**32.
22657         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22658         length is less than 2**64.
22660 2012-08-15  Roland McGrath  <roland@hack.frob.com>
22662         * string/str-two-way.h: Include <sys/param.h>.
22663         (MAX): Macro removed.
22665         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22666         Move #define and #undef of memmove to just before and after
22667         including <string.h>.
22669         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22670         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22671         and after including <string.h>.  Move declarations of
22672         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22673         to before #include "string/memmove.c".
22675         * include/dirent.h: Declare __getdirentries.
22677         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22678         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22680 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
22682         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22683         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22684         * sysdeps/i386/configure: Regenerated.
22685         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22686         STABS_CURRENT_FILE, and STABS_FUN.
22687         (END): Remove call to STABS_FUN_END.
22688         (STABS_CURRENT_FILE1): Delete.
22689         (STABS_CURRENT_FILE): Likewise.
22690         (STABS_FUN): Likewise.
22691         (STABS_FUN_END): Likewise.
22692         (STABS_FUN2): Likewise.
22693         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22694         * sysdeps/x86_64/configure: Regenerated.
22696 2012-08-14  Roland McGrath  <roland@hack.frob.com>
22698         * elf/dl-open.c: Include <atomic.h>.
22699         * elf/dl-lookup.c: Likewise.
22701 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
22703         * sysdeps/unix/sysv/linux/kernel-features.h
22704         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22705         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22706         unconditionally.
22707         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22708         unconditionally.
22709         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22710         condition on __ASSUME_CLONE_THREAD_FLAGS.
22712 2012-08-14  Andreas Jaeger  <aj@suse.de>
22714         * sysdeps/i386/fpu/libm-test-ulps: Update.
22716 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
22718         * include/atomic.h (atomic_exchange_and_add): Split into ...
22719         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22720         New atomic macros.
22722 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
22724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22726 2012-08-13  Jeff Law <law@redhat.com>
22728         * manual/stdio.texi (snprintf): Clarify handling of the trailing
22729         null byte in the output string.
22731 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
22733         * sysdeps/unix/sysv/linux/kernel-features.h
22734         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22735         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22736         (__ASSUME_ARG_MAX_STACK_BASED): Define.
22737         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22738         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22739         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
22740         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22742 2012-08-09  Jeff Law <law@redhat.com>
22744         [BZ #13939]
22745         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22746         When avoid_arena is set, don't retry in the that arena.  Pick the
22747         next one, whatever it might be.
22748         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22749         (arena_lock): Pass in new parameter to arena_get2.
22750         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22751         arena_get2.
22752         (__libc_malloc): Unify retrying after main arena failure with
22753         __libc_memalign version.
22754         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22756 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22758         [BZ #14166]
22759         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22760         to __redirect_strstr.
22761         (__strstr_sse42): Use typeof __redirect_strstr.
22762         (__strstr_ia32): Likewise.
22763         (__libc_strstr): New prototype.
22764         (strstr): Renamed to ...
22765         (__libc_strstr): This.
22766         (strstr): New strong alias of __libc_strstr.
22767         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22768         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22769         __redirect_time.
22770         Include <time.h>.
22771         (__libc_time): New prototype.
22772         (time_ifunc): Replace time with __libc_time.
22773         (time): New strong alias and hidden definition of __libc_time.
22774         (__GI_time): Remove strong alias.
22775         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22776         Include <stddef.h>.
22777         (memmove): Redefined to __redirect_memmove.
22778         (__memmove_sse2): Use typeof __redirect_memmove.
22779         (__memmove_ssse3): Likewise.
22780         (__memmove_ssse3_back): Likewise.
22781         (__libc_memmove): New prototype.
22782         (memmove): Renamed to ...
22783         (__libc_memmove): This.
22784         (memmove): New strong alias of __libc_memmove.
22786 2012-08-08  Mark Salter  <msalter@redhat.com>
22788         * elf/elf.h
22789         (R_MN10300_TLS_GD): Define.
22790         (R_MN10300_TLS_LD): Likewise.
22791         (R_MN10300_TLS_LDO): Likewise.
22792         (R_MN10300_TLS_GOTIE): Likewise.
22793         (R_MN10300_TLS_IE): Likewise.
22794         (R_MN10300_TLS_LE): Likewise.
22795         (R_MN10300_TLS_DTPMOD): Likewise.
22796         (R_MN10300_TLS_DTPOFF): Likewise.
22797         (R_MN10300_TLS_TPOFF): Likewise.
22798         (R_MN10300_SYM_DIFF): Likewise.
22799         (R_MN10300_ALIGN): Likewise.
22800         (R_MN10300_NUM): Update.
22802 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
22804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22805         Remove.
22807 2012-08-08  Roland McGrath  <roland@hack.frob.com>
22809         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22811         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22812         sysdeps/unix -> sysdeps/posix move.
22813         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22815 2012-08-07      Allan McRae     <allan@archlinux.org>
22817         [BZ #14303]
22818         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22819         (SUNOS_CPP): Likewise.
22820         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22821         not found.
22822         (open_input): Call CPP using execvp.
22824 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
22826         * sysdeps/unix/sysv/linux/kernel-features.h
22827         (__ASSUME_PROT_GROWSUPDOWN): Remove.
22828         (__ASSUME_NO_CLONE_DETACHED): Likewise.
22829         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22830         (__ASSUME_WAITID_SYSCALL): Likewise.
22831         * sysdeps/unix/sysv/linux/dl-execstack.c
22832         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22833         code unconditional.
22834         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22835         conditional code.
22836         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22837         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22838         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22839         code.
22840         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22841         unconditional.
22842         [__ASSUME_WAITID_SYSCALL]: Likewise.
22843         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22845 2012-08-07  Roland McGrath  <roland@hack.frob.com>
22847         * sysdeps/unix/closedir.c: Renamed to ...
22848         * sysdeps/posix/closedir.c: ... here.
22849         * sysdeps/unix/dirfd.c: Renamed to ...
22850         * sysdeps/posix/dirfd.c: ... here.
22851         * sysdeps/unix/dirstream.h: Renamed to ...
22852         * sysdeps/posix/dirstream.h: ... here.
22853         * sysdeps/unix/fdopendir.c: Renamed to ...
22854         * sysdeps/posix/fdopendir.c: ... here.
22855         * sysdeps/unix/opendir.c: Renamed to ...
22856         * sysdeps/posix/opendir.c: ... here.
22857         * sysdeps/unix/readdir.c: Renamed to ...
22858         * sysdeps/posix/readdir.c: ... here.
22859         * sysdeps/unix/readdir_r.c: Renamed to ...
22860         * sysdeps/posix/readdir_r.c: ... here.
22861         * sysdeps/unix/rewinddir.c: Renamed to ...
22862         * sysdeps/posix/rewinddir.c: ... here.
22863         * sysdeps/unix/seekdir.c: Renamed to ...
22864         * sysdeps/posix/seekdir.c: ... here.
22865         * sysdeps/unix/telldir.c: Renamed to ...
22866         * sysdeps/posix/telldir.c: ... here.
22867         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22868         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22869         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22870         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22872         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22873         * bits/fcntl.h: ... here.
22875         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22876         not 0.
22877         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22878         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22879         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22880         (struct flock): Move l_start, l_len to the beginning.
22881         Use __pid_t for l_pid.
22882         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22883         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22884         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22885         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22886         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22887         [__USE_LARGEFILE64] (struct flock64): New type.
22888         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22890         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22891         * bits/dirent.h: ... here.
22893         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22894         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22896 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
22898         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22899         Change from 2.6.0 to 2.6.16.
22900         * sysdeps/unix/sysv/linux/configure: Regenerated.
22901         * sysdeps/unix/sysv/linux/kernel-features.h
22902         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22903         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22904         version.
22905         (__ASSUME_UTIMES): Likewise.
22906         (__ASSUME_CLONE_STOPPED): Remove.
22907         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22908         architectures, not kernel version.
22909         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22910         (__ASSUME_NO_CLONE_DETACHED): Likewise.
22911         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22912         (__ASSUME_WAITID_SYSCALL): Likewise.
22913         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22914         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22915         * README: State 2.6.16 as minimum Linux kernel version.  Do not
22916         refer to older versions.
22918 2012-08-06  Roland McGrath  <roland@hack.frob.com>
22920         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22921         Define alphasort64 as an alias.
22922         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22923         Define versionsort64 as an alias.
22924         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22925         Define scandir64 as an alias.
22926         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22927         Define scandirat64 as an alias.
22928         * dirent/alphasort64.c (alphasort64):
22929         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22930         * dirent/versionsort64.c: Likewise.
22931         * dirent/scandir64.c: Likewise.
22932         * dirent/scandirat64.c: Likewise.
22933         * sysdeps/wordsize-64/alphasort.c: File removed.
22934         * sysdeps/wordsize-64/alphasort64.c: File removed.
22935         * sysdeps/wordsize-64/scandir.c: File removed.
22936         * sysdeps/wordsize-64/scandir64.c: File removed.
22937         * sysdeps/wordsize-64/scandirat.c: File removed.
22938         * sysdeps/wordsize-64/scandirat64.c: File removed.
22939         * sysdeps/wordsize-64/versionsort.c: File removed.
22940         * sysdeps/wordsize-64/versionsort64.c: File removed.
22941         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22942         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22943         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22944         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22945         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22946         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22947         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22948         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22950         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22952         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22954         [defined __arch64__ || defined __sparcv9]
22955         (__INO_T_MATCHES_INO64_T): New macro.
22956         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22957         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22958         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22959         * sysdeps/unix/sysv/linux/bits/dirent.h
22960         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22961         (_DIRENT_MATCHES_DIRENT64): New macro.
22963         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22964         Define lockf64 as an alias.
22965         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22966         Define fseeko64 as an alias.
22967         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22968         Define ftello64 as an alias.
22969         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22970         Define _IO_fgetpos64 and fgetpos64 as aliases.
22971         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22972         Define _IO_fsetpos64 and fsetpos64 as aliases.
22973         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22974         Conditionalize body on this.
22975         * libio/fseeko64.c: Likewise.
22976         * libio/ftello64.c: Likewise.
22977         * libio/iofgetpos64.c: Likewise.
22978         * libio/iofsetpos64.c: Likewise.
22979         * sysdeps/wordsize-64/lockf.c: File removed.
22980         * sysdeps/wordsize-64/lockf64.c: File removed.
22981         * sysdeps/wordsize-64/fseeko.c: File removed.
22982         * sysdeps/wordsize-64/fseeko64.c: File removed.
22983         * sysdeps/wordsize-64/ftello.c: File removed.
22984         * sysdeps/wordsize-64/ftello64.c: File removed.
22985         * sysdeps/wordsize-64/iofgetpos.c: File removed.
22986         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22987         * sysdeps/wordsize-64/iofsetpos.c: File removed.
22988         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22989         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22991         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22992         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22993         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22994         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22995         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22996         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22997         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22998         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23000         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23002         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23004         [defined __arch64__ || defined __sparcv9]
23005         (__OFF_T_MATCHES_OFF64_T): New macro.
23006         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23007         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23009         (__OFF_T_MATCHES_OFF64_T): New macro.
23011 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23013         * stdlib/secure-getenv.c (__secure_getenv): Replace
23014         GLIBC_2_16 with GLIBC_2_17.
23016 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23018         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
23019         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23021 2012-08-03  David S. Miller  <davem@davemloft.net>
23023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23025 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23027         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
23028         Remove.
23029         (__ASSUME_CORRECT_SI_PID): Likewise.
23030         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
23031         (__ASSUME_TMPFS_NAME): Likewise.
23032         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23033         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
23034         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
23035         (HAVE_AUX_SECURE): Make definition unconditional.
23036         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
23037         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23039 2012-08-03  Roland McGrath  <roland@hack.frob.com>
23041         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
23042         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
23043         * sysdeps/mach/hurd/eloop-threshold.h: New file.
23044         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23045         __eloop_threshold instead of SYMLOOP_MAX.
23047         * sysdeps/generic/eloop-threshold.h: New file.
23048         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
23049         of MAXSYMLINKS.
23050         * elf/chroot_canon.c (chroot_canon): Likewise.
23052 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23054         [BZ #13717]
23055         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23056         Change to 2.6.0 everywhere.
23057         * sysdeps/unix/sysv/linux/configure: Regenerated.
23058         * sysdeps/unix/sysv/linux/kernel-features.h
23059         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
23060         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
23061         kernel versions.
23062         (__ASSUME_POSIX_TIMERS): Define unconditionally.
23063         (__ASSUME_FUTEX_REQUEUE): Remove.
23064         (__ASSUME_STATFS64): Define unconditionally.
23065         (__ASSUME_AT_SECURE): Likewise.
23066         (__ASSUME_CORRECT_SI_PID): Likewise.
23067         (__ASSUME_TGKILL): Define without depending on kernel version for
23068         i386.
23069         (__ASSUME_UTIMES): Likewise.
23070         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
23071         kernel version.
23072         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
23073         (__ASSUME_TMPFS_NAME): Likewise.
23074         * README: Update reference to Linux kernel versions.
23076 2012-08-02  Marek Polacek  <polacek@redhat.com>
23078         [BZ# 14150]
23079         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
23080         libc_cv_asm_type_prefix with %.
23081         * configure: Regenerated.
23082         * include/libc-symbols.h: Remove comment about
23083         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23084         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
23085         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
23086         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
23087         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
23088         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23089         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
23090         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
23091         * elf/tst-unique2mod1.c: Likewise.
23092         * elf/tst-unique1mod2.c: Likewise.
23093         * elf/tst-unique1mod1.c: Likewise.
23094         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
23095         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
23096         Replace ASM_TYPE_DIRECTIVE with .type.
23097         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23098         * sysdeps/i386/sysdep.h: Likewise.
23099         * sysdeps/x86_64/sysdep.h: Likewise.
23100         * sysdeps/sh/sysdep.h: Likewise.
23101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23102         Do not define ASM_TYPE_DIRECTIVE.
23103         * sysdeps/powerpc/sysdep.h: Likewise.
23104         * sysdeps/powerpc/powerpc32/sysdep.h:
23105         Replace ASM_TYPE_DIRECTIVE with .type.
23106         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23107         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23108         * sysdeps/i386/fpu/e_powf.S: Likewise.
23109         * sysdeps/i386/fpu/e_expl.S: Likewise.
23110         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23111         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23112         * sysdeps/i386/fpu/e_pow.S: Likewise.
23113         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23114         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23115         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23116         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23117         * sysdeps/i386/fpu/e_log2.S: Likewise.
23118         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23119         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23120         * sysdeps/i386/fpu/e_powl.S: Likewise.
23121         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23122         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23123         * sysdeps/i386/fpu/e_logl.S: Likewise.
23124         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23125         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23126         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23127         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23128         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23129         * sysdeps/i386/fpu/e_log.S: Likewise.
23130         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23131         * sysdeps/i386/fpu/e_logf.S: Likewise.
23132         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23133         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23134         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23135         * sysdeps/i386/fpu/e_log10.S: Likewise.
23136         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23137         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23138         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23139         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23140         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23141         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23142         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23143         * sysdeps/i386/i686/strtok.S: Likewise.
23144         * sysdeps/i386/i386-mcount.S: Likewise.
23145         * sysdeps/i386/strtok.S: Likewise.
23146         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
23147         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23148         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23149         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23150         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23151         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23152         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23153         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23154         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23155         * sysdeps/x86_64/_mcount.S: Likewise.
23156         * sysdeps/x86_64/strtok.S: Likewise.
23157         * sysdeps/sh/_mcount.S: Likewise.
23159 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23161         * libio/iofopen.c: Include <fcntl.h>.
23162         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
23163         (_IO_fopen64, fopen64): Define as aliases.
23164         * libio/iofopen64.c: Include <fcntl.h>.
23165         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
23166         Conditionalize body on this.
23167         * sysdeps/wordsize-64/iofopen.c: File removed.
23168         * sysdeps/wordsize-64/iofopen64.c: File removed.
23170 2012-08-01  Marek Polacek  <polacek@redhat.com>
23172         * libc/Makeconfig: Use elf in place of binfmt-subdir.
23173         Use dlfcn directly instead of a variable.
23174         (binfmt-subdir): Do not define.
23175         (dlfcn): Likewise.
23177 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
23179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
23180         Remove all definitions.
23181         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
23182         <kernel-features.h>.
23183         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23184         (miss_F_GETOWN_EX): Remove all definitions.
23185         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
23186         macro definition.
23187         [!__ASSUME_FCNTL64]: Remove conditional code.
23188         [__ASSUME_FCNTL64]: Make code unconditional.
23189         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
23190         <kernel-features.h>.
23191         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23192         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
23193         (lockf64) [__NR_fcntl64]: Make code unconditional.
23194         (lockf64) [__ASSUME_FCNTL64]: Likewise.
23196         * sysdeps/unix/sysv/linux/kernel-features.h
23197         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
23198         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
23199         Make code unconditional.
23200         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23201         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
23203         [__NR_vfork]: Make code unconditional.
23204         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23205         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
23207         [__NR_vfork]: Make code unconditional.
23208         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23209         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23211 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23213         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
23214         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
23216         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23217         Define mkstemp64 as an alias.
23218         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23219         Define mkstemps64 as an alias.
23220         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23221         Define mkostemp64 as an alias.
23222         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23223         Define mkostemps64 as an alias.
23224         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
23225         Conditionalize body on this.
23226         * misc/mkostemp64.c: Likewise.
23227         * misc/mkostemps64.c: Likewise.
23228         * misc/mkstemps64.c: Likewise.
23229         * sysdeps/wordsize-64/mkstemp64.c: File removed.
23230         * sysdeps/wordsize-64/mkostemp64.c: File removed.
23231         * sysdeps/wordsize-64/mkostemp.c: File removed.
23232         * sysdeps/wordsize-64/mkstemp.c: File removed.
23233         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
23234         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
23235         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
23236         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
23238         [BZ #14138]
23239         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
23240         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
23241         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
23242         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
23244         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
23245         compat_symbol macros from <shlib-compat.h> rather than the underlying
23246         default_symbol_version and symbol_version macros, so that DEFAULT
23247         lines in shlib-versions are respected.
23248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
23250 2012-08-01  Florian Weimer  <fweimer@redhat.com>
23252         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
23253         Declare with warn_unused_result.
23254         (setgid, setregid, setegid, setresgid): Likewise.
23255         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
23256         Likewise.
23257         * WUR-REPORT: Remove set*id functions.
23259 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
23261         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
23263 2012-07-31  Roland McGrath  <roland@hack.frob.com>
23265         [BZ #10191]
23266         * include/sys/socket.h (__libc_accept, __libc_accept4):
23267         Add attribute_hidden.
23268         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
23270         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
23271         use of PTR_MANGLE.
23272         * inet/getnetgrent_r.c (setup): Likewise.
23274         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
23276 2012-07-31  David S. Miller  <davem@davemloft.net>
23278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23280 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
23282         [BZ #13629]
23283         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
23284         value between 1.0 and 2.0 and smaller part has absolute value less
23285         than 1.0.
23286         * math/s_clog10.c (__clog10): Likewise.
23287         * math/s_clog10f.c (__clog10f): Likewise.
23288         * math/s_clog10l.c (__clog10l): Likewise.
23289         * math/s_clogf.c (__clogf): Likewise.
23290         * math/s_clogl.c (__clogl): Likewise.
23291         * math/libm-test.inc (clog_test): Add more tests.
23292         (clog10_test): Likewise.
23293         * sysdeps/i386/fpu/libm-test-ulps: Update.
23294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23296 2012-07-31  Florian Weimer  <fweimer@redhat.com>
23298         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
23299         Exit with zero in case no suitable GID is found, and write a
23300         message to standard error.
23302 2012-07-30  Roland McGrath  <roland@hack.frob.com>
23304         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
23305         rather than to 1.
23306         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
23307         (MAXPATHLEN): Removed.
23308         (NOGROUP, NODEV): New macros.
23309         (setbit, clrbit, isset, isclr): New macros.
23310         (howmany, roundup, powerof2): New macros.
23311         (DEV_BSIZE): New macro.
23313         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
23314         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
23316         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
23317         definition on [!__NO_LONG_DOUBLE_MATH].
23319         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
23320         PTR_MANGLE and PTR_DEMANGLE.
23322         * socket/accept4.c (accept4): Rename to __libc_accept4.
23323         Define accept4 as a weak alias.
23325         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
23326         on [_DIRENT_HAVE_D_TYPE].
23327         * io/ftw.c (ftw_dir): Likewise.
23329         * io/xmknod.c (__xmknod): Don't check PATH for being null.
23331         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
23333         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
23334         Use the BSD numbers rather than the arbitrary ones we had.
23335         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
23336         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
23337         (SIGXCPU, SIGXFSZ): New macros.
23338         (_NSIG): Now 32.
23340         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
23341         initializer on [_LIBC_REENTRANT].
23343         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
23344         definitions inside [_POSIX_MAPPED_FILES].
23346         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
23348         * dirent/opendir.c: Include <fcntl.h>.
23350         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
23351         (__libc_getspecific): Likewise.
23352         (__libc_key_create): Likewise.
23354         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
23355         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
23356         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
23357         (tmpfile64): Define as alias.
23358         * sysdeps/wordsize-64/tmpfile.c: File removed.
23359         * sysdeps/wordsize-64/tmpfile64.c: File removed.
23360         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
23361         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
23363         * stdio-common/vfscanf.c: Include <stdbool.h>.
23364         * nss/makedb.c: Likewise.
23365         * stdio-common/_i18n_number.h: Likewise.
23366         * argp/argp-help.c: Likewise.
23367         * posix/wordexp.c: Likewise.
23368         * sysdeps/posix/spawni.c: Likewise.
23369         * nss/nss_files/files-initgroups.c: Likewise.
23370         * stdio-common/reg-modifier.c: Include <stdlib.h>.
23371         * nss/nss_files/files-initgroups.c: Likewise.
23372         * nss/nss_db/db-netgrp.c: Likewise.
23373         * nss/nss_db/db-initgroups.c: Likewise.
23374         * io/fchmodat.c: Include <sys/stat.h>.
23376         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23377         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23379         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23380         [HAVE_MMAP].
23382         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23383         Add multiple inclusion protection.
23385 2012-07-27  David S. Miller  <davem@davemloft.net>
23387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23389 2012-07-27  Gary Benson  <gbenson@redhat.com>
23391         [BZ #14298]
23392         * elf/rtld.c: Include <stap-probe.h>.
23393         (dl_main): Added static probes "init_start" and "init_complete".
23394         * elf/dl-load.c: Include <stap-probe.h>.
23395         (lose): Take new parameter "nsid".
23396         Added static probe "map_failed".
23397         (_dl_map_object_from_fd): Pass namespace id to lose.
23398         Added static probe "map_start".
23399         (open_verify): Pass namespace id to lose.
23400         * elf/dl-open.c: Include <stap-probe.h>.
23401         (dl_open_worker) Added static probes "map_complete", "reloc_start"
23402         and "reloc_complete".
23403         * elf/dl-close.c: Include <stap-probe.h>.
23404         (_dl_close_worker): Added static probes "unmap_start" and
23405         "unmap_complete".
23406         * elf/rtld-debugger-interface.txt: New file documenting the above.
23408 2012-07-26  Roland McGrath  <roland@hack.frob.com>
23410         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23411         rather than a string variable.
23412         * sunrpc/rpc_main.c (h_output): Likewise.
23413         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23415 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
23417         * inet/check_native.c: New file.
23419 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #13629]
23422         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23423         if larger part has absolute value 1.0.
23424         * math/s_clog10.c (__clog10): Likewise.
23425         * math/s_clog10f.c (__clog10f): Likewise.
23426         * math/s_clog10l.c (__clog10l): Likewise.
23427         * math/s_clogf.c (__clogf): Likewise.
23428         * math/s_clogl.c (__clogl): Likewise.
23429         * math/libm-test.inc (clog_test): Add more tests.
23430         (clog10_test): Likewise.
23431         * sysdeps/i386/fpu/libm-test-ulps: Update.
23432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23434         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23435         (pltexit): Likewise.
23436         (La_regs): Likewise.
23437         (La_retval): Likewise.
23438         (int_retval): Likewise.
23439         Update #error for removed macros to refer only to definitions in
23440         tst-audit.h.
23441         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23442         macro.
23443         (pltexit): Likewise.
23444         (La_regs): Likewise.
23445         (La_retval): Likewise.
23446         (int_retval): Likewise.
23447         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23448         macro.
23449         (pltexit): Likewise.
23450         (La_regs): Likewise.
23451         (La_retval): Likewise.
23452         (int_retval): Likewise.
23453         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23454         macro.
23455         (pltexit): Likewise.
23456         (La_regs): Likewise.
23457         (La_retval): Likewise.
23458         (int_retval): Likewise.
23459         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23460         macro.
23461         (pltexit): Likewise.
23462         (La_regs): Likewise.
23463         (La_retval): Likewise.
23464         (int_retval): Likewise.
23465         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23466         macro.
23467         (pltexit): Likewise.
23468         (La_regs): Likewise.
23469         (La_retval): Likewise.
23470         (int_retval): Likewise.
23471         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23472         macro.
23473         (pltexit): Likewise.
23474         (La_regs): Likewise.
23475         (La_retval): Likewise.
23476         (int_retval): Likewise.
23477         * sysdeps/generic/tst-audit.h: Update comment to refer only to
23478         macro definitions in tst-audit.h.
23479         * sysdeps/i386/tst-audit.h: New file.
23480         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23481         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23482         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23483         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23484         * sysdeps/sh/tst-audit.h: Likewise.
23485         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23486         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23487         * sysdeps/x86_64/tst-audit.h: Likewise.
23489 2012-07-26  Andreas Jaeger  <aj@suse.de>
23491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23492         ptrace.
23494         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23495         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23496         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23497         PTRACE_O_MASK.
23498         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23499         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23500         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23502         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23503         value.
23505         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23506         _sigsys.
23507         (si_call_addr, si_syscall, si_arch): Define new macro.
23508         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23509         _sigsys.
23510         (si_call_addr, si_syscall, si_arch): Define new marcro.
23511         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23512         _sigsys.
23513         (si_call_addr, si_syscall, si_arch): Define new macro.
23514         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23515         _sigsys.
23516         (si_call_addr, si_syscall, si_arch): Define new macro.
23518 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
23520         [BZ #13717]
23521         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23522         Change to 2.4.21 where previously 2.4.1.
23523         * sysdeps/unix/sysv/linux/configure: Regenerated.
23524         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23525         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23526         Linux kernel version.
23527         (__ASSUME_STD_AUXV): Remove.
23528         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23529         kernel version.
23530         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23531         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23532         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23533         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23534         (__ASSUME_NETLINK_SUPPORT): Likewise.
23535         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23536         (__no_netlink_support): Remove conditional definition.
23537         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23538         Remove.
23539         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23540         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23541         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23542         (if_nameindex_ioctl): Remove.
23543         (if_nameindex_netlink): Do not handle __no_netlink_support.
23544         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23545         code.
23546         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23547         Remove conditional code.
23548         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23549         code.
23550         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23551         unconditional.
23552         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23553         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23554         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23555         Remove.
23556         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23557         [!__ASSUME_STD_AUXV]: Remove conditional code.
23558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23559         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23560         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23562         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23563         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23564         code.
23565         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23567         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23568         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23569         conditional code.
23570         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23572         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23573         code.
23574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23575         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23576         conditional code.
23577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23578         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23579         code unconditional.
23580         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23581         conditional code.
23582         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23583         unconditional.
23584         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23585         conditional code.
23586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23587         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23588         unconditional.
23589         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23590         conditional code.
23591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23592         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23593         code unconditional.
23594         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23595         conditional code.
23596         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23597         unconditional.
23598         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23599         conditional code.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23601         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23602         code unconditional.
23603         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23604         conditional code.
23605         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23606         unconditional.
23607         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23608         conditional code.
23610 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
23612         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23613         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23614         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23615         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23616         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23617         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23618         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23619         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23620         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23621         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23622         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23623         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23624         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23625         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23626         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23627         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23628         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23630         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23631         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23632         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23633         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23634         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23636 2012-07-25  Florian Weimer  <fweimer@redhat.com>
23638         * Versions.def: Add GLIBC_2.17.
23639         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23640         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23641         Introduce __libc_secure_getenv.
23642         * stdlib/Versions (2.17): Add secure_getenv
23643         (GLIBC_PRIVATE): Add __libc_secure_getenv.
23644         * stdlib/secure-getenv.c: Rename __secure_getenv to
23645         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
23646         symbol __secure_getenv for GLIBC_2.0.
23647         * stdlib/tst-secure-getenv.c: New.
23648         * stdlib/Makefile (tests): Add testcase.
23649         * manual/startup.texi (Environment Access): Document
23650         secure_getenv.
23651         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23652         __libc_secure_getenv.
23653         * inet/ruserpass.c (ruserpass): Likewise.
23654         * malloc/mtrace.c (mtrace): Likewise.
23655         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23656         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23657         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23658         * sysdeps/posix/tempname.c: Likewise.  Evaluate
23659         HAVE_SECURE_GETENV.
23660         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23661         __secure_getenv to __libc_secure_getenv.
23662         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23664         Likewise.
23665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23666         Likewise.
23667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23669         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23675 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
23677         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23678         (struct La_i86_retval): Likewise.
23679         (struct La_x86_64_regs): Likewise.
23680         (struct La_x86_64_retval): Likewise.
23681         (struct La_x32_regs): Likewise.
23682         (struct La_x32_retval): Likewise.
23683         (struct La_ppc32_regs): Likewise.
23684         (struct La_ppc32_retval): Likewise.
23685         (struct La_ppc64_regs): Likewise.
23686         (struct La_ppc64_retval): Likewise.
23687         (struct La_sh_regs): Likewise.
23688         (struct La_sh_retval): Likewise.
23689         (struct La_s390_32_regs): Likewise.
23690         (struct La_s390_32_retval): Likewise.
23691         (struct La_s390_64_regs): Likewise.
23692         (struct La_s390_64_retval): Likewise.
23693         (struct La_sparc32_regs): Likewise.
23694         (struct La_sparc32_retval): Likewise.
23695         (struct La_sparc64_regs): Likewise.
23696         (struct La_sparc64_retval): Likewise.
23697         (struct audit_ifaces): Remove architecture-specific pltenter and
23698         pltexit members.
23699         * sysdeps/i386/ldsodefs.h: New file.
23700         * sysdeps/powerpc/ldsodefs.h: Likewise.
23701         * sysdeps/s390/ldsodefs.h: Likewise.
23702         * sysdeps/sh/ldsodefs.h: Likewise.
23703         * sysdeps/sparc/ldsodefs.h: Likewise.
23704         * sysdeps/x86_64/ldsodefs.h: Likewise.
23706 2012-07-25  Marek Polacek  <polacek@redhat.com>
23708         [BZ #6808]
23709         * math/libm-test.inc (yn_test): Add another test.
23710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23711         to ERANGE when the result is +-Inf.
23712         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23714         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23715         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23717 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
23719         * conform/data/time.h-data (NULL): Use macro-constant.  Require
23720         equal to 0.
23721         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
23722         clock_t.
23723         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
23725 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
23727         * configure.in <sysdeps resolving>: Correct printing
23728         Implies_before.
23729         * configure: Regenerate.
23731 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
23733         * math/w_ilogb.c: Include <limits.h>.
23734         * math/w_ilogbl.c: Likewise.
23736 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
23738         * manual/lang.texi (__va_copy): Document primarily as ISO C99
23739         va_copy.  Document allowing for unavailable va_copy only as
23740         pre-C99 compatibility.
23741         * manual/string.texi (Copying and Concatenation): Use va_copy
23742         instead of __va_copy in concat example.
23744 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
23746         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23747         (__sendto): Use create_address_port.  Initialize APORT and deallocate
23748         it if not null.
23750         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23751         with O_NOLINK passed to __file_name_lookup.
23753         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23754         with O_NOLINK passed to __file_name_lookup.
23756         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23757         negative N or less than NGIDS.
23759         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23760         type to string_t.  Set ERANGE as errno and return it if NAME is not big
23761         enough.  Use memcpy instead of strncpy.
23763 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
23765         * elf/Makefile (check-data): Remove.
23766         (localplt.data): New vpath directive.
23767         ($(objpfx)check-localplt.out): Use localplt.data from vpath
23768         instead of $(check-data).
23769         * scripts/data/localplt-generic.data: Move to ...
23770         * sysdeps/generic/localplt.data: ... here.
23771         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23772         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23773         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23775         ... here.
23776         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23778         ... here.
23779         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23781         ... here.
23782         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23784         ... here.
23785         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23787         ... here.
23788         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23790         ... here.
23792 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23794         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23795         PPC32 and PPC64 files.
23796         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23797         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23799 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23801         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23802         __makecontext_ret to ...
23803         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23804         ... here and call exit if uc_link is NULL.  New file.
23805         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23806         __makecontext_ret.S.
23807         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23808         __makecontext_ret to ...
23809         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23810         ... here and call exit if uc_link is NULL.  New file.
23811         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23812         __makecontext_ret.S.
23814 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23816         * elf/elf.h (R_390_IRELATIVE): New definition.
23817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23818         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
23819         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23821         (elf_machine_lazy_rel): Likewise.
23822         * sysdeps/s390/dl-irel.h: New file.
23823         * sysdeps/s390/s390-64/memcpy.S: New asm code.
23824         * sysdeps/s390/s390-64/memset.S: New asm code.
23825         * sysdeps/s390/s390-64/memcmp.S: New asm code.
23826         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23827         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23828         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23829         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23830         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23831         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23832         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23833         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23834         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23835         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23836         * sysdeps/s390/s390-32/memcpy.S: New asm code.
23837         * sysdeps/s390/s390-32/memset.S: New asm code.
23838         * sysdeps/s390/s390-32/memcmp.S: New asm code.
23840 2012-07-17  Marek Polacek  <polacek@redhat.com>
23842         [BZ #14349]
23843         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23844         * sysdeps/s390/s390-64/configure.in: Likewise.
23845         * sysdeps/sparc/configure.in: Likewise.
23846         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23847         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23848         * sysdeps/i386/configure.in: Likewise.
23849         * sysdeps/x86_64/configure.in: Likewise.
23850         * sysdeps/sh/configure.in: Likewise.
23851         * sysdeps/s390/s390-32/configure: Regenerated.
23852         * sysdeps/s390/s390-64/configure: Likewise.
23853         * sysdeps/x86_64/configure: Likewise.
23854         * sysdeps/sh/configure: Likewise.
23855         * sysdeps/powerpc/powerpc64/configure: Likewise.
23856         * sysdeps/powerpc/powerpc32/configure: Likewise.
23857         * sysdeps/sparc/configure: Likwise.
23858         * sysdeps/i386/configure: Likewise.
23860         * elf/dl-open.c: Comment fixes.
23862 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
23864         * Makefile [CXX] (check-data): Remove.
23865         [CXX] (c++-types.data): New vpath directive.
23866         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23867         vpath.  Do not allow for C++ type data being missing.
23868         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23869         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23870         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23871         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23872         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23873         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23874         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23876         ... here.
23877         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23879         ... here.
23880         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23882         ... here.
23883         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23885         ... here.
23886         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23888         ... here.
23889         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23891         ... here.
23892         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23894         ... here.
23895         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23898         * elf/tls-macros.h (TLS_LE): Move architecture-specific
23899         definitions to architecture-specific files.
23900         (TLS_IE): Likewise.
23901         (TLS_LD): Likewise.
23902         (TLS_GD): Likewise.
23903         * sysdeps/i386/tls-macros.h: New file.
23904         * sysdeps/powerpc/tls-macros.h: Likewise.
23905         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23906         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23907         * sysdeps/sh/tls-macros.h: Likewise.
23908         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23909         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23910         * sysdeps/x86_64/tls-macros.h: Likewise.
23912 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
23914         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23915         zero value for regular exit case.
23917         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23918         (__start_context): Preserve zero value for regular exit case.
23920 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
23921             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23923         * manual/setjmp.texi (setcontext): Clarify normal process
23924         termination when uc_link is the null pointer.
23925         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23926         exit call.
23928 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
23930         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23931         preprocessor.  Test for each exception mask separately.
23933 2012-07-16  Andreas Jaeger  <aj@suse.de>
23935         * po/ru.po: Update from translation team.
23937 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
23939         * conform/data/string.h-data (NULL): Use macro-constant.  Require
23940         equal to 0.
23941         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23942         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23943         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23944         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23947 2012-07-13  Andreas Jaeger  <aj@suse.de>
23949         * po/fr.po: Update from translation team.
23951 2012-07-12  Marek Polacek  <polacek@redhat.com>
23953         [BZ #14173]
23954         * math/libm-test.inc (yn_test): Add test for BZ #14173.
23955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23956         loop condition.
23958 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
23960         [BZ #13717]
23961         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23962         Change to 2.4.1 where previously 2.4.0.
23963         * sysdeps/unix/sysv/linux/configure: Regenerated.
23964         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23965         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23966         version.
23967         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23968         (__ASSUME_AT_CLKTCK): Remove.
23969         (__ASSUME_AT_PAGESIZE): Likewise.
23970         (__ASSUME_AT_XID): Likewise.
23971         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23972         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23973         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23974         unconditionally.
23975         (HAVE_AUX_PAGESIZE): Likewise.
23976         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23977         [__ASSUME_AT_CLKTCK]: Make code unconditional.
23978         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23980 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
23982         [BZ #14307]
23983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23984         the temporary buffer used to invoke __gethostbyname2_r,
23985         __gethostbyaddr_r and gethostbyname4_r to make room for struct
23986         host_data / struct gaih_addrtuple.
23987         * resolv/nss_dns/dns-host.c (global scope): Move definition of
23988         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23989         header file nss/nsswitch.h.
23990         * nss/nsswitch.h (global scope): Add definition of implementation
23991         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23992         resolv/nss_dns/dns-host.c).
23994 2012-07-11  Andreas Jaeger  <aj@suse.de>
23996         * po/fr.po: Update from translation team.
23998         * po/sv.po: Update from translation team
23999         * po/fr.po: Another update from translation team.
24001 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24003         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24004         for subnormals or multiply small sinh result by itself.
24005         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24008 2012-07-11  David S. Miller  <davem@davemloft.net>
24010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24012 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
24014         [BZ #14347]
24015         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
24016         (INTERNAL_MARK): Shift it here.
24018 2012-07-10  Marek Polacek  <polacek@redhat.com>
24020         [BZ #14151]
24021         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
24022         libc_cv_asm_global_directive with .globl.
24023         * configure: Regenerated.
24024         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
24025         with .globl.
24026         * sysdeps/i386/configure: Regenerated.
24027         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
24028         with .globl.
24029         * sysdeps/x86_64/configure: Regenerated.
24030         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24031         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
24032         * elf/tst-unique2mod2.c: Likewise.
24033         * elf/tst-unique2mod1.c: Likewise.
24034         * elf/tst-unique1mod2.c: Likewise.
24035         * elf/tst-unique1mod1.c: Likewise.
24036         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24037         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24038         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24039         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24040         * sysdeps/mach/sysdep.h: Likewise.
24041         * sysdeps/i386/sysdep.h: Likewise.
24042         * sysdeps/i386/i386-mcount.S: Likewise.
24043         * sysdeps/x86_64/_mcount.S: Likewise.
24044         * sysdeps/x86_64/sysdep.h: Likewise.
24045         * sysdeps/sh/_mcount.S: Likewise.
24046         * sysdeps/sh/sysdep.h: Likewise.
24047         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
24048         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
24049         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
24050         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24051         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
24052         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
24053         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
24054         * locale/localeinfo.h: Likewise.
24055         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
24056         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
24058 2012-07-09  Roland McGrath  <roland@hack.frob.com>
24060         [BZ #14336]
24061         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
24062         system".
24063         * manual/message.texi (The Uniforum approach): Likewise.
24064         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
24065         (glibc iconv Implementation): Likewise.
24067 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
24069         [BZ #14337]
24070         * math/s_clog.c (__clog): Avoid scaling a value down where that
24071         could result in underflow.
24072         * math/s_clog10.c (__clog10): Likewise.
24073         * math/s_clog10f.c (__clog10f): Likewise.
24074         * math/s_clog10l.c (__clog10l): Likewise.
24075         * math/s_clogf.c (__clogf): Likewise.
24076         * math/s_clogl.c (__clogl): Likewise.
24077         * math/libm-test.inc (clog_test): Add more tests.
24078         (clog10_test): Likewise.
24079         * sysdeps/i386/fpu/libm-test-ulps: Update.
24080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24082 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
24084         [BZ #14283]
24085         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
24086         by 7 not 8 to examine high bit of fractional part.
24088         [BZ #14042]
24089         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
24090         for call to __mcount_internal.
24091         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
24092         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
24093         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
24095 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
24097         [BZ #14154]
24098         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
24099         approximation for values within 0x1p-13f of an odd multiple of
24100         pi/4.
24101         * math/libm-test.inc (tan_test): Do not allow spurious underflow
24102         exception.  Add more tests.
24103         * sysdeps/i386/fpu/libm-test-ulps: Update.
24105         [BZ #6778]
24106         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
24107         inputs and return -1 for them.  Do not check for +Inf in case not
24108         reachable for +Inf.
24109         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24110         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
24111         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24112         and return -1 for them.  Do not check for +Inf in case not
24113         reachable for +Inf.
24114         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
24115         define.
24116         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24117         and return -1 for them.  Do not check for +Inf in case not
24118         reachable for +Inf.
24119         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
24120         spurious underflow.
24121         * sysdeps/i386/fpu/libm-test-ulps: Update.
24122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24124 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
24126         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
24128 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
24130         [BZ #14157]
24131         [BZ #14331]
24132         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
24133         could result in spurious underflow.  Scale down values above
24134         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
24135         * math/s_csqrtf.c (__csqrtf): Likewise.
24136         * math/s_csqrtl.c (__csqrtl): Likewise.
24137         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
24138         spurious underflow.
24139         * sysdeps/i386/fpu/libm-test-ulps: Update.
24140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24142 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
24144         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
24145         xopen-msg.sed.
24146         * catgets/xopen-msg.awk: New file.
24147         * catgets/xopen-msg.sed: Removed.
24149         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
24150         po2text.sed.
24151         * intl/po2test.awk: New file.
24152         * intl/po2test.sed: Removed.
24154 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
24156         [BZ #14328]
24157         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
24158         or multiply small sinh result by itself.
24159         * math/s_ctanf.c (__ctanf): Likewise.
24160         * math/s_ctanh.c (__ctanh): Likewise.
24161         * math/s_ctanhf.c (__ctanhf): Likewise.
24162         * math/s_ctanhl.c (__ctanhl): Likewise.
24163         * math/s_ctanl.c (__ctanl): Likewise.
24164         * math/libm-test.inc (ctan_test_tonearest): New function.
24165         (ctan_test_towardzero): Likewise.
24166         (ctan_test_downward): Likewise.
24167         (ctan_test_upward): Likewise.
24168         (ctanh_test_tonearest): Likewise.
24169         (ctanh_test_towardzero): Likewise.
24170         (ctanh_test_downward): Likewise.
24171         (ctanh_test_upward): Likewise.
24172         (main): Call these new functions.
24173         * sysdeps/i386/fpu/libm-test-ulps: Update.
24174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24176 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
24178         * .gitignore: Delete /ports entry.
24180 2012-07-03  Andreas Jaeger  <aj@suse.de>
24182         * po/bg.po: Update from translation team.
24183         * po/cs.po: Likewise.
24184         * po/de.po: Likewise.
24185         * po/hr.po: Likewise.
24186         * po/nl.pl: Likewise.
24187         * po/pl.po: Likewise.
24188         * po/vi.po: Likewise.
24190 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
24192         * Makeconfig [!+link] (+link-before-libc): New variable.
24193         [!+link] (+link-after-libc): Likewise.
24194         [!+link] (+link-tests): Likewise.
24195         [!+link] (+link): Define in terms of $(+link-before-libc) and
24196         $(+link-after-libc).
24197         [!+link-static] (+link-static-before-libc): New variable.
24198         [!+link-static] (+link-static-after-libc): Likewise.
24199         [!+link-static] (+link-static-tests): Likewise.
24200         [!+link-static] (+link-static): Define in terms of
24201         $(+link-static-before-libc) and $(+link-static-after-libc).
24202         [build-shared] (link-libc-before-gnulib): New variable.
24203         [build-shared] (link-libc-tests): Likewise.
24204         [build-shared] (link-libc): Define in terms of
24205         $(link-libc-before-gnulib).
24206         [!build-shared] (link-libc-tests): New variable.
24207         (link-libc-static-tests): New variable.
24208         [!gnulib] (gnulib-arch): New variable.
24209         [!gnulib] (gnulib-tests): Likewise.
24210         [!gnulib] (static-gnulib-arch): Likewise.
24211         [!gnulib] (static-gnulib-tests): Likewise.
24212         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
24213         Define with "=" instead of ":=".
24214         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
24215         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
24216         * Rules (binaries-all-notests): New variable.
24217         (binaries-all-tests): Likewise.
24218         (binaries-static-notests): Likewise.
24219         (binaries-static-tests): Likewise.
24220         (binaries-all): Define using $(binaries-all-notests) and
24221         $(binaries-all-tests).
24222         (binaries-static): Define using $(binaries-static-notests) and
24223         $(binaries-static-tests).
24224         (binaries-shared-tests): New variable.
24225         (binaries-shared-notests): Likewise.
24226         (binaries-shared): Remove variable.
24227         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
24228         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
24229         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
24230         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
24231         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
24232         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
24233         * elf/Makefile (sln-modules): New variable.
24234         (extra-objs): Add $(sln-modules:=.o).
24235         (ldconfig-modules): Add static-stubs.
24236         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
24237         * elf/static-stubs.c: New file.
24239         [BZ #14283]
24240         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
24241         by 7 not 8 to examine high bit of fractional part.  Use volatile
24242         variables when splitting into final array of floats if
24243         __FLT_EVAL_METHOD__ != 0.
24244         * math/libm-test.inc (cos_test): Add another test.
24245         (sin_test): Likewise.
24246         * sysdeps/i386/fpu/libm-test-ulps: Update.
24248         [BZ #14273]
24249         * math/libm-test.inc (cosh_test): Add more tests.
24251         * version.h (RELEASE): Set to "development".
24252         (VERSION): Set to "2.16.90".
24254 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
24256         * NEWS: Update copyright. Remove last-updated date.
24257         Mention math library bug fixes and timezone data changes.
24258         * README: Mention GNU/Hurd, x32, and HPPA support status.
24260 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
24262         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
24264 2012-06-27  Andreas Jaeger  <aj@suse.de>
24266         * manual/contrib.texi (Contributors): Add Samuel Thibault.
24268 2012-06-25  Andreas Jaeger  <aj@suse.de>
24270         * sysdeps/s390/fpu/libm-test-ulps: Update.
24272 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
24273             Thomas Schwinge  <thomas@codesourcery.com>
24275         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
24276         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
24277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
24278         fanotify_mark.
24280 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
24282         * sysdeps/mach/start.c: Remove file.
24283         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
24284         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
24285         * sysdeps/sh/init-first.c: Likewise.
24287         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
24288         registers for frame unwinding purposes, add CFI directives.
24289         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24290         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24291         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
24292         Likewise.
24294         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
24295         __fortify_fail returning.
24296         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24298         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
24299         sysdeps/sh/____longjmp_chk.S.
24300         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
24301         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
24302         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24303         (gen-as-const-headers): Append sigaltstack-offsets.sym.
24305         * sysdeps/sh/abort-instr.h: New file.
24306         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
24307         process in case exit returns.
24309         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
24310         initialize the GOT register before use.
24312         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
24313         calculation of ARGC > 4.
24315         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
24316         meaningful names to some local labels.
24318 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24319             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24321         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
24322         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
24323         (__arch_compare_and_exchange_val_16_acq): Likewise.
24324         (__arch_compare_and_exchange_val_32_acq): Likewise.
24325         (atomic_exchange_and_add): Fix gUSA sequence.
24326         (atomic_add): Likewise.
24327         (atomic_add_negative): Likewise.
24328         (atomic_add_zero): Likewise.
24329         (atomic_bit_test_set): Likewise.
24331 2012-06-22  Andreas Schwab  <schwab@redhat.com>
24333         [BZ #13579]
24334         * include/link.h (struct link_map): Add l_free_initfini.
24335         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24336         l_initfini.
24337         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
24338         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
24339         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
24340         set.
24342 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
24344         * configure.in: Use AC_LANG_SOURCE.
24345         * configure: Regenerate.
24347 2012-06-22  Roland McGrath  <roland@hack.frob.com>
24349         * configure.in (libc_cv_localstatedir): New substituted variable.
24350         * configure: Regenerated.
24351         * config.make.in (localstatedir): New variable, substituted from
24352         libc_cv_localstatedir.
24353         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
24354         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
24355         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
24356         * sysdeps/gnu/configure: Regenerated.
24358 2012-06-21  Jeff Law  <law@redhat.com>
24360         [BZ #14277]
24361         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
24362         free.  Simplify list management for _LIBC case.
24364 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
24366         [BZ #14273]
24367         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24368         Clear sign bit of 64-bit integer value before comparing against
24369         overflow value.
24371         * sysdeps/mach/configure: Regenerated.
24373 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
24375         [BZ #14278]
24376         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24378 2012-06-21  Jeff Law  <law@redhat.com>
24380         [BZ #13882]
24381         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
24382         uint16_t for elements in the "seen" array to avoid char overflows.
24383         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24384         * elf/dl-open.c (dl_open_worker): Likewise.
24386 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
24388         * scripts/list-sources.sh: Scan PORTS for translations.
24389         * po/libc.pot: Regenerated.
24391 2012-06-21  Andreas Jaeger  <aj@suse.de>
24393         [BZ #12194]
24394         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24395         warning.
24396         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24397         * bits/byteswap-16.h (__bswap_16): Likewise.
24398         * bits/byteswap.h (__bswap_constant_16): Likewise.
24400 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
24402         [BZ #14117]
24403         * sysdeps/i386/fpu_control.h: Removed.
24404         * sysdeps/x86_64/fpu_control.h: Moved to ...
24405         * sysdeps/x86/fpu_control.h: Here.
24407         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24408         (_FPU_SETCW): Likewise.
24410 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
24412         [BZ #14117]
24413         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24414         * sysdeps/x86/fpu/bits/mathinline.h: This.
24415         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24417         [BZ #14050]
24418         [BZ #14117]
24419         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24420         functions if __x86_64__ is defined.
24422 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
24424         * string/endian.h: Add !__ASSEMBLER__ condition for including
24425         conversion interfaces.
24427 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
24429         [BZ #14241]
24430         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24431         of ABS(x) in calculating zero to negative powers other than odd
24432         integers.
24433         * math/libm-test.inc (pow_test): Add more tests.
24435 2012-06-15  Andreas Jaeger  <aj@suse.de>
24437         * manual/contrib.texi (Contributors): Update entry of Liubov
24438         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24439         Machado Filho.
24441 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
24443         * string/string.h: Add __wur to GNU version of strerror_r.
24445 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
24447         [BZ #14229]
24448         * string/Makefile (tests): Add tst-strtok_r.
24449         * string/tst-strtok_r.c: New file.
24450         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24451         RAX_LP/RDX_LP on SAVE_PTR.
24453 2012-06-14  Roland McGrath  <roland@hack.frob.com>
24455         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24457 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
24459         * libm_test.inc (csqrt_test): Allow more spurious underflow
24460         exceptions.
24461         (j0_test): Likewise.
24462         (j1_test): Likewise.
24463         (y0_test): Likewise.
24464         (y1_test): Likewise.
24466 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
24468         * po/Makefile (libc.pot): Use UTF-8 charset.
24470 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
24472         [BZ #14210]
24473         Suppress sign-conversion warning from FD_SET.
24474         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24475         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24476         not unsigned long int.
24477         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24479 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
24481         [BZ #14050]
24482         [BZ #14117]
24483         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24484         __extern_always_inline instead of __extern_inline.
24485         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24486         (__signbit): Likewise.
24487         (__signbitl): Support C++ namespace.
24488         (lrintf): New inline function.
24489         (lrint): Likewise.
24490         (llrintf): Likewise.
24491         (llrint): Likewise.
24492         (fmaxf): Likewise.
24493         (fmax): Likewise.
24494         (fminf): Likewise.
24495         (fmin): Likewise.
24496         (rint): Likewise.
24497         (rintf): Likewise.
24498         (ceil): Likewise.
24499         (ceilf): Likewise.
24500         (floor): Likewise.
24501         (floorf): Likewise.
24502         (nearbyint): Likewise.
24503         (nearbyintf): Likewise.
24505 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
24507         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24508         non-default versions.
24510 2012-06-11  Roland McGrath  <roland@hack.frob.com>
24512         [BZ #14218]
24513         * manual/argp.texi (Argp): Reword argp_parse description slightly.
24515 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
24517         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24518         (FE_UPWARD, FE_DOWNWARD): Don't define.
24519         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24520         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24522         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24523         reading it.
24524         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24525         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24527 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24529         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24531         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24532         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24534 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
24536         [BZ #14117]
24537         * sysdeps/i386/fpu/bits/fenv.h: Removed.
24538         * sysdeps/i386/fpu/Implies: New file.
24539         * sysdeps/x86_64/fpu/Implies: Likewise.
24540         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24541         * sysdeps/x86/fpu/bits/fenv.h: This.
24543         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24544         __SSE_MATH__.
24546 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24548         [BZ #14134]
24549         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24550         character 0xffff that matches the last element of the
24551         conversion table.
24553 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24555         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24556         fmodl commit.
24558 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24561         values higher than 25.6283.
24563 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24565         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24566         subnormal exponent extraction and add some __builtin_expect.
24567         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24568         Fix for subnormal mantissa calculation.
24570 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
24572         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24573         cpu2 is -1 and errno is not ENOSYS.
24575 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
24577         [BZ #14117]
24578         * sysdeps/i386/i486/bits/string.h: Renamed to ...
24579         * sysdeps/x86/bits/string.h: This.
24580         * sysdeps/x86_64/bits/string.h: Removed.
24582         * sysdeps/i386/i486/bits/string.h: Define inline functions only
24583         if not compiling for x86-64, but compiling for >= i486.
24585         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24586         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24588         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24589         New macro from Linux kernel 3.4.0.
24590         (FP_XSTATE_MAGIC2): Likewise.
24591         (FP_XSTATE_MAGIC2_SIZE): Likewise.
24592         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24593         (struct _fpx_sw_bytes): New struct.
24594         (struct _xsave_hdr): Likewise.
24595         (struct _ymmh_state): Likewise.
24596         (struct _xstate): Likewise.
24598         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24599         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24600         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24601         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24602         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24603         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24605         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24606         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24607         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24608         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24609         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24610         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24612 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24614         [BZ #13743]
24615         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24616         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24617         (sysdep_headers): Include sys/platform/ppc.h.
24618         * sysdeps/powerpc/test-gettimebase.c: Test for
24619         __ppc_get_timebase() to catch future ISA opcode/insn changes.
24620         * manual/Makefile (appendices): Include platform.texi.
24621         * manual/contrib.texi (Contributors): Update @node pointers.
24622         * manual/maint.texi (Maintenance): Likewise.
24623         (Platform): New node.
24624         * manual/platform.texi: New file.  Document the new features.
24626 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24627             Jakub Jelinek  <jakub@redhat.com>
24629         [BZ #14188]
24630         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24631         where __builtin_expect is unavailable.
24633 2012-06-03  David S. Miller  <davem@davemloft.net>
24635         * stdlib/longlong.h: Updated from GCC.
24637 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
24639         [BZ #14042]
24640         * sysdeps/powerpc/powerpc32/mcount.c: New file.
24641         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24642         __mcount_internal.
24643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24644         (GLIBC_2.16): Likewise.
24646 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
24648         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24650 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
24652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24653         (default-abi): New variable.
24654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24655         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24656         variable.
24657         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24658         Likewise.
24659         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24660         Likewise.
24661         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24662         Likewise.
24664         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24665         definition.  Document in comment.
24667 2012-06-01  David S. Miller  <davem@davemloft.net>
24669         * stdlib/longlong.h: Updated from GCC.
24671 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
24673         [BZ #14117]
24674         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24675         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24676         sys/debugreg.h sys/io.h here.
24677         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24678         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24679         sys/io.h.
24680         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24681         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24682         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24683         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24684         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24685         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24687         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24688         Define only if __x86_64__ is defined.
24690 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
24692         [BZ #14048]
24693         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24694         Use int64_t for variable i.
24695         * math/libm-test.inc (fmod_test): Add more tests.
24697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24698         z computation is not scheduled after fetestexcept.
24699         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24700         Use math_force_eval instead of asm to ensure calculation scheduled
24701         before exception test.
24702         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24703         Ensure a1 + u.d computation is not scheduled after fetestexcept.
24705 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
24707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24708         computation is not scheduled after fetestexcept.
24710 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
24712         [BZ #14117]
24713         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24714         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24716 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24718         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24719         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24721 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
24723         [BZ #14117]
24724         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24725         <bits/wordsize.h>.
24726         (__WCHAR_MIN): Support __WORDSIZE == 64.
24727         (__WCHAR_MAX): Likewise.
24729         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24730         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24732         [BZ #14183]
24733         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24734         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24736         [BZ #14117]
24737         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24738         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24740         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24741         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24743         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24744         Defined to 1 if __x86_64__ isn't defined.
24745         (_STAT_VER_LINUX_OLD): New.
24746         (st_atime): Remove duplicate.
24747         (st_mtime): Likewise.
24748         (st_ctime): Likewise.
24750 2012-05-31  David S. Miller  <davem@davemloft.net>
24752         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24753         entries.
24755 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
24757         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24758         gen-libm-test.pl.
24760         [BZ #14132]
24761         * elf/dl-reloc.c: Include <_itoa.h>.
24762         (_dl_reloc_bad_type): Remove use of INTUSE.
24763         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24764         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24765         * stdio-common/psiginfo.c (psiginfo): Likewise.
24766         * stdio-common/psignal.c (psignal): Likewise.
24767         * string/strsignal.c (strsignal): Likewise.
24768         * include/signal.h (_sys_siglist): Declare hidden proto.
24769         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
24770         INTVARDEF with libc_hidden_data_def.
24771         * stdio-common/itoa-udigits.c: Likewise.
24772         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24773         (_itoa_lower_digits_internal): Remove declaration.
24774         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24775         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24776         (_sys_sigabbrev_internal): Remove aliases.
24777         (_sys_siglist): Define hidden alias.
24779 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
24781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24782         bits/sysctl.h.
24784 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
24786         [BZ #14117]
24787         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24788         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24790         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24791         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24792         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24793         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24795         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24797         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24798         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24799         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24801         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24802         with __addr.
24803         (insw): Likewise.
24804         (insl): Likewise.
24805         (outsb): Likewise.
24806         (outsw): Likewise.
24807         (outsl): Likewise.
24809         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24810         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24811         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24813         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24814         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24816         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24817         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24818         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24820         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24821         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24823         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24824         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24826         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24827         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24828         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24830         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24831         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24832         to ...
24833         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24835         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24836         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24837         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24839         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24840         for x86-64.
24841         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24843 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
24845         * math/math.h (M_El): Use two more decimal places.
24846         (M_LOG2El): Likewise.
24847         (M_LOG10El): Likewise.
24848         (M_LN2l): Likewise.
24849         (M_LN10l): Likewise.
24850         (M_PIl): Likewise.
24851         (M_PI_2l): Likewise.
24852         (M_PI_4l): Likewise.
24853         (M_1_PIl): Likewise.
24854         (M_2_PIl): Likewise.
24855         (M_2_SQRTPIl): Likewise.
24856         (M_SQRT2l): Likewise.
24857         (M_SQRT1_2l): Likewise.
24859 2012-05-31  David S. Miller  <davem@davemloft.net>
24861         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24862         values between float registers.
24863         * sysdeps/sparc/sparc64/memset.S: Likewise.
24864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24866 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
24868         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24869         -D_FORTIFY_SOURCE=1.
24870         (CPPFLAGS-tst-longjmp_chk.c): Define.
24871         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24872         (CPPFLAGS-tst-longjmp_chk2.c): Define.
24873         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24874         CFLAGS-tst-wchar-h.c.
24876 2012-05-31  Marek Polacek  <polacek@redhat.com>
24878         [BZ #14132]
24879         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24880         __endmntent_internal): Remove declaration.
24881         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24882         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24883         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24885 2012-05-30  David S. Miller  <davem@davemloft.net>
24887         * sysdeps/sparc/sparc32/soft-fp/q_util.c
24888         (___Q_simulate_exceptions): Use real FP ops rather than writing
24889         into the %fsr.
24890         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24891         Likewise.
24893 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24895         [BZ #14117]
24896         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24897         * sysdeps/x86/bits/xtitypes.h: This.
24899         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24900         * sysdeps/x86/bits/wordsize.h: This.
24902         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24903         * sysdeps/x86/bits/huge_vall.h: This.
24905         * sysdeps/i386/bits/select.h: Removed.
24906         * sysdeps/x86_64/bits/select.h: Renamed to ...
24907         * sysdeps/x86/bits/select.h: This.
24909         * sysdeps/i386/bits/setjmp.h: Removed.
24910         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24911         * sysdeps/x86/bits/setjmp.h: This.
24913         * sysdeps/i386/bits/mathdef.h: Removed.
24914         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24915         * sysdeps/x86/bits/mathdef.h: This.
24917 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
24919         [BZ #14132]
24920         * include/sys/socket.h (__connect_internal)
24921         (__libc_sa_len_internal): Remove declaration.
24922         (__connect, __libc_sa_len): Declare hidden_proto.
24923         (SA_LEN): Remove use of INTUSE.
24924         * socket/connect.c: Add libc_hidden_def.
24925         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24926         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24927         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24928         alias.
24929         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24930         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24931         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24932         of adding _internal alias.
24934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24936         [BZ #14117]
24937         * sysdeps/i386/bits/link.h: Removed.
24938         * sysdeps/i386/bits/linkmap.h: Likewise.
24939         * sysdeps/x86_64/bits/link.h: Renamed to ...
24940         * sysdeps/x86/bits/link.h: This.
24941         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24942         * sysdeps/x86/bits/linkmap.h: This.
24944         * sysdeps/i386/bits/endian.h: Removed.
24945         * sysdeps/x86_64/bits/endian.h: Renamed to ...
24946         * sysdeps/x86/bits/endian.h: This.
24948         * sysdeps/i386/bits/byteswap.h: Removed.
24949         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24950         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24951         * sysdeps/x86/bits/byteswap.h: This.
24952         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24953         * sysdeps/x86/bits/byteswap-16.h: This.
24954         * sysdeps/i386/Implies: Add x86.
24955         * sysdeps/x86_64/Implies: Likewise.
24957 2012-05-30  David S. Miller  <davem@davemloft.net>
24959         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24960         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24961         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24962         (FP_TRAPPING_EXCEPTIONS): Define.
24963         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24964         (FP_TRAPPING_EXCEPTIONS): Define.
24965         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24966         subnormals only when inexact has been signalled or underflow
24967         exceptions are enabled.
24968         (_FP_PACK_CANONICAL): Likewise.
24970 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24972         [BZ #14183]
24973         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24974         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24976 2012-05-30  Richard Henderson  <rth@twiddle.net>
24978         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24979         with #ifndef NOT_IN_libc.
24981         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
24982         marked to avoid plt entry.
24984 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24986         [BZ #14112]
24987         * Makeconfig (default-abi): New macro.
24988         (abi-includes): Likewise.
24989         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
24990         $(abi-$(default-abi)-lib-soname) for soname if defined.
24991         ($(common-objpfx)gnu/lib-names.stmp): Generate from
24992         abi-variants.
24993         * Makefile (installed-stubs): Likewise.
24994         * include/stubs-biarch.h: Removed.
24995         * scripts/lib-names.awk: Only handle one library at a time.
24996         * scripts/soversions.awk: Remove WORDSIZE support.
24997         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24998         entries.
24999         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25000         Removed.
25001         (syscall-list-default-condition): Likewise.
25002         (syscall-list-default-condition): Likewise.
25003         (syscall-list-includes): Likewise.
25004         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25005         syscall-list-* with abi-*.  Handle undefined abi-variants.
25006         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25007         * sysdeps/unix/sysv/linux/i386/Implies: New file.
25008         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
25009         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
25010         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
25011         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
25012         Removed.
25013         (syscall-list-32-options): Likewise.
25014         (syscall-list-32-condition): Likewise.
25015         (syscall-list-64-options): Likewise.
25016         (syscall-list-64-condition): Likewise.
25017         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
25018         macro.
25019         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
25020         Renamed to ...
25021         (abi-*): This.
25022         (abi-64-ld-soname): New macro.
25023         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
25024         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
25025         Renamed to ...
25026         (abi-*): This.
25027         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
25028         * sysdeps/x86_64/x32/shlib-versions: Likewise.
25030 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
25032         * sysdeps/unix/sysv/linux/kernel-features.h
25033         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
25034         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
25035         include <kernel-features.h>.
25036         [!__NR_ftruncate64]: Remove conditional code.
25037         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25038         [__NR_ftruncate64]: Make code unconditional.
25039         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25040         * sysdeps/unix/sysv/linux/truncate64.c: Do not
25041         include <kernel-features.h>.
25042         [!__NR_ftruncate64]: Remove conditional code.
25043         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25044         [__NR_ftruncate64]: Make code unconditional.
25045         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
25047         include <kernel-features.h>.
25048         [!__NR_ftruncate64]: Remove conditional code.
25049         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25050         [__NR_ftruncate64]: Make code unconditional.
25051         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25053         include <kernel-features.h>.
25054         [!__NR_ftruncate64]: Remove conditional code.
25055         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25056         [__NR_ftruncate64]: Make code unconditional.
25057         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25059         * configure.in (libc_cv_fpie): Weaken to a compile test using
25060         LIBC_TRY_CC_OPTION.
25061         * configure: Regenerated.
25063 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
25066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
25067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
25068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25069         Refreshed.
25070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
25071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
25072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
25073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
25074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
25075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25076         Refreshed.
25078 2012-05-27  David S. Miller  <davem@davemloft.net>
25080         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
25081         (___Q_zero): New.
25082         (__Q_simulate_exceptions): Return void.  Change to simulate
25083         exceptions by writing into the %fsr.
25084         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
25085         (__Qp_handle_exceptions): Likewise.
25086         (numbers): Delete.
25087         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
25088         __Qp_handle_exceptions.
25089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
25090         __Qp_handle_exceptions.
25091         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25092         as unused and give dummy FP_RND_NEAREST initializer.
25093         (FP_INHIBIT_RESULTS): Define.
25094         (___Q_simulate_exceptions): Update declaration.
25095         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
25096         formatting.
25097         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25098         as unused and give dummy FP_RND_NEAREST initializer.
25099         (__Qp_handle_exceptions): Update declaration.
25100         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
25101         formatting.
25103 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
25105         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
25106         the temporary FPU control word.
25107         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25108         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
25109         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25110         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25111         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25112         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25113         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25115         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25116         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25117         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25119 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25121         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
25122         fields.
25124 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
25126         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
25127         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
25128         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
25129         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
25130         Likewise.
25131         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
25132         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
25133         Likewise.
25135 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
25137         * po/h.po: Update from translation team.
25139 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
25141         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
25143         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
25144         handling of denormals.
25145         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25146         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25147         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25148         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
25151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
25152         Likewise.
25154 2012-05-26  Marek Polacek  <polacek@redhat.com>
25156         [BZ #14152]
25157         * math/libm-test.inc (fma_test): Don't always expect underflow
25158         exception.
25160 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25162         [BZ #12416]
25163         * elf/tst-execstack.c: Include stackinfo.h.
25164         (do_test): Adjust test case to ensure that pthread_getattr_np
25165         behaviour remains the same after marking stack executable.
25167 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25169         * sysdeps/unix/sysv/linux/kernel-features.h
25170         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
25171         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
25172         kernel-features.h.
25173         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25174         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25175         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
25176         kernel-features.h.
25177         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25178         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25180 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
25182         * configure.in: Define the default includes to being none.
25183         * configure: Regenerated.
25185 2012-05-25  Roland McGrath  <roland@hack.frob.com>
25187         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
25188         * sysdeps/x86_64/setjmp.S: Likewise.
25189         * sysdeps/i386/bsd-setjmp.S: Likewise.
25190         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25191         * sysdeps/i386/setjmp.S: Likewise.
25192         * sysdeps/i386/__longjmp.S: Likewise.
25193         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25194         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
25196         * include/stap-probe.h: New file.
25197         * configure.in: Handle --enable-systemtap.
25198         * configure: Regenerated.
25199         * config.h.in (USE_STAP_PROBE): New #undef.
25200         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
25201         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
25202         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25204 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25206         [BZ #13717]
25207         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25208         to 2.4.0 where earlier.
25209         * sysdeps/unix/sysv/linux/configure: Regenerated.
25210         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25211         <kernel-features.h>.
25212         [__ASSUME_32BITUIDS]: Make code unconditional.
25213         [!__ASSUME_32BITUIDS]: Remove conditional code.
25214         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
25215         <kernel-features.h>.
25216         [__ASSUME_32BITUIDS]: Make code unconditional.
25217         [!__ASSUME_32BITUIDS]: Remove conditional code.
25218         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
25219         [__ASSUME_32BITUIDS]: Make code unconditional.
25220         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
25221         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
25222         <kernel-features.h>.
25223         [__ASSUME_32BITUIDS]: Make code unconditional.
25224         [!__ASSUME_32BITUIDS]: Remove conditional code.
25225         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
25226         <kernel-features.h>.
25227         [__ASSUME_32BITUIDS]: Make code unconditional.
25228         [!__ASSUME_32BITUIDS]: Remove conditional code.
25229         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
25230         <kernel-features.h>.
25231         [__ASSUME_32BITUIDS]: Make code unconditional.
25232         [!__ASSUME_32BITUIDS]: Remove conditional code.
25233         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
25234         <kernel-features.h>.
25235         [__ASSUME_32BITUIDS]: Make code unconditional.
25236         [!__ASSUME_32BITUIDS]: Remove conditional code.
25237         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25238         <kernel-features.h>.
25239         [__ASSUME_32BITUIDS]: Make code unconditional.
25240         [!__ASSUME_32BITUIDS]: Remove conditional code.
25241         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25242         <kernel-features.h>.
25243         [__ASSUME_32BITUIDS]: Make code unconditional.
25244         [!__ASSUME_32BITUIDS]: Remove conditional code.
25245         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
25246         <kernel-features.h>.
25247         [__ASSUME_32BITUIDS]: Make code unconditional.
25248         [!__ASSUME_32BITUIDS]: Remove conditional code.
25249         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25250         <kernel-features.h>.
25251         [__ASSUME_32BITUIDS]: Make code unconditional.
25252         [!__ASSUME_32BITUIDS]: Remove conditional code.
25253         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25254         <kernel-features.h>.
25255         [__ASSUME_32BITUIDS]: Make code unconditional.
25256         [!__ASSUME_32BITUIDS]: Remove conditional code.
25257         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
25258         <kernel-features.h>.
25259         [__ASSUME_32BITUIDS]: Make code unconditional.
25260         [!__ASSUME_32BITUIDS]: Remove conditional code.
25261         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
25262         <kernel-features.h>.
25263         [__NR_setresgid] (__setresgid): Do not declare.
25264         [__ASSUME_32BITUIDS]: Make code unconditional.
25265         [!__ASSUME_32BITUIDS]: Remove conditional code.
25266         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
25267         <kernel-features.h>.
25268         [__NR_setresuid] (__setresuid): Do not declare.
25269         [__ASSUME_32BITUIDS]: Make code unconditional.
25270         [!__ASSUME_32BITUIDS]: Remove conditional code.
25271         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
25272         <kernel-features.h>.
25273         [__ASSUME_32BITUIDS]: Make code unconditional.
25274         [!__ASSUME_32BITUIDS]: Remove conditional code.
25275         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
25276         <kernel-features.h>.
25277         [__ASSUME_32BITUIDS]: Make code unconditional.
25278         [!__ASSUME_32BITUIDS]: Remove conditional code.
25279         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
25280         <kernel-features.h>.
25281         [__ASSUME_32BITUIDS]: Make code unconditional.
25282         [!__ASSUME_32BITUIDS]: Remove conditional code.
25283         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
25284         <kernel-features.h>.
25285         [__ASSUME_32BITUIDS]: Make code unconditional.
25286         [!__ASSUME_32BITUIDS]: Remove conditional code.
25287         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
25288         <kernel-features.h>.
25289         [__ASSUME_32BITUIDS]: Make code unconditional.
25290         [!__ASSUME_32BITUIDS]: Remove conditional code.
25291         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
25292         <kernel-features.h>.
25293         [__ASSUME_32BITUIDS]: Make code unconditional.
25294         [!__ASSUME_32BITUIDS]: Remove conditional code.
25295         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
25296         <kernel-features.h>.
25297         [__ASSUME_32BITUIDS]: Make code unconditional.
25298         [!__ASSUME_32BITUIDS]: Remove conditional code.
25299         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
25300         <kernel-features.h>.
25301         [__ASSUME_32BITUIDS]: Make code unconditional.
25302         [!__ASSUME_32BITUIDS]: Remove conditional code.
25303         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
25304         <kernel-features.h>.
25305         [__ASSUME_32BITUIDS]: Make code unconditional.
25306         [!__ASSUME_32BITUIDS]: Remove conditional code.
25307         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25308         <kernel-features.h>.
25309         [__ASSUME_32BITUIDS]: Make code unconditional.
25310         [!__ASSUME_32BITUIDS]: Remove conditional code.
25311         * sysdeps/unix/sysv/linux/kernel-features.h
25312         (__ASSUME_SETRESUID_SYSCALL): Remove.
25313         (__ASSUME_SETRESGID_SYSCALL): Likewise.
25314         (__ASSUME_32BITUIDS): Likewise.
25315         (__ASSUME_LDT_WORKS): Likewise.
25316         (__ASSUME_O_DIRECTORY): Likewise.
25317         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
25318         architecture but not kernel version.
25319         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25320         (__ASSUME_MMAP2_SYSCALL): Likewise.
25321         (__ASSUME_STAT64_SYSCALL): Likewise.
25322         (__ASSUME_IPC64): Likewise.
25323         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
25324         <kernel-features.h>.
25325         [__ASSUME_32BITUIDS]: Make code unconditional.
25326         [!__ASSUME_32BITUIDS]: Remove conditional code.
25327         * sysdeps/unix/sysv/linux/opendir.c: Do not include
25328         <kernel-features.h>.
25329         [__ASSUME_O_DIRECTORY]: Make code unconditional.
25330         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
25331         132096]: Remove conditional code.
25332         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
25333         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25334         <kernel-features.h>.
25335         [__ASSUME_32BITUIDS]: Make code unconditional.
25336         [!__ASSUME_32BITUIDS]: Remove conditional code.
25337         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25338         <kernel-features.h>.
25339         [__ASSUME_32BITUIDS]: Make code unconditional.
25340         [!__ASSUME_32BITUIDS]: Remove conditional code.
25341         * sysdeps/unix/sysv/linux/setegid.c: Do not include
25342         <kernel-features.h>.
25343         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
25344         unconditional.
25345         (__setresgid): Do not declare.
25346         [__ASSUME_32BITUIDS]: Make code unconditional.
25347         [!__ASSUME_32BITUIDS]: Remove conditional code.
25348         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
25349         <kernel-features.h>.
25350         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
25351         unconditional.
25352         (__setresuid): Do not declare.
25353         [__ASSUME_32BITUIDS]: Make code unconditional.
25354         [!__ASSUME_32BITUIDS]: Remove conditional code.
25355         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25356         <kernel-features.h>.
25357         [__ASSUME_32BITUIDS]: Make code unconditional.
25358         [!__ASSUME_32BITUIDS]: Remove conditional code.
25359         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
25360         <kernel-features.h>.
25361         [__ASSUME_32BITUIDS]: Make code unconditional.
25362         [!__ASSUME_32BITUIDS]: Remove conditional code.
25364 2012-05-25  Richard Henderson  <rth@twiddle.net>
25366         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
25367         dl_hwcap to ifunc resolver.
25368         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25369         elf_ifunc_invoke.
25370         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25371         dl_hwcap to ifunc resolver.
25372         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25374 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25376         [BZ #14153]
25377         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25378         for |x| <= 2**-26, not 2**-57.
25379         * math/libm-test.inc (acos_test): Do not allow spurious underflow
25380         exception.
25382 2012-05-24  Jeff Law  <law@redhat.com>
25384         * stdio-common/Makefile (tests): Add bug25.
25385         * stdio-common/bug25.c: New test.
25387 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
25389         [BZ #13576]
25390         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25391         multiple of MALLOC_ALIGNMENT in size.
25392         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25394 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25396         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25397         Require >= 256.
25398         (FILENAME_MAX): Use macro-int-constant.
25399         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
25400         (_IOFBF): Use macro-int-constant.
25401         (_IOLBF): Likewise.
25402         (_IONBF): Likewise.
25403         (SEEK_CUR): Likewise.
25404         (SEEK_END): Likewise.
25405         (SEEK_SET): Likewise.
25406         (TMP_MAX): Likewise.
25407         (EOF): Use macro-int-constant.  Require < 0.
25408         (NULL): Use macro-constant.  Require == 0.
25409         (stdin): Require type to be FILE *.
25410         (stdout): Likewise.
25411         (stderr): Likewise.
25412         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25413         macro-int-constant.
25414         (EXIT_SUCCESS): Likewise.
25415         (NULL): Use macro-constant.  Require == 0.
25416         (RAND_MAX): Use macro-int-constant.
25417         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25418         [C99-based standards] (strtof): Require function.
25419         [C99-based standards] (strtold): Likewise.
25420         [C99-based standards] (strtoll): Likewise.
25421         [C99-based standards] (strtoull): Likewise.
25422         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25423         [ISO || ISO99 || ISO11] (limits.h): Likewise.
25424         [ISO || ISO99 || ISO11] (math.h): Likewise.
25425         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25426         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25427         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25429 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
25431         [BZ #14132]
25432         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25433         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25434         * intl/dgettext.c (DCGETTEXT): Likewise.
25435         * intl/gettext.c (DCGETTEXT): Likewise.
25436         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25437         * posix/regex_internal.h (gettext): Likewise.
25438         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25439         Remove declaration.
25440         * include/argz.h (__argz_count_internal)
25441         (__argz_stringify_internal): Remove declaration.
25442         (__argz_count, __argz_stringify): Declare hidden proto.
25443         * intl/dcgettext.c: Remove use of INTDEF.
25444         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25445         * string/argz-stringify.c: Likewise.
25446         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25447         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25448         Declare hidden proto.
25449         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25450         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25451         Declare hidden proto.
25452         * include/stdio.h (__asprintf_internal): Don't declare.
25453         (__asprintf): Don't define as macro.  Declare hidden proto.
25454         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25455         (__fsetlocking): Declare hidden proto.
25456         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25457         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25458         hidden proto.
25459         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25460         (_IO_setlinebuf): Remove use of INTUSE.
25461         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25462         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25463         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25464         Remove declaration.
25465         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25466         (_IO_do_flush): Remove use of INTUSE.
25467         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25468         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25469         (_IO_adjust_column, _IO_least_wmarker)
25470         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25471         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25472         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25473         (_IO_default_doallocate, _IO_wdefault_doallocate)
25474         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25475         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25476         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25477         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25478         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25479         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25480         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25481         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25482         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25483         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25484         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25485         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25486         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25487         proto.
25488         (_IO_flush_all_internal, _IO_adjust_column_internal)
25489         (_IO_default_uflow_internal, _IO_default_finish_internal)
25490         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25491         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25492         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25493         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25494         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25495         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25496         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25497         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25498         (_IO_file_close_internal, _IO_file_close_it_internal)
25499         (_IO_file_underflow_internal, _IO_file_overflow_internal)
25500         (_IO_file_init_internal, _IO_file_attach_internal)
25501         (_IO_file_fopen_internal, _IO_file_read_internal)
25502         (_IO_file_sync_internal, _IO_file_seek_internal)
25503         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25504         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25505         (_IO_str_underflow_internal, _IO_str_overflow_internal)
25506         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25507         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25508         (_IO_list_all_internal, _IO_link_in_internal)
25509         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25510         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25511         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25512         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25513         (_IO_do_write_internal, _IO_padn_internal)
25514         (_IO_getline_info_internal, _IO_getline_internal)
25515         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25516         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25517         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25518         (_IO_vfscanf_internal, _IO_vfprintf_internal)
25519         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25520         (_IO_init_internal, _IO_un_link_internal): Don't declare.
25521         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25522         with libc_hidden_ver, remove use of INTUSE.
25523         * libio/genops.c: Likewise.
25524         * libio/freopen.c: Likewise.
25525         * libio/freopen64.c: Likewise.
25526         * libio/iofclose.c: Likewise.
25527         * libio/iofdopen.c: Likewise.
25528         * libio/iofflush.c: Likewise.
25529         * libio/iofflush_u.c: Likewise.
25530         * libio/iofgets.c: Likewise.
25531         * libio/iofgets_u.c: Likewise.
25532         * libio/iofopen.c: Likewise.
25533         * libio/iofopncook.c: Likewise.
25534         * libio/iofread.c: Likewise.
25535         * libio/iofread_u.c: Likewise.
25536         * libio/ioftell.c: Likewise.
25537         * libio/iofwrite.c: Likewise.
25538         * libio/iogetline.c: Likewise.
25539         * libio/iogets.c: Likewise.
25540         * libio/iogetwline.c: Likewise.
25541         * libio/iopadn.c: Likewise.
25542         * libio/iopopen.c: Likewise.
25543         * libio/ioseekoff.c: Likewise.
25544         * libio/ioseekpos.c: Likewise.
25545         * libio/iosetbuffer.c: Likewise.
25546         * libio/iosetvbuf.c: Likewise.
25547         * libio/ioungetc.c: Likewise.
25548         * libio/ioungetwc.c: Likewise.
25549         * libio/iovdprintf.c: Likewise.
25550         * libio/iovsprintf.c: Likewise.
25551         * libio/iovsscanf.c: Likewise.
25552         * libio/memstream.c: Likewise.
25553         * libio/obprintf.c: Likewise.
25554         * libio/oldfileops.c: Likewise.
25555         * libio/oldiofclose.c: Likewise.
25556         * libio/oldiofdopen.c: Likewise.
25557         * libio/oldiofopen.c: Likewise.
25558         * libio/oldiopopen.c: Likewise.
25559         * libio/oldstdfiles.c: Likewise.
25560         * libio/putc.c: Likewise.
25561         * libio/setbuf.c: Likewise.
25562         * libio/setlinebuf.c: Likewise.
25563         * libio/stdfiles.c: Likewise.
25564         * libio/strops.c: Likewise.
25565         * libio/vasprintf.c: Likewise.
25566         * libio/vscanf.c: Likewise.
25567         * libio/vsnprintf.c: Likewise.
25568         * libio/vswprintf.c: Likewise.
25569         * libio/wfiledoalloc.c: Likewise.
25570         * libio/wfileops.c: Likewise.
25571         * libio/wgenops.c: Likewise.
25572         * libio/wmemstream.c: Likewise.
25573         * libio/wstrops.c: Likewise.
25574         * libio/__fpurge.c: Likewise.
25575         * libio/__fsetlocking.c: Likewise.
25576         * assert/assert.c: Likewise.
25577         * debug/fgets_chk.c: Likewise.
25578         * debug/fgets_u_chk.c: Likewise.
25579         * debug/fread_chk.c: Likewise.
25580         * debug/fread_u_chk.c: Likewise.
25581         * debug/gets_chk.c: Likewise.
25582         * debug/obprintf_chk.c: Likewise.
25583         * debug/vasprintf_chk.c: Likewise.
25584         * debug/vdprintf_chk.c: Likewise.
25585         * debug/vsnprintf_chk.c: Likewise.
25586         * debug/vsprintf_chk.c: Likewise.
25587         * malloc/mtrace.c: Likewise.
25588         * misc/error.c: Likewise.
25589         * misc/syslog.c: Likewise.
25590         * stdio-common/asprintf.c: Likewise.
25591         * stdio-common/fxprintf.c: Likewise.
25592         * stdio-common/getw.c: Likewise.
25593         * stdio-common/isoc99_fscanf.c: Likewise.
25594         * stdio-common/isoc99_scanf.c: Likewise.
25595         * stdio-common/isoc99_vfscanf.c: Likewise.
25596         * stdio-common/isoc99_vscanf.c: Likewise.
25597         * stdio-common/isoc99_vsscanf.c: Likewise.
25598         * stdio-common/printf-prs.c: Likewise.
25599         * stdio-common/printf_fp.c: Likewise.
25600         * stdio-common/printf_fphex.c: Likewise.
25601         * stdio-common/printf_size.c: Likewise.
25602         * stdio-common/putw.c: Likewise.
25603         * stdio-common/scanf.c: Likewise.
25604         * stdio-common/sprintf.c: Likewise.
25605         * stdio-common/tmpfile.c: Likewise.
25606         * stdio-common/vfprintf.c: Likewise.
25607         * stdio-common/vfscanf.c: Likewise.
25608         * stdlib/strfmon_l.c: Likewise.
25609         * sunrpc/openchild.c: Likewise.
25610         * sunrpc/xdr_stdio.c: Likewise.
25611         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25612         * sysdeps/mach/hurd/tmpfile.c: Likewise.
25614 2012-05-24  Roland McGrath  <roland@hack.frob.com>
25616         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25618         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25619         in the third column, to generate for the shared library an IFUNC
25620         that uses _dl_vdso_vsym.
25621         * Makerules (COMPILE.c, compile-stdin.c): New variables.
25622         * Makeconfig (object-suffixes-noshared): New variable.
25624         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25625         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25626         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25627         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25629         [BZ #14132]
25630         * include/sys/time.h (__gettimeofday): Remove macro.
25631         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25632         * time/gettimeofday.c (__gettimeofday): Remove #undef.
25633         Remove INTDEF.
25634         (__gettimeofday): Add libc_hidden_def.
25635         (gettimeofday): Add libc_hidden_weak.
25636         * sysdeps/mach/gettimeofday.c: Likewise.
25637         * sysdeps/posix/gettimeofday.c: Likewise.
25638         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25639         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25641         (__gettimeofday_internal): Remove strong_alias.
25642         (__gettimeofday): Add libc_hidden_def.
25643         (gettimeofday): Add libc_hidden_weak.
25644         * sysdeps/unix/syscalls.list (gettimeofday):
25645         Remove __gettimeofday_internal alias.
25647 2012-05-24  Daniel Jacobowitz  <drow@false.org>
25648             H.J. Lu  <hongjiu.lu@intel.com>
25650         [BZ #12495]
25651         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25652         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25653         (largebin_index_32_big): New.
25654         (largebin_index): Use it for 16-byte alignment.
25655         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
25656         correction with front_misalign.
25658 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
25660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25662         Likewise.
25663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25664         Likewise.
25665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25666         Likewise.
25667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25668         Likewise.
25669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25670         Likewise.
25671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25672         Likewise.
25673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25674         Likewise.
25675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25676         Likewise.
25677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25678         Likewise.
25679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25680         Likewise.
25681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25682         Likewise.
25683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25684         Likewise.
25686         * scripts/data/c++-types-x32-linux-gnu.data: New file.
25687         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25689 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25691         [BZ #10846]
25692         [BZ #14036]
25693         * math/libm-test.inc (exp_test): Add test from bug 14036.
25694         (pow_test): Add test from bug 10846.
25696         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25697         and other flags.
25698         (special_function): Do not include flags in test name.
25699         (parse_args): Likewise.
25700         * sysdeps/i386/fpu/libm-test-ulps: Update.
25701         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25702         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25703         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25706         * math/gen-libm-test.pl (%beautify): Add entries for underflow
25707         exceptions.
25708         * math/libm-test.inc ("Philosophy"): Update comment about
25709         exception testing.
25710         (UNDERFLOW_EXCEPTION): New macro.
25711         (UNDERFLOW_EXCEPTION_OK): Likewise.
25712         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25713         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25714         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25715         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25716         (INVALID_EXCEPTION_OK): Update value.
25717         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25718         (OVERFLOW_EXCEPTION_OK): Likewise.
25719         (IGNORE_ZERO_INF_SIGN): Likewise.
25720         (test_exceptions): Handle underflow exceptions.
25721         (acos_test): Update for underflow exception expectations.
25722         (cexp_test): Likewise.
25723         (clog_test): Likewise.
25724         (clog10_test): Likewise.
25725         (csqrt_test): Likewise.
25726         (ctan_test): Likewise.
25727         (ctanh_test): Likewise.
25728         (exp_test): Likewise.
25729         (exp10_test): Likewise.
25730         (exp2_test): Likewise.
25731         (expm1_test): Likewise.
25732         (fma_test): Likewise.
25733         (j0_test): Likewise.
25734         (jn_test): Likewise.
25735         (nexttoward_test): Likewise.
25736         (pow_test): Likewise.
25737         (scalbn_test): Likewise.
25738         (scalbln_test): Likewise.
25739         (tan_test): Likewise.
25740         (y1_test): Likewise.
25741         * sysdeps/i386/fpu/libm-test-ulps: Update.
25742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25744 2012-05-23  David S. Miller  <davem@davemloft.net>
25746         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25747         (__libc_sigaction): Remove unused local variables.
25749 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25751         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25753 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
25755         mktime: avoid signed integer overflow
25756         * time/mktime.c (__mktime_internal): Do not mishandle the case
25757         where diff == INT_MIN.
25759         mktime: simplify computation of average
25760         * time/mktime.c (ranged_convert): Use new time_t_avg function
25761         instead of rolling our own (probably-slower) code.
25763         mktime: do not assume signed right shift propagates sign bit
25764         * time/mktime.c (isdst_differ): New static function.
25765         (__mktime_internal): No need to normalize tm_isdst now.
25766         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25767         tm_isdst values.
25769         mktime: merge another wrapv change from gnulib
25770         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25771         from some compilers.
25773         mktime: remove incorrect attempt at unusual arithmetics
25774         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25775         The code didn't really work on such machines anyway.
25776         (TYPE_MINIMUM): Assume two's complement.
25777         (twos_complement_arithmetic): Verify that long_int and time_t
25778         are two's complement (or unsigned, in the latter case).
25780         mktime: check signed shifts on long_int and time_t, too
25781         * time/mktime.c (SHR): Check that shifts work as desired
25782         on the types long_int and time_t too, as SHR is used on
25783         such types.
25785         mktime: do not assume 'long' is wide enough
25786         * time/mktime.c (verify): Move decl up.
25787         (long_int): New type.
25788         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25789         to remove assumption in the code that 'long' is wide enough to
25790         store year values.  This assumption is not true on x32 and on
25791         some non-glibc platforms.
25793         mktime: merge wrapv change from gnulib
25794         * time/mktime.c (WRAPV): New macro.
25795         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25796         (guess_time_tm, __mktime_internal): Do not assume that signed
25797         integer overflow wraps around; modern compilers generate code
25798         where this assumption is no longer valid.
25800 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25802         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25803         Replace "jmp L(pseudo_end)" with "ret".
25804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25805         Likewise.
25807 2012-05-23  Andreas Jaeger  <aj@suse.de>
25809         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25810         * sysdeps/unix/sysv/linux/poll.c: Remove file.
25812 2012-05-23  Andreas Jaeger  <aj@suse.de>
25813             Maximilian Attems  <max@stro.at>
25815         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25816         New macros.
25818 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25820         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25821         code so that pseudo_end is just ret and the stack pointer is
25822         correct also for static library in error case.
25824 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
25826         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25827         move to syscalls.list.
25828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25833         * manual/install.texi (Running make install): Do not mention Linux
25834         kernel version for which pt_chown is not needed.
25835         (Linux): Do not mention problems with nscd with 2.0 kernels.
25836         * INSTALL: Regenerated.
25838 2012-05-23  Andreas Jaeger  <aj@suse.de>
25840         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25841         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25842         macro.
25843         * sysdeps/unix/sysv/linux/s390/bits/mman.h
25844         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25845         * sysdeps/unix/sysv/linux/sh/bits/mman.h
25846         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25847         * sysdeps/unix/sysv/linux/i386/bits/mman.h
25848         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25849         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25850         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25853         * sysdeps/unix/sysv/linux/bits/in.h
25854         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25856 2012-05-22  Roland McGrath  <roland@hack.frob.com>
25858         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25859         (PREPARE_VERSION): Just use assert instead, it will be elided
25860         under [NDEBUG] anyway.
25862 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25864         * sysdeps/unix/sysv/linux/Makefile: Include
25865         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25866         (sysdep_routines): Remove sysctl.
25867         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25868         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25869         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25870         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25871         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25873 2012-05-22  Andreas Jaeger  <aj@suse.de>
25875         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25876         that pseudo_end is just ret and the stack pointer is correct also
25877         for static library in error case.
25879 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25881         [BZ #14122]
25882         * nss/nsswitch.c (defconfig_entries): New variable.
25883         (__nss_database_lookup): Don't leak defconfig entries.
25884         (nss_parse_service_list): Don't leak on error paths.
25885         (free_database_entries): New function.
25886         (free_defconfig): New function.
25887         (free_mem): Move common code to free_database_entries.
25889 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25891         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25892         Add arch_prctl.
25893         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25895         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25896         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25898         New macro.
25899         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25900         (INTERNAL_SYSCALL_TYPES): Likewise.
25901         (LOAD_ARGS_TYPES_[1-6]): Likewise.
25902         (LOAD_REGS_TYPES_[1-6]): Likewise.
25903         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25904         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25906 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25908         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25909         copysignl for GLIBC_2_0.
25910         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25911         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25912         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25913         logbl for GLIBC_2_0.
25914         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25915         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25917 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25920         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25922         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25923         Use "neg %eax".
25925         * time/mktime.c: Update copyright years.
25927 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25929         mktime: merge comment-quoting-style change from gnulib
25930         * time/mktime.c: Quote 'like this' in comments.
25931         The GNU coding standards suggest that we no longer quote `like this',
25932         as "`" and "'" are typically rendered asymmetrically nowadays.
25933         The typical gnulib style is to quote 'like this' when quoting
25934         code, and "like this" when quoting English.
25936         * time/mktime.c (compile-command): Add "-I.".
25938         mktime: merge mktime-internal.h change from gnulib
25939         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25941         mktime: merge time_r change from gnulib
25942         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25944         mktime: merge DEBUG change from gnulib
25945         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25946         case system <time.h> has a #define.
25948         mktime: merge <sys/types.h> change from gnulib
25949         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25950         since <time.t> is now guaranteed to define time_t.
25952         mktime: merge HAVE_CONFIG_H change from gnulib
25953         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25955 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25958         Use "neg %eax".
25960         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25961         __rlim_t cast.
25962         (struct rusage): Use anonymous union to pad each field to
25963         __syscall_slong_t.
25965 2012-05-21  David S. Miller  <davem@davemloft.net>
25967         * Makefules (o-iterator): Remove .s cases.
25968         (compile-command.s): Delete.
25969         (COMPILE.s): Delete.
25970         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25972 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
25974         * configure.in (libc_cv_predef_stack_protector): Only consider
25975         "foobar" and "__stack_chk_fail" lines in libc_undefs.
25976         * configure: Regenerated.
25978 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25981         New macro.  Use R*LP on int and pointer.
25982         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25983         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25984         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25985         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25987         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25988         [__WORDSIZE_TIME64_COMPAT32] instead of
25989         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25990         (struct utmp): Likewise.
25991         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25992         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25993         Renamed to ...
25994         (__WORDSIZE_TIME64_COMPAT32): This.
25995         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25996         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25997         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25998         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25999         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26000         (__WORDSIZE_TIME64_COMPAT32): New macro.
26002 2012-05-21  Andreas Jaeger  <aj@suse.de>
26004         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26005         only if [SHARED]. Add prototype for __wcschr_ia32.
26007 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26009         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
26010         of %rbp unmolested in the jmp_buf while mangling the low bits.
26011         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
26012         unmolested high bits of %rbp while demangling the low bits.
26013         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26015 2012-05-21  Andreas Jaeger  <aj@suse.de>
26017         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
26018         * sunrpc/svc_simple.c: Use it for registerrpc.
26019         * sunrpc/xcrypt.c: Use it for passwd2des.
26021         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
26023 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26025         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
26026         Don't define if [__SYSCALL_WORDSIZE != 32].
26027         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
26028         New macro.
26030 2012-05-21  Bruno Haible  <bruno@clisp.org>
26031             Andreas Jaeger  <aj@suse.de>
26033         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
26034         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
26035         inptr and inend for must_buffer_ch.
26036         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
26037         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
26038         * stdio-common/Makefile (tests): Remove bug15.
26039         (bug15-ENV): Remove macro.
26040         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
26041         anymore.
26043 2012-05-19  Andreas Jaeger  <aj@suse.de>
26044             Roland McGrath  <roland@hack.frob.com>
26046         * manual/contrib.texi: Completely rewritten. It contains now an
26047         alphabetical list of contributors and their contributions.
26049 2012-05-21  Richard Henderson  <rth@twiddle.net>
26051         * misc/getauxval.c (__getauxval): Use unsigned long int.
26052         * misc/sys/auxv.h: Include <sys/cdefs.h>.
26053         (getauxval): Use unsigned long int.
26055 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26057         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26059 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26061         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
26062         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
26063         __alignof__ (long double).
26065 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26069 2012-05-20  Richard Henderson  <rth@twiddle.net>
26071         * misc/getauxval.c: New file.
26072         * misc/sys/auxv.h: New file.
26073         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
26074         (routines): Add getauxval.
26075         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
26076         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
26077         * elf/dl-sysdep.c (_dl_auxv): Remove.
26078         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
26079         * elf/dl-support.c (_dl_auxv): New variable.
26080         (_dl_aux_init): Initialize it.
26081         * manual/startup.texi (Auxiliary Vector): New node.
26082         * sysdeps/generic/bits/hwcap.h: New file.
26083         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
26084         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
26085         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
26086         * sysdeps/sparc/sysdep.h: ... here.  Include it.
26087         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
26088         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
26089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26090         Update.
26091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
26092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
26093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
26094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
26095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
26098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
26100 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26104 2012-05-19  David S. Miller  <davem@davemloft.net>
26106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26108 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26110         [BZ #14123]
26111         * math/s_ccosh.c: Include <float.h>
26112         (__ccosh): Avoid internal overflow calculating sinh and cosh
26113         values before multiplying by sin and cos values.
26114         * math/s_ccoshf.c: Likewise.
26115         * math/s_ccoshl.c: Likewise.
26116         * math/s_csin.c: Likewise.
26117         * math/s_csinf.c: Likewise.
26118         * math/s_csinl.c: Likewise.
26119         * math/s_csinh.c: Likewise.
26120         * math/s_csinhf.c: Likewise.
26121         * math/s_csinhl.c: Likewise.
26122         * math/libm-test.inc (ccos_test): Add more tests.
26123         (ccosh_test): Likewise.
26124         (csin_test): Likewise.
26125         (csinh_test): Likewise.
26126         * sysdeps/i386/fpu/libm-test-ulps: Update.
26127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26129 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
26131         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
26132         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
26134         * sysdeps/x86_64/x32/_itoa.h: Add comment.
26136 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26138         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
26139         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
26140         * sysdeps/powerpc/soft-fp/Versions: Likewise.
26141         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
26142         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
26143         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
26144         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
26145         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
26146         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
26147         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
26148         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
26149         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
26150         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
26151         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
26152         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
26153         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
26154         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
26155         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
26156         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
26157         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
26158         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
26159         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
26160         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
26161         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
26162         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
26163         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
26164         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
26165         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
26166         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
26167         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
26168         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
26170 2012-05-18  Andreas Jaeger  <aj@suse.de>
26172         * csu/.gitignore: Delete.
26174 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26176         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
26177         (timex): Use __syscall_slong_t.
26179 2012-05-18  Andreas Jaeger  <aj@suse.de>
26180             Carlos O'Donell  <carlos_odonell@mentor.com>
26182         * manual/install.texi (Configuring and compiling): Update
26183         description about files modified in the source directory.
26184         * INSTALL: Regenerated.
26186 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26188         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
26189         value.  Use "or" to set return value to -1.
26190         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
26191         negate return value.
26193 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26195         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
26196         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
26197         failure if the compiler has Graphite support disabled.
26198         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
26199         Likewise.
26200         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
26201         CFLAGS-memmove.c): Likewise.
26202         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
26203         Likewise.
26205 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26207         * sysdeps/x86_64/x32/_itoa.h: New file.
26209         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
26210         getdents system call only if kernel and user dirents have the
26211         same d_ino and d_off.
26213         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26214         LLONG_MAX != LONG_MAX.
26215         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26216         (_fitoa_word): Likewise.
26218         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
26219         years.
26220         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
26221         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
26222         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
26224         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
26225         include <bits/wordsize.h>.  Check __x86_64__ instead of
26226         __WORDSIZE.
26227         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
26228         if __x86_64__ is defined.  Use anonymous union on fpstate.
26230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
26231         anonymous union.
26233 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
26235         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26236         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
26237         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
26238         Refer to _rtld_local_ro instead of _rtld_global_ro.
26239         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
26240         Likewise.
26241         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
26242         Likewise.
26243         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
26244         Likewise.
26245         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
26246         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
26247         of _rtld_global, and rtld_progname instead of _dl_argv[0].
26249         * sysdeps/powerpc/powerpc32/dl-machine.c
26250         (__elf_machine_runtime_setup) [PROF]: Don't reference
26251         _dl_prof_resolve.
26253 2012-05-18  Andreas Jaeger  <aj@suse.de>
26255         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
26256         function only available for GCCs before 3.4 since GCC 3.4
26257         introduced a builtin.
26258         (lrint): Likewise.
26259         (llrintf): Likewise.
26260         (llrint): Likewise.
26261         (fmaxf): Likewise.
26262         (fmax): Likewise.
26263         (fminf): Likewise.
26264         (fmin): Likewise.
26265         (rint): Likewise.
26266         (rintf): Likewise.
26267         (nearbyint): Likewise.
26268         (nearbyintf): Likewise.
26269         (ceil): Likewise.
26270         (ceilf): Likewise.
26271         (floor): Likewise.
26272         (floorf): Likewise.
26274 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26276         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
26277         on both fields and cast pointer to __syscall_ulong_t.
26279         * bits/types.h (__fsword_t): New type.
26280         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
26281         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
26282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26283         (__FSWORD_T_TYPE): Likewise.
26284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26285         (__FSWORD_T_TYPE): Likewise.
26286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26287         (__FSWORD_T_TYPE): Likewise.
26288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
26289         (__FSWORD_T_TYPE): Likewise.
26290         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
26291         __SWORD_TYPE with __fsword_t.
26292         (statfs64): Likewise.
26294 2012-05-17  David S. Miller  <davem@davemloft.net>
26296         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
26298 2012-05-17  Andreas Jaeger  <aj@suse.de>
26300         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
26301         warning.
26303 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26305         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
26307 2012-05-17  Andreas Jaeger  <aj@suse.de>
26309         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
26310         when it is used.
26312 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26314         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
26316 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26318         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
26319         * sysdeps/x86_64/tst-mallocalign1.c: New file.
26321 2012-05-17  Andreas Jaeger  <aj@suse.de>
26322             Carlos O'Donell  <carlos_odonell@mentor.com>
26324         [BZ #14059]
26325         * sysdeps/x86_64/multiarch/init-arch.h
26326         (bit_YMM_Usable): Rename to...
26327         (bit_AVX_Usable): ... this.
26328         (bit_FMA4_Usable): New macro.
26329         (bit_XMM_state): New macro.
26330         (bit_YMM_state): New macro.
26331         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26332         [__ASSEMBLER__] (index_AVX_Usable): ... this.
26333         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
26334         (CPUID_OSXSAVE): New macro.
26335         (CPUID_AVX): New macro.
26336         (CPUID_FMA4): New macro.
26337         (index_YMM_Usable): Rename to...
26338         (index_AVX_Usable): ... this.
26339         (HAS_AVX): Use HAS_ARCH_FEATURE.
26340         (HAS_FMA4): Likewise.
26341         (HAS_YMM_USABLE): Remove.
26342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26343         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
26344         are present.
26345         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26346         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
26347         * sysdeps/x86_64/multiarch/Makefile: Likewise.
26348         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
26349         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
26351 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26353         * math/libm-test.c: Support platforms without multiple rounding modes.
26354         * math/bug-nextafter.c: Support platforms without FP exceptions.
26355         * math/bug-nexttoward.c: Likewise.
26356         * math/test-fenv.c: Likewise.
26357         * math/test-misc.c: Likewise.
26358         * stdlib/bug-getcontext.c: Likewise.
26360 2012-05-17  Andreas Jaeger  <aj@suse.de>
26362         * manual/examples/search.c (critter_cmp): Change signature to
26363         avoid warnings.
26364         * manual/string.texi (Collation Functions): Likewise.
26366 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26368         * bits/types.h: Fold copyright years.
26369         * bits/typesizes.h: Likewise.
26370         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26374         * time/time.h: Likewise.
26376 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
26378         [BZ #208]
26379         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26380         in instead of returning them.  Return void.
26381         (__libc_mallinfo): Accumulate over all arenas.
26382         (__malloc_stats): Adjust for change in int_mallinfo interface.
26384 2012-05-16  Roland McGrath  <roland@hack.frob.com>
26386         [BZ #10375]
26387         * configure.in (NM): Add AC_CHECK_TOOL for it.
26388         (libc_extra_cflags): New substituted variable.
26389         Check for -fstack-protector being used implicitly.
26390         * configure: Regenerated.
26391         * config.make.in (config-extra-cflags): New variable,
26392         gets @libc_extra_cflags@.
26393         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26395         [BZ #10375]
26396         * configure.in: Check for _FORTIFY_SOURCE being predefined.
26397         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26398         * configure: Regenerated.
26399         * config.make.in (CPPUNDEFS): New substituted variable.
26400         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26401         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26402         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26404 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26406         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26407         (mq_attr): Use __syscall_slong_t.
26409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26411         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26412         Check __x86_64__ instead of __WORDSIZE.
26413         (_STAT_VER_LINUX): Likewise.
26414         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
26415         __syscall_ulong_t and __syscall_slong_t.
26416         (stat64): Likewise.
26418 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26424         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26428         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26429         __syscall_ulong_t.
26431         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26432         include <bits/wordsize.h>.  Check __x86_64__ instead of
26433         __WORDSIZE.
26434         (greg_t): Use "__extension__ long long int" if __x86_64__ is
26435         defined.
26436         (mcontext_t): Replace "unsigned long" with "unsigned long long".
26438         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26439         include <bits/wordsize.h>.  Check __x86_64__ instead of
26440         __WORDSIZE.
26441         (user_regs_struct): Use "__extension__ unsigned long long"
26442         instead of "unsigned long" if __x86_64__ is defined.
26443         (user): Likewise.  Pad after pointer field if __ILP32__ is
26444         defined.
26446 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
26448         * configure.in (makeinfo): Require version 4.5 or later.  Allow
26449         versions 5 to 9.
26450         * configure: Regenerated.
26451         * manual/install.texi (texinfo): Increase version requirement to
26452         4.5 or later.
26453         * INSTALL: Regenerated.
26455         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26457 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26459         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26461         * sysdeps/x86_64/x32/ffs.c: New file.
26463         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26464         __syscall_ulong_t.
26465         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26466         defined.  Use __syscall_ulong_t.
26467         (shminfo): Use __syscall_ulong_t.
26468         (shm_info): Likewise.
26470         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26471         __syscall_ulong_t.
26473         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26474         <bits/wordsize.h>.
26475         (msgqnum_t): Use __syscall_ulong_t.
26476         (msglen_t): Likewise.
26477         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
26478         __syscall_ulong_t.
26480         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26481         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26483         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26485         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26486         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26488         * sysvipc/sys/msg.h (msgbuf): Replace long int with
26489         __syscall_slong_t.
26491         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26492         include <bits/wordsize.h>.  Check __x86_64__ instead of
26493         __WORDSIZE.
26495         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26496         "unsigned long long int" if __x86_64__ is defined.
26497         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26499         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26500         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26501         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26503         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26504         <stdint.h>.
26505         (GET_PC): Cast to uintptr_t first.
26506         (GET_FRAME): Likewise.
26507         (GET_STACK): Likewise.
26509         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26510         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26511         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26512         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26513         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26514         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26515         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26516         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26517         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26518         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26519         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26520         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26521         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26522         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26523         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26524         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26525         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26526         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26527         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26528         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26529         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26530         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26531         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26532         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26533         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26534         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26535         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26536         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26537         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26539 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
26541         * Makerules (+depfiles): Also collect depfiles from .oS in
26542         $(extra-objs).
26543         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26544         .oS, $(libnldbl-routines)).
26546         * Makerules (native-compile-mkdep-flags): Define.
26547         * sunrpc/Makefile (extra-objs): Add $(addprefix
26548         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26549         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26550         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
26551         calling $(make-target-directory).
26553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26555         * bits/types.h (__snseconds_t): Removed.
26556         * time/time.h (struct timespec): Replace __snseconds_t with
26557         __syscall_slong_t.
26558         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26559         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26560         Likewise.
26561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26562         (__SNSECONDS_T_TYPE): Likewise.
26563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26564         (__SNSECONDS_T_TYPE): Likewise.
26565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26566         (__SNSECONDS_T_TYPE): Likewise.
26568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26570         * sysdeps/mach/hurd/bits/typesizes.h
26571         (__SYSCALL_SLONG_TYPE): New macro.
26572         (__SYSCALL_ULONG_TYPE): Likewise.
26574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26576         * bits/types.h (__syscall_slong_t): New type.
26577         (__syscall_ulong_t): Likewise.
26579         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26580         (__SYSCALL_ULONG_TYPE): Likewise.
26581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26582         (__SYSCALL_SLONG_TYPE): Likewise.
26583         (__SYSCALL_ULONG_TYPE): Likewise.
26584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26585         (__SYSCALL_SLONG_TYPE): Likewise.
26586         (__SYSCALL_ULONG_TYPE): Likewise.
26587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26588         (__SYSCALL_SLONG_TYPE): Likewise.
26589         (__SYSCALL_ULONG_TYPE): Likewise.
26591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26593         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26594         Add sigaltstack-offsets.sym.
26595         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26596         <sigaltstack-offsets.h>.
26597         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
26598         longjmp_msg pointer.
26599         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
26600         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26601         signal stack.
26602         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26604 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
26606         * elf/stackguard-macros.h: Remove file.
26607         * sysdeps/generic/stackguard-macros.h: New file.
26608         * sysdeps/i386/stackguard-macros.h: Likewise.
26609         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26610         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26611         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26612         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26613         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26614         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26615         * sysdeps/x86_64/stackguard-macros.h: Likewise.
26616         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26617         <elf/stackguard-macros.h>.
26619         [BZ #14109]
26620         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26621         __aligned__ in attribute.
26622         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26623         (gregset_t): Likewise.
26625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26627         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26628         * sysdeps/x86_64/64/Implies-after: Here.  New file.
26629         * sysdeps/x86_64/x32/Implies-after: New file.
26631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26633         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26634         and access return value for _dl_profile_fixup.  Use R10_LP to
26635         load frame size.
26637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26639         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26643         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26644         * sysdeps/x86_64/x32/sysdep.h: New file.
26646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26648         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26649         * sysdeps/x86_64/setjmp.S: Likewise.
26651 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26653         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26654         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26655         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26656         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26657         remove unused global constant.
26659 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
26661         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26662         include of <not-cancel.h>.
26664 2012-05-15  Roland McGrath  <roland@hack.frob.com>
26666         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26668 2012-05-15  Jeff Law  <law@redhat.com>
26669             Andreas Jaeger  <aj@suse.de>
26671         [BZ #13594]
26672         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26673         out from...
26674         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26675         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26676         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26677         code changing __hst_map_handle.map.
26679 2012-05-15  Roland McGrath  <roland@hack.frob.com>
26681         * configure.in (sysnames): Look for Implies-before and Implies-after
26682         files.
26683         * configure: Regenerated.
26685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26687         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26688         8-byte data alignment with LP_SIZE alignment.
26690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26692         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26693         into R10_LP.
26695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26697         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26701         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26702         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26703         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26704         Likewise.
26705         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26709         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26710         (stackinfo_sub_sp): Likewise.
26712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26714         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26715         RAX_LP.
26717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26719         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26720         into R*_LP.
26722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26724         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26725         sizes into R*_LP.
26727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26729         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26733         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26734         into R11_LP and load __x86_64_shared_cache_size_half into
26735         R8_LP.
26737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26739         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26740         R8_LP.
26742 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26745         logb for POWER7.
26746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26747         logbf for POWER7.
26748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26749         logbl for POWER7.
26750         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26751         powerpc32/power7/fpu/s_logb.c via #include.
26752         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26753         powerpc32/power7/fpu/s_logbf.c via #include.
26754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26755         powerpc32/power7/fpu/s_logbl.c via #include.
26757 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
26759         * README.libm: Remove file.
26761 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26763         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26764         count for x32.  Use R*_LP and omit operand-size suffix.
26766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26768         * shlib-versions: Move x86_64-.*-linux.* entries to ...
26769         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
26770         * sysdeps/x86_64/x32/shlib-versions: New file.
26772 2012-05-14  Roland McGrath  <roland@hack.frob.com>
26774         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26775         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26776         Use _dl_fatal_printf instead.
26778 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
26780         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26781         set if not set by the user.  Do not allow for being unset.
26782         * sysdeps/unix/sysv/linux/configure: Regenerated.
26784 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26786         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26787         the `q' suffix from lea and replace .quad with ASM_ADDR.
26789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26792         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
26793         instead of $17.
26794         (PTR_DEMANGLE): Likewise.
26796 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26798         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26799         (LP_OP): Likewise.
26800         (ASM_ADDR): Likewise.
26801         (RAX_LP): Likewise.
26802         (RBP_LP): Likewise.
26803         (RBX_LP): Likewise.
26804         (RCX_LP): Likewise.
26805         (RDI_LP): Likewise.
26806         (RSI_LP): Likewise.
26807         (RSP_LP): Likewise.
26808         (R8_LP): Likewise.
26809         (R9_LP): Likewise.
26810         (R10_LP): Likewise.
26811         (R10_LP): Likewise.
26812         (R11_LP): Likewise.
26813         (R12_LP): Likewise.
26814         (R13_LP): Likewise.
26815         (R14_LP): Likewise.
26816         (R15_LP): Likewise.
26818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26820         * sysdeps/x86_64/x32/dl-machine.h: New file.
26822 2012-05-14  Andreas Jaeger  <aj@suse.de>
26824         * manual/Makefile (subdir): Remove export of subdir.
26825         (all): Remove target.
26826         (.PHONY): Remove all from list.
26827         (mkinstalldirs): Remove.
26828         (.PHONY): Remove installdirs from list.
26829         ($(inst_infodir)/libc.info): Use make-target-directory.
26830         (installdirs): Remove.
26831         (subdir_%): Remove.
26832         (glibc-targets): Remove.
26833         (lib): Remove.
26834         (stubs): Remove.
26835         ($(objpfx)stubs ../po/manual.pot): Remove.
26836         ($(objpfx)stamp%): Remove.
26837         (make-target-directory): Remove.
26838         (subdir_install): Remove.
26839         (routines): Remove.
26840         (aux): Remove.
26841         (sources): Remove.
26842         (objects): Remove.
26843         (headers): Remove.
26845         [BZ #13750]
26846         * manual/.gitignore: Remove, it's not needed anymore.
26847         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26848         all files in it.
26849         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26850         directory.
26851         (texis): Renamed to $(objpfx)texis.
26852         (texis-path): New, contains path to generated files.
26853         (chapters.%): Use texis-path for complete path, add extra argument
26854         libc-texinfo.sh.
26855         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26856         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26857         (summary,texi, stamp-summary): Use complete path of
26858         files. Generate files in build dir.
26859         (dir-add.texi): Build in build dir.
26860         (libm-err.texi,stamp-libm-err): Likewise.
26861         (version.texi, stamp-version): Likewise.
26862         (.%c.texi): Likewise.
26863         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26864         (mostlyclean): Remove target.
26865         (realclean): Remove target.
26866         (generated): Add new variable with contents from mostlyclean and
26867         realclean, remove entries duplicated in common-mostlyclean, add
26868         stamp-libm-err and stamp-version.
26869         (generated-dirs): Add libc directory.
26870         ($(inst_infodir)/libc.info): Install files from build dir.
26872         * manual/install.texi (Configuring and compiling): Adjust since
26873         the info files are not part of the tar ball anymore.
26875 2012-05-14  Andreas Jaeger  <aj@suse.de>
26877         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26878         variable.
26880 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
26882         [BZ #13717]
26883         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26884         to 2.2.0 where earlier.
26885         * sysdeps/unix/sysv/linux/configure: Regenerated.
26886         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26887         Remove conditional code.
26888         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26889         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26890         Remove conditional code.
26891         [!__NR_lchown]: Likewise.
26892         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26893         [__NR_lchown]: Likewise.
26894         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26895         comment referencing __ASSUME_LCHOWN_SYSCALL.
26896         * sysdeps/unix/sysv/linux/i386/sigaction.c
26897         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26898         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26899         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26900         Remove conditional code.
26901         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26902         (__protocol_available): Remove #if 0 code.
26903         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26904         conditional code.
26905         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26906         * sysdeps/unix/sysv/linux/kernel-features.h
26907         (__ASSUME_GETCWD_SYSCALL): Don't define.
26908         (__ASSUME_REALTIME_SIGNALS): Likewise.
26909         (__ASSUME_PREAD_SYSCALL): Likewise.
26910         (__ASSUME_PWRITE_SYSCALL): Likewise.
26911         (__ASSUME_POLL_SYSCALL): Likewise.
26912         (__ASSUME_LCHOWN_SYSCALL): Likewise.
26913         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26914         non-SPARC.
26915         (__ASSUME_SIOCGIFNAME): Don't define.
26916         (__ASSUME_MSG_NOSIGNAL): Likewise.
26917         (__ASSUME_SENDFILE): Define unconditionally.
26918         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26919         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26920         conditional code.
26921         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26922         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26923         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26924         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26925         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26926         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26927         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26929         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26930         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26932         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26935         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26936         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26938         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26939         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26941         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26944         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26945         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26947         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26950         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26951         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26952         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26953         Remove conditional code.
26954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26955         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26956         Remove conditional code.
26957         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26958         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26959         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26960         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26961         Remove conditional code.
26962         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26963         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26964         Remove conditional code.
26965         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26966         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26967         Remove conditional code.
26968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26969         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26970         Remove conditional code.
26971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26972         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26973         Remove conditional code.
26974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26975         * sysdeps/unix/sysv/linux/sh/pwrite64.c
26976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26978         * sysdeps/unix/sysv/linux/sigaction.c
26979         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26980         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26981         * sysdeps/unix/sysv/linux/sigpending.c
26982         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26983         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26984         * sysdeps/unix/sysv/linux/sigprocmask.c
26985         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26986         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26987         * sysdeps/unix/sysv/linux/sigsuspend.c
26988         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26989         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26990         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26991         (__libc_missing_rt_sigs): Remove.
26992         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26993         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26994         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26995         Remove conditional code.
26996         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26997         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26998         return 1.
26999         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27000         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27001         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27002         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27004 2012-05-14  Andreas Jaeger  <aj@suse.de>
27006         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27007         it's not used in glibc.
27008         (__coshm1): Likewise.
27009         (__acosh1p): Likewise.
27010         (__sgn): Likewise.
27012         * manual/string.texi (Copying and Concatenation): Add missing
27013         variable in concat example.
27014         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27018         [BZ #14103]
27019         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
27020         __builtin_clzl with __builtin_clzll.
27022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27024         [BZ #14104]
27025         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
27026         libc_freeres_ptr.
27028 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27030         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
27031         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
27032         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
27033         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
27035 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
27037         * NEWS: Update ia64 info.
27039 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
27041         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
27042         used as bcopy.
27044 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
27046         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
27047         * sysdeps/unix/syscalls.list (dup3): Likewise.
27048         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
27049         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
27051 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27053         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
27054         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
27056 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27058         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
27059         thread pointer.
27060         (TLS_IE): Use mov/add instead of movq/addq to load thread
27061         pointer.
27062         (TLS_GD_PREFIX): New.
27063         (TLS_GD): Use it.
27065 2012-05-11  David S. Miller  <davem@davemloft.net>
27067         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
27068         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
27069         (_FPU_SETCW): Likewise.
27071 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27073         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
27074         is 32-byte aligned.
27076 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
27078         [BZ #11837]
27079         * iconvdata/gb18030.c: Update tables.
27080         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
27081         characters specially.
27082         (BODY for TO_LOOP): Add encoding of missing ranges.
27084 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
27086         [BZ #13673]
27087         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
27088         * sysdeps/mach/hurd/dup3.c: Likewise.
27089         * sysdeps/mach/hurd/readlinkat.c: Likewise.
27090         * sysdeps/powerpc/memmove.c:: Likewise.
27092 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
27095         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
27097 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27099         * elf/elf.h (R_X86_64_RELATIVE64): New.
27100         (R_X86_64_NUM): Updated.
27101         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27102         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
27103         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
27104         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
27105         tst-quad1pie tst-quad2pie
27106         (modules-names): Add tst-quadmod1 tst-quadmod2.
27107         ($(objpfx)tst-quad1): New dependency.
27108         ($(objpfx)tst-quad2): Likewise.
27109         ($(objpfx)tst-quad1pie): Likewise.
27110         ($(objpfx)tst-quad2pie): Likewise.
27111         * sysdeps/x86_64/tst-quad1.c: New file.
27112         * sysdeps/x86_64/tst-quad1pie.c: New file.
27113         * sysdeps/x86_64/tst-quad2.c: Likewise.
27114         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
27115         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
27116         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
27117         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
27118         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
27120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27122         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
27123         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
27124         * streams/stropts.h (t_scalar_t): Define type.
27126         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
27127         (_PATH_PRESERVE): Set to "/var/lib".
27128         (_PATH_RWHODIR): Set to "/var/spool/rwho".
27130         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
27131         instead of int.
27133         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
27134         if __dir_mkfile succeeded.
27136         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
27137         checking for _hurd_dtablesize.  Unlock it right after having
27138         finished _hurd_dtable allocation.
27140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27142         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
27143         * sysdeps/mach/hurd/configure: Regenerated.
27144         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
27145         special-casing to...
27146         * sysdeps/gnu/configure.in: ... this new file.
27147         * sysdeps/unix/sysv/linux/configure: Regenerated.
27148         * sysdeps/gnu/configure: New generated file.
27150         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
27151         for Linux: use nsec instead of usec, as well as:
27152         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
27153         members of type struct timespec.
27154         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
27155         New macros.
27156         (struct stat64): Likewise.
27157         (_STATBUF_ST_NSEC): New macro.
27158         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
27160         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27161         __strtoul_internal rather than strtoul.
27163 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27165         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
27166         and reject them.
27168 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27170         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
27171         which preserves existing values.
27172         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
27174 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27176         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
27177         TIMEOUT values.  Return EINVAL for NFDS values either negative or
27178         greater than FD_SETSIZE.
27180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27182         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
27183         allocated, call __vm_protect to finish enabling the existing space, and
27184         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
27185         allocate the remainder.
27187 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27189         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
27190         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
27192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27194         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
27195         sysdeps/mach/hurd/readlink.c.
27197         * posix/tst-sysconf.c (posix_options): Only use
27198         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
27199         _POSIX_SYNCHRONIZED_IO when they are defined
27200         * sysdeps/mach/hurd/bits/posix_opt.h:
27201         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
27202         (_XOPEN_REALTIME): Undefine macro.
27203         (_XOPEN_REALTIME_THREADS): Undefine macro.
27204         (_XOPEN_SHM): Undefine macro.
27205         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
27206         macro to -1.
27207         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
27208         macro to -1.
27209         (_POSIX_ASYNC_IO): Undefine macro.
27210         (_POSIX_PRIORITIZED_IO): Undefine macro.
27211         (_POSIX_SPIN_LOCKS): Define macro to -1.
27213         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
27214         SA_NODEFER, SA_RESETHAND.
27215         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
27216         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
27217         F_DUPFD_CLOEXEC.
27219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27221         * elf/Makefile (pldd-modules): Define unconditionally.
27223 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27225         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
27227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27229         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
27230         Return ENOENT when name is empty.
27231         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
27233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27235         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
27237         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
27239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27241         Fix mlock in all cases except non-readable pages.
27242         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
27243         instead of VM_PROT_ALL as parameter to __vm_wire function.
27245         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
27246         (__mkdir): When path is `/', just fail with EEXIST.
27247         * sysdeps/mach/hurd/mkdirat.c: Likewise.
27249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27251         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
27252         <sys/uio.h> (for writev).
27253         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
27254         and <sys/param.h> (for MIN).
27256 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27258         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
27259         REQUESTED_TIME.  Properly set the remaining time and return EINTR
27260         if interrupted.
27262 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27264         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
27265         Depend on against $(link-rpcuserlibs).
27267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27269         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
27270         (__libc_stack_end): Do not use attribute_relro.
27271         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
27272         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
27273         to libthread-provided value.
27274         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
27275         attribute_relro.
27277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27279         [BZ #3748]
27280         * bits/libc-lock.h (__libc_once_get): New macro.
27281         * sysdeps/mach/bits/libc-lock.h: Likewise.
27282         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
27283         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
27284         instead of using implementation details.
27286         * libio/fileops.c: Unconditionally include <kernel-features.h>.
27287         * libio/freopen.c: Likewise.
27288         * libio/freopen64.c: Likewise.
27289         * misc/syslog.c: Likewise.
27290         * nscd/connections.c: Likewise.
27291         * nscd/netgroupcache.c: Likewise.
27292         * sysdeps/posix/getcwd.c: Likewise.
27294 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27296         * math/w_ilogbf.c: Add #include <limits.h>.
27298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27300         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
27301         path instead of returning without unlocking.
27303         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
27304         immediate-write ioctls.
27305         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
27307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27309         * sysdeps/mach/hurd/i386/init-first.c (init): Use
27310         __builtin_frame_address instead of making assumptions about the
27311         location of the return address relative to DATA.  Force early load of
27312         the return address.
27313         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
27314         __builtin_frame_address.
27316         dup3 for GNU Hurd.
27317         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
27318         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
27319         implement dup3 and do some further code clean-ups.
27320         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
27321         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
27323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27325         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
27327         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
27328         HURD_CRITICAL_END around holding _hurd_dtable_lock.
27329         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
27330         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
27331         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
27332         d->port.lock.
27334         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
27335         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
27336         when handler == SIG_ERR, not when handler != SIG_ERR.
27338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27340         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
27341         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
27342         definitions.
27344         accept4 for GNU Hurd.
27345         * include/sys/socket.h (__libc_accept4): New prototype.
27346         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
27347         to implement __libc_accept4.
27348         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
27349         __libc_accept4.
27350         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
27352         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
27353         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
27354         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
27355         signal-defines.sym.
27357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27359         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
27361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27363         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27364         assertion on O_CLOEXEC flag.
27365         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
27366         * hurd/intern-fd.c: Likewise.
27367         * hurd/port2fd.c: Likewise.
27369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27371         [BZ #3906]
27372         * bits/in.h (IPV6_PKTINFO): Define new macro.
27373         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27375 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27377         [BZ #13954]
27378         [BZ #13955]
27379         [BZ #13956]
27380         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27382         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27383         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27385         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27386         * math/libm-test.inc (logb_test) : Additional logb tests.
27388 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
27389             Andreas Jaeger  <aj@suse.de>
27391         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27392         * configure: Regenerated.
27393         * config.h.in (LINK_OBSOLETE_RPC): New macro.
27394         * config.make.in (link-obsolete-rpc): New substituted variable.
27395         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27396         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27397         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27398         (shared-only-routines): Don't set it under [link-obsolete-rpc],
27399         so that libc.a contains the symbols.
27400         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27401         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27402         * sunrpc/auth_none.c: Likewise.
27403         * sunrpc/auth_unix.c: Likewise.
27404         * sunrpc/authdes_prot.c: Likewise.
27405         * sunrpc/authuxprot.c: Likewise.
27406         * sunrpc/clnt_gen.c: Likewise.
27407         * sunrpc/clnt_perr.c: Likewise.
27408         * sunrpc/clnt_raw.c: Likewise.
27409         * sunrpc/clnt_simp.c: Likewise.
27410         * sunrpc/clnt_tcp.c: Likewise.
27411         * sunrpc/clnt_udp.c: Likewise.
27412         * sunrpc/clnt_unix.c: Likewise.
27413         * sunrpc/des_crypt.c: Likewise.
27414         * sunrpc/des_soft.c: Likewise.
27415         * sunrpc/get_myaddr.c: Likewise.
27416         * sunrpc/key_call.c: Likewise.
27417         * sunrpc/key_prot.c: Likewise.
27418         * sunrpc/netname.c: Likewise.
27419         * sunrpc/pm_getmaps.c: Likewise.
27420         * sunrpc/pm_getport.c: Likewise.
27421         * sunrpc/pmap_clnt.c: Likewise.
27422         * sunrpc/pmap_prot.c: Likewise.
27423         * sunrpc/pmap_prot2.c: Likewise.
27424         * sunrpc/pmap_rmt.c: Likewise.
27425         * sunrpc/publickey.c: Likewise.
27426         * sunrpc/rpc_cmsg.c: Likewise.
27427         * sunrpc/rpc_common.c: Likewise.
27428         * sunrpc/rpc_dtable.c: Likewise.
27429         * sunrpc/rpc_prot.c: Likewise.
27430         * sunrpc/rpc_thread.c: Likewise.
27431         * sunrpc/rtime.c: Likewise.
27432         * sunrpc/svc.c: Likewise.
27433         * sunrpc/svc_auth.c: Likewise.
27434         * sunrpc/svc_raw.c: Likewise.
27435         * sunrpc/svc_run.c: Likewise.
27436         * sunrpc/svc_tcp.c: Likewise.
27437         * sunrpc/svc_udp.c: Likewise.
27438         * sunrpc/svc_unix.c: Likewise.
27439         * sunrpc/svcauth_des.c: Likewise.
27440         * sunrpc/xcrypt.c: Likewise.
27441         * sunrpc/xdr.c: Likewise.
27442         * sunrpc/xdr_array.c: Likewise.
27443         * sunrpc/xdr_float.c: Likewise.
27444         * sunrpc/xdr_intXX_t.c: Likewise.
27445         * sunrpc/xdr_mem.c: Likewise.
27446         * sunrpc/xdr_rec.c: Likewise.
27447         * sunrpc/xdr_ref.c: Likewise.
27448         * sunrpc/xdr_sizeof.c: Likewise.
27449         * sunrpc/xdr_stdio.c: Likewise.
27451 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27453         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27454         change.  Update copyright years.
27456 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27458         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27460 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
27461             Joseph Myers  <joseph@codesourcery.com>
27462             Paul Pluzhnikov  <ppluzhnikov@google.com>
27464         [BZ #14012]
27465         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27466         requiring rpcgen.
27467         [cross-compiling] (extra-libs): Likewise.
27468         [cross-compiling] (extra-libs-others): Likewise.
27469         [cross-compiling] (librpcsvc-routines): Likewise.
27470         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27471         [cross-compiling] (omit-deps): Likewise.
27472         (sunrpc-CPPFLAGS): New variable.
27473         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27474         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27475         (cross-rpcgen-objs): New variable.
27476         (extra-objs): Append $(cross-rpcgen-objs).
27477         ($(cross-rpcgen-objs)): New rule.
27478         ($(objpfx)cross-rpcgen): Likewise.
27479         (rpcgen-cmd): Define to use $(built-program-file).  Expand
27480         comment.
27481         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27482         ($(objpfx)x%.stmp): Likewise.
27483         * sunrpc/proto.h [IS_IN_build] (_): Define.
27484         [IS_IN_build] (_libc_intl_domainname): Likewise.
27486 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27489         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27490         and R_X86_64_TPOFF64.
27492 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27494         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27495         sysdeps/unix/sysv/syscalls.list.
27496         (stime): Likewise.
27497         (utime): Likewise.
27498         * sysdeps/unix/sysv/syscalls.list: Remove file.
27500 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
27502         [BZ #3440]
27503         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27504         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27505         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27506         (__LC_IDENTIFICATION): Make these macros useful in #if
27507         expressions, as required by C99.
27509 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
27511         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27512         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
27513         after this.
27515 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
27517         * stdlib/longlong.h: Updated from GCC.
27519 2012-05-09  Andreas Jaeger  <aj@suse.de>
27521         * nscd/nscd.c (run_modes): Make named enum, reorder so that
27522         default is first entry.
27523         (run_mode): Set type.
27524         (main): Remove informal message about syslog.
27525         (options): Fix typo.
27527         [BZ #14053]
27528         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27529         to asm.
27530         (lrint): Likewise.
27531         (llrintf): Likewise.
27532         (llrint): Likewise.
27533         (rint): Likewise.
27534         (rintf): Likewise.
27535         (nearbyint): Likewise.
27536         (nearbyintf): Likewise.
27538 2012-05-09  Andreas Jaeger  <aj@suse.de>
27539             Pedro Alves  <palves@redhat.com>
27541         * nscd/nscd.c (run_mode): Use enum.
27542         (main): Cleanup coding style issue.
27544 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
27545             Andreas Jaeger  <aj@suse.de>
27547         * nscd/nscd.c (go_background): Replaced with...
27548         (run_mode): ... this.
27549         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27550         (options): Add -F --foreground.
27551         (main): Implement it.
27552         (parse_opt): Parse it.
27554 2012-05-09  Andreas Jaeger  <aj@suse.de>
27556         [BZ #14083]
27557         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27558         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27559         -Wconversion warning.
27560         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27561         Likewise.
27563 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
27565         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
27566         == 0.
27567         (LC_ALL): Use macro-int-constant.
27568         (LC_COLLATE): Likewise.
27569         (LC_CTYPE): Likewise.
27570         (LC_MESSAGES): Likewise.
27571         (LC_MONETARY): Likewise.
27572         (LC_NUMERIC): Likewise.
27573         (LC_TIME): Likewise.
27574         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27575         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27577         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27578         Specify type.
27579         [C99-based standards] (float_t): Expect type.
27580         [C99-based standards] (double_t): Expect type.
27581         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
27582         type.
27583         [C99-based standards] (HUGE_VALL): Likewise.
27584         [C99-based standards] (INFINITY): Likewise.
27585         [C99-based standards] (NAN): Likewise.
27586         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27587         [C99-based standards] (FP_NAN): Likewise.
27588         [C99-based standards] (FP_NORMAL): Likewise.
27589         [C99-based standards] (FP_SUBNORMAL): Likewise.
27590         [C99-based standards] (FP_ZERO): Likewise.
27591         [C99-based standards] (FP_FAST_FMA): Use
27592         optional-macro-int-constant.  Specify type.  Require == 1.
27593         [C99-based standards] (FP_FAST_FMAF): Likewise.
27594         [C99-based standards] (FP_FAST_FMAL): Likewise.
27595         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27596         [C99-based standards] (FP_ILOGBNAN): Likewise.
27597         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27598         Specify type.
27599         [C99-based standards] (MATH_ERREXCEPT): Likewise.
27600         [C99-based standards] (math_errhandling): Specify type.
27601         [ISO99 || ISO11] (signgam): Do not allow.
27602         [non-C99-based standards] (copysignf): Do not allow.
27603         [non-C99-based standards] (exp2f): Likewise.
27604         [non-C99-based standards] (log2f): Likewise.
27605         [non-C99-based standards] (modff): Allow.
27606         [non-C99-based standards] (erff): Do not allow.
27607         [non-C99-based standards] (erfcf): Likewise.
27608         [non-C99-based standards] (gammaf): Likewise.
27609         [non-C99-based standards] (hypotf): Likewise.
27610         [non-C99-based standards] (j0f): Likewise.
27611         [non-C99-based standards] (j1f): Likewise.
27612         [non-C99-based standards] (jnf): Likewise.
27613         [non-C99-based standards] (lgammaf): Likewise.
27614         [non-C99-based standards] (tgammaf): Likewise.
27615         [non-C99-based standards] (y0f): Likewise.
27616         [non-C99-based standards] (y1f): Likewise.
27617         [non-C99-based standards] (ynf): Likewise.
27618         [non-C99-based standards] (isnanf): Likewise.
27619         [non-C99-based standards] (acoshf): Likewise.
27620         [non-C99-based standards] (asinhf): Likewise.
27621         [non-C99-based standards] (atanhf): Likewise.
27622         [non-C99-based standards] (cbrtf): Likewise.
27623         [non-C99-based standards] (expm1f): Likewise.
27624         [non-C99-based standards] (ilogbf): Likewise.
27625         [non-C99-based standards] (log1pf): Likewise.
27626         [non-C99-based standards] (logbf): Likewise.
27627         [non-C99-based standards] (nextafterf): Likewise.
27628         [non-C99-based standards] (remainderf): Likewise.
27629         [non-C99-based standards] (rintf): Likewise.
27630         [non-C99-based standards] (scalbf): Likewise.
27631         [non-C99-based standards] (copysignl): Likewise.
27632         [non-C99-based standards] (exp2l): Likewise.
27633         [non-C99-based standards] (log2l): Likewise.
27634         [non-C99-based standards] (modfl): Allow.
27635         [non-C99-based standards] (erfl): Do not allow.
27636         [non-C99-based standards] (erfcl): Likewise.
27637         [non-C99-based standards] (gammal): Likewise.
27638         [non-C99-based standards] (hypotl): Likewise.
27639         [non-C99-based standards] (j0l): Likewise.
27640         [non-C99-based standards] (j1l): Likewise.
27641         [non-C99-based standards] (jnl): Likewise.
27642         [non-C99-based standards] (lgammal): Likewise.
27643         [non-C99-based standards] (tgammal): Likewise.
27644         [non-C99-based standards] (y0l): Likewise.
27645         [non-C99-based standards] (y1l): Likewise.
27646         [non-C99-based standards] (ynl): Likewise.
27647         [non-C99-based standards] (isnanl): Likewise.
27648         [non-C99-based standards] (acoshl): Likewise.
27649         [non-C99-based standards] (asinhl): Likewise.
27650         [non-C99-based standards] (atanhl): Likewise.
27651         [non-C99-based standards] (cbrtl): Likewise.
27652         [non-C99-based standards] (expm1l): Likewise.
27653         [non-C99-based standards] (ilogbl): Likewise.
27654         [non-C99-based standards] (log1pl): Likewise.
27655         [non-C99-based standards] (logbl): Likewise.
27656         [non-C99-based standards] (nextafterl): Likewise.
27657         [non-C99-based standards] (remainderl): Likewise.
27658         [non-C99-based standards] (rintl): Likewise.
27659         [non-C99-based standards] (scalbl): Likewise.
27660         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27661         [non-C99-based standards] (FP_*): Do not allow.
27662         [C99-based standards] (FP_*): Change to
27663         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27664         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27665         allow.
27666         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27667         (SIG_ERR): Likewise.
27668         [X/Open-based standards] (SIG_HOLD): Likewise.
27669         (SIG_IGN): Likewise.
27670         (SIGABRT): Use macro-int-constant.  Specify type.  Require
27671         positive value.
27672         (SIGFPE): Likewise.
27673         (SIGILL): Likewise.
27674         (SIGINT): Likewise.
27675         (SIGSEGV): Likewise.
27676         (SIGTER): Likewise.
27677         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27678         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27679         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27680         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27681         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27682         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27683         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27684         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27685         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27686         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27687         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27688         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27689         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27690         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27691         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27692         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27693         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27694         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27695         [X/Open-based standards] (SIGTRAP): Likewise.
27696         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27697         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27698         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27699         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27700         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27701         allow.
27703 2012-05-08  Ian Wienand  <ianw@vmware.com>
27705         [BZ #14080]
27706         * time/tzset.c (__tzset_parse_tz): Update default rules for
27707         daylight time changes in the Energy Policy Act of 2005.
27709 2012-05-09  Andreas Jaeger  <aj@suse.de>
27711         [BZ #13983]
27712         * elf/ldconfig.c (parse_conf): Change string to make clear that
27713         ldconfig only issued a warning if ld.so.conf does not exist.
27715 2012-05-08  David S. Miller  <davem@davemloft.net>
27717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27718         movxtod instead of popping the value on the stack.
27720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27722 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
27724         * config.h.in: Add HAVE_ARM_PCS_VFP.
27726 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
27728         [BZ #13979]
27729         * include/features.h: Warn if user requests __FORTIFY_SOURCE
27730         checking but the checks are disabled for any reason.
27732 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
27734         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27735         and ELF64_R_TYPE with ELFW(R_TYPE).
27737 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
27739         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27740         (ulimit): Likewise.
27742         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27743         (settimeofday): Likewise.
27745 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
27747         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
27748         a struct th_u2 inside the union, and move tu_block/tu_code into
27749         a new th_u3 union of tu_block/tu_code inside of that.  Move
27750         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
27751         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
27752         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27753         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27754         (th_stuff): Change to th_u1.tu_stuff.
27755         (th_data): Define.
27756         (th_msg): Change to th_u1.th_u2.tu_data.
27758 2012-05-07  David S. Miller  <davem@davemloft.net>
27760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27762         [BZ #14074]
27763         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27764         (SETUP_PIC_REG): Use it.
27765         (SETUP_PIC_REG_LEAF): Use it.
27767 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
27769         [BZ #13885]
27770         [BZ #13923]
27771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27772         USE_AS_EXPM1L.
27773         (EXPL_FINITE): Likewise.
27774         (FLDLOG): Likewise.
27775         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27776         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27777         e_expl.S.
27778         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27779         USE_AS_EXPM1L.
27780         (EXPL_FINITE): Likewise.
27781         (FLDLOG): Likewise.
27782         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27783         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27784         e_expl.S.
27785         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
27786         test of -max_value argument for long double.
27787         * sysdeps/i386/fpu/libm-test-ulps: Update.
27788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27790 2012-05-06  David S. Miller  <davem@davemloft.net>
27792         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27793         quad soft-float symbols whose references which are compiler
27794         generated.
27795         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27797 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
27799         [BZ #13884]
27800         [BZ #13914]
27801         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27802         USE_AS_EXP10L.
27803         (EXPL_FINITE): Likewise.
27804         (FLDLOG): Likewise.
27805         (c0): Likewise.
27806         (c1): Likewise.
27807         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
27808         Adjust comments for base varying.
27809         (__expl_finite): Change alias to EXPL_FINITE.
27810         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27811         e_expl.S.
27812         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27813         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27814         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27815         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27817         USE_AS_EXP10L.
27818         (EXPL_FINITE): Likewise.
27819         (FLDLOG): Likewise.
27820         (c0): Likewise.
27821         (c1): Likewise.
27822         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
27823         Adjust comments for base varying.
27824         (__expl_finite): Change alias to EXPL_FINITE.
27825         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
27826         tests for bugs.
27827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27829         [BZ #14064]
27830         * math/libm-test.inc (check_float_internal): Correct ulp
27831         calculation for subnormal expected results.
27833 2012-05-06  Andreas Jaeger  <aj@suse.de>
27835         * Makeconfig (+math-flags): New, set to -frounding-math.
27836         (+cflags): Add +math-flags so that all of glibc gets compiled with
27837         it.
27839         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27841 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
27843         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27844         Disable one test.
27846         [BZ #13787]
27847         [BZ #13922]
27848         [BZ #14036]
27849         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27850         (__ieee754_expl): Allow for and saturate large arguments.
27851         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27852         (u_threshold): Likewise.
27853         (__exp): Call __ieee754_exp before checking for overflow and
27854         underflow.
27855         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27856         (u_threshold): Likewise.
27857         (__expf): Call __ieee754_expf before checking for overflow and
27858         underflow.
27859         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27860         (u_threshold): Likewise.
27861         (__expl): Call __ieee754_expl before checking for overflow and
27862         underflow.
27863         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27864         (__ieee754_expl): Allow for and saturate large arguments.
27865         * math/libm-test.inc (exp_test): Add another test.  Do not allow
27866         missing overflow exception on overflow.
27867         (expm1_test): Do not allow missing overflow exception on overflow.
27869         * sysdeps/i386/fpu/e_expl.c: Move to ...
27870         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
27871         rather than using inline asm.
27872         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27873         * sysdeps/x86_64/fpu/e_expl.S: Copy from
27874         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27876         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27877         (nice): Likewise.
27878         (poll): Likewise.
27879         (signal): Likewise.
27880         (time): Likewise.
27881         (times): Likewise.
27883 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27885         * sysdeps/unix/syscalls.list (adjtime): Add entry from
27886         sysdeps/unix/common/syscalls.list.
27887         (fchmod): Likewise.
27888         (fchown): Likewise.
27889         (ftruncate): Likewise.
27890         (getrusage): Likewise.
27891         (gettimeofday): Likewise.
27892         (setpgid): Likewise.
27893         (setregid): Likewise.
27894         (setreuid): Likewise.
27895         (sigaction): Likewise.
27896         (truncate): Likewise.
27897         (vhangup): Likewise.
27898         * sysdeps/unix/common/syscalls.list: Remove file.
27899         * sysdeps/unix/bsd/Implies: Don't include unix/common.
27900         * sysdeps/unix/sysv/linux/Implies: Likewise.
27902 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
27904         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27906         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27907         Moved to ...
27908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27909         Here.
27910         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27911         to ...
27912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27913         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27914         to ...
27915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27916         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27917         to ...
27918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27919         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27920         to ...
27921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27922         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27923         to ...
27924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27925         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27926         to ...
27927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27928         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27929         to ...
27930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27931         Here.
27932         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27933         to ...
27934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27935         Here.
27936         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27937         to ...
27938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27939         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27940         Moved to ...
27941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27942         Here.
27943         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27944         to ...
27945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27947 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27949         * sysdeps/unix/common/bits/dirent.h: Remove file.
27950         * sysdeps/unix/common/bits/fcntl.h: Likewise.
27952         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27953         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27954         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27955         * sysdeps/unix/bsd/isatty.c: Likewise.
27956         * sysdeps/unix/bsd/tcdrain.c: Likewise.
27957         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27958         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27960 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27962         [BZ #13563]
27963         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27964         long double comparison inaccuracies.
27965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27968 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
27970         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27971         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27973 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27975         [BZ #14049]
27976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27977         nonzero digits before rounding a hex value.
27978         * stdlib/tst-strtod.c (tests): Add another test.
27980 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27982         * sysdeps/s390/fpu/libm-test-ulps: Update.
27984 2012-05-03  Andreas Jaeger  <aj@suse.de>
27986         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27987         does not get optimized out.
27988         (malloc_opt_barrier): New.
27990 2012-05-03  Andreas Jaeger  <aj@suse.de>
27991             Roland McGrath  <roland@hack.frob.com>
27993         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27994         intermediate file deletion.
27995         (generated): Add .symlist files.
27997 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
27999         [BZ #13775]
28000         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28001         Redirect under this condition.
28002         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28003         [__USE_GNU] (__dprintf_chk): Not under this condition.
28004         [__USE_GNU] (__vdprintf_chk): Likewise.
28005         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28006         under this condition.
28007         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28008         [__USE_XOPEN2K8] (dprintf): Define under this condition.
28009         [__USE_XOPEN2K8] (vdprintf): Likewise.
28010         [__USE_GNU] (__dprintf_chk): Not under this condition.
28011         [__USE_GNU] (__vdprintf_chk): Likewise.
28012         [__USE_GNU] (dprintf): Likewise.
28013         [__USE_GNU] (vdprintf): Likewise.
28015 2012-05-03  Roland McGrath  <roland@hack.frob.com>
28017         * elf/Makefile (common-generated): Set this instead of generated for
28018         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
28019         $(all-built-dso)-derived lists.
28021 2012-05-03  Andreas Jaeger  <aj@suse.de>
28023         * sysdeps/i386/fpu/libm-test-ulps: Update.
28025         * FAQ: Removed.
28026         * FAQ.in: Likewise.
28027         * scripts/gen-FAQ.pl: Likewise.
28028         * manual/install.texi (Installation): Point to online location of
28029         FAQ.
28030         * Makefile (files-for-dist): Remove FAQ.
28031         (FAQ): Remove.
28033 2012-05-02  Allan McRae  <allan@archlinux.org>
28035         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
28036         (LDFLAGS-reldepmod5.so): Likewise.
28037         (LDFLAGS-reldep6mod1.so): Likewise.
28038         (LDFLAGS-reldep6mod4.so): Likewise.
28039         (LDFLAGS-reldep8mod3.so): Likewise.
28040         (LDFLAGS-unload4mod1.so): Likewise.
28041         (LDFLAGS-unload4mod2.so): Likewise.
28042         (LDFLAGS-tst-initorder): Likewise.
28043         (LDFLAGS-tst-initordera2.so): Likewise.
28044         (LDFLAGS-tst-initordera3.so): Likewise.
28045         (LDFLAGS-tst-initordera4.so): Likewise.
28046         (LDFLAGS-tst-initorderb2.so): Likewise.
28047         (LDFLAGS-noload): Likewise.
28048         (LDFLAGS-next): Likewise.
28049         (LDFLAGS-order2mod1.so): Likewise.
28050         (LDFLAGS-order2mod2.so): Likewise.
28051         (LDFLAGS-tst-initorder2): Likewise.
28052         (LDFLAGS-tst-initorder2a.so): Likewise.
28053         (LDFLAGS-tst-initorder2b.so): Likewise.
28054         (LDFLAGS-tst-initorder2c.so): Likewise.
28055         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
28057 2012-05-02  David S. Miller  <davem@davemloft.net>
28059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28061 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28063         [BZ #14055]
28064         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
28066 2012-05-02  Andreas Jaeger  <aj@suse.de>
28068         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
28069         since we manipulate rounding mode.
28070         (CPPFLAGS-test-idouble.c): Likewise.
28071         (CPPFLAGS-test-ifloat.c): Likewise.
28072         (CFLAGS-test-ldouble.c): Likewise.
28073         (CFLAGS-test-double.c): Likewise.
28074         (CFLAGS-test-float.c): Likewise.
28075         (CFLAGS-test-misc.c): Likewise.
28076         (CFLAGS-test-test-fenv.c): Likewise.
28078 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28080         [BZ #2550]
28081         [BZ #2570]
28082         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
28083         comparisons to determine direction to adjust input.
28085 2012-05-01  Roland McGrath  <roland@hack.frob.com>
28087         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
28088         output to the target.
28090         * scripts/localplt.awk: New file.
28091         * elf/Makefile ($(objpfx)check-localplt): Target removed.
28092         (check-localplt-CFLAGS): Variable removed.
28093         ($(all-built-dso:=.jmprel)): New static pattern rule.
28094         (generated): Add those targets.
28095         (localplt-built-dso): New variable.
28096         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
28098         * elf/check-localplt.c: File removed.
28100         * scripts/check-execstack.awk: New file.
28101         * elf/Makefile ($(objpfx)check-execstack): Target removed.
28102         (check-execstack-CFLAGS): Variable removed.
28103         ($(objpfx)check-execstack.h): Target removed.
28104         ($(objpfx)execstack-default): New target.
28105         (generated): Add that instead of check-execstack.h.
28106         ($(all-built-dso:=.phdr)): New static pattern rule.
28107         (generated): Add those targets.
28108         * elf/check-execstack.c: File removed.
28110         * scripts/check-textrel.awk: New file.
28111         * elf/Makefile ($(objpfx)check-textrel): Target removed.
28112         (check-textrel-CFLAGS): Variable removed.
28113         (all-built-dso): Use := to define.o
28114         ($(all-built-dso:=.dyn)): New static pattern rule.
28115         (generated): Add those targets.
28116         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
28117         * config.make.in (READELF): New substituted variable.
28118         * elf/check-textrel.c: File removed.
28120 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28122         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28123         allow.
28124         * conform/data/ctype.h-data [C99-based standards] (isblank):
28125         Expect function.
28126         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
28127         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
28128         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28129         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
28130         Specify type.  Require positive value.
28131         (EILSEQ): Likewise.
28132         (ERANGE): Likewise.
28133         [ISO || POSIX] (EILSEQ): Do not expect.
28134         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
28135         Specify type.  Require positive value.
28136         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
28137         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
28138         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
28139         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
28140         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
28141         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
28142         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
28143         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
28144         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
28145         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
28146         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
28147         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
28148         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
28149         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
28150         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
28151         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
28152         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
28153         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
28154         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
28155         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
28156         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
28157         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
28158         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
28159         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
28160         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
28161         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
28162         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
28163         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
28164         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
28165         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
28166         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
28167         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
28168         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
28169         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
28170         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
28171         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
28172         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
28173         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
28174         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
28175         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
28176         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
28177         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
28178         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
28179         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
28180         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
28181         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
28182         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
28183         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
28184         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
28185         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
28186         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
28187         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
28188         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
28189         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
28190         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
28191         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
28192         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
28193         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
28194         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
28195         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
28196         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
28197         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
28198         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
28199         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
28200         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
28201         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
28202         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
28203         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
28204         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
28205         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
28206         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
28207         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
28208         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
28209         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
28210         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
28211         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
28212         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
28213         Require >= 2.
28214         (FLT_ROUNDS): Expect as macro, not constant.
28215         (FLT_MANT_DIG): Use macro-int-constant.
28216         (DBL_MANT_DIG): Likewise.
28217         (LDBL_MANT_DIG): Likewise.
28218         (FLT_DIG): Likewise.
28219         (DBL_DIG): Likewise.
28220         (LDBL_DIG): Likewise.
28221         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
28222         (DBL_MIN_EXP): Likewise.
28223         (LDBL_MIN_EXP): Likewise.
28224         (FLT_MAX_EXP): Use macro-int-constant.
28225         (DBL_MAX_EXP): Likewise.
28226         (LDBL_MAX_EXP): Likewise.
28227         (FLT_MAX_10_EXP): Likewise.
28228         (DBL_MAX_10_EXP): Likewise.
28229         (LDBL_MAX_10_EXP): Likewise.
28230         (FLT_MAX): Use macro-constant.
28231         (DBL_MAX): Likewise.
28232         (LDBL_MAX): Likewise.
28233         (FLT_EPSILON): Use macro-constant.  Give upper bound.
28234         (DBL_EPSILON): Likewise.
28235         (LDBL_EPSILON): Likewise.
28236         (FLT_MIN): Likewise.
28237         (DBL_MIN): Likewise.
28238         (LDBL_MIN): Likewise.
28239         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
28240         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
28241         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
28242         [ISO11] (FLT_HAS_SUBNORM): Likewise.
28243         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
28244         [ISO11] (DBL_DECIMAL_DIG): Likewise.
28245         [ISO11] (FLT_DECIMAL_DIG): Likewise.
28246         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
28247         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
28248         [ISO11] (FLT_TRUE_MIN): Likewise.
28249         [ISO11] (LDBL_TRUE_MIN): Likewise.
28250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28251         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
28252         (SCHAR_MIN): Use macro-int-constant.  Specify type.
28253         (SCHAR_MAX): Likewise.
28254         (UCHAR_MAX): Likewise.
28255         (CHAR_MIN): Likewise.
28256         (CHAR_MAX): Likewise.
28257         (MB_LEN_MAX): Use macro-int-constant.
28258         (SHRT_MIN): Use macro-int-constant.  Specify type.
28259         (SHRT_MAX): Likewise.
28260         (USHRT_MAX): Likewise.
28261         (INT_MAX): Likewise.
28262         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
28263         bound negative.
28264         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28265         bound with "U".
28266         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28267         bound with "L".
28268         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
28269         bound negative.  Suffix upper bound with "L".
28270         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28271         bound with "UL".
28272         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
28273         Specify type.
28274         [C99-based standards] (LLONG_MAX): Likewise.
28275         [C99-based standards] (ULLONG_MAX): Likewise.
28276         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
28277         == 0.
28278         [ISO11] (max_align_t): Require type.
28279         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28281         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
28282         from $CFLAGS, without defining away __attribute__ calls.
28283         (checknamespace): Use $CFLAGS_namespace.
28285         * conform/conformtest.pl (@keywords): Only include C99 keywords
28286         for standards based on C99 or C11.
28288         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
28289         Disable tests.
28290         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
28291         UNIX98]: Likewise.
28293         * conform/conformtest.pl: Handle "macro-int-constant" and test for
28294         usability of symbols in #if.
28296         * conform/conformtest.pl: If macro or constant types start
28297         "promoted:", expect the symbol to be of the following type
28298         promoted by the integer promotions.
28300         * conform/conformtest.pl: Parse all "constant" and "macro" lines
28301         in one place.  Also handle "macro-constant".
28303         * conform/conformtest.pl: Only accept expected macro values with
28304         "==".  Parse all "macro" lines in one place.
28305         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
28307         * conform/conformtest.pl: Handle braced types on "constant" lines
28308         instead of handling "typed-constant".
28309         * conform/data/signal.h-data: Use "constant" instead of
28310         "typed-constant".
28312         * conform/conformtest.pl: Handle "optional-" at start of lines in
28313         one place rather than duplicating several cases.  Handle each
28314         format of "macro" line with initial "optional-".
28316         * conform/conformtest.pl: Only accept expected constant or
28317         optional-constant values with "==".  Parse all "constant" lines in
28318         one place.  Parse all "optional-constant" lines in one place.
28319         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
28320         * conform/data/fmtmsg.h-data: Likewise.
28321         * conform/data/netinet/in.h-data: Likewise.
28322         * conform/data/tar.h-data: Likewise.
28323         * conform/data/limits.h-data: Use "==" form on "constant" and
28324         "optional-constant" lines.
28326         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
28327         Use -std=c99 for XOPEN2K.
28328         (@knownproblems): Remove.
28329         (newtoken): Don't check %isknown.
28331         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28332         Do not expect macro.
28333         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
28334         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
28335         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
28336         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28337         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
28338         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
28339         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
28340         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28341         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
28342         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
28343         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
28344         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
28345         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
28346         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
28347         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
28348         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
28349         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
28350         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
28351         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
28352         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
28353         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
28354         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
28355         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
28356         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
28357         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
28358         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
28359         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
28360         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
28361         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
28362         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
28363         [XPG3] (acosh): Likewise.
28364         [XPG3] (asinh): Likewise.
28365         [XPG3] (atanh): Likewise.
28366         [XPG3] (cbrt): Likewise.
28367         [XPG3] (expm1): Likewise.
28368         [XPG3] (ilogb): Likewise.
28369         [XPG3] (log1p): Likewise.
28370         [XPG3] (logb): Likewise.
28371         [XPG3] (nextafter): Likewise.
28372         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28373         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28374         [XPG3] (remainder): Likewise.
28375         [XPG3] (rint): Likewise.
28376         [XPG3 || XPG4 || UNIX98] (round): Likewise.
28377         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28378         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28379         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28380         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28381         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28382         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28383         [UNIX98 || XOPEN2K] (scalb): Expect.
28384         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28385         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28386         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28387         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28388         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28389         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28390         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28391         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28392         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28393         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28394         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28395         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28396         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28397         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28398         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28399         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28400         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28401         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28402         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28403         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28404         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28405         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28406         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28407         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28408         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28409         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28410         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28411         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28412         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28413         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28414         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28415         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28416         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28417         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28418         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28419         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28420         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28421         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28422         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28423         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28424         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28425         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28426         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28427         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28428         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28429         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28430         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28431         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28432         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28433         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28434         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28435         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28436         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28437         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28438         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28439         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28440         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28441         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28442         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28443         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28444         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28445         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28446         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28447         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28448         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28449         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28450         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28451         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28452         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28453         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28454         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28455         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28456         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28457         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28458         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28459         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28460         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28461         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28462         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28463         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28464         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28465         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28466         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28467         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28468         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28469         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28470         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28471         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28472         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28473         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28474         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28475         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28476         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28477         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28478         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28479         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28480         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28481         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28482         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28483         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28484         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28485         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28486         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28487         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28488         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28489         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28490         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28491         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28492         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28493         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28494         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28495         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28496         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28497         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28498         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28499         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28500         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28501         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28502         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28503         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28504         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28505         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28506         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28507         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28508         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28509         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28510         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28511         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28512         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28513         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28514         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28515         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28516         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28517         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28518         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28519         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28520         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28522         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28523         _XOPEN_SOURCE_EXTENDED for XPG4.
28525         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28527         * Makeconfig (localtime): Remove variable.
28528         (inst_localtime-file): Likewise.
28530 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28533         Update.
28534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28535         Update.
28536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28537         Update.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28539         Update.
28540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28541         Update.
28542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28543         Update.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28545         Update.
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28547         Update.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28549         Update.
28551 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28553         [BZ #2550]
28554         [BZ #2570]
28555         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28556         comparisons to determine direction to adjust input.
28557         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28558         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28559         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28560         Likewise.
28561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28562         Likewise.
28563         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28564         Likewise.
28565         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28566         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28567         Likewise.
28568         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28569         Likewise.
28570         * math/libm-test.inc (nexttoward_test): Add more tests.
28572 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28574         [BZ #14040]
28575         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28576         in version GLIBC_2.1, not GLIBC_2.0.
28577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28578         Likewise.
28580 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
28582         [BZ #13942]
28583         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28584         (1 - x) * (1 + x).
28585         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28586         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28587         * math/libm-test.inc (acos_test): Add more tests.
28588         (asin_test): Likewise.
28589         * sysdeps/i386/fpu/libm-test-ulps: Update.
28590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28592         [BZ #14034]
28593         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28594         of square root.
28595         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28596         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28597         * math/libm-test.inc (acos_test_tonearest): New function.
28598         (acos_test_towardzero): Likewise.
28599         (acos_test_downward): Likewise.
28600         (acos_test_upward): Likewise.
28601         (asin_test_tonearest): Likewise.
28602         (asin_test_towardzero): Likewise.
28603         (asin_test_downward): Likewise.
28604         (asin_test_upward): Likewise.
28605         (main): Call the new functions.
28606         * sysdeps/i386/fpu/libm-test-ulps: Update.
28607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28609         [BZ #13884]
28610         [BZ #13924]
28611         * math/e_exp10.c: Include <float.h>.
28612         (__ieee754_exp10): Handle underflow here rather than multiplying
28613         large negative argument by M_LN10.
28614         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28615         of __ieee754_expf.
28616         * math/e_exp10l.c: Include <float.h>.
28617         (__ieee754_exp10l): Handle underflow here rather than multiplying
28618         large negative argument by M_LN10l.
28619         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
28620         spurious overflow exception on underflow.
28622 2012-04-29  Marek Polacek  <polacek@redhat.com>
28624         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28625         (__fortify_function): New macro.
28626         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28627         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28628         __extern_always_inline.
28629         * libio/bits/stdio2.h: Likewise.
28630         * libio/bits/stdio.h: Likewise.
28631         * string/string.h: Likewise.
28632         * string/bits/string3.h: Likewise.
28633         * include/stdio.h: Likewise.
28634         * stdlib/bits/stdlib.h: Likewise.
28635         * stdlib/stdlib.h: Likewise.
28636         * rt/bits/mqueue2.h: Likewise.
28637         * rt/mqueue.h: Likewise.
28638         * posix/bits/unistd.h: Likewise.
28639         * posix/unistd.h: Likewise.
28640         * io/bits/poll2.h: Likewise.
28641         * io/bits/fcntl2.h: Likewise.
28642         * io/fcntl.h: Likewise.
28643         * io/sys/poll.h: Likewise.
28644         * misc/bits/syslog.h: Likewise.
28645         * misc/bits/syslog-ldbl.h: Likewise.
28646         * misc/sys/syslog.h: Likewise.
28647         * socket/bits/socket2.h: Likewise.
28648         * socket/sys/socket.h: Likewise.
28649         * debug/tst-chk1.c: Likewise.
28650         * wcsmbs/bits/wchar2.h: Likewise.
28651         * wcsmbs/bits/wchar-ldbl.h: Likewise.
28652         * wcsmbs/wchar.h: Likewise.
28654 2012-04-29  Andreas Jaeger  <aj@suse.de>
28656         * Makerules (tests): Remove enable-check-abi protection.
28657         (check-abi-warn): Remove.
28658         (check-abi-%): Remove check-abi-warn usage.
28660         * configure.in: Remove check-abi configure option.
28661         * configure: Regenerated.
28662         * config.make.in (enable-check-abi): Remove.
28664 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
28666         [BZ #14033]
28667         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28668         double functions to double *_finite functions.
28670         [BZ #13941]
28671         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28672         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28673         LDBL_MIN_EXP.
28674         * stdio-common/Makefile (tests): Add tst-sprintf3.
28675         * stdio-common/tst-sprintf3.c: New file.
28677         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28678         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28680 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
28682         * conform/conformtest.pl: Remove duplicate typed-constant
28683         handling.
28685 2012-04-28  David S. Miller  <davem@davemloft.net>
28687         * Makerules (%.abilist): Add vpath on sysdep_dirs.
28688         (check-abi-%): Remove AWK script prerequisite and explicit
28689         abilist directory.
28690         (check-abi): Rewrite to just diff the symlist with the abilist.
28691         (config-tls, config-abi-config): Delete, no longer used.
28692         (update-abi-%): Remove AWK script and explicit abilist directory.
28693         (update-abi): Rewrite to simply compare and conditionally copy the
28694         symlist and the sysdep abilist file.  Remove update-abi-config
28695         checks.
28696         * abilist/ld.abilist: Remove.
28697         * abilist/libBrokenLocale.abilist: Remove.
28698         * abilist/libanl.abilist: Remove.
28699         * abilist/libcrypt.abilist: Remove.
28700         * abilist/libdl.abilist: Remove.
28701         * abilist/librt.abilist: Remove.
28702         * abilist/libthread_db.abilist: Remove.
28703         * abilist/libutil.abilist: Remove.
28704         * scripts/extract-abilist.awk: Remove.
28705         * scripts/merge-abilist.awk: Remove.
28706         * sysdeps/generic/libcidn.abilist: New file.
28707         * sysdeps/generic/libnss_compat.abilist: New file.
28708         * sysdeps/generic/libnss_db.abilist: New file.
28709         * sysdeps/generic/libnss_dns.abilist: New file.
28710         * sysdeps/generic/libnss_files.abilist: New file.
28711         * sysdeps/generic/libnss_hesiod.abilist: New file.
28712         * sysdeps/generic/libnss_nis.abilist: New file.
28713         * sysdeps/generic/libnss_nisplus.abilist: New file.
28714         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28715         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28716         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28717         file.
28718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28719         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28720         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28721         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28722         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28723         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28724         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28725         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28726         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28727         file.
28728         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28729         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28730         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28731         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28732         file.
28733         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28734         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28735         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28736         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28737         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28738         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28739         file.
28740         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28741         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28742         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28743         file.
28744         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28746         New file.
28747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28748         New file.
28749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28750         New file.
28751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28752         New file.
28753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28754         New file.
28755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28756         New file.
28757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28758         New file.
28759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28760         New file.
28761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28762         New file.
28763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28764         New file.
28765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28766         New file.
28767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28768         New file.
28769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28770         New file.
28771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28772         file.
28773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28774         New file.
28775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28776         New file.
28777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28778         file.
28779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28780         New file.
28781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28782         New file.
28783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28784         file.
28785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28786         New file.
28787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28788         New file.
28789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28790         New file.
28791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28792         New file.
28793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28794         New file.
28795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28796         New file.
28797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28799         file.
28800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28801         New file.
28802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28803         file.
28804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28805         file.
28806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28807         file.
28808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28809         file.
28810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28811         file.
28812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28813         New file.
28814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28815         file.
28816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28817         file.
28818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28819         New file.
28820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28821         file.
28822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28824         file.
28825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28826         New file.
28827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28828         file.
28829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28830         file.
28831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28832         file.
28833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28834         file.
28835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28836         file.
28837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28838         New file.
28839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28840         file.
28841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28842         file.
28843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28844         New file.
28845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28846         file.
28847         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28848         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28849         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28850         file.
28851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28852         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28853         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28854         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28855         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28856         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28857         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28858         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28859         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28860         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28863         file.
28864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28865         New file.
28866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28867         file.
28868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28869         file.
28870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28871         file.
28872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28873         file.
28874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28875         file.
28876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28877         New file.
28878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28879         New file.
28880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28881         file.
28882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28883         New file.
28884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28885         file.
28886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28888         file.
28889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28890         New file.
28891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28892         file.
28893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28894         file.
28895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28896         file.
28897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28898         file.
28899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28900         file.
28901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28902         New file.
28903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28904         New file.
28905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28906         file.
28907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28908         New file.
28909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28910         file.
28912 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
28914         * conform/conformtest.pl: Fix typo in handling typed-constant from
28915         allow-header.
28917 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
28919         * README: Cut down references to pre-2.6 Linux kernels and
28920         Linuxthreads.  Update lists of configurations in libc and ports
28921         and sort alphabetically.  Say "or newer" with Linux kernel version
28922         requirements.
28924         * config.h.in [IS_IN_build]: Allow compiling without optimization.
28926 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28928         [BZ #887]
28929         * math/libm-test.inc (logb_test_downward): New test to expose
28930         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28931         rounding mode.
28933 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
28935         [BZ #14027]
28936         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28937         to be done.
28938         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28939         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28941 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
28943         * sysdeps/unix/i386/brk.S: Remove file.
28944         * sysdeps/unix/i386/dl-brk.S: Likewise.
28945         * sysdeps/unix/i386/pipe.S: Likewise.
28946         * sysdeps/unix/i386/sigreturn.S: Likewise.
28947         * sysdeps/unix/i386/syscall.S: Likewise.
28948         * sysdeps/unix/i386/vfork.S: Likewise.
28949         * sysdeps/unix/i386/wait.S: Likewise.
28951         * sysdeps/unix/common/tcsendbrk.c: Move to ...
28952         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28954         * configure.in (arm*-none*): Do not allow without
28955         --enable-hacker-mode.
28956         (netbsd*): Remove case setting base_os.
28957         (386bsd*): Likewise.
28958         (freebsd*): Likewise.
28959         (bsdi*): Likewise.
28960         (osf*): Likewise.
28961         (sunos*): Likewise.
28962         (ultrix*): Likewise.
28963         (newsos*): Likewise.
28964         (dynix*): Likewise.
28965         (*bsd*): Likewise.
28966         (sysv*): Likewise.
28967         (isc*): Likewise.
28968         (esix*): Likewise.
28969         (sco*): Likewise.
28970         (minix*): Likewise.
28971         (irix4*): Likewise.
28972         (irix6*): Likewise.
28973         (solaris[2-9]*): Likewise.
28974         (none): Likewise.
28975         * configure: Regenerated.
28977 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28979         [BZ #11521]
28980         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28981         overflow or cancellation in calculating denominator.
28982         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28984         down expression to avoid unexpected rounding in newer GCCs.
28985         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28987 2012-04-26  David S. Miller  <davem@davemloft.net>
28989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28990         long-double compat symbols.
28991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29005 2012-04-25  David S. Miller  <davem@davemloft.net>
29007         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
29008         HWCAP_* values only after the memory barriers have been defined.
29009         (atomic_full_barrier): Define.
29010         (atomic_read_barrier): Define.
29011         (atomic_write_barrier): Define.
29013 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29015         * shlib-versions: Add libgcc_s version information.
29016         * sysdeps/generic/libgcc_s.h: Remove.
29017         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
29018         libgcc_s.h.
29019         * sysdeps/gnu/unwind-resume.c: Likewise.
29020         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
29022 2012-04-25  David S. Miller  <davem@davemloft.net>
29024         * sysdeps/unix/sparc/brk.S: Delete.
29025         * sysdeps/unix/sparc/dl-brk.S: Delete.
29026         * sysdeps/unix/sparc/pipe.S: Delete.
29027         * sysdeps/unix/sparc/sysdep.S: Delete.
29028         * sysdeps/unix/sparc/sysdep.h: Delete.
29029         * sysdeps/unix/sparc/vfork.S: Delete.
29030         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
29031         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
29032         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29033         ret_ERRVAL, r0, r1, MOVE): Define.
29034         (JUMPTARGET): Remove.
29035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
29036         sysdeps/unix/sparc/sysdep.h
29037         (ENTRY, END): Remove.
29038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29040 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
29042         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
29043         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
29044         -DIS_IN_build.
29046         * timezone/README: Update upstream location and email address for
29047         tzcode and tzdata.
29048         * timezone/zdump.c: Update from tzcode 2012b.
29049         * timezone/zic.c: Likewise.
29051         * configure.in (libc_cv_as_needed): Remove test.
29052         * configure: Regenerated.
29053         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
29054         conditional definition.
29055         [$(have-as-needed) != yes] (no-as-needed): Likewise.
29056         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
29057         * config.make.in (have-as-needed): Remove variable.
29059 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29060             Paul Pluzhnikov  <ppluzhnikov@google.com>
29062         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
29063         strings correctly.
29065 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
29067         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
29068         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
29069         * sysdeps/sh/strlen.S: Likewise.
29071 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29073         * sysdeps/unix/fork.S: Remove file.
29074         * sysdeps/unix/i386/fork.S: Likewise.
29075         * sysdeps/unix/sparc/fork.S: Likewise.
29077         * sysdeps/unix/system.c: Remove file.
29078         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
29080         * sysdeps/unix/getegid.S: Remove file.
29081         * sysdeps/unix/geteuid.S: Likewise.
29083 2012-04-24  Roland McGrath  <roland@hack.frob.com>
29085         * scripts/check-localplt.awk: New file.
29086         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
29087         of diff.
29088         * scripts/data/localplt-generic.data: Add a comment.
29090         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
29091         NODE when __dir_mkfile failed.
29092         * sysdeps/mach/hurd/symlinkat.c: Likewise.
29093         Reported by Ludovic Courtès <ludo@gnu.org>.
29095 2012-04-24  Andreas Jaeger  <aj@suse.de>
29097         * Makerules (common-clean): Also remove gen-as-const-headers
29098         files.
29100 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29102         * Makerules (native-compile): Do not change working directory for
29103         build.  Use $(OUTPUT_OPTION) in command.
29104         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
29106 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29108         [BZ #13886]
29109         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
29110         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
29111         * math/libm-test.inc (floor_test): Add more tests.
29112         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
29114 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29116         * sysdeps/unix/getdents.c: Remove file.
29117         * sysdeps/unix/sysv/getdents.c: Likewise.
29118         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
29120         * sysdeps/unix/syscalls.list (madvise): Add syscall from
29121         sysdeps/unix/mman/syscalls.list.
29122         (mmap): Likewise.
29123         (mprotect): Likewise.
29124         (msync): Likewise.
29125         (munmap): Likewise.
29126         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
29127         * sysdeps/unix/mman/syscalls.list: Remove.
29128         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
29130         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
29131         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
29132         * configure: Regenerated.
29133         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
29134         $(libgcc_s_suffix).
29135         * config.make.in (libgcc_s_suffix): Remove variable.
29137 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
29139         * sysdeps/unix/sysv/gethostname.c: Move to ...
29140         * sysdeps/posix/gethostname.c: ... here.
29142         * sysdeps/unix/execve.S: Remove file.
29144         * sysdeps/unix/_exit.S: Remove file.
29146 2012-04-23  Andreas Jaeger  <aj@suse.de>
29148         [BZ #13739]
29149         * manual/Makefile: Remove make dist support, there's no
29150         need for a stand-alone documentation tar ball.
29151         (TEXI2DVI): Define always, it's not in Makeconfig.
29152         (dist): Removed.
29153         (tar-it): Removed.
29154         (edition): Removed.
29155         (glibc-doc-$(edition).tar): Removed
29156         (%.Z): Removed.
29157         (%.gz): Removed.
29158         (%.uu): Removed.
29159         (ETAGS): Remove, it's in Makeconfig.
29160         (move-if-change): Remove, it's in Makeconfig.
29162 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
29164         [BZ #13970]
29165         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
29166         (strtod, strtof, strtold, strtol, strtoul, strtoq)
29167         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
29168         (strtod_l, strtof_l, strtold_l): Remove __wur.
29169         It is not necessarily an error to ignore strtol's return value.
29170         One can reliably look at the stored endptr to decide whether
29171         the number had valid syntax.
29173 2012-04-21  Andreas Jaeger  <aj@suse.de>
29175         [BZ #13739]
29176         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
29178 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
29180         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
29181         * sysdeps/unix/sysv/Versions: Remove file.
29183 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
29185         [BZ #13927]
29186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29188 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
29190         [BZ #7064]
29191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
29192         version from __vm86.
29194 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
29196         * sysdeps/unix/common/lxstat.c: Remove file.
29197         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
29199         * sysdeps/unix/sysv/Makefile: Remove file.
29201         * sysdeps/unix/sysv/direct.h: Remove file.
29203         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
29204         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
29205         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
29206         * sysdeps/unix/sysv/bits/signum.h: Likewise.
29207         * sysdeps/unix/sysv/bits/stat.h: Likewise.
29208         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
29209         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
29211         * sysdeps/unix/sysv/setrlimit.c: Remove file.
29213         * sysdeps/unix/xmknod.c: Remove file.
29214         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
29216         * sysdeps/unix/sysv/settimeofday.c: Remove file.
29218         * sysdeps/unix/sysv/i386/time.S: Remove file.
29220         * sysdeps/unix/fxstat.c: Remove file.
29221         * sysdeps/unix/xstat.c: Likewise.
29222         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
29224         * sysdeps/unix/sysv/sigaction.c: Remove file.
29226         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
29227         (sysdep_headers): Remove variable.
29228         [termio.h not in sysdep_headers] (generated): Likewise.
29229         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
29230         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
29231         * sysdeps/unix/sysv/tcdrain.c: Likewise.
29232         * sysdeps/unix/sysv/tcflow.c: Likewise.
29233         * sysdeps/unix/sysv/tcflush.c: Likewise.
29234         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
29235         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
29236         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
29237         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
29238         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
29240         * sysdeps/unix/siglist.c: Remove file.
29242         * sysdeps/unix/getppid.S: Remove file.
29244         * sysdeps/unix/mkdir.c: Remove file.
29245         * sysdeps/unix/rmdir.c: Likewise.
29247 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
29249         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
29250         ERR_MAX value.
29251         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
29252         errlist-compat value.
29254 2012-04-18  David S. Miller  <davem@davemloft.net>
29256         * sysdeps/generic/memcopy.h (reg_char): Delete.
29257         * debug/strcat_chk.c: Use char, not reg_char.
29258         * debug/strcpy_chk.c: Likewise.
29259         * debug/strncat_chk.c: Likewise.
29260         * debug/strncpy_chk.c: Likewise.
29261         * string/memchr.c: Likewise.
29262         * string/memrchr.c: Likewise.
29263         * string/rawmemchr.c: Likewise.
29264         * string/strcat.c: Likewise.
29265         * string/strchr.c: Likewise.
29266         * string/strchrnul.c: Likewise.
29267         * string/strcmp.c: Likewise.
29268         * string/strcpy.c: Likewise.
29269         * string/strncat.c: Likewise.
29270         * string/strncmp.c: Likewise.
29271         * string/strncpy.c: Likewise.
29273 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29275         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
29276         __builtin_memcopy is called when src and dest ranges are known to not
29277         overlap.
29279 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29281         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
29282         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
29283         fwd_align_merge macro call.
29284         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
29285         bwd_align_merge macro call.
29286         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29288 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
29291         bwd_align_merge macros.
29292         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
29293         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
29294         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29296 2012-04-18  David S. Miller  <davem@davemloft.net>
29298         * sysdeps/sparc/sparc64/memcopy.h: Delete.
29300 2012-04-18  Andreas Jaeger  <aj@suse.de>
29302         [BZ# 6794]
29303         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
29304         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
29305         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29307         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
29308         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
29309         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29311         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
29312         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
29313         Adjust for changed ldbl-128 files.
29315         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29316         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
29317         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29319 2012-04-17  David S. Miller  <davem@davemloft.net>
29321         * sysdeps/sparc/sparc32/memcopy.h: Delete.
29323 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
29325         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
29326         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
29327         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29328         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
29329         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29330         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
29332 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29334         [BZ #6794]
29335         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
29336         * math/libm-test.inc: Add ilogb errno and exception tests.
29337         * math/w_ilogb.c: New file: ilogb wrapper.
29338         * math/w_ilogbf.c: New file: ilogbf wrapper.
29339         * math/w_ilogbl.c: New file: ilogbl wrapper.
29340         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
29341         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
29342         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
29343         exception being thrown with 0.0 as argument.
29344         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
29345         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
29346         exception being thrown with 0.0 as argument.
29347         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
29348         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29349         exception being thrown with 0.0 as argument.
29350         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
29351         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29352         exception being thrown with 0.0 as argument.
29353         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
29354         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
29355         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
29356         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
29357         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
29358         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
29359         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
29360         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
29361         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
29363 2012-04-17  Petr Baudis  <pasky@ucw.cz>
29365         * include/sys/uio.h: Change __vector to __iovec to avoid clash
29366         with altivec.
29368 2012-04-16  Marek Polacek  <polacek@redhat.com>
29370         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29372 2012-04-16  Marek Polacek  <polacek@redhat.com>
29374         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29375         operands of fdivp instruction.
29377 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29379         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29380         * elf/tst-auditmod3b.c: Likewise.
29381         * elf/tst-auditmod4b.c: Likewise.
29382         * elf/tst-auditmod5b.c: Likewise.
29383         * elf/tst-auditmod6b.c: Likewise.
29384         * elf/tst-auditmod6c.c: Likewise.
29385         * elf/tst-auditmod7b.c: Likewise.
29386         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29387         * sysdeps/x86_64/preconfigure.in: Likewise.
29388         * sysdeps/x86_64/preconfigure: Regenerated.
29390 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29392         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29393         __ILP32__.
29395 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
29397         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29398         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29400 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
29402         [BZ #13973]
29403         * locale/iso-639.def: Fix gl language name. Spotted by
29404         Yaron Shahrabani.
29406 2012-04-12  Roland McGrath  <roland@hack.frob.com>
29408         [BZ #2074]
29409         * libio/libio.h (__io_write_fn): Update comment.
29411 2012-04-12  Petr Baudis  <pasky@ucw.cz>
29413         [BZ #2074]
29414         * stdio.texi (Hook Functions): The user provided writer function
29415         is not allowed to return -1.
29417 2012-04-11  David S. Miller  <davem@davemloft.net>
29419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29421 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
29423         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29424         Add a leading slash to rtkaio.
29426 2012-04-11  Jim Meyering  <meyering@redhat.com>
29428         [BZ #11959]
29429         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29430         It is not necessarily an error to ignore fwrite's return
29431         value.  One can reliably use ferror to test for errors after
29432         the fact.
29434 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29436         * bits/types.h (__snseconds_t): New type.
29437         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29439         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29440         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29441         (__SNSECONDS_T_TYPE): Likewise.
29442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29443         (__SNSECONDS_T_TYPE): Likewise.
29444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29445         (__SNSECONDS_T_TYPE): Likewise.
29447 2012-04-10  Andreas Jaeger  <aj@suse.de>
29449         [BZ #2636]
29450         * manual/time.texi (Processor Time): Return type of times is
29451         elapsed real time since an arbitrary point in the past.
29452         (CPU Time): Move CLK_TCK from here...
29453         (Processor Time): ...to here.  Correct description.
29454         * manual/conf.texi (Constants for Sysconf): Correct description of
29455         _SC_CLK_TCK.
29457 2012-04-10  David S. Miller  <davem@davemloft.net>
29459         [BZ #13967]
29460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29461         where the is a gap between DT_REL(A) and DT_JMPREL.
29463 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29465         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29466         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29467         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29469 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29471         * elf/dl-support.c (_dl_inhibit_cache): New variable.
29472         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29473         (dl_main): Handle --inhibit-cache.
29474         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29475         _dl_inhibit_cache.
29476         * elf/dl-load.c (_dl_map_object): Use it.
29477         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29479 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29481         [BZ #13872]
29482         * sysdeps/i386/fpu/e_powl.S (p78): New object.
29483         (__ieee754_powl): Saturate large exponents rather than testing for
29484         overflow of y*log2(x).
29485         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29486         * math/libm-test.inc (pow_test): Do not permit spurious overflow
29487         exceptions.
29489         [BZ #11521]
29490         * math/s_ctan.c: Include <float.h>.
29491         (__ctan): Avoid internal overflow or cancellation in calculating
29492         denominator.
29493         * math/s_ctanf.c: Likewise.
29494         * math/s_ctanl.c: Likewise.
29495         * math/s_ctanh.c: Likewise.
29496         * math/s_ctanhf.c: Likewise.
29497         * math/s_ctanhl.c: Likewise.
29498         * math/libm-test.inc (ctan_test): Add more tests.
29499         (ctanh_test): Likewise.
29500         * sysdeps/i386/fpu/libm-test-ulps: Update.
29501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29503 2012-04-09  Andreas Jaeger  <aj@suse.de>
29505         [BZ #6894]
29506         * manual/filesys.texi (Directory Entries): Mention that d_namlen
29507         is an optional BSD extension.
29509         [BZ #10254]
29510         * manual/stdio.texi (Opening Streams): Document additional fopen
29511         parameters.
29513 2012-04-09  Roland McGrath  <roland@hack.frob.com>
29515         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29516         %eax without telling the compiler.
29518 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
29520         [BZ # 13963]
29521         * manual/install.texi: Use sourceware.org.
29523 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29525         [BZ #13873]
29526         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29527         (__ieee754_pow): Generate overflow and underflow using huge*huge
29528         and tiny*tiny rather than just returning constant infinity or zero
29529         for large exponents.
29530         * math/libm-test.inc (pow_test): Require overflow exceptions for
29531         applicable cases of large exponents.
29533         [BZ #706]
29534         * sysdeps/i386/fpu/e_pow.S (p10): New object.
29535         (__ieee754_pow): Use iterative multiplication algorithm only for
29536         integer exponents with absolute value below 1024.  Check for odd
29537         integer exponents when using algorithm for real exponents.
29538         * math/libm-test.inc (pow_test): Add more tests.
29539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29541 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
29543         [BZ #13705]
29544         * math/libm-test.inc (exp_test): Do not allow overflow exception
29545         on underflow test.
29547 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
29549         [BZ #13705]
29550         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29551         instead of __kernel_standard_f.
29553 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
29555         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29556         * sysdeps/x86_64/memset_chk.S: Likewise.
29558 2012-04-08  Andreas Jaeger  <aj@suse.de>
29560         [BZ #10153]
29561         * manual/startup.texi (Environment Access): Describe return value
29562         for putenv and setenv.
29564         [BZ #6895]
29565         * manual/filesys.texi (Directory Entries): Add description for
29566         DT_LNK.
29568         [BZ #6890]
29569         * manual/filesys.texi (Directory Entries): Clarify that it's file
29570         system not operating system in the description of DT_UNKNOWN.
29572         [BZ #6578]
29573         * manual/syslog.texi (closelog): Fix reference, it's openlog.
29575 2012-04-08  Stephen Compall  <s11@member.fsf.org>
29577         [BZ #6649]
29578         * manual/llio.texi (Opening and Closing Files): Add cross
29579         reference to explain mode argument.
29581 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
29583         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29584         * sysdeps/x86_64/memset_chk.S: Likewise.
29586 2012-04-07  David S. Miller  <davem@davemloft.net>
29588         * elf/elf.h (R_SPARC_WDISP10): Define.
29589         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29590         R_SPARC_SIZE32.
29591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29592         R_SPARC_SIZE64 and R_SPARC_H34.
29594 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
29596         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29597         conditions and remove no longer applicable assertion.
29599 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29601         * bits/byteswap.h: Include <features.h>.
29602         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29603         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29605 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29607         * bits/byteswap.h (__bswap_16): Removed.
29608         Include <bits/byteswap-16.h> to get __bswap_16.
29609         * sysdeps/i386/bits/byteswap.h: Likewise.
29610         * sysdeps/s390/bits/byteswap.h: Likewise.
29611         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29612         * bits/byteswap-16.h: New file.
29613         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29614         * sysdeps/s390/bits/byteswap-16.h: Likewise.
29615         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29616         * string/Makefile (headers): Add bits/byteswap-16.h.
29618 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29620         [BZ #13895]
29621         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29622         extra indirection.
29623         * nss/Makefile (tests-static, tests): Add tst-nss-static.
29624         * nss/tst-nss-static.c: New.
29626 2012-04-06  Robert Millan  <rmh@gnu.org>
29628         [BZ #6486]
29629         * manual/llio.texi (File Position Primitive): lseek
29630         refers to WHENCE when it really means OFFSET.
29632 2012-04-06  Andreas Jaeger  <aj@suse.de>
29634         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29635         strncmp declarations.
29637         * abilist/libc.abilist: Add __poll and __ppoll.
29639 2012-04-05  David S. Miller  <davem@davemloft.net>
29641         * scripts/check-local-headers.sh: Accept a host triplet in the
29642         path matched by the exclude regexp.
29644         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29645         definition.
29646         * sysdeps/powerpc/powerpc32/dl-machine.h
29647         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29648         * sysdeps/s390/s390-32/dl-machine.h
29649         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29650         * sysdeps/sparc/sparc32/dl-machine.h
29651         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29652         * sysdeps/sparc/sparc64/dl-machine.h
29653         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29655         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29656         lazy binding.
29657         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29658         undefined symbol errors.
29660         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29661         DT_NEEDED entries.
29663 2012-04-05  Michael Matz  <matz@suse.de>
29665         [BZ #13592]
29666         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29668 2012-04-05  Andreas Jaeger  <aj@suse.de>
29670         [BZ #13908]
29671         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29672         comment.
29674 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29676         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29677         which ROUND is no valid rounding mode.
29679 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29681         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29682         read again.
29683         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29685 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29687         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29688         an exception using FPU order intentionally.
29690 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29692         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29693         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29694         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29695         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29697 2012-04-05  Simon Josefsson  <simon@josefsson.org>
29699         [BZ #12340]
29700         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29701         EINVAL when BUFLEN is too smal.
29703 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29705         [BZ #13553]
29706         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29707         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29709 2012-04-03  Andreas Jaeger  <aj@suse.de>
29711         [BZ #13938]
29712         * manual/setjmp.texi (System V contexts): Fix sentence.
29714         [BZ #13926]
29715         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29716         New macro for this case.
29717         [!__GNUC__] (__bswap_64): New inline function for this case.
29718         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29719         * bits/byteswap.h: Likewise.
29720         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29721         ull, guard with __GLIBC_HAVE_LONG_LONG.
29723         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29724         __GLIBC_HAVE_LONG_LONG.
29726         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29727         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29729 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29731         [BZ #13691]
29732         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29733         inptr and inend, rather than using last_ch.
29735 2012-04-02  David S. Miller  <davem@davemloft.net>
29737         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29738         * stdio-common/printf-parse.h (read_int): Change return type to
29739         'int', return -1 on INT_MAX overflow.
29740         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29741         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
29742         overflows INT_MAX.  Check for overflow of in-format-string precision
29743         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
29744         SIZE_MAX not INT_MAX for integer overflow test.
29745         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29746         skip the construct in the format string but do not record anything.
29747         * stdio-common/bug22.c: Adjust to test both width/prevision
29748         INT_MAX overflow as well as total length INT_MAX overflow.  Check
29749         explicitly for proper errno values.
29751 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29753         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29754         CHAR_MAX.
29755         * string/test-strcmp.c [! WIDE]: Likewise.
29756         * time/tst-mktime2.c: Likewise for INT_MAX.
29757         * string/test-string.h: #include <sys/param.h> for MIN.
29759         * csu/init-first.c (__libc_init_first): Call __ctype_init.
29760         * sysdeps/i386/init-first.c (init): Likewise.
29761         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29762         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29763         * sysdeps/sh/init-first.c (init): Likewise.
29765 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
29767         * po/ru.po: Update from translation team.
29768         * po/vi.po: Likewise.
29770 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29772         * resolv/nss_dns/dns-host.c: Merge copyright years.
29774 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29776         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29777         Optimize memcpy with prefetch if
29778         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
29779         src, dst pointers have unequal 16 byte alignments.
29781 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29783         [BZ #13928]
29784         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29785         from a CNAME entry and return the minimum ttl for the query.
29786         (gaih_getanswer_slice): Likewise.
29788 2012-03-30  Jeff Law  <law@redhat.com>
29790         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29791         due to long keys.
29792         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29793         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29795         * resolv/nss_dns/dns-host.c: Update copyright year.
29797 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
29799         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29800         requests to save a system call.  Fix check that all bytes are sent.
29802         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29803         comments for sendmmsg.
29805 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29807         [BZ #13691]
29808         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29809         with only 1 character between 0x0041 and 0x01b0.
29810         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29811         * wcsmbs/tst-mbsnrtowcs.c: New file.
29813 2012-03-29  David S. Miller  <davem@davemloft.net>
29815         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29816         small copies by hand.
29818 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29820         [BZ #13761]
29821         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29822         _nss_compat_initgroups_dyn): Fall back to malloc/free
29823         for large group memberships.
29825 2012-03-28  David S. Miller  <davem@davemloft.net>
29827         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29828         that branches into memcpy.
29829         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29830         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29831         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29832         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29834         bits.
29835         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29836         implementation too.
29837         * sysdeps/sparc/mempcpy.S: New file.
29839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29840         the IFUNC routine in the libc case.
29841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29843         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29844         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29845         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29846         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29847         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29848         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29849         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29850         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29852         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29853         loop to 256 bytes instead of 64 bytes and fix test signedness.
29855         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29856         * sysdeps/sparc/sparc32/Makefile: rather than here...
29857         * sysdeps/sparc/sparc64/Makefile: and here.
29859 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
29861         * malloc/mallocbug.c: Avoid warnings about unused variables.
29863 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29865         [BZ #13760]
29866         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29867         in the right place. Discard and retry query if response is
29868         larger than input buffer size.
29870 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
29872         [BZ #369]
29873         [BZ #2678]
29874         [BZ #3866]
29875         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29876         x for large integer exponent.
29877         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29878         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
29879         sign of result as needed afterwards.
29880         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29881         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29882         result for underflowing pow the same as for overflow.
29883         (__kernel_standard_l): Handle powl overflow and underflow here
29884         rather than calling __kernel_standard.
29885         * math/libm-test.inc (pow_test): Add more tests.
29887         [BZ #3868]
29888         [BZ #13879]
29889         [BZ #13910]
29890         [BZ #13911]
29891         [BZ #13912]
29892         [BZ #13913]
29893         [BZ #13915]
29894         [BZ #13916]
29895         [BZ #13917]
29896         [BZ #13918]
29897         [BZ #13919]
29898         [BZ #13920]
29899         [BZ #13921]
29900         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29901         * sysdeps/ieee754/k_standard.c: Include <float.h>.
29902         (__kernel_standard_l): New function.
29903         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29904         __kernel_standard.
29905         * math/w_acosl.c (__acosl): Likewise.
29906         * math/w_asinl.c (__asinl): Likewise.
29907         * math/w_atan2l.c (__atan2l): Likewise.
29908         * math/w_atanhl.c (__atanhl): Likewise.
29909         * math/w_coshl.c (__coshl): Likewise.
29910         * math/w_exp10l.c (__exp10l): Likewise.
29911         * math/w_exp2l.c (__exp2l): Likewise.
29912         * math/w_fmodl.c (__fmodl): Likewise.
29913         * math/w_hypotl.c (__hypotl): Likewise.
29914         * math/w_j0l.c (__j0l, __y0l): Likewise.
29915         * math/w_j1l.c (__j1l, __y1l): Likewise.
29916         * math/w_jnl.c (__jnl, __ynl): Likewise.
29917         * math/w_lgammal.c (__lgammal): Likewise.
29918         * math/w_log10l.c (__log10l): Likewise.
29919         * math/w_log2l.c (__log2l): Likewise.
29920         * math/w_logl.c (__logl): Likewise.
29921         * math/w_powl.c (__powl): Likewise.
29922         * math/w_remainderl.c (__remainderl): Likewise.
29923         * math/w_scalbl.c (sysv_scalbl): Likewise.
29924         * math/w_sinhl.c (__sinhl): Likewise.
29925         * math/w_sqrtl.c (__sqrtl): Likewise.
29926         * math/w_tgammal.c (__tgammal): Likewise.
29927         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29928         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29929         * math/libm-test.inc (acos_test): Add more tests.
29930         (acosh_test): Likewise.
29931         (asin_test): Likewise.
29932         (atanh_test): Likewise.
29933         (exp_test): Likewise.
29934         (exp10_test): Likewise.
29935         (exp2_test): Likewise.
29936         (expm1_test): Likewise.
29937         (lgamma_test): Likewise.
29938         (log_test): Likewise.
29939         (log10_test): Likewise.
29940         (log1p_test): Likewise.
29941         (log2_test): Likewise.
29942         (pow_test): Do not allow some spurious overflow exceptions.
29943         (sqrt_test): Add more tests.
29944         (tgamma_test): Likewise.
29945         (y0_test): Likewise.
29946         (y1_test): Likewise.
29947         (yn_test): Likewise.
29949 2012-03-27  Anton Blanchard  <anton@samba.org>
29951         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29952         MAP_HUGETLB.
29953         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29954         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29955         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29957 2012-03-27  David S. Miller  <davem@davemloft.net>
29959         * conform/Makefile: Run run-conformtest.sh using $(BASH).
29961         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29962         have-as-vis3 check.
29964 2012-03-27  Andreas Jaeger  <aj@suse.de>
29966         * sysdeps/x86_64/elf/configure.in: Moved to ...
29967         * sysdeps/x86_64/configure.in: ... here.
29968         * sysdeps/x86_64/elf/start.S: Moved to ...
29969         * sysdeps/x86_64/start.S: ... here.
29970         * sysdeps/x86_64/elf/configure: Delete.
29972         * sysdeps/x86_64/configure.in: Merge contents from
29973         sysdeps/i386/configure.in (without i686 check).
29975         * sysdeps/i386/elf/Versions: Merge into ...
29976         * sysdeps/i386/Versions: ... this.
29977         * sysdeps/i386/elf/Versions: Delete file.
29978         * sysdeps/i386/elf/start.S: Moved to ...
29979         * sysdeps/i386/start.S: ...here.
29980         * sysdeps/i386/elf/configure.in: Merge into...
29981         * sysdeps/i386/configure.in: ...here.
29982         * sysdeps/i386/elf/configure.in: Delete file.
29983         * sysdeps/i386/elf/configure: Delete file.
29985         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29986         * debug/backtracesyms.c: ... here.
29987         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29988         * debug/backtracesymsfd.c: ... here.
29989         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29990         * sysdeps/generic/ifunc-sel.h: ... here.
29992         * sysdeps/unix/i386/start.c: Delete file.
29993         * sysdeps/unix/sparc/start.c: Delete file.
29994         * sysdeps/unix/start.c: Delete file.
29996         * sysdeps/sh/elf/configure.in: Moved to ...
29997         * sysdeps/sh/configure.in: ... here.
29998         * sysdeps/sh/elf/start.S: Moved to ...
29999         * sysdeps/sh/start.S: ... here.
30000         * sysdeps/sh/elf/configure: Delete file.
30002         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30003         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30004         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30005         * sysdeps/powerpc/powerpc64/entry.h: ... here.
30006         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30007         * sysdeps/powerpc/powerpc64/start.S: here.
30008         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
30009         * sysdeps/powerpc/powerpc64/Makefile: ... this.
30010         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
30011         * sysdeps/powerpc/powerpc64/configure.in: ... this.
30012         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
30014         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
30015         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
30016         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
30017         * sysdeps/powerpc/powerpc32/start.S: ... here.
30018         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
30019         * sysdeps/powerpc/powerpc32/configure.in: ... this.
30020         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
30022         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
30023         * sysdeps/powerpc/ifunc-sel.h: ... here.
30024         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
30025         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
30027         * sysdeps/sparc/elf/configure.in: Moved to ...
30028         * sysdeps/sparc/configure.in: ... here.
30029         * sysdeps/sparc/elf/configure: Delete file.
30030         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
30031         * sysdeps/sparc/sparc32/start.S: ... here.
30032         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
30033         * sysdeps/sparc/sparc64/start.S: ... here.
30034         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
30035         * sysdeps/sparc/sparc32/Makefile: ... this.
30036         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
30037         * sysdeps/sparc/sparc64/Makefile: ... this.
30039         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
30040         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
30041         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
30042         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
30043         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
30044         * sysdeps/s390/s390-32/setjmp.S: ... here.
30045         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
30046         * sysdeps/s390/s390-32/configure.in: ... here.
30047         * sysdeps/s390/s390-32/elf/configure: Delete file.
30048         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
30049         * sysdeps/s390/s390-32/start.S: ... here.
30051         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
30052         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
30053         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
30054         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
30055         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
30056         * sysdeps/s390/s390-64/setjmp.S: ... here.
30057         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
30058         * sysdeps/s390/s390-64/configure.in: ... here
30059         * sysdeps/s390/s390-64/elf/configure: Delete file.
30060         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
30061         * sysdeps/s390/s390-64/start.S: ... here.
30062         * sysdeps/s390/s390-64/elf/configure: Delete.
30064         * configure.in: Remove support for elf directories in sysdeps.
30066         * configure: Regenerated.
30067         * sysdeps/i386/configure: Regenerated.
30068         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30069         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30070         * sysdeps/s390/s390-32/configure: Regenerated.
30071         * sysdeps/s390/s390-64/configure: Regenerated.
30072         * sysdeps/sh/configure: Regenerated.
30073         * sysdeps/sparc/configure: Regenerated.
30074         * sysdeps/x86_64/configure: Regenerated.
30076 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
30078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
30081         denormal result into account.
30083 2012-03-25  Roland McGrath  <roland@hack.frob.com>
30085         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
30086         Reported by Allan McRae <allan@archlinux.org>.
30088 2012-03-23  Jeff Law  <law@redhat.com>
30090         * nss/getnssent.c (__nss_getent): Fix typo.
30092 2012-03-23  David S. Miller  <davem@davemloft.net>
30094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30096 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
30098         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
30099         to pad to uint64_t for each field.
30100         (dl_tls_index): Replace unsigned long with uint64_t.
30102 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
30103         Paul Pluzhnikov  <ppluzhnikov@google.com>
30105         [BZ #6528]
30106         * grp/Makefile (otherlibs): Don't set it.
30107         * inet/Makefile (otherlibs): Likewise.
30108         * login/Makefile (otherlibs): Likewise.
30109         * nscd/Makefile (otherlibs): Likewise.
30110         * posix/Makefile (otherlibs): Likewise.
30111         * pwd/Makefile (otherlibs): Likewise.
30112         * rt/Makefile (otherlibs): Likewise.
30113         * sunrpc/Makefile (otherlibs): Likewise.
30114         * nss/Makefile (otherlibs): Likewise.
30115         Add libnss_files to routines and static-only-routines.
30116         ($(objpfx)getent): Remove rule.
30117         * resolv/Makefile: Add libnss_dns and libresolv to routines and
30118         static-only-routines.
30120 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30122         [BZ #13892]
30123         * math/s_cexp.c: Include <float.h>.
30124         (__cexp): Handle exp result overflowing not necessarily
30125         overflowing both real and imaginary parts of result.
30126         * math/s_cexpf.c: Likewise.
30127         * math/s_cexpl.c: Likewise.
30128         * math/libm-test.inc (cexp_test): Add more tests.
30129         * sysdeps/i386/fpu/libm-test-ulps: Update.
30130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30132 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30134         * include/link.h (ELFW): New macro.
30135         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
30136         Replace ELF64_R_TYPE with ELFW(R_TYPE).
30138 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30140         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
30141         with uint64_t.
30143 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30145         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
30146         declaration.
30147         (struct La_x32_retval): Likewise.
30149 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30151         * sysdeps/x86_64/preconfigure.in: New file.
30152         * sysdeps/x86_64/preconfigure: New generated file.
30154 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30156         [BZ #13824]
30157         * math/e_exp2l.c: Include <float.h>.
30158         (__ieee754_exp2l): Handle overflow and underflow cases
30159         separately.  Only pass fractional part of argument to
30160         __ieee754_expl.
30161         * math/libm-test.inc (exp2_test): Add more tests.
30163         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
30164         negating x to take absolute value.
30165         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30166         Likewise.
30167         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30168         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30169         Likewise.
30170         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
30171         computing low part if x was negated.
30172         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30174 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30176         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
30177         la_x32_gnu_pltexit.
30178         (pltexit): Cast int_retval to ptrdiff_t.
30179         * elf/tst-auditmod3b.c: Likewise.
30180         * elf/tst-auditmod4b.c: Likewise.
30181         * elf/tst-auditmod5b.c: Likewise.
30182         * elf/tst-auditmod6b.c: Likewise.
30183         * elf/tst-auditmod6c.c: Likewise.
30184         * elf/tst-auditmod7b.c: Likewise.
30186         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
30187         and x32_gnu_pltexit.
30189         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
30190         __ELF_NATIVE_CLASS.
30191         (La_x32_regs): New macro.
30192         (La_x32_retval): Likewise.
30193         (la_x32_gnu_pltenter): New function prototype.
30194         (la_x32_gnu_pltexit): Likewise.
30196 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
30198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
30199         exponent.
30201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30203         * configure.in (libc_cv_cc_nofma): Check for option to disable
30204         generation of FMA instructions.
30205         * configure: Regenerate.
30206         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
30207         * sysdeps/ieee754/dbl-64/Makefile: New file.
30208         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30209         Remove brandred-fma4.
30210         (CFLAGS-brandred-fma4.c): Remove.
30211         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
30212         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
30213         define.
30214         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
30215         define.
30217 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30219         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30220         LLONG_MAX != LONG_MAX.
30221         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30222         (_fitoa_word): Likewise.
30223         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
30224         LLONG_MAX != LONG_MAX.
30225         * stdio-common/_itowa.h: Include <_itoa.h>.
30226         (_itowa_word): Use _ITOA_WORD_TYPE on value.
30227         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
30228         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
30229         only if not defined.
30230         (_ITOA_WORD_TYPE): Likewise.
30231         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30232         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
30234 2012-03-21  David S. Miller  <davem@davemloft.net>
30236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30238 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30240         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
30241         of x86_64 when setting libc_cv_slibdir, libdir and
30242         libc_cv_localedir.
30243         * sysdeps/unix/sysv/linux/configure: Regenerated.
30245 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30247         * manual/lang.texi (Old Varargs): Remove section.
30248         (How Variadic): Update menu.
30249         (va_start): Do not mention varargs.h.
30251 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30252             Joseph Myers  <joseph@codesourcery.com>
30254         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
30255         link test.
30256         * configure: Regenerated.
30258 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30260         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
30261         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
30262         conformtest.pl
30264 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30266         * NOTES: Remove.
30267         * Makefile (files-for-dist): Remove NOTES.
30268         (NOTES): Remove rule.
30269         * README: Don't refer to NOTES.
30270         * manual/creature.texi: Don't include macros.texi.
30271         * manual/intro.texi (creature.texi): Remove comment referring to
30272         NOTES.
30274         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
30275         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
30276         * configure: Regenerated.
30277         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
30278         LIBC_TRY_CC_OPTION.
30279         (libc_cv_as_i686): Likewise.
30280         (libc_cv_cc_avx): Likewise.
30281         (libc_cv_cc_sse2avx): Likewise.
30282         (libc_cv_cc_fma4): Likewise.
30283         (libc_cv_cc_novzeroupper): Likewise.
30284         * sysdeps/i386/configure: Regenerated.
30286         [BZ #13883]
30287         * sysdeps/i386/fpu/s_cexp.S: Remove.
30288         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30289         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30290         * math/libm-test.inc (cexp_test): Add more tests.
30291         * sysdeps/i386/fpu/libm-test-ulps: Update.
30292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30294 2012-03-21  Allan McRae  <allan@archlinux.org>
30296         * timezone/Makefile: Do not install iso3166.tab and zone.tab
30298 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30300         [BZ #13871]
30301         * math/w_exp2.c: Do not include <float.h>.
30302         (o_threshold, u_threshold): Remove.
30303         (__exp2): Calculate result before checking finiteness and calling
30304         __kernel_standard.
30305         * math/w_exp2f.c: Likewise.
30306         * math/w_exp2l.c: Likewise.
30307         * math/libm-test.inc (exp2_test): Require overflow exception for
30308         1e6 input.
30310         [BZ #3866]
30311         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
30312         range of signed 64-bit integers before using fistpll.  Remove
30313         checks for whether integers fit in mantissa bits.
30314         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
30315         the range of signed 32-bit integers before using fistpl.  Remove
30316         checks for whether integers fit in mantissa bits.
30317         * sysdeps/i386/fpu/e_powl.S (p64): New object.
30318         (__ieee754_powl): Test for y outside the range of signed 64-bit
30319         integers before using fistpll.  Reduce 64-bit values to 63-bit
30320         ones as needed.
30321         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
30322         divide-by-zero is raised for zero to large negative powers.
30323         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
30324         (__ieee754_powl): Test for y outside the range of signed 64-bit
30325         integers before using fistpll.  Reduce 64-bit values to 63-bit
30326         ones as needed.
30327         * math/libm-test.inc (pow_test): Add more tests.
30329 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30331         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
30332         <stdio-common/_itoa.h>.
30333         * debug/segfault.c: Likewise.
30334         * elf/dl-cache.c: Likewise.
30335         * elf/dl-minimal.c: Likewise.
30336         * elf/dl-misc.c: Likewise.
30337         * elf/dl-sysdep.c: Likewise.
30338         * elf/dl-version.c: Likewise.
30339         * elf/rtld.c: Likewise.
30340         * hurd/hurdsock.c: Likewise.
30341         * hurd/lookup-retry.c: Likewise.
30342         * malloc/malloc.c: Likewise.
30343         * malloc/mtrace.c: Likewise.
30344         * nscd/nscd_getgr_r.c: Likewise.
30345         * nscd/nscd_getpw_r.c: Likewise.
30346         * nscd/nscd_getserv_r.c: Likewise.
30347         * posix/getopt_init.c: Likewise.
30348         * posix/wordexp.c: Likewise.
30349         * stdio-common/_itoa.c: Likewise.
30350         * stdio-common/printf_fphex.c: Likewise.
30351         * stdio-common/vfprintf.c: Likewise.
30352         * string/_strerror.c: Likewise.
30353         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
30354         * sysdeps/i386/i686/hp-timing.h: Likewise.
30355         * sysdeps/mach/_strerror.c: Likewise.
30356         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
30357         * sysdeps/mach/hurd/sethostid.c: Likewise.
30358         * sysdeps/mach/hurd/xmknodat.c: Likewise.
30359         * sysdeps/mach/xpg-strerror.c: Likewise.
30360         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30361         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30362         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
30363         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
30364         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30365         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
30366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30367         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30368         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30369         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30370         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30371         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30372         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30373         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30374         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30375         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30376         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30377         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30378         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30379         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30380         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30382         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30384         * stdio-common/_itoa.h: Moved to ...
30385         * sysdeps/generic/_itoa.h: Here.
30387         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30389         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30390         instead of "_itoa.h" and "_itowa.h".
30391         * stdio-common/vfprintf.: Likewise.
30393 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30395         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30396         <bits/wordsize.h>.
30397         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30398         (__signbit): Likwise.
30399         (llrintf): Likwise.
30400         (llrint): Likwise.
30402 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30404         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30405         __WORDSIZE != 64.
30407 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
30409         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30410         OVERFLOW_EXCEPTION_OK.
30411         * math/libm-test.inc ("Philosophy"): Update comment about
30412         exception testing.
30413         (OVERFLOW_EXCEPTION): Define.
30414         (OVERFLOW_EXCEPTION_OK): Likewise.
30415         (INVALID_EXCEPTION_OK): Renumber.
30416         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30417         (IGNORE_ZERO_INF_SIGN): Likewise.
30418         (test_exceptions): Handle FE_OVERFLOW.
30419         (exp10_test): Expect overflow exceptions.
30420         (exp2_test): Likewise.
30421         (expm1_test): Likewise.
30422         (nextafter_test): Likewise.
30423         (pow_test): Likewise.
30424         (scalbn_test): Likewise.
30425         (scalbln_test): Likewise.
30427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30429         * sysdeps/x86_64/bits/atomic.h
30430         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30431         64bit integer.
30432         (atomic_exchange_acq): Likewise.
30433         (__arch_exchange_and_add_body): Likewise.
30434         (__arch_add_body): Likewise.
30435         (atomic_add_negative): Likewise.
30436         (atomic_add_zero): Likewise.
30438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30440         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30441         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30443 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30445         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30446         Check __x86_64__ instead of __WORDSIZE.
30448 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30450         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30452 2012-03-19  David S. Miller  <davem@davemloft.net>
30454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30456         * sysdeps/sparc/fpu/fenv_private.h: New file.
30457         * sysdeps/sparc/fpu/math_private.h: Use it.
30458         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30459         Remove.
30460         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30461         (libc_feholdexcept_setroundl): Remove.
30462         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30463         Remove.
30464         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30465         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30467 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30469         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30470         int64_t instead of long int.
30471         (INSERT_WORDS64): Likwise.
30473 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30475         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30476         _Unwind_GetCFA return to _Unwind_Ptr first.
30478 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
30480         [BZ #13629]
30481         * math/s_clog.c: Include <float.h>.
30482         (__clog): Scale large or subnormal inputs.
30483         * math/s_clogf.c: Likewise.
30484         * math/s_clogl.c: Likewise.
30485         * math/s_clog10.c: Include <float.h>.
30486         (M_LOG10_2): Define.
30487         (__clog10): Scale large or subnormal inputs.
30488         * math/s_clog10f.c: Likewise.
30489         * math/s_clog10l.c: Likewise.
30490         * math/libm-test.inc (clog_test): Add more tests.
30491         (clog10_test): Likewise.
30492         * sysdeps/i386/fpu/libm-test-ulps: Update.
30493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30495         [BZ #11451]
30496         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30497         x and y.
30498         * math/libm-test.inc (atan2_test): Add another test.
30500         * Makerules (common-objdir-compile): Remove.
30501         * sysdeps/unix/Makefile (config-generated): Do not add
30502         $(unix-generated) to variable.
30503         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30504         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30505         Remove rule.
30506         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30507         Likewise.
30508         [generic bits/local_lim.h] (before-compile): Do not append to
30509         variable.
30510         [generic bits/local_lim.h] (common-generated): Likewise.
30511         [generic sys/param.h] (before-compile): Do not append to variable.
30512         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30513         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30514         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30515         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30516         include.
30517         [generic sys/param.h] (sys/param.h-includes): Remove variable.
30518         [generic sys/param.h] (sys/param.h-includes): Remove rule.
30519         [generic sys/param.h] ($(addprefix
30520         $(common-objpfx),$(sys/param.h-includes))): Likewise.
30521         [generic sys/param.h] (common-generated): Do not append to
30522         variable.
30523         [generic sys/param.h] (sysdep_headers): Likewise.
30524         [generic bits/errno.h] (before-compile): Do not append to
30525         variable.
30526         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30527         rule.
30528         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30529         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30530         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30531         [generic bits/errno.h] (common-generated): Do not append to
30532         variable.
30533         [generic bits/ioctls.h] (before-compile): Do not append to
30534         variable.
30535         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30536         rule.
30537         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30538         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30539         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30540         rule.
30541         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30542         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30543         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30544         [generic bits/ioctls.h] (common-generated): Do not append to
30545         variable.
30546         [generic sys/syscall.h] (syscall.h): Remove variable.
30547         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30548         rule.
30549         [generic sys/syscall.h] (before-compile): Do not append to
30550         variable.
30551         [generic sys/syscall.h] (common-generated): Likewise.
30552         * sysdeps/unix/errnos-tmpl.c: Remove file.
30553         * sysdeps/unix/errnos.awk: Likewise.
30554         * sysdeps/unix/ioctls-tmpl.c: Likewise.
30555         * sysdeps/unix/ioctls.awk: Likewise.
30556         * sysdeps/unix/mk-local_lim.c: Likewise.
30557         * sysdeps/unix/snarf-ioctls: Likewise.
30559 2012-03-19  Richard Henderson  <rth@twiddle.net>
30561         * sysdeps/i386/fpu/fenv_private.h: New file.
30562         * sysdeps/i386/fpu/math_private.h: Use it.
30563         (math_opt_barrier, math_force_eval): Remove.
30564         (libc_feholdexcept_setround_53bit): Remove.
30565         (libc_feupdateenv_53bit): Remove.
30566         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30567         (math_opt_barrier, math_force_eval): Remove.
30568         (libc_feholdexcept): Remove.
30569         (libc_feholdexcept_setround): Remove.
30570         (libc_fetestexcept, libc_fesetenv): Remove.
30571         (libc_feupdateenv_test): Remove.
30572         (libc_feupdateenv, libc_feholdsetround): Remove.
30573         (libc_feresetround): Remove.
30575         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30576         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30578         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30579         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30580         (libc_feupdateenv_testl): New.
30581         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30582         (libc_feupdateenv_testf): New.
30583         (libc_feupdateenv): Use libc_feupdateenv_test.
30584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30585         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30587         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30588         (libc_feholdsetroundf, libc_feholdsetroundl): New.
30589         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30590         (libc_feresetround_noex): New.
30591         (libc_feresetround_noexf): New.
30592         (libc_feresetround_noexl): New.
30593         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30594         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30595         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30596         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30597         SET_RESTORE_ROUND.
30598         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30599         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30600         (__cos): Likewise.
30601         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30602         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30603         SET_RESTORE_ROUND_NOEX.
30604         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30605         SET_RESTORE_ROUND_NOEXF.
30606         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30607         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30608         (libc_feholdsetroundf): New.
30609         (libc_feresetround, libc_feresetroundf): New.
30611         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30612         (libc_feholdexcept_setround_53bit): Convert from macro to function.
30613         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
30615         * sysdeps/generic/math_private.h: Include <fenv.h>.
30616         (default_libc_feholdexcept): New.
30617         (default_libc_feholdexcept_setround): New.
30618         (default_libc_fesetenv, default_libc_feupdateenv): New.
30619         (libc_feholdexcept): Only define if undefined.
30620         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30621         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30622         (libc_feholdexcept_setroundl): Likewise.
30623         (libc_feholdexcept_setround_53bit): Likewise.
30624         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30625         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30626         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30627         (libc_feupdateenv_53bit): Likewise.
30628         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30629         (libc_feholdexcept): Convert from macro to inline function.
30630         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30631         (libc_fesetenv, libc_feupdateenv): Likewise.
30633         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30634         not previously defined.
30635         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30636         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30637         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30638         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30639         * sysdeps/ieee754/flt-32/math_private.h: New file.
30640         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30641         math_private.h below SET_FLOAT_WORD.
30642         (__isnan, __isinf_ns, __finite): Remove.
30643         (__isnanf, __isinf_nsf, __finitef): Remove.
30645 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
30647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30649 2012-03-17  David S. Miller  <davem@davemloft.net>
30651         [BZ #6471]
30652         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30653         for 2.16.
30655 2012-03-16  David S. Miller  <davem@davemloft.net>
30657         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30658         warnings.
30660         [BZ #6471]
30661         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30662         properly.
30663         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30664         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30665         sysdep_routines when subdir is sysvipc.
30666         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30667         __getshmlba helper.
30669         * sysdeps/sparc/fpu/libm-test/ulps: Update.
30671 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30673         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30674         [__LP64__].
30676 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30678         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30679         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30680         (__lround): Renamed to ...
30681         (__llround): This.  Replace long int with long long int.
30682         Define lround functions as aliases of llround functions.
30683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30685 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30687         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30688         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
30689         adresses to uintptr_t.  Replace "long int" and "unsigned long
30690         int" with "greg_t" on va_arg.
30692 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30694         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30695         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30697         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30698         Move e_machine check before EI_CLASS check.  Handle x32
30699         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30700         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30701         SKIP_EM_IA_64 and include
30702         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30704         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30705         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30706         (add_system_dir): New macro.
30708         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30709         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30711 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
30713         [BZ #2551]
30714         [BZ #2552]
30715         [BZ #2553]
30716         [BZ #2554]
30717         [BZ #2562]
30718         [BZ #2563]
30719         [BZ #2565]
30720         [BZ #2566]
30721         [BZ #2576]
30722         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30723         (y0): Likewise.
30724         * math/w_j0f.c (j0f): Likewise.
30725         (y0f): Likewise.
30726         * math/w_j0l.c (__j0l): Likewise.
30727         (__y0l): Likewise.
30728         * math/w_j1.c (j1): Likewise.
30729         (y1): Likewise.
30730         * math/w_j1f.c (j1f): Likewise.
30731         (y1f): Likewise.
30732         * math/w_j1l.c (__j1l): Likewise.
30733         (__y1l): Likewise.
30734         * math/w_jn.c (jn): Likewise.
30735         (yn): Likewise.
30736         * math/w_jnf.c (jnf): Likewise.
30737         (ynf): Likewise.
30738         * math/w_jnl.c (__jnl): Likewise.
30739         (__ynl): Likewise.
30740         * math/libm-test.inc (j0_test): Add more tests.
30741         (j1_test): Likewise.
30742         (jn_test): Likewise.  Add trailing semicolon to existing test.
30743         (y0_test): Likewise.
30744         (y1_test): Likewise.
30745         * sysdeps/i386/fpu/libm-test-ulps: Update.
30746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30748         [BZ #13851]
30749         [BZ #13854]
30750         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30751         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30752         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30753         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30754         (__tanl): Set errno for infinite argument.
30755         * sysdeps/i386/fpu/mptan.c: Remove.
30756         * sysdeps/i386/fpu/s_tan.S: Likewise.
30757         * sysdeps/i386/fpu/s_tanl.S: Likewise.
30758         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30759         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30760         * math/libm-test.inc (tan_test): Add more tests and enable more
30761         tests for double and long double.
30762         * sysdeps/i386/fpu/libm-test-ulps: Update.
30763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30765 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
30767         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30768         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30770 2012-03-16  Roland McGrath  <roland@hack.frob.com>
30772         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30773         * configure.in: Use it for both main tree and add-ons.
30774         * configure: Regenerated.
30776 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30778         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30780 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
30782         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30783         in comment.
30785         [BZ #13851]
30786         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30787         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30788         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30789         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30790         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30791         infinite argument.
30792         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30793         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30794         != 0 for prec == 2.
30795         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30796         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30797         * sysdeps/i386/fpu/s_cosl.S: Likewise.
30798         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30799         * sysdeps/i386/fpu/s_sinl.S: Likewise.
30800         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30801         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30802         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30803         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30804         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30805         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30806         * math/libm-test.inc (cos_test): Add more tests and enable more
30807         tests for long double.
30808         (sin_test): Likewise.
30809         (sincos_test): Likewise.
30810         * sysdeps/i386/fpu/libm-test-ulps: Update.
30811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30813 2012-03-16  David S. Miller  <davem@davemloft.net>
30815         * sysdeps/sparc/fpu/math_private.h: New file.
30817 2012-03-15  David S. Miller  <davem@davemloft.net>
30819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30820         file.
30821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30823         file.
30824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30830         sysdep routines.
30831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30833         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30834         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30836         * sysdeps/sparc/sparc-ifunc.h: New file.
30837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30838         sparc-ifunc.h
30839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30841         Likewise.
30842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30843         Likewise.
30844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30848         Likewise.
30849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30854         Likewise.
30855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30856         Likewise.
30857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30863         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30864         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30872         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30873         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30875         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30876         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30877         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30878         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30879         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30882 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
30884         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30885         scaling.
30886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30888 2012-03-15  Andreas Jaeger  <aj@suse.de>
30890         [BZ #13852]
30891         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30892         ieee754/flt-32 implementation for sin, cos and sincos.
30893         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30894         * sysdeps/i386/fpu/s_cosf.S: Likewise.
30895         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30896         * sysdeps/i386/fpu/s_sinf.S: Likewise.
30897         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30898         ieee754/flt-32 implementation for tan.
30900         * math/libm-test.inc (cos_test): Enable some large input tests for
30901         float as well
30902         (sin_test): Likewise.
30903         (sincos_test): Likewise.
30904         (tan_test): Add tests for large input.
30906         * sysdeps/i386/fpu/libm-test-ulps: Update.
30908 2012-03-15  Andreas Jaeger  <aj@suse.de>
30910         [BZ #13658]
30911         * math/libm-test.inc (cos_test): Add more test cases.
30912         (sin_test): Likewise.
30913         (sincos_test): Likewise.
30915 2012-03-15  Andreas Jaeger  <aj@suse.de>
30917         [BZ #13837]
30918         * math/libm-test.inc (cos_test): Add a test case for large input
30919         value.
30920         (sin_test): Likewise.
30921         (sincos_test): Likewise.
30923 2012-03-15  Andreas Jaeger  <aj@suse.de>,
30924         Joseph Myers  <joseph@codesourcery.com>
30926         [BZ #13658]
30927         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30928         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30929         * sysdeps/i386/fpu/branred.c: Likewise.
30930         * sysdeps/i386/fpu/dosincos.c: Likewise.
30931         * sysdeps/i386/fpu/mpa.c: Likewise.
30932         * sysdeps/i386/fpu/s_cos.S: Likewise.
30933         * sysdeps/i386/fpu/s_sin.S: Likewise.
30934         * sysdeps/i386/fpu/s_sincos.S: Likewise.
30935         * sysdeps/i386/fpu/sincos32.c: Likewise.
30937         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30938         Define.
30939         (libc_feupdateenv_53bit): Define.
30940         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30941         Define.
30942         (libc_feupdateenv_53bit): Define.
30944         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30945         53 bit (without extend i386 double precision).
30947         * math/libm-test.inc (sincos_test): Add tests for large input.
30948         (sin): Likewise.
30949         (cos): Likewise.
30951         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30953 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
30955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30957 2012-03-15  David S. Miller  <davem@davemloft.net>
30959         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30960         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30961         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30962         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30975         file.
30976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30978         file.
30979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30981         file.
30982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30984         file.
30985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30987         fmin/fmax sysdep routines.
30988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30990 2012-03-14  David S. Miller  <davem@davemloft.net>
30992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30996         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30997         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30998         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30999         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31005         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31006         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31007         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
31008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
31009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
31010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
31011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
31012         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
31013         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
31014         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
31015         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
31016         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
31017         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
31018         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
31019         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
31020         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
31021         routines.
31022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
31023         file.
31024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
31025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
31026         file.
31027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
31028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
31029         file.
31030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
31031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
31032         file.
31033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
31034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
31035         file.
31036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
31037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
31038         file.
31039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
31040         file.
31041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
31042         file.
31043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
31044         file.
31045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
31046         New file.
31047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
31048         file.
31049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
31050         file.
31051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
31052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
31053         file.
31054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
31055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
31056         file.
31057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
31058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
31059         file.
31060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
31061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
31062         VIS3 routines.
31064         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31065         New file.
31067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31069         * sysdeps/sparc/configure.in: New file.
31070         * sysdeps/sparc/configure: Generate.
31071         * configure.in (libc_cv_sparc_as_vis3): Substitute.
31072         * configure: Regenerate.
31073         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
31074         * config.make.in (have-as-vis3): New.
31075         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
31076         available use -Av9d instead of -Av9a.
31077         * sysdeps/sparc/sparc64/Makefile: Likewise.
31078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
31079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
31080         New file.
31081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
31082         file.
31083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
31084         New file.
31085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
31086         file.
31087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
31088         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
31089         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
31090         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
31091         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
31093         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
31094         fzeros/fnegs to load 0x80000000 into a float register instead of
31095         using the stack.
31096         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
31098 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31101         bits/syscall.h.
31102         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
31103         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
31104         ($(inst_includedir)/bits/syscall.h): Remove rule.
31105         ($(objpfx)bits/syscall.d): Include instead of
31106         $(objpfx)syscall-list.d.
31107         (generated): Change syscall-list.h and syscall-list.d to
31108         bits/syscall.h and bits/syscall.d.
31110 2012-03-14  Roland McGrath  <roland@hack.frob.com>
31112         [BZ #13846]
31113         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
31115 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31117         [BZ #13841]
31118         * math/s_csqrt.c: Include <float.h>.
31119         (__csqrt): Scale large or subnormal inputs.
31120         * math/s_csqrtf.c: Likewise.
31121         * math/s_csqrtl.c: Likewise.
31122         * math/libm-test.inc (csqrt_test): Add more tests.
31123         * sysdeps/i386/fpu/libm-test-ulps: Update.
31124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31126         [BZ #13840]
31127         * math/libm-test.inc (hypot_test): Add more tests.
31129 2012-03-13  David S. Miller  <davem@davemloft.net>
31131         [BZ #13840]
31132         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
31133         double-precision for the calculation instead of scaling.
31135 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
31137         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
31138         manipulate bits before adding and subtracting TWO52[sx].
31139         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
31140         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31141         Likewise.
31142         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
31144 2012-03-13  David S. Miller  <davem@davemloft.net>
31146         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
31147         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
31148         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
31149         rtld-global-offsets.h
31150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31152         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
31153         large parameters.
31155         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
31157         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
31158         'err' in the ifdef scope in which it is actually used.
31160         * nss/nss_db/db-init.c: Include string.h
31162 2012-03-12  David S. Miller  <davem@davemloft.net>
31164         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31165         masking out of the most significant byte of random value used.
31166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31167         Fix coding style in previous change.
31169         * sysdeps/unix/sysv/linux/kernel-features.h
31170         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
31171         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
31172         expression.
31173         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
31174         later.
31176 2012-03-11  David S. Miller  <davem@davemloft.net>
31178         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31179         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
31180         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
31181         for 'resultvar' otherwise things get truncated on 64-bit.
31183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31184         Fix masking out of the most significant byte of random value used.
31186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31188 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
31190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31192 2012-03-09  David S. Miller  <davem@davemloft.net>
31194         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
31195         variables with appropriate CPP guards.
31196         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
31197         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
31198         on resulting framesize and the management of the outregs buffer for pltexit.
31199         Preserve floating point return values across _dl_call_pltexit call.
31200         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
31201         framesize and the management of the outregs buffer for pltexit.
31202         Preserve floating point return values across _dl_call_pltexit
31203         call.
31204         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
31205         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
31206         (print_exit): Fix format string for return register value.
31208 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
31210         * sunrpc/Makefile (others): Add rpcgen.
31211         ($(objpfx)rpcgen): Remove special build rule and dependency on
31212         libc.
31213         * sunrpc/rpcgen.c: New file.
31215 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
31217         [BZ #13673]
31218         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
31219         * stdio-common/bug-vfprintf-nargs.c: Likewise.
31220         * sysdeps/i386/crti.S: Likewise.
31221         * sysdeps/i386/crtn.S: Likewise.
31222         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
31223         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
31224         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
31225         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
31226         * sysdeps/sh/crti.S: Likewise.
31227         * sysdeps/sh/crtn.S: Likewise.
31228         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31230         [BZ #13673]
31231         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
31232         with URL.
31233         * locale/programs/locfile-kw.gperf: Likewise.
31234         * locale/programs/charmap-kw.h: Regenerated.
31235         * locale/programs/locfile-kw.h: Likewise.
31237         [BZ #13673]
31238         * intl/plural.y: Replace FSF snail mail address with URL.
31239         * intl/plural.c: Regenerated.
31241 2012-03-09  Richard Henderson  <rth@twiddle.net>
31243         * include/math_private.h: Remove file.
31244         * math/math_private.h: Move file ...
31245         * sysdeps/generic/math_private.h: ... here.
31247         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
31248         * sysdeps/powerpc/fpu/math_private.h: Likewise.
31249         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31251         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
31252         and <math_private.h>.
31253         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31254         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31255         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31256         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31257         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31258         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
31259         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31260         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31261         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31262         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31264         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31265         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31266         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31267         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31268         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31269         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31270         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31271         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31274         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31275         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31277         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31278         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31279         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31280         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31281         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31283         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31284         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31285         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31286         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31287         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31288         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31289         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31290         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31291         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31292         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31293         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
31294         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31295         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31296         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31297         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31298         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31299         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
31300         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31301         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31302         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31303         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31304         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
31305         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31306         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31307         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31308         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31309         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31310         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31311         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31312         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
31313         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31314         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31316         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31317         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
31318         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31319         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31320         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31321         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
31322         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
31323         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31324         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31325         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31326         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31327         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
31328         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
31329         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
31330         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
31332         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
31333         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31334         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
31335         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31336         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31337         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31338         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
31340         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
31341         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31342         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31343         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31344         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31345         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31346         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31347         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31348         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31349         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31350         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31351         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31352         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31353         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31354         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31355         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31356         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31357         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31358         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31359         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31360         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31361         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31362         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31363         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31364         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31365         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31366         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31367         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
31368         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31369         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31370         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31371         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31372         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31373         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31374         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31375         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31376         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31377         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31378         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31379         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31380         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31381         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31382         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31383         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31384         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31385         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31386         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31387         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31388         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31389         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31390         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31391         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31392         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31393         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31394         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31395         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31396         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31397         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31398         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31399         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31400         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31401         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31402         * sysdeps/ieee754/k_standard.c: Likewise.
31403         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31404         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31405         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31406         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31407         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31408         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31409         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31410         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31415         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31416         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31417         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31418         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31419         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31420         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31421         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31422         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31423         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31424         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31425         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31426         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31427         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31428         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31429         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31430         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31431         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31432         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31433         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31434         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31435         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31436         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31437         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31438         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31439         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31440         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31441         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31442         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31443         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31444         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31445         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31446         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31447         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31448         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31449         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31450         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31451         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31452         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31453         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31454         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31455         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31456         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31457         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31458         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31459         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31460         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31461         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31462         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31463         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31464         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31465         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31468         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31469         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31471         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31472         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31473         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31475         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31476         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31477         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31479         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31480         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31482         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31483         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31484         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31485         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31486         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31487         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31488         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31489         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31490         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31491         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31493         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31494         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31495         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31496         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31499         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31500         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31501         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31502         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31506         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31507         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31508         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31509         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31510         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31514         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31515         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31516         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31517         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31518         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31519         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31520         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31521         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31522         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31523         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31524         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31525         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31526         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31527         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31528         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31529         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31530         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31531         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31532         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31533         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31534         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31535         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31536         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31537         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31538         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31539         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31540         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31541         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31542         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31543         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31544         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31545         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31546         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31547         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31548         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31549         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31550         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31551         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31552         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31553         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31554         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31555         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31556         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31557         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31558         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31559         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31560         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31561         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31562         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31563         * sysdeps/ieee754/s_lib_version.c: Likewise.
31564         * sysdeps/ieee754/s_matherr.c: Likewise.
31565         * sysdeps/ieee754/s_signgam.c: Likewise.
31566         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31567         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31568         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31569         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31570         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31571         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31572         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31573         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31574         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31575         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31576         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31577         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31578         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31579         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31580         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31581         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31582         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31583         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31584         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31588 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31590         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31591         * sunrpc/rpc_main.c: Likewise.
31592         * sunrpc/rpc_svcout.c: Likewise.
31594 2012-03-09  David S. Miller  <davem@davemloft.net>
31596         * include/math_private.h: New file.
31598 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31600         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31601         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31602         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31603         from <bits/socket_type.h>.
31604         (enum __socket_type): Don't define here.
31605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31607         bits/socket_type.h.
31609         [BZ #13566]
31610         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31611         checking __USE_GNU.
31613         * Makerules ($(inst_includedir)/%.h): New rule.
31614         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31615         (install-others): Remove variable setting.
31616         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31618 2012-03-08  Richard Henderson  <rth@twiddle.net>
31620         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31621         from macro to inline function; merge with the
31622         !__LIBC_INTERNAL_MATH_INLINES version.
31623         (__ieee754_sqrtf): Likewise.
31625         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31626         to inline function.
31627         (__rintf, __floor, __floorf): Likewise.
31629         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31630         macro to inline function.
31631         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31633         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31634         not <math/math_private.h>.
31636 2012-03-08  David S. Miller  <davem@davemloft.net>
31638         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31639         copyright year.
31640         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31642 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
31644         * resolv/gai_misc.c (handle_requests): Fix struct timespec
31645         normalization.
31646         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31647         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31649 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
31651         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
31652         be defined individually, they must be defined as a block.  Define
31653         S for printing a string instead of hidint the different by using a
31654         macro for adding the 'l'.
31655         * stdio-common/tst-fphex-wide.c: Adjust.
31657 2012-03-07  Marek Polacek  <polacek@redhat.com>
31659         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31661 2012-03-08  Marek Polacek  <polacek@redhat.com>
31663         [BZ #13806]
31664         * stdio-common/Makefile (tests): Add tst-fphex-wide.
31665         * stdio-common/tst-fphex.c: Define a few macros to make the
31666         test reusable.  Use them.
31667         * stdio-common/tst-fphex-wide.c: New file.
31669 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
31671         [BZ #6911]
31672         * manual/macros.texi (gnusystems): New macro.
31673         (nongnusystems): Likewise.
31674         (gnulinuxhurdsystems): Likewise.
31675         (gnuhurdsystems): Likewise..
31676         (gnulinuxsystems): Likewise.
31677         * manual/charset.texi: Use new macros or @theglibc{} to refer to
31678         variants of the GNU system, not "GNU system".
31679         * manual/conf.texi: Likewise.
31680         * manual/errno.texi: Likewise.  Update example of errno macro
31681         expansion.
31682         * manual/filesys.texi: Likewise.
31683         (getumask): Document as specific to GNU/Hurd.
31684         * manual/install.texi: Likewise.  Reword some references to
31685         GNU/Linux.
31686         * manual/intro.texi: Likewise.
31687         * manual/io.texi: Likewise.
31688         (File Name Portability): Detail which constraints are inapplicable
31689         to all GNU systems and which are only inapplicable to GNU/Hurd.
31690         * manual/job.texi: Likewise.
31691         * manual/llio.texi: Likewise.
31692         (O_NOCTTY): Document as present on GNU/Linux.
31693         * manual/maint.texi: Likewise.
31694         * manual/memory.texi: Likewise.
31695         * manual/pattern.texi: Likewise.
31696         * manual/pipe.texi: Likewise.
31697         * manual/process.texi: Likewise.
31698         * manual/resource.texi: Likewise.
31699         (RUSAGE_CHILDREN): Remove statement about specifying a particular
31700         child on GNU/Hurd.
31701         * manual/setjmp.texi: Likewise.
31702         * manual/signal.texi: Likewise.
31703         * manual/startup.texi: Likewise.
31704         * manual/stdio.texi: Likewise.
31705         * manual/terminal.texi: Likewise.
31706         (ONLCR): Document as POSIX.
31707         (OXTABS): Document availability on GNU/Linux as XTABS.
31708         (ONOEOT): Document availability separately from other bits.
31709         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31710         * manual/time.texi: Likewise.
31711         * manual/users.texi: Likewise.
31712         * INSTALL: Regenerated.
31713         * sysdeps/gnu/errlist.c: Regenerated.
31715         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31716         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31717         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
31718         puts.
31719         * configure: Regenerated.
31721 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
31723         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31724         default includes instead of AC_HEADER_CHECK.
31725         * sysdeps/i386/configure: Regenerated.
31727         [BZ #10716]
31728         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31729         * math/s_cacoshf.c (__cacoshf): Likewise.
31730         * math/s_cacoshl.c (__cacoshl): Likewise.
31731         * math/s_casinh.c (__casinh): Set signs of result from argument.
31732         * math/s_casinhf.c (__casinhf): Likewise.
31733         * math/s_casinhl.c (__casinhl): Likewise.
31734         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31735         (casinh_test): Add more tests.
31736         * sysdeps/i386/fpu/libm-test-ulps: Update.
31737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
31741         * po/zh_TW.po: Update from translation team.
31743         * login/Makefile (distribute): Remove variable.
31744         * catgets/Makefile: Likewise.
31745         * mach/Makefile: Likewise.
31746         * malloc/Makefile: Likewise.
31747         * misc/Makefile: Likewise.
31748         * iconv/Makefile: Likewise.
31749         * nscd/Makefile: Likewise.
31750         * hurd/Makefile: Likewise.
31751         * manual/Makefile: Likewise.
31752         * locale/Makefile: Likewise.
31753         * intl/Makefile: Likewise.
31754         * conform/Makefile: Likewise.
31755         * nss/Makefile: Likewise.
31756         * time/Makefile: Likewise.
31757         * soft-fp/Makefile: Likewise.
31758         * dirent/Makefile: Likewise.
31759         * gmon/Makefile: Likewise.
31760         * po/Makefile: Likewise.
31761         * rt/Makefile: Likewise.
31762         * socket/Makefile: Likewise.
31763         * math/Makefile: Likewise.
31764         * signal/Makefile: Likewise.
31765         * debug/Makefile: Likewise.
31766         * elf/Makefile: Likewise.
31767         * timezone/Makefile: Likewise.
31768         * stdlib/Makefile: Likewise.
31769         * iconvdata/Makefile: Likewise.
31770         * sunrpc/Makefile: Likewise.
31771         * io/Makefile: Likewise.
31772         * argp/Makefile: Likewise.
31773         * inet/Makefile: Likewise.
31774         * hesiod/Makefile: Likewise.
31775         * grp/Makefile: Likewise.
31776         * csu/Makefile: Likewise.
31777         * wctype/Makefile: Likewise.
31778         * crypt/Makefile: Likewise.
31779         * libio/Makefile: Likewise.
31780         * string/Makefile: Likewise.
31781         * nis/Makefile: Likewise.
31782         * resolv/Makefile: Likewise.
31783         * stdio-common/Makefile: Likewise.
31784         * wcsmbs/Makefile: Likewise.
31785         * dlfcn/Makefile: Likewise.
31786         * posix/Makefile: Likewise.
31788         [BZ #6959]
31789         * timezone/Makefile: Don't install timezone files, just the programs
31790         and scripts.
31792 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
31794         * nss/databases.def: Add missing gshadow entry.
31796         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
31798 2012-03-06  Marek Polacek  <polacek@redhat.com>
31800         [BZ #13726]
31801         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31802         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31803         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31804         * stdio-common/tst-long-dbl-fphex.c: New file.
31806 2012-03-06  David S. Miller  <davem@davemloft.net>
31808         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31809         (set_obp_int): New function.
31810         (get_obp_int): New function.
31811         (__get_clockfreq_via_dev_openprom): Likewise.
31812         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31813         Avoid unused variable warnings on 'val' and use builtin_expect.
31814         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31815         __builtin_expect.
31816         (INLINE_CLONE_SYSCALL): Likewise.
31818 2012-03-05  David S. Miller  <davem@davemloft.net>
31820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31822 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
31824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31826         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31827         only for |x| >= 40.
31828         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31830 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31832         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31833         Replace gettimeofday with __vdso_gettimeofday.
31835         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31836         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31837         __vdso_clock_gettime and __vdso_getcpu.
31839         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31840         time with __vdso_time.
31842 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
31844         * manual/lang.texi (size_t): Note types to which size_t may be
31845         equivalent with the GNU C Library, but do not describe when
31846         differences between them are significant.
31848 2012-03-05  Andreas Jaeger  <aj@suse.de>
31850         * sysdeps/i386/fpu/libm-test-ulps: Update.
31852 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
31854         [BZ #3976]
31855         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31856         (__ieee754_pow): Save and restore rounding mode and use
31857         round-to-nearest for main computations.
31858         * math/libm-test.inc (pow_test_tonearest): New function.
31859         (pow_test_towardzero): Likewise.
31860         (pow_test_downward): Likewise.
31861         (pow_test_upward): Likewise.
31862         (main): Call the new functions.
31863         * sysdeps/i386/fpu/libm-test-ulps: Update.
31864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31866         [BZ #3976]
31867         * math/libm-test.inc (cosh_test_tonearest): New function.
31868         (cosh_test_towardzero): Likewise.
31869         (cosh_test_downward): Likewise.
31870         (cosh_test_upward): Likewise.
31871         (sinh_test_tonearest): Likewise.
31872         (sinh_test_towardzero): Likewise.
31873         (sinh_test_downward): Likewise.
31874         (sinh_test_upward): Likewise.
31875         (main): Call the new functions.
31876         * sysdeps/i386/fpu/libm-test-ulps: Update.
31877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31879 2012-03-05  Tom de Vries  <tom@codesourcery.com>
31881         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31882         default stack guard is set in last bytes.
31883         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31885 2012-03-05  Kees Cook  <keescook@chromium.org>
31887         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31889         [BZ #13656]
31890         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31891         possibly allocate from heap instead of stack.
31892         * stdio-common/bug-vfprintf-nargs.c: New file.
31893         * stdio-common/Makefile (tests): Add nargs overflow test.
31895 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
31897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31899 2012-03-03  Marek Polacek  <polacek@redhat.com>
31901         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31902         * math/math_private.h: Likewise.
31903         * stdlib/tst-strtod.c: Likewise.
31904         * sysdeps/i386/i486/bits/atomic.h: Likewise.
31905         * sysdeps/x86_64/bits/atomic.h: Likewise.
31907 2012-03-02  David S. Miller  <davem@davemloft.net>
31909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31913         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31914         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31915         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31916         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31918 2012-03-02  Roland McGrath  <roland@hack.frob.com>
31920         [BZ #13792]
31921         * manual/examples/README: New file, says the example source files
31922         can be used under GPL>=2.
31923         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31924         line containing just "*/".
31925         * manual/examples/add.c: Add copyright header (GPL>=2).
31926         * manual/examples/argp-ex1.c: Likewise.
31927         * manual/examples/argp-ex2.c: Likewise.
31928         * manual/examples/argp-ex3.c: Likewise.
31929         * manual/examples/argp-ex4.c: Likewise.
31930         * manual/examples/atexit.c: Likewise.
31931         * manual/examples/db.c: Likewise.
31932         * manual/examples/dir.c: Likewise.
31933         * manual/examples/dir2.c: Likewise.
31934         * manual/examples/execinfo.c: Likewise.
31935         * manual/examples/filecli.c: Likewise.
31936         * manual/examples/filesrv.c: Likewise.
31937         * manual/examples/fmtmsgexpl.c: Likewise.
31938         * manual/examples/genpass.c: Likewise.
31939         * manual/examples/inetcli.c: Likewise.
31940         * manual/examples/inetsrv.c: Likewise.
31941         * manual/examples/isockad.c: Likewise.
31942         * manual/examples/longopt.c: Likewise.
31943         * manual/examples/memopen.c: Likewise.
31944         * manual/examples/memstrm.c: Likewise.
31945         * manual/examples/mkfsock.c: Likewise.
31946         * manual/examples/mkisock.c: Likewise.
31947         * manual/examples/mygetpass.c: Likewise.
31948         * manual/examples/pipe.c: Likewise.
31949         * manual/examples/popen.c: Likewise.
31950         * manual/examples/rprintf.c: Likewise.
31951         * manual/examples/search.c: Likewise.
31952         * manual/examples/select.c: Likewise.
31953         * manual/examples/setjmp.c: Likewise.
31954         * manual/examples/sigh1.c: Likewise.
31955         * manual/examples/sigusr.c: Likewise.
31956         * manual/examples/stpcpy.c: Likewise.
31957         * manual/examples/strdupa.c: Likewise.
31958         * manual/examples/strftim.c: Likewise.
31959         * manual/examples/strncat.c: Likewise.
31960         * manual/examples/subopt.c: Likewise.
31961         * manual/examples/swapcontext.c: Likewise.
31962         * manual/examples/termios.c: Likewise.
31963         * manual/examples/testopt.c: Likewise.
31964         * manual/examples/testpass.c: Likewise.
31965         * manual/examples/timeval_subtract.c: Likewise.
31967         [BZ #13792]
31968         * manual/time.texi (Elapsed Time): Move timeval_subtract example
31969         function to ...
31970         * manual/timeval_subtract.c.texi: ... here, new file.
31972 2012-03-02  David S. Miller  <davem@davemloft.net>
31974         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31976 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
31978         [BZ #3976]
31979         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31980         (__sin): Save and restore rounding mode and use round-to-nearest
31981         for all computations.
31982         (__cos): Save and restore rounding mode and use round-to-nearest
31983         for all computations.
31984         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31985         <fenv.h>.
31986         (tan): Save and restore rounding mode and use round-to-nearest for
31987         all computations.
31988         * math/libm-test.inc (cos_test_tonearest): New function.
31989         (cos_test_towardzero): Likewise.
31990         (cos_test_downward): Likewise.
31991         (cos_test_upward): Likewise.
31992         (sin_test_tonearest): Likewise.
31993         (sin_test_towardzero): Likewise.
31994         (sin_test_downward): Likewise.
31995         (sin_test_upward): Likewise.
31996         (tan_test_tonearest): Likewise.
31997         (tan_test_towardzero): Likewise.
31998         (tan_test_downward): Likewise.
31999         (tan_test_upward): Likewise.
32000         (main): Call the new functions.
32001         * sysdeps/i386/fpu/libm-test-ulps: Update.
32002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32004         [BZ #10135]
32005         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32006         small n, then large n, before computing and testing k+n.
32007         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32008         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
32009         Likewise.
32010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
32011         Likewise.
32012         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
32013         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
32014         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
32015         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
32016         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32017         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32018         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
32019         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
32020         * math/libm-test.inc (scalbn_test): Add more tests.
32021         (scalbln_test): Likewise.
32023         * manual/filesys.texi (mode_t): Describe constraints on size and
32024         signedness, not exact equivalence to a particular type.
32025         (ino_t): Likewise.
32026         (ino64_t): Likewise.
32027         (dev_t): Likewise.
32028         (nlink_t): Likewise.
32029         (blkcnt_t): Likewise.
32030         (blkcnt64_t): Likewise.
32031         * manual/llio.texi (off_t): Likewise.
32033         [BZ #3976]
32034         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
32035         (__ieee754_exp): Save and restore rounding mode and use
32036         round-to-nearest for all computations.
32037         * math/libm-test.inc (exp_test_tonearest): New function.
32038         (exp_test_towardzero): Likewise.
32039         (exp_test_downward): Likewise.
32040         (exp_test_upward): Likewise.
32041         (main): Call the new functions.
32042         * sysdeps/i386/fpu/libm-test-ulps: Update.
32043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32045 2012-03-01  Chris Demetriou  <cgd@google.com>
32047         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
32048         have predictable order.
32050 2012-03-01  David S. Miller  <davem@davemloft.net>
32052         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
32054         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
32055         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
32056         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
32057         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
32059         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
32060         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
32061         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
32062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
32063         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
32064         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
32065         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
32066         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
32067         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
32069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32071         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
32072         * sysdeps/sparc/fpu/libm-test-ulps: to here.
32073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
32075         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
32076         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32077         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32078         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
32079         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
32080         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
32081         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
32082         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32083         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32084         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
32085         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
32086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32089         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32091         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
32092         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
32093         * sysdeps/sparc/elf/configure: Regenerated.
32095 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
32097         * configure.in (AS, LD): Require binutils 2.20 or later.
32098         * configure: Regenerated.
32099         * manual/install.texi (Tools for Compilation): Give binutils 2.20
32100         as required minimum version.
32101         * INSTALL: Regenerated.
32103         [BZ #2541]
32104         [BZ #4108]
32105         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
32106         before squaring exponent.
32107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
32108         bottom long double and 27 bits of top long double before squaring
32109         exponent.
32110         * math/libm-test.inc (erfc_test): Add more tests.
32111         * sysdeps/i386/fpu/libm-test-ulps: Update.
32112         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32115 2012-03-01  Kai Tietz  <ktietz@redhat.com>
32117         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
32118         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
32119         containing bit-fields.
32120         * soft-fp/extended.h (_FP_UNION_E): Likewise.
32121         * soft-fp/single.h (_FP_UNION_S): Likewise.
32122         * soft-fp/double.h (_FP_UNION_D): Likewise.
32124 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32126         [BZ #13786]
32127         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
32128         not include ../strcmp.S.
32129         [USE_AS_STRNCASECMP_L]: Likewise.
32130         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
32131         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
32132         * sysdeps/i386/i686/multiarch/strncase_l-c.c
32133         (__strncasecmp_l_ia32): Define as alias to
32134         __strncasecmp_l_nonascii.
32136         [BZ #5794]
32137         * math/libm-test.inc (expm1_test): Add test for bug 5794.
32138         * sysdeps/i386/fpu/libm-test-ulps: Update.
32139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32141         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
32142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32144 2012-02-29  Jeff Law  <law@redhat.com>
32146         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
32147         out of bounds read.
32149 2012-02-29  Marek Polacek  <polacek@redhat.com>
32151         [BZ #13706]
32152         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
32153         * elf/Makefile: Add rules to run tst-unused-dep.out.
32155 2012-02-28  David S. Miller  <davem@davemloft.net>
32157         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
32158         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
32159         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
32160         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
32161         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
32162         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
32164 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32166         * math/libm-test.inc (llround_test): Move one test from
32167         lround_test.  Use TEST_f_L in moved test.
32168         (lround_test): Move misplaced test to llround_test.  Add testcase
32169         from bug 2561.
32171 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
32173         * sysdeps/x86_64/fpu/e_expf.S: New file.
32174         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
32176 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
32178         [BZ #13637]
32179         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
32180         of remain_len that may cause incomplete multi-byte character and
32181         false match.
32182         * posix/bug-regex33.c: New file.
32183         * posix/Makefile (tests): Add bug-regex33.
32185 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
32187         * manual/macros.texi: New file.
32188         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
32189         * manual/libc.texinfo: Include macros.texi.
32190         * manual/creatute.texi: Likewise.
32191         * manual/install.texi: Likewise.
32192         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
32193         @glibcadj{} in references to the GNU C Library.
32194         * manual/charset.texi: Likewise.
32195         * manual/conf.texi: Likewise.
32196         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
32197         when not using those macros.
32198         * manual/creature.texi: Likewise.
32199         * manual/crypt.texi: Likewise.
32200         * manual/errno.texi: Likewise.
32201         * manual/filesys.texi: Likewise.
32202         * manual/header.texi: Likewise.
32203         * manual/install.texi: Likewise.
32204         * manual/intro.texi: Likewise.
32205         * manual/io.texi: Likewise.
32206         * manual/job.texi: Likewise.
32207         * manual/lang.texi: Likewise.
32208         * manual/libc.texiinfo: Likewise.
32209         * manual/llio.texi: Likewise.
32210         * manual/locale.texi: Likewise.
32211         * manual/maint.texi: Likewise.
32212         * manual/math.texi: Likewise.
32213         * manual/memory.texi: Likewise.
32214         * manual/message.texi: Likewise.
32215         * manual/nss.texi: Likewise.
32216         * manual/pattern.texi: Likewise.
32217         * manual/process.texi: Likewise.
32218         * manual/resource.texi: Likewise.
32219         * manual/search.texi: Likewise.
32220         * manual/setjmp.texi: Likewise.
32221         * manual/signal.texi: Likewise.
32222         * manual/socket.texi: Likewise.
32223         * manual/startup.texi: Likewise.
32224         * manual/stdio.texi: Likewise.
32225         * manual/string.texi: Likewise.
32226         * manual/sysinfo.texi: Likewise.
32227         * manual/syslog.texi: Likewise.
32228         * manual/terminal.texi: Likewise.
32229         * manual/time.texi: Likewise.
32230         * manual/users.texi: Likewise.
32231         * INSTALL: Regenerated.
32232         * NOTES: Regenerated.
32233         * sysdeps/gnu/errlist.c: Regenerated.
32235 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
32237         * include/dirent.h: Include <dirstream.h> before
32238         <dirent/dirent.h>.
32240 2012-02-28  David S. Miller  <davem@davemloft.net>
32242         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
32243         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
32244         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
32245         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
32247 2012-02-27  David S. Miller  <davem@davemloft.net>
32249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
32250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
32251         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
32252         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
32254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
32255         frame pointer instead of stack pointer relative arg slot.
32256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32257         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32258         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32260 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
32262         [BZ #3992]
32263         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
32265 2012-02-27  David S. Miller  <davem@davemloft.net>
32267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
32268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
32271         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32272         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32273         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
32274         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
32276 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32278         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
32279         later.  Allow versions 5-9.
32280         * configure: Regenerated.
32281         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
32282         required minimum version and 4.6 as recommended version.  Do not
32283         mention bugs in GCC 2.7 and 2.8.
32284         * INSTALL: Regenerated.
32286 2012-02-27  David S. Miller  <davem@davemloft.net>
32288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
32289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
32290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
32291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
32292         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
32293         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
32294         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
32295         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
32297         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
32298         manipulate bits before adding and subtracting TWO112[sx].
32299         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32301 2012-02-27  Roland McGrath  <roland@hack.frob.com>
32303         [BZ #13775]
32304         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
32305         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
32306         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
32307         being in POSIX, because they are in 1003.1-2008.
32309         * rt/tst-aio.c: Include <fcntl.h>.
32310         * rt/tst-aio7.c: Likewise.
32311         * rt/tst-aio64.c: Likewise.
32313         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
32315 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32317         * manual/install.texi (--with-headers): Describe headers as
32318         interface headers, not private headers.
32319         (Specific advice for GNU/Linux systems): Describe use of headers
32320         from "make headers_install", not private headers from older
32321         kernels.
32322         * INSTALL: Regenerated.
32323         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
32324         Change to 2.6.19.
32325         * sysdeps/unix/sysv/linux/configure: Regenerated.
32327         * manual/llio.texi (fclean): Remove documentation.
32329         * manual/Makefile (libc-texi-generated): New variable.  Include
32330         version.texi.
32331         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
32332         $(libc-texi-generated), not duplicated list of files.
32333         (version.texi, stamp-version): New rules.
32334         (realclean): Remove $(libc-texi-generated), not individual files
32335         from that list.  Do not remove dir-add.texinfo.
32336         * manual/libc.texinfo: Comment out uses of edition numbers and
32337         references to printed manual.  Remove last-updated dates.
32338         (EDITION): Comment out.
32339         (ISBN): Likewise.
32340         (VERSION, UPDATED): Remove.
32341         (version.texi): Include.
32343 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
32345         * sysdeps/posix/spawni.c: Include <signal.h>.
32346         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
32347         * sysdeps/pthread/aio_fsync.c: Likewise.
32349 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
32351         * conform/Makefile (tests): Run only when not cross-compiling and
32352         when fast-check is not defined.
32354         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
32355         * conform/data/limits.h-data: Fixes for POSIX2008.
32356         * conform/run-conformtest.sh: Run all tests.
32357         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
32358         headers.
32359         * include/bits/dlfcn.h: Likewise.
32360         * include/langinfo.h: Likewise.
32361         * include/monetary.h: Likewise.
32362         * include/sys/poll.h: Likewise.
32364         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
32365         for __USE_GNU.
32366         * posix/spawn.h: Define __need_sigset_t.
32367         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
32368         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32369         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
32370         to get sigevent_t only.
32371         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32372         only for __USE_GNU.
32373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32374         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32375         process_vm_writev only for __USE_GNU.
32376         * termios/termios.h: Declare tcgetsid also for POSIX2008.
32378         * conform/Makefile: For now ignore errors from run-conformtest.
32379         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
32380         POSIX to avoid namespace pollution.  Don't prepend headers.
32381         * conform/data/aio.h-data: Fixes for POSIX testing.
32382         * conform/data/fcntl.h-data: Likewise.
32383         * conform/data/glob.h-data: Likewise.
32384         * conform/data/grp.h-data: Likewise.
32385         * conform/data/pthread.h-data: Likewise.
32386         * conform/data/pwd.h-data: Likewise.
32387         * conform/data/signal.h-data: Likewise.
32388         * conform/data/spawn.h-data: Likewise.
32389         * conform/data/stdio.h-data: Likewise.
32390         * conform/data/stdlib.h-data: Likewise.
32391         * conform/data/stropts.h-data: Likewise.
32392         * conform/data/sys/mman.h-data: Likewise.
32393         * conform/data/sys/stat.h-data: Likewise.
32394         * conform/data/sys/types.h-data: Likewise.
32395         * conform/data/sys/wait.h-data: Likewise.
32396         * conform/data/time.h-data: Likewise.
32397         * conform/data/unistd.h-data: Likewise.
32398         * conform/data/utime.h-data: Likewise.
32400         * io/sys/stat.h: fchmod was always in POSIX.
32401         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32402         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32403         * rt/aio.h: Define __need_timespec before including <time.h>.
32404         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32405         struct.  Add forward declaration of pthread_attr_t and use it in
32406         sigevent.
32407         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32409         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32410         always remove CLK_TCK definition.
32412 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
32414         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32416 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
32418         * conform/run-conformtest.sh: New file.
32419         * conform/Makefile: Run run-conformtest for tests.
32420         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
32421         support.
32423         * conform/data/uchar.h-data: New file.
32424         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32425         * conform/data/arpa/inet.h-data: Likewise.
32426         * conform/data/assert.h-data: Likewise.
32427         * conform/data/complex.h-data: Likewise.
32428         * conform/data/cpio.h-data: Likewise.
32429         * conform/data/ctype.h-data: Likewise.
32430         * conform/data/dirent.h-data: Likewise.
32431         * conform/data/dlfcn.h-data: Likewise.
32432         * conform/data/errno.h-data: Likewise.
32433         * conform/data/fcntl.h-data: Likewise.
32434         * conform/data/float.h-data: Likewise.
32435         * conform/data/fmtmsg.h-data: Likewise.
32436         * conform/data/fnmatch.h-data: Likewise.
32437         * conform/data/ftw.h-data: Likewise.
32438         * conform/data/glob.h-data: Likewise.
32439         * conform/data/grp.h-data: Likewise.
32440         * conform/data/iconv.h-data: Likewise.
32441         * conform/data/inttypes.h-data: Likewise.
32442         * conform/data/langinfo.h-data: Likewise.
32443         * conform/data/libgen.h-data: Likewise.
32444         * conform/data/limits.h-data: Likewise.
32445         * conform/data/locale.h-data: Likewise.
32446         * conform/data/math.h-data: Likewise.
32447         * conform/data/monetary.h-data: Likewise.
32448         * conform/data/mqueue.h-data: Likewise.
32449         * conform/data/ndbm.h-data: Likewise.
32450         * conform/data/net/if.h-data: Likewise.
32451         * conform/data/netdb.h-data: Likewise.
32452         * conform/data/netinet/in.h-data: Likewise.
32453         * conform/data/nl_types.h-data: Likewise.
32454         * conform/data/poll.h-data: Likewise.
32455         * conform/data/pthread.h-data: Likewise.
32456         * conform/data/pwd.h-data: Likewise.
32457         * conform/data/regex.h-data: Likewise.
32458         * conform/data/sched.h-data: Likewise.
32459         * conform/data/search.h-data: Likewise.
32460         * conform/data/semaphore.h-data: Likewise.
32461         * conform/data/setjmp.h-data: Likewise.
32462         * conform/data/signal.h-data: Likewise.
32463         * conform/data/spawn.h-data: Likewise.
32464         * conform/data/stdarg.h-data: Likewise.
32465         * conform/data/stdio.h-data: Likewise.
32466         * conform/data/stdlib.h-data: Likewise.
32467         * conform/data/string.h-data: Likewise.
32468         * conform/data/strings.h-data: Likewise.
32469         * conform/data/stropts.h-data: Likewise.
32470         * conform/data/sys/ipc.h-data: Likewise.
32471         * conform/data/sys/mman.h-data: Likewise.
32472         * conform/data/sys/msg.h-data: Likewise.
32473         * conform/data/sys/resource.h-data: Likewise.
32474         * conform/data/sys/select.h-data: Likewise.
32475         * conform/data/sys/sem.h-data: Likewise.
32476         * conform/data/sys/shm.h-data: Likewise.
32477         * conform/data/sys/socket.h-data: Likewise.
32478         * conform/data/sys/stat.h-data: Likewise.
32479         * conform/data/sys/statvfs.h-data: Likewise.
32480         * conform/data/sys/time.h-data: Likewise.
32481         * conform/data/sys/timeb.h-data: Likewise.
32482         * conform/data/sys/times.h-data: Likewise.
32483         * conform/data/sys/types.h-data: Likewise.
32484         * conform/data/sys/uio.h-data: Likewise.
32485         * conform/data/sys/un.h-data: Likewise.
32486         * conform/data/sys/utsname.h-data: Likewise.
32487         * conform/data/sys/wait.h-data: Likewise.
32488         * conform/data/syslog.h-data: Likewise.
32489         * conform/data/tar.h-data: Likewise.
32490         * conform/data/termios.h-data: Likewise.
32491         * conform/data/utime.h-data: Likewise.
32492         * conform/data/utmpx.h-data: Likewise.
32493         * conform/data/varargs.h-data: Likewise.
32494         * conform/data/wchar.h-data: Likewise.
32495         * conform/data/wctype.h-data: Likewise.
32496         * conform/data/wordexp.h-data: Likewise.
32498         * include/stropts.h: New file.
32499         * include/uchar.h: New file.
32500         * include/aio.h: Changes to allow conformtest.pl to use the headers.
32501         * include/assert.h: Likewise.
32502         * include/ctype.h: Likewise.
32503         * include/dirent.h: Likewise.
32504         * include/dlfcn.h: Likewise.
32505         * include/fcntl.h: Likewise.
32506         * include/fnmatch.h: Likewise.
32507         * include/glob.h: Likewise.
32508         * include/grp.h: Likewise.
32509         * include/libio.h: Likewise.
32510         * include/locale.h: Likewise.
32511         * include/math.h: Likewise.
32512         * include/net/if.h: Likewise.
32513         * include/netdb.h: Likewise.
32514         * include/netinet/in.h: Likewise.
32515         * include/pthread.h: Likewise.
32516         * include/pwd.h: Likewise.
32517         * include/regex.h: Likewise.
32518         * include/sched.h: Likewise.
32519         * include/search.h: Likewise.
32520         * include/setjmp.h: Likewise.
32521         * include/signal.h: Likewise.
32522         * include/stdio.h: Likewise.
32523         * include/stdlib.h: Likewise.
32524         * include/string.h: Likewise.
32525         * include/sys/cdefs.h: Likewise.
32526         * include/sys/mman.h: Likewise.
32527         * include/sys/msg.h: Likewise.
32528         * include/sys/resource.h: Likewise.
32529         * include/sys/select.h: Likewise.
32530         * include/sys/socket.h: Likewise.
32531         * include/sys/stat.h: Likewise.
32532         * include/sys/statvfs.h: Likewise.
32533         * include/sys/time.h: Likewise.
32534         * include/sys/times.h: Likewise.
32535         * include/sys/uio.h: Likewise.
32536         * include/sys/utsname.h: Likewise.
32537         * include/sys/wait.h: Likewise.
32538         * include/termios.h: Likewise.
32539         * include/time.h: Likewise.
32540         * include/ulimit.h: Likewise.
32541         * include/unistd.h: Likewise.
32542         * include/utime.h: Likewise.
32543         * include/wchar.h: Likewise.
32544         * include/wctype.h: Likewise.
32545         * include/wordexp.h: Likewise.
32547         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32549         * time/time.h: TIME_UTC must be a macro.
32550         Make timespec_get available for ISO C11 only as well.
32552 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
32554         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32555         Reported by Peng Haitao <penght@cn.fujitsu.com>.
32557 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32559         * configure.in: Use -o not -a in test for unsupported multi-arch.
32561 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32563         * manual/texinfo.tex: Update to version 2012-01-19.16.
32565 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32567         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32569 2012-02-24  Roland McGrath  <roland@hack.frob.com>
32571         [BZ #13738]
32572         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32573         * manual/fdl-1.3.texi: New file.
32574         * manual/fdl-1.1.texi: File removed.
32576         [BZ #13738]
32577         * manual/libc.texinfo (FDL_VERSION): New @set.
32578         Use it for mention of FDL in cover text.
32579         (Documentation License): Use it in @include file name.
32581 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32582             Roland McGrath  <roland@hack.frob.com>
32584         [BZ #5461]
32585         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32586         not LONG_LONG_MAX and LONG_LONG_MIN.
32587         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32588         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
32589         name.
32590         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32594         [BZ #2547]
32595         [BZ #11365]
32596         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32597         manipulate bits before adding and subtracting TWO23[sx].
32598         * math/libm-test.inc (nearbyint_test): Add more tests.
32600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32602         [BZ #2548]
32603         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32604         bits before adding and subtracting TWO23[sx].
32605         * math/libm-test.inc (rint_test): Add more tests.
32606         (rint_test_tonearest): Likewise.
32607         (rint_test_towardzero): Likewise.
32608         (rint_test_downward): Likewise.
32609         (rint_test_upward: Likewise.
32611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32613         [BZ #10110]
32614         * include/stdc-predef.h: New file.  Extracted from features.h.
32615         * include/features.h: Include stdc-predef.h.
32616         * Makefile (headers): Add stdc-predef.h.
32617         * CONFORMANCE (Compiler limitations): Update.
32619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32621         * manual/libc.texinfo (VERSION, UPDATED): Revert.
32623 2012-02-21  David S. Miller  <davem@davemloft.net>
32625         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32626         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32628 2012-02-20  David S. Miller  <davem@davemloft.net>
32630         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32631         using a normal save/restore sequence, rather than allocating a
32632         dummy stack frame just to store a frame pointer and restore.
32633         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32635 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
32637         * manual/install.texi: Fix stray word in line-wrapped comment.
32639 2012-02-20  David S. Miller  <davem@davemloft.net>
32641         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32642         both binutils and gcc support GOTDATA.
32644         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32645         "rd %pc" in the PIC register setup sequences.
32647         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32648         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32649         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32650         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32651         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32652         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32653         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32654         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32656         (SYSCALL_ERROR_HANDLER): Likewise.
32657         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32658         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32660         (SYSCALL_ERROR_HANDLER): Likewise.
32662         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32663         (HAVE_GCC_GOTDATA): New.
32664         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32665         relocation support in both binutils and gcc.
32666         * sysdeps/sparc/elf/configure: Regenerate.
32668         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32669         * sysdeps/sparc/sparc32/elf/configure: Delete.
32670         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32671         * sysdeps/sparc/sparc64/elf/configure: Delete.
32672         * sysdeps/sparc/elf/configure.in: New file.
32673         * sysdeps/sparc/elf/configure: Generate.
32675         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32676         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32677         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32678         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32679         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32681 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
32683         * manual/install.texi: Do not mention specific glibc version
32684         numbers.
32685         * manual/libc.texinfo (VERSION, UPDATED): Update.
32686         (@copying): Use @copyright{} and range of years.
32688 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
32690         [BZ #13695]
32691         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32692         [crti.S not in sysdirs] (generated): Do not append.
32693         [crti.S not in sysdirs] (omit-deps): Likewise.
32694         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32695         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32696         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32697         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32698         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32699         Likewise.
32700         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32701         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32702         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32703         * csu/defs.awk: Remove file.
32704         * sysdeps/generic/initfini.c: Likewise.
32705         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32706         variable.
32707         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32708         Likewise.
32710 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32712         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32713         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32714         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32715         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32716         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32717         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32718         <bits/epoll.h>.
32719         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32720         (__EPOLL_PACKED): Define to empty if not defined by
32721         <bits/epoll.h>.
32722         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32724         bits/epoll.h.
32726 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32728         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32729         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32730         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32731         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32732         <bits/timerfd.h>.
32733         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32735         bits/timerfd.h.
32737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32739         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32740         in C locale.
32741         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32742         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32743         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32746 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
32748         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32749         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32751 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
32753         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32754         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32755         defined.
32756         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32757         Likewise.
32758         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32759         entry for 2.16.
32761 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
32763         * math/w_acos.c: Use non-signaling floating-point comparisons.
32764         * math/w_acosf.c: Likewise.
32765         * math/w_acosh.c: Likewise.
32766         * math/w_acoshf.c: Likewise.
32767         * math/w_acoshl.c: Likewise.
32768         * math/w_acosl.c: Likewise.
32769         * math/w_asin.c: Likewise.
32770         * math/w_asinf.c: Likewise.
32771         * math/w_asinl.c: Likewise.
32772         * math/w_atanh.c: Likewise.
32773         * math/w_atanhf.c: Likewise.
32774         * math/w_atanhl.c: Likewise.
32775         * math/w_exp2.c: Likewise.
32776         * math/w_exp2f.c: Likewise.
32777         * math/w_exp2l.c: Likewise.
32778         * math/w_j0.c: Likewise.
32779         * math/w_j0f.c: Likewise.
32780         * math/w_j0l.c: Likewise.
32781         * math/w_j1.c: Likewise.
32782         * math/w_j1f.c: Likewise.
32783         * math/w_j1l.c: Likewise.
32784         * math/w_jn.c: Likewise.
32785         * math/w_jnf.c: Likewise.
32786         * math/w_log.c: Likewise.
32787         * math/w_log10.c: Likewise.
32788         * math/w_log10f.c: Likewise.
32789         * math/w_log10l.c: Likewise.
32790         * math/w_log2.c: Likewise.
32791         * math/w_log2f.c: Likewise.
32792         * math/w_log2l.c: Likewise.
32793         * math/w_logf.c: Likewise.
32794         * math/w_logl.c: Likewise.
32795         * math/w_sqrt.c: Likewise.
32796         * math/w_sqrtf.c: Likewise.
32797         * math/w_sqrtl.c: Likewise.
32798         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32799         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32800         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32801         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32802         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32804 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32806         [BZ #9739]
32807         * manual/string.texi (strnlen): Use correct parameter name in
32808         equivalent expression.
32810 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32812         [BZ #11174]
32813         * manual/users.texi (seteuid): Consistently use neweuid for
32814         argument name.
32816 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32818         [BZ #13704]
32819         * manual/nss.texi (Services in the NSS configuration): Correct
32820         list of services in example configuration file.
32822 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
32824         [BZ #11322]
32825         * manual/arith.texi: Remove statements about negative zero
32826         behaving identically to zero.
32828 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
32830         [BZ #5993]
32831         * manual/install.texi: Do not document upgrading from libc5.
32833 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
32835         [BZ #4596]
32836         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32838 2012-02-18  David S. Miller  <davem@davemloft.net>
32840         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32841         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32842         %o7 across the call.
32843         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32844         instead.
32845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32846         SETUP_PIC_REG_LEAF.
32847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32848         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32849         * sysdeps/sparc/crtn.S: Likewise.
32851 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
32853         * aout/Makefile: Remove.
32855 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
32857         [BZ #13058]
32858         * manual/examples/argp-ex1.c (main): Format definition in GNU
32859         style.
32860         * manual/examples/argp-ex2.c (main): Likewise.
32861         * manual/examples/argp-ex3.c (main): Likewise.
32862         * manual/examples/argp-ex4.c (main): Likewise.
32863         * manual/examples/longopt.c (main): Use new-style prototype
32864         definition.
32865         * manual/examples/strncat.c (main): Specify return type and use
32866         (void) for arguments.
32867         * manual/examples/subopt.c (main): Use char **argv argument.
32869 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32871         [BZ #5077]
32872         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32873         rounding modes.
32875 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
32877         [BZ #6907]
32878         * manual/string.texi (strchr): Change when strchrnul is
32879         recommended.
32881 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
32883         [BZ #174]
32884         * manual/locale.texi (setlocale): Document LOCPATH.
32886 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32888         [BZ #10210]
32889         * manual/process.texi (execle): Move @dots{} before last argument.
32891 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
32893         [BZ #12047]
32894         * manual/charset.texi (Generic Charset Conversion): Fix typo
32895         (LC_TYPE -> LC_CTYPE).
32897 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
32899         [BZ #5805]
32900         * manual/arith.texi (scalbn): Use @var{} on parameter names.
32901         (scalbnf): Likewise.
32902         (scalbnl): Likewise.
32903         (scalbln): Likewise.
32904         (scalblnf): Likewise.
32905         (scalblnl): Likewise.
32906         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32907         (vwarnx): Likewise.
32908         (verr): Likewise.
32909         (verrx): Likewise.
32910         * manual/filesys.texi (telldir): Use braces around return type.
32911         * manual/llio.texi (mmap): Add space after comma.
32912         (mmap64): Likewise.
32913         * manual/math.texi (jn): Use @var{} on parameter names.
32914         (jnf): Likewise.
32915         (jnl): Likewise.
32916         (yn): Likewise.
32917         (ynf): Likewise.
32918         (ynl): Likewise.
32919         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32920         line.
32921         * manual/resource.texi (ulimit): Use @dots{} instead of literal
32922         "...".
32923         (sched_get_priority_min): Remove semicolon on @deftypefun line.
32924         (sched_get_priority_max): Likewise.
32925         * manual/signal.texi (sigvec): Add space after comma.
32926         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32927         names.
32928         (if_indextoname): Likewise.
32929         (if_freenameindex): Likewise.
32930         (sendto): Use ',' instead of '.' in prototype.
32931         * manual/startup.texi (syscall): Use @dots{} instead of literal
32932         "...".
32933         * manual/stdio.texi (__fpending): Separate initial words of
32934         paragraph from @deftypefun line.
32935         * manual/syslog.texi (syslog): Use @dots{} instead of literal
32936         "...".
32937         (vsyslog): Use @var{} on parameter names.
32938         * manual/terminal.texi (stty): Use @var{} on parameter names.
32939         * manual/users.texi (getutmp): Use @var{} on parameter names.
32940         (getutmpx): Likewise.
32942 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32944         [BZ #6884]
32945         * manual/stdio.texi (fopen): Fix typos in description of
32946         ",ccs=STRING".
32948 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
32950         [BZ #4026]
32951         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32952         get clock_id definition.
32954 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
32956         [BZ #4822]
32957         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32958         (madvise): Cast every argument to void on its own.
32960 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32962         [BZ #9902]
32963         * manual/startup.texi (Exit Status): Fix typo.
32965 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32967         [BZ #10140]
32968         * manual/examples/argp-ex1.c: Include <stdlib.h>.
32969         * manual/examples/argp-ex2.c: Likewise.
32970         * manual/examples/argp-ex3.c: Likewise.
32972 2012-02-16  Richard Henderson  <rth@redhat.com>
32974         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32975         * sysdeps/s390/s390-32/initfini.c: Remove.
32976         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32977         * sysdeps/s390/s390-64/initfini.c: Remove.
32979 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32981         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32982         compiler output for sysdeps/generic/initfini.c.
32983         * sysdeps/sh/elf/initfini.c: Remove file.
32985 2012-02-16  David S. Miller  <davem@davemloft.net>
32987         [BZ #11494]
32988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32990         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32991         * sysdeps/sparc/crti.S: New file.
32992         * sysdeps/sparc/crtn.S: New file.
32993         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32994         * sysdeps/sparc/sparc64/Makefile: Likewise.
32996 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
32998         [BZ #3335]
32999         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33001 2012-02-15  Roland McGrath  <roland@hack.frob.com>
33003         [BZ #4822]
33004         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33006         * mach/devstream.c (cookie_io_functions_t): Macro removed.
33007         (write, read, close): Likewise.
33008         Patch by Aurelien Jarno <aurelien@aurel32.net>.
33010 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
33012         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
33013         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
33014         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
33015         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
33016         <bits/signalfd.h>.
33017         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
33018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33019         bits/signalfd.h.
33021 2012-02-14  Marek Polacek  <polacek@redhat.com>
33023         * sysdeps/x86_64/crti.S: New file.
33024         * sysdeps/x86_64/crtn.S: New file.
33025         * sysdeps/x86_64/elf/initfini.c: Remove file.
33027 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33029         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
33030         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
33031         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
33032         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
33033         <bits/inotify.h>.
33034         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
33035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33036         bits/inotify.h.
33038 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33040         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
33041         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
33042         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
33043         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
33044         <bits/eventfd.h>.
33045         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
33046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33047         bits/eventfd.h.
33049 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
33051         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
33052         __feraiseexcept instead of feraiseexcept.
33054         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
33055         nanosleep invocations.
33056         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
33057         strings, and add error checking for a nanosleep invocations.
33059 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
33061         Replace FSF snail mail address with URLs, as per GNU coding standards.
33062         Most of the snail mail addresses were wrong anyway, and omitting
33063         them makes the source code easier to maintain.  Almost all of the
33064         changes are to license notices and to locale LC_IDENTIFICATION
33065         addresses, except for this one:
33066         * manual/libc.texinfo: In "Published by", give the FSF's URL,
33067         not its snail mail address.
33069 2012-02-09  Richard Henderson  <rth@twiddle.net>
33071         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
33072         of kernel-features.h.
33074         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
33076 2012-02-08  Marek Polacek  <polacek@redhat.com>
33078         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
33079         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
33080         * sysdeps/gnu/_G_config.h: Likewise.
33081         * sysdeps/generic/_G_config.h: Likewise.
33083 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
33085         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
33086         tests.
33087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33089         * sysdeps/powerpc/powerpc32/crti.S: New file.
33090         * sysdeps/powerpc/powerpc32/crtn.S: New file.
33091         * sysdeps/powerpc/powerpc64/crti.S: New file.
33092         * sysdeps/powerpc/powerpc64/crtn.S: New file.
33094         * Makeconfig (have-initfini): Don't set.
33095         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
33096         * configure.in (nopic_initfini): Don't substitute.
33097         * config.h.in (HAVE_INITFINI): Don't #undef.
33098         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
33099         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
33101 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
33103         Support crti.S and crtn.S provided directly by architectures.
33104         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
33105         [crti.S in sysdirs] (omit-deps): Likewise.
33106         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
33107         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
33108         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
33109         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
33110         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
33111         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
33112         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
33113         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
33114         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
33115         compiler output for sysdeps/generic/initfini.c.
33116         * sysdeps/i386/elf/Makefile: Remove file.
33117         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
33119 2012-02-07  Marek Polacek  <polacek@redhat.com>
33121         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
33122         * sysdeps/gnu/_G_config.h: Likewise.
33123         * sysdeps/mach/hurd/_G_config.h: Likewise.
33125 2012-02-07  Marek Polacek  <polacek@redhat.com>
33127         * math/Makefile (tests): Add tst-CMPLX2.
33128         * math/tst-CMPLX2.c: New file.
33130 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
33132         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33134         * math/libm-test.inc (jn_test): Add missing L suffix.
33136 2012-02-06  Marek Polacek  <polacek@redhat.com>
33138         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
33139         * sysdeps/i386/fpu/e_powf.S: Likewise.
33140         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33141         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33142         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33143         * sysdeps/i386/fpu/e_pow.S: Likewise.
33144         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33145         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33146         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33147         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33148         * sysdeps/i386/fpu/e_log2.S: Likewise.
33149         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33150         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33151         * sysdeps/i386/fpu/e_powl.S: Likewise.
33152         * sysdeps/i386/fpu/s_log1p.S: Likewise.
33153         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33154         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33155         * sysdeps/i386/fpu/e_logl.S: Likewise.
33156         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33157         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
33158         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33159         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33160         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33161         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33162         * sysdeps/i386/fpu/e_log.S: Likewise.
33163         * sysdeps/i386/fpu/s_cexp.S: Likewise.
33164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33165         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
33166         * sysdeps/i386/fpu/e_logf.S: Likewise.
33167         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33168         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33169         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
33170         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33171         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33172         * sysdeps/i386/fpu/e_log10.S: Likewise.
33173         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33174         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33175         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33176         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33177         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33178         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33179         * sysdeps/i386/asm-syntax.h: Likewise.
33180         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33181         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33182         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33183         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
33184         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
33185         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33186         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33187         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33188         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33189         * sysdeps/powerpc/sysdep.h: Likewise.
33190         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
33191         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33193 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33195         [BZ #411]
33196         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
33198 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33200         * sysdeps/i386/sysdep.h: Include <features.h>.
33201         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
33202         version.
33204 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
33206         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
33207         Define.
33208         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
33209         LOAD_PIC_REG_STR.
33211 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33213         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
33214         (SETUP_PIC_REG): Use GET_PC_THUNK.
33215         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
33216         macro.
33218 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33220         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
33221         for non-PIC compilation.
33222         (SETUP_PIC_REG): Add .p2align directive.
33223         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
33224         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33225         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33226         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33227         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33228         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33229         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33230         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33231         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33232         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33233         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33234         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33235         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33236         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33237         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33238         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33239         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33240         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33241         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33242         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33243         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33244         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33245         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33246         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33249         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33250         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33251         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33252         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33253         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33254         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33255         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33256         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33257         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33258         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33259         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33260         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33261         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33262         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33263         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33265 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33267         * math/tst-CMPLX.c: Include <stdio.h>.
33269 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
33271         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
33272         float.
33273         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33274         * sysdeps/sparc/bits/mathdef.h: Likewise.
33276 2012-01-31  Marek Polacek  <polacek@redhat.com>
33278         * libio/libio.h: Don't define _PARAMS.
33279         * locale/programs/config.h: Don't define PARAMS.
33280         * stdlib/strtol_l.c: Likewise.
33281         (__strtol_l): Remove PARAMS from the prototype.
33283 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
33285         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
33286         names.  Just use the correct names.  Remove unnecessary wrapper
33287         functions.
33288         * malloc/arena.c: Likewise.
33289         * malloc/hooks.c: Likewise.
33291         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
33292         ARENA_TEST says not to.  Simplify test for creation of a new arena.
33293         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
33295 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
33297         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
33298         into tail calls.
33299         (update_get_addr): New function.
33300         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
33301         GET_ADDR_MODULE parameter.
33303 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33305         * crypt/cert.c: Remove __STDC__ conditionals.
33306         * crypt/crypt-entry.c: Likewise.
33307         * crypt/crypt_util.c: Likewise.
33308         * libio/filedoalloc.c: Likewise.
33309         * libio/fileops.c: Likewise.
33310         * libio/genops.c: Likewise.
33311         * libio/iofclose.c: Likewise.
33312         * libio/iofdopen.c: Likewise.
33313         * libio/iofopen.c: Likewise.
33314         * libio/iofopen64.c: Likewise.
33315         * libio/iogetdelim.c: Likewise.
33316         * libio/iopopen.c: Likewise.
33317         * libio/obprintf.c: Likewise.
33318         * libio/oldfileops.c: Likewise.
33319         * libio/oldiofclose.c: Likewise.
33320         * libio/oldiofdopen.c: Likewise.
33321         * libio/oldiofopen.c: Likewise.
33322         * libio/oldiopopen.c: Likewise.
33323         * libio/wfiledoalloc.c: Likewise.
33324         * libio/wgenops.c: Likewise.
33325         * locale/programs/xmalloc.c: Likewise.
33326         * misc/syslog.c: Likewise.
33327         * stdio-common/xbug.c: Likewise.
33328         * string/memchr.c: Likewise.
33329         * string/memcmp.c: Likewise.
33330         * string/memrchr.c: Likewise.
33331         * string/rawmemchr.c: Likewise.
33332         * sysdeps/posix/getcwd.c: Likewise.
33333         * time/strftime_l.c: Likewise.
33335 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33337         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
33338         * config.make.in (config-cflags-sse2avx): Define.
33339         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
33340         Fix typo.
33342 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
33344         * scripts/config.guess: Update from upstream config git repository.
33345         * scripts/config.sub: Likewise.
33347 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
33349         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
33350         (EM_NUM): Update.
33351         (R_TILEPRO_*, R_TILEGX_*): New macros.
33353         * scripts/firstversions.awk: Fix bug in version range handling.
33355         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
33357         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
33359         * include/sys/epoll.h: New file.
33360         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
33361         libc_hidden_def.
33363 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
33365         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
33366         Avoid unnecessary __WORDSIZE == 64 test.
33367         (fmaxf): Use VEX format if possible.
33368         (fmax): Likewise.
33369         (fminf): Likewise.
33370         (fmin): Likewise.
33372         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33373         * math/math_private.h: Remove libc_fegetround* and
33374         libc_fesetround*.
33375         * sysdeps/i386/configure.in: Check for -msse2avx.
33376         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33377         also if SSE2AVX is defined.
33378         Remove libc_fegetround* and libc_fesetround*.
33379         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33380         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
33381         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33382         of HAS_YMM_USABLE.
33383         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33384         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33385         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33386         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33387         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33389         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33391 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33393         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33394         size is not set.
33395         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33397 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
33399         [BZ #13618]
33400         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33401         relocation.
33402         * Makeconfig (libm): Define.
33403         * elf/Makefile: Add rules to build and run tst-relsort1.
33404         * elf/tst-relsort1.c: New file.
33405         * elf/tst-relsort1mod1.c: New file.
33406         * elf/tst-relsort1mod2.c: New file.
33408 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
33410         * math/s_ldexp.c: Remove __STDC__ conditionals.
33411         * math/s_ldexpf.c: Likewise.
33412         * math/s_ldexpl.c: Likewise.
33413         * math/s_nextafter.c: Likewise.
33414         * math/s_nexttowardf.c: Likewise.
33415         * math/s_significand.c: Likewise.
33416         * math/s_significandf.c: Likewise.
33417         * math/s_significandl.c: Likewise.
33418         * math/w_jnl.c: Likewise.
33419         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33420         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33421         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33422         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33423         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33425         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33426         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33428         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33429         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33430         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33431         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33432         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33433         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33434         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33435         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33436         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33438         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33439         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33440         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33441         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33442         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33443         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33444         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33445         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33446         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33447         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33448         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33449         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33450         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33451         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33452         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33453         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33454         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33455         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33456         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33457         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33458         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33459         * sysdeps/ieee754/k_standard.c: Likewise.
33460         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33461         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33462         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33463         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33464         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33465         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33467         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33468         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33469         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33470         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33471         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33472         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33473         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33474         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33475         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33476         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33477         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33478         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33479         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33480         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33481         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33482         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33483         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33484         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33485         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33486         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33489         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33490         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33491         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33492         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33493         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33495         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33496         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33499         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33500         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33502         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33503         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33505         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33506         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33509         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33510         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33511         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33512         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33513         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33514         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33515         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33516         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33517         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33518         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33519         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33520         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33521         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33522         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33523         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33524         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33525         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33526         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33527         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33528         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33529         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33530         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33531         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33532         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33535         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33536         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33537         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33538         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33539         * sysdeps/ieee754/s_matherr.c: Likewise.
33540         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33541         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33542         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33543         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33545 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33547         * crypt/md5.h: Remove __STDC__ conditionals.
33548         * libio/libioP.h: Likewise.
33549         * locale/programs/config.h: Likewise.
33550         * sysdeps/generic/sysdep.h: Likewise.
33551         * sysdeps/i386/asm-syntax.h: Likewise.
33552         * sysdeps/s390/asm-syntax.h: Likewise.
33553         * sysdeps/unix/sysdep.h: Likewise.
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33557 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33559         * libio/libio.h: Remove __STDC__ conditionals.
33560         * malloc/obstack.h: Likewise.
33561         * math/complex.h: Likewise.
33562         * math/math.h: Likewise.
33563         * sysdeps/generic/_G_config.h: Likewise.
33564         * sysdeps/gnu/_G_config.h: Likewise.
33565         * sysdeps/mach/hurd/_G_config.h: Likewise.
33566         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33567         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33568         * sysdeps/sparc/bits/mathdef.h: Likewise.
33570 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
33572         [BZ #13583]
33573         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33574         Clean up HAS_* macros.
33575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33576         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33577         possible.
33578         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33579         HAS_AVX.
33580         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33581         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33582         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33583         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33584         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33586 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
33588         * elf/tst-unique3.cc (gets): Remove declaration.
33589         * elf/tst-unique3lib.cc (gets): Likewise.
33590         * elf/tst-unique3lib2.cc (gets): Likewise.
33591         * elf/tst-unique4.cc (gets): Likewise.
33593 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
33595         * include/stdio.h: Add C++ protection.  Add gets declarations and
33596         definitions.
33597         * debug/tst-chk1.c: Don't declare gets here.
33598         * stdio-common/tst-gets.c: Likewise.
33600 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33602         * posix/glob: Remove directory.
33604 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33606         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33608 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
33610         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33611         of the non-standard EPFNOSUPPORT.
33613 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33615         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33616         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33617         ANYWHERE set to 1 only on KERN_NO_SPACE error.
33619 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
33621         * wcsmbs/uchar.h: Test __STDC_VERSION__.
33623 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
33625         * nscd/aicache.c (addhstaiX): Do not cache negative results of
33626         transient errors.
33627         * nscd/grpcache.c (cache_addgr): Likewise.
33628         * nscd/hstcache.c (cache_addhst): Likewise.
33629         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33630         * nscd/pwdcache.c (cache_addpw): Likewise.
33631         * nscd/servicescache.c (cache_addserv): Likewise.
33633 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
33635         * malloc/malloc.c: Various cleanups.
33636         * malloc/hooks.c: Likewise.
33638         * stdlib/Makefile (tests): Add bug-fmtmsg1.
33639         * stdlib/bug-fmtmsg1.c: New file.
33641         * stdlib/fmtmsg.c (init): Add missing unlock.
33642         Patch by Peng Haitao <penght@cn.fujitsu.com>.
33644 2012-01-12  Marek Polacek  <polacek@redhat.com>
33646         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33647         and _GNU_SOURCE.
33649 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33651         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33652         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33653         macro to ensure uniqueness of label name.
33654         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33655         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33657 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
33659         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33661         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33662         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33664         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33666 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
33668         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33670         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33671         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33672         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33674         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33676         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33677         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33679         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33681         * math/bits/math-finite.h: Add ldexp support.
33683 2012-01-10  Marek Polacek  <polacek@redhat.com>
33685         * locale/programs/localedef.h (show_archive_content): Add noreturn
33686         attribute.
33688 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
33690         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33692 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
33694         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33696         * io/Makefile (headers): Add bits/poll2.h.
33698 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33701         typo #include statement.
33703 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
33705         * include/sys/cdefs.h: Define __attribute_alloc_size.
33706         * catgets/gencat.c: Add alloc_size attribute and apply consistently
33707         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33708         * elf/pldd.c: Likewise.
33709         * iconv/iconv_charmap.c: Likewise.
33710         * iconv/iconvconfig.c: Likewise.
33711         * iconv/strtab.c: Likewise.
33712         * locale/programs/locale.c: Likewise.
33713         * locale/programs/localedef.h: Likewise.
33714         * locale/programs/simple-hash.c: Likewise.
33715         * nscd/nscd.h: Likewise.
33716         * nss/makedb.c: Likewise.
33717         * sysdeps/generic/ldconfig.h: Likewise.
33718         * locale/programs/localedef.c: Remove xmalloc prototype.
33719         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33721 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33724         appropriate.
33726 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
33728         * math/Makefile (tests): Add tst-CMPLX.
33729         * math/tst-CMPLX.c: New file.
33731         * math/complex.h (CMPLXL): Fix typo.
33733         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33734         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33735         GLIBC_2.16.
33736         * debug/tst-chk1.c: Add poll and ppoll tests.
33737         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33738         * include/sys/poll.h: Add hidden proto for ppoll.
33739         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33740         * sysdeps/mach/hurd/ppoll.c: Likewise.
33741         * io/ppoll.c: Likewise.
33742         * debug/poll_chk.c: New file.
33743         * debug/ppoll_chk.c: New file.
33744         * include/bits/poll2.h: New file.
33745         * io/bits/poll2.h: New file.
33747         [BZ #1350]
33748         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33750         * configure.in: static is always set to yes.  Remove.
33751         * config.make.in: Don't set build-static.
33752         * Makeconfig: Remove use of build-static.
33753         * dlfcn/Makefile: Likewise.
33754         * elf/Makefile: Likewise.
33755         * math/Makefile: Likewise.
33756         * misc/Makefile: Likewise.
33757         * nptl/Makefile: Likewise.
33758         * sysdeps/mach/hurd/Makefile: Likewise.
33760         * configure.in: PWD_P is not used anymore.
33761         * config.make.in: Remove PWD_P entry.
33763         * configure.in: Remove last remnants of RANLIB.
33764         No need to check for signed size_t anymore.
33765         Don't set libc_commonpagesize and libc_relro_required here for Alpha
33766         and IA-64.
33767         Remove __builtin_expect test because we require at least gcc 3.4.
33768         * aclocal.m4: Likewise.
33770         * wcsmbs/mbrtoc16.c: Implement using towc function.
33771         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33772         * wcsmbs/wcsmbsload.c: Likewise.
33773         * iconv/gconv_simple.c: Likewise.
33774         * iconv/gconv_int.h: Likewise.
33775         * iconv/gconv_builtin.h: Likewise.
33776         * iconv/iconv_prog.c: Remove CHAR16 handling.
33778         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33780         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33782         * configure.in: Remove --with-elf and --enable-bounded options.
33783         Dont set base_machine for ia64.  More non-ELF conditions removed.
33784         Remove testing and setting of leading underscore information.
33785         * config.make.in (build-bounded): Set to no.
33786         * config.h.in: Remove NO_UNDERSCORES entry.
33787         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
33788         them.
33789         * csu/start.c: Remove !NO_UNDERSCORE code.
33790         * locale/localeinfo.h: Likewise.
33791         * sysdeps/generic/machine-gmon.h: Likewise.
33792         * sysdeps/generic/sysdep.h: Likewise.
33793         * sysdeps/i386/sysdep.h: Likewise.
33794         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33795         * sysdeps/mach/sysdep.h: Likewise.
33796         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33797         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33798         * sysdeps/sh/sysdep.h: Likewise.
33799         * sysdeps/sparc/sparc32/alloca.S: Likewise.
33800         * sysdeps/unix/i386/sysdep.S: Likewise.
33801         * sysdeps/unix/sparc/start.c: Likewise.
33802         * sysdeps/unix/sparc/sysdep.S: Likewise.
33803         * sysdeps/unix/sparc/sysdep.h: Likewise.
33804         * sysdeps/unix/start.c: Likewise.
33805         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33806         * sysdeps/x86_64/sysdep.h: Likewise.
33808 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
33810         [BZ #13553]
33811         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33812         for non-gcc.
33813         * argp/argp-fmtstream.h: Use const instead __const.
33814         * argp/argp.h: Likewise.
33815         * assert/assert.h: Likewise.
33816         * bits/fenv.h: Likewise.
33817         * bits/sched.h: Likewise.
33818         * bits/sigset.h: Likewise.
33819         * bits/sigthread.h: Likewise.
33820         * catgets/nl_types.h: Likewise.
33821         * conform/data/pthread.h-data: Likewise.
33822         * crypt/crypt-private.h: Likewise.
33823         * crypt/crypt.h: Likewise.
33824         * crypt/crypt_util.c: Likewise.
33825         * ctype/ctype.h: Likewise.
33826         * debug/execinfo.h: Likewise.
33827         * debug/mbsnrtowcs_chk.c: Likewise.
33828         * debug/mbsrtowcs_chk.c: Likewise.
33829         * debug/wcsnrtombs_chk.c: Likewise.
33830         * debug/wcsrtombs_chk.c: Likewise.
33831         * debug/wcstombs_chk.c: Likewise.
33832         * dirent/dirent.h: Likewise.
33833         * dlfcn/dlfcn.h: Likewise.
33834         * elf/neededtest4.c: Likewise.
33835         * grp/grp.h: Likewise.
33836         * gshadow/gshadow.h: Likewise.
33837         * iconv/gconv.h: Likewise.
33838         * iconv/gconv_int.h: Likewise.
33839         * iconv/gconv_simple.c: Likewise.
33840         * iconv/iconv.h: Likewise.
33841         * iconv/loop.c: Likewise.
33842         * iconv/skeleton.c: Likewise.
33843         * include/aio.h: Likewise.
33844         * include/aliases.h: Likewise.
33845         * include/argz.h: Likewise.
33846         * include/arpa/inet.h: Likewise.
33847         * include/assert.h: Likewise.
33848         * include/dirent.h: Likewise.
33849         * include/dlfcn.h: Likewise.
33850         * include/execinfo.h: Likewise.
33851         * include/fcntl.h: Likewise.
33852         * include/fenv.h: Likewise.
33853         * include/glob.h: Likewise.
33854         * include/grp.h: Likewise.
33855         * include/libintl.h: Likewise.
33856         * include/mntent.h: Likewise.
33857         * include/netdb.h: Likewise.
33858         * include/pwd.h: Likewise.
33859         * include/rpc/netdb.h: Likewise.
33860         * include/sched.h: Likewise.
33861         * include/search.h: Likewise.
33862         * include/shadow.h: Likewise.
33863         * include/signal.h: Likewise.
33864         * include/stdio.h: Likewise.
33865         * include/stdlib.h: Likewise.
33866         * include/string.h: Likewise.
33867         * include/sys/socket.h: Likewise.
33868         * include/sys/stat.h: Likewise.
33869         * include/sys/statfs.h: Likewise.
33870         * include/sys/statvfs.h: Likewise.
33871         * include/sys/syslog.h: Likewise.
33872         * include/sys/time.h: Likewise.
33873         * include/sys/uio.h: Likewise.
33874         * include/time.h: Likewise.
33875         * include/unistd.h: Likewise.
33876         * include/utmp.h: Likewise.
33877         * include/wchar.h: Likewise.
33878         * include/wctype.h: Likewise.
33879         * inet/aliases.h: Likewise.
33880         * inet/arpa/inet.h: Likewise.
33881         * inet/netinet/ether.h: Likewise.
33882         * inet/netinet/in.h: Likewise.
33883         * intl/libintl.h: Likewise.
33884         * io/bits/fcntl2.h: Likewise.
33885         * io/fcntl.h: Likewise.
33886         * io/ftw.h: Likewise.
33887         * io/sys/poll.h: Likewise.
33888         * io/sys/stat.h: Likewise.
33889         * io/sys/statfs.h: Likewise.
33890         * io/sys/statvfs.h: Likewise.
33891         * io/utime.h: Likewise.
33892         * libio/bits/stdio.h: Likewise.
33893         * libio/bits/stdio2.h: Likewise.
33894         * libio/libio.h: Likewise.
33895         * libio/libioP.h: Likewise.
33896         * libio/stdio.h: Likewise.
33897         * locale/lc-ctype.c: Likewise.
33898         * locale/locale.h: Likewise.
33899         * login/utmp.h: Likewise.
33900         * malloc/arena.c: Likewise.
33901         * malloc/malloc.c: Likewise.
33902         * malloc/malloc.h: Likewise.
33903         * malloc/mcheck.c: Likewise.
33904         * malloc/mtrace.c: Likewise.
33905         * math/bits/mathcalls.h: Likewise.
33906         * math/fenv.h: Likewise.
33907         * math/math_private.h: Likewise.
33908         * misc/bits/error.h: Likewise.
33909         * misc/bits/syslog.h: Likewise.
33910         * misc/err.h: Likewise.
33911         * misc/error.h: Likewise.
33912         * misc/fstab.h: Likewise.
33913         * misc/mntent.h: Likewise.
33914         * misc/regexp.h: Likewise.
33915         * misc/search.h: Likewise.
33916         * misc/sgtty.h: Likewise.
33917         * misc/sys/mman.h: Likewise.
33918         * misc/sys/syslog.h: Likewise.
33919         * misc/sys/uio.h: Likewise.
33920         * misc/sys/xattr.h: Likewise.
33921         * misc/ttyent.h: Likewise.
33922         * nis/rpcsvc/ypclnt.h: Likewise.
33923         * nss/nss.h: Likewise.
33924         * posix/bits/unistd.h: Likewise.
33925         * posix/fnmatch.h: Likewise.
33926         * posix/glob.h: Likewise.
33927         * posix/sched.h: Likewise.
33928         * posix/spawn.h: Likewise.
33929         * posix/sys/wait.h: Likewise.
33930         * posix/unistd.h: Likewise.
33931         * posix/wordexp.h: Likewise.
33932         * pwd/pwd.h: Likewise.
33933         * resolv/netdb.h: Likewise.
33934         * resource/sys/resource.h: Likewise.
33935         * rt/aio.h: Likewise.
33936         * rt/bits/mqueue2.h: Likewise.
33937         * rt/mqueue.h: Likewise.
33938         * shadow/shadow.h: Likewise.
33939         * signal/signal.h: Likewise.
33940         * socket/send.c: Likewise.
33941         * socket/sendto.c: Likewise.
33942         * socket/sys/socket.h: Likewise.
33943         * stdio-common/printf.h: Likewise.
33944         * stdlib/bits/stdlib.h: Likewise.
33945         * stdlib/fmtmsg.h: Likewise.
33946         * stdlib/monetary.h: Likewise.
33947         * stdlib/stdlib.h: Likewise.
33948         * stdlib/ucontext.h: Likewise.
33949         * streams/stropts.h: Likewise.
33950         * string/argz.h: Likewise.
33951         * string/bits/string2.h: Likewise.
33952         * string/string.h: Likewise.
33953         * string/strings.h: Likewise.
33954         * sunrpc/rpc/auth.h: Likewise.
33955         * sunrpc/rpc/auth_des.h: Likewise.
33956         * sunrpc/rpc/clnt.h: Likewise.
33957         * sunrpc/rpc/netdb.h: Likewise.
33958         * sunrpc/rpc/pmap_clnt.h: Likewise.
33959         * sunrpc/rpc/xdr.h: Likewise.
33960         * sysdeps/generic/inttypes.h: Likewise.
33961         * sysdeps/generic/net/if.h: Likewise.
33962         * sysdeps/generic/sys/swap.h: Likewise.
33963         * sysdeps/gnu/net/if.h: Likewise.
33964         * sysdeps/gnu/utmpx.h: Likewise.
33965         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33966         * sysdeps/i386/i486/bits/string.h: Likewise.
33967         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33968         * sysdeps/s390/bits/string.h: Likewise.
33969         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33970         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33971         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33972         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33973         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33974         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33975         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33976         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33977         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33978         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33979         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33980         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33981         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33982         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33983         * sysdeps/unix/sysv/linux/readv.c: Likewise.
33984         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33985         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33986         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33987         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33989         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33990         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33991         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33992         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33993         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33994         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33995         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33996         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33997         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33998         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33999         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34000         * sysvipc/sys/ipc.h: Likewise.
34001         * sysvipc/sys/msg.h: Likewise.
34002         * sysvipc/sys/sem.h: Likewise.
34003         * sysvipc/sys/shm.h: Likewise.
34004         * termios/termios.h: Likewise.
34005         * time/sys/time.h: Likewise.
34006         * time/time.h: Likewise.
34007         * wcsmbs/bits/wchar2.h: Likewise.
34008         * wcsmbs/uchar.h: Likewise.
34009         * wcsmbs/wchar.h: Likewise.
34010         * wctype/wctype.h: Likewise.
34012         [BZ #13551]
34013         * Makeconfig: Remove all but ELF support including AIX support.
34014         * Makerules: Likewise.
34015         * config.h.in: Likewise.
34016         * config.make.in: Likewise.
34017         * configure: Likewise.
34018         * configure.in: Likewise.
34019         * csu/Makefile: Likewise.
34020         * csu/version.c: Likewise.
34021         * debug/Makefile: Likewise.
34022         * dlfcn/Makefile: Likewise.
34023         * elf/Makefile: Likewise.
34024         * extra-lib.mk: Likewise.
34025         * iconv/Makefile: Likewise.
34026         * include/libc-symbols.h: Likewise.
34027         * include/shlib-compat.h: Likewise.
34028         * resolv/Makefile: Likewise.
34029         * resolv/res_libc.c: Likewise.
34030         * rt/Makefile: Likewise.
34031         * sysdeps/i386/asm-syntax.h: Likewise.
34032         * sysdeps/i386/sysdep.h: Likewise.
34033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34034         * sysdeps/mach/sysdep.h: Likewise.
34035         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
34036         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
34037         * sysdeps/s390/asm-syntax.h: Likewise.
34038         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34040         * sysdeps/sh/sysdep.h: Likewise.
34041         * sysdeps/unix/sparc/sysdep.h: Likewise.
34042         * sysdeps/wordsize-32/divdi3.c: Likewise.
34043         * sysdeps/x86_64/sysdep.h: Likewise.
34045         * argp/Versions: Remove _argp_unlock_xxx.
34047         [BZ #13559]
34048         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
34049         * abilist/libBrokenLocale.abilist: Likewise.
34050         * abilist/libanl.abilist: Likewise.
34051         * abilist/libc.abilist: Likewise.
34052         * abilist/libcrypt.abilist: Likewise.
34053         * abilist/libdl.abilist: Likewise.
34054         * abilist/libm.abilist: Likewise.
34055         * abilist/libnsl.abilist: Likewise.
34056         * abilist/libpthread.abilist: Likewise.
34057         * abilist/libresolv.abilist: Likewise.
34058         * abilist/librt.abilist: Likewise.
34059         * abilist/libthread_db.abilist: Likewise.
34060         * abilist/libutil.abilist: Likewise.
34061         * abilist/libnss_db.abilist: New file.
34063         * scripts/abilist.awk: Add support for indirect functions.
34065         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
34067         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
34069         * shlib-versions: Remove entries for ports architectures.
34071         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
34072         files in ports.
34073         * elf/stackguard-macros.h: Remove support for IA-64.
34074         * elf/tst-auditmod1.c: Likewise.
34075         * sysdeps/generic/ldsodefs.h: Likewise.
34077         * sysdeps/unix/sysv/linux/configure.in: Ports should define
34078         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
34079         configure files.
34081         [BZ #13552]
34082         * configure.in: Remove --enable-omitfp support.
34083         * FAQ.in: Adjust.
34084         * config.make.in: Likewise.
34085         * Makeconfig: Likewise.
34086         * manual/install.texi: Likewise.
34088         In case anyone cares, the IA-64 architecture could move to ports.
34089         * sysdeps/ia64/*: Removed.
34090         * sysdeps/unix/sysv/linux/ia64/*: Removed.
34091         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
34093         [BZ #13555]
34094         * configure.in: Remove entries for unsupported architectures.
34096         [BZ #13533]
34097         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
34098         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
34099         routines.
34100         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
34101         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
34102         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
34103         fall back to using wcrtomb.
34104         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
34105         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
34106         renaming.
34107         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
34108         * wcsmbs/tst-c16c32-1.c: New file.
34110         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
34111         local variable.
34113         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
34115         * elf/tst-unique3.cc: Add explicit declaration of gets.
34116         * elf/tst-unique3lib.cc: Likewise.
34117         * elf/tst-unique3lib2.cc: Likewise.
34118         * elf/tst-unique4.cc: Likewise.
34120         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
34122 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
34124         [BZ #13566]
34125         * assert/assert.h (static_assert): Don't define for C++.
34126         * libio/stdio.h (gets): Do declare for C++ <= C++11.
34127         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
34129 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
34131         * iconv/loop.c (single loop): Fix assertion in storing of
34132         remaining bytes.
34134         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
34136 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
34138         * posix/getconf.c: Update copyright year.
34139         * nss/getent.c: Likewise.
34140         * nss/makedb.c: Likewise.
34141         * iconv/iconvconfig.c: Likewise.
34142         * iconv/iconv_prog.c: Likewise.
34143         * elf/ldconfig.c: Likewise.
34144         * elf/pldd.c: Likewise.
34145         * elf/sotruss.ksh: Likewise.
34146         * catgets/gencat.c: Likewise.
34147         * csu/version.c: Likewise.
34148         * elf/ldd.bash.in: Likewise.
34149         * elf/sprof.c (print_version): Likewise.
34150         * locale/programs/locale.c: Likewise.
34151         * locale/programs/localedef.c: Likewise.
34152         * login/programs/pt_chown.c: Likewise.
34153         * nscd/nscd.c (print_version): Likewise.
34154         * debug/xtrace.sh: Likewise.
34155         * malloc/memusage.sh: Likewise.
34156         * malloc/mtrace.pl: Likewise.
34157         * debug/catchsegv.sh: Likewise.
34159 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
34161         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
34162         pure attribute.
34164 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
34166         [BZ #13533]
34167         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
34168         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
34169         transformations.
34170         * iconv/gconv_int.h: Likewise.
34171         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
34172         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
34173         from libc for GLIBC_2.16.
34174         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
34175         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
34176         * wcsmbs/uchar.h: Really define mbstate_t.
34177         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
34178         * wcsmbs/c16rtomb.c: New file.
34179         * wcsmbs/mbrtoc16.c: New file.
34180         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
34181         for C/POSIX locale.
34182         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
34183         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
34185         * wcsmbs/wchar.h: Add missing __restrict.
34187 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34189         [BZ #13532]
34190         * time/Makefile (routines): Add timespec_get.
34191         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
34192         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
34193         timespec for ISO C11.
34194         * time/timespec_get.c: New file.
34195         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
34196         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
34198         [BZ #13531]
34199         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
34200         * stdlib/stdlib.h: Declare aligned_alloc.
34201         * Versions.def: Add GLIBC_2.16 for libc.
34202         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
34204         [BZ 13527]
34205         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
34206         ISO C11.
34208         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
34209         code.
34211         [BZ #13528]
34212         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
34214         [BZ #13529]
34215         * assert/assert.h (static_assert): Define.
34217         * version.h: Update for 2.16 development version.
34219         [BZ #13526]
34220         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
34221         _ISOC11_SOURCE.
34223         * version.h (RELEASE): Bump for 2.15 release.
34224         * include/features.h (__GLIBC_MINOR__): Bump to 15.
34226         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
34227         Patch by Marek Polacek <mpolacek@redhat.com>.
34229         * bits/byteswap.h: Protect long long constants with __extension__.
34230         * sysdeps/i386/bits/byteswap.h: Likewise.
34231         * sysdeps/ia64/bits/byteswap.h: Likewise.
34232         * sysdeps/s390/bits/byteswap.h: Likewise.
34233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34235 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34237         [BZ #13540]
34238         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
34239         destination buffer.
34240         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34242 2011-12-23  Marek Polacek  <polacek@redhat.com>
34244         * elf/dl-addr.c (determine_info): Add inline keyword.
34245         * elf/tst-auditmod4b.c (check_avx): Likewise.
34246         * elf/tst-auditmod6b.c (check_avx): Likewise.
34247         * elf/tst-auditmod6c.c (check_avx): Likewise.
34248         * elf/tst-auditmod7b.c (check_avx): Likewise.
34250 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34252         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
34253         !__SSE_MATH__.
34255 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34257         [BZ #13540]
34258         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
34259         processing for last bytes.
34261 2011-08-06  Bruno Haible  <bruno@clisp.org>
34263         [BZ #13061]
34264         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
34265         U+0385, not to U+1FEE.
34267         [BZ #13062]
34268         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
34269         entry for U+00A5 U+0301.
34271 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34273         [BZ #13166]
34274         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
34275         buffer for the output is too small.
34277         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
34278         optimization.
34280         [BZ #13185]
34281         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
34282         SSE flags if possible.
34284 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34286         [BZ #13540]
34287         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
34288         processing for last bytes.
34290 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
34292         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
34293         (syscall-list-default-options, syscall-list-default-condition)
34294         (syscall-list-includes): Define.
34295         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
34296         list of ABIs and options and #if conditions for each ABI.  Do not
34297         handle common syscalls between ABIs specially.
34298         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
34299         Remove.
34300         (syscall-list-variants, syscall-list-32bit-options)
34301         (syscall-list-32bit-condition, syscall-list-64bit-options)
34302         (syscall-list-64bit-condition): Define.
34303         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
34304         (syscall-list-variants, syscall-list-32bit-options)
34305         (syscall-list-32bit-condition, syscall-list-64bit-options)
34306         (syscall-list-64bit-condition): Define.
34307         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
34308         Remove.
34309         (syscall-list-variants, syscall-list-32bit-options)
34310         (syscall-list-32bit-condition, syscall-list-64bit-options)
34311         (syscall-list-64bit-condition): Define.
34312         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
34313         Remove.
34314         (syscall-list-variants, syscall-list-32bit-options)
34315         (syscall-list-32bit-condition, syscall-list-64bit-options)
34316         (syscall-list-64bit-condition): Define.
34318 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34320         * locale/iso-639.def: Add brx entry.
34322         [BZ #13328]
34323         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
34324         Proposed by Mariusz_Cukr <marcukr@op.pl>.
34326         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
34327         __feraiseexcept_renamed.
34329 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34331         [BZ #13538]
34332         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
34333         EPOLLET with unsigned values.
34334         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34335         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34337         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
34338         to large cancellation.
34339         * math/s_cacoshf.c: Likewise.
34340         * math/s_cacoshl.c: Likewise.
34342 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
34344         [BZ #13305]
34345         [BZ #12786]
34346         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
34347         * math/s_cacoshf.c: Likewise.
34348         * math/s_cacoshl.c: Likewise.
34350 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34352         [BZ #13439]
34353         * iconv/gconv.h: Define __GCONV_SWAP.
34354         * iconvdata/unicode.c: The swap bit must be stored in __flags.
34355         * iconvdata/utf-16.c: Likewise.
34356         * iconvdata/utf-32.c: Likewise.
34358 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34360         [BZ #13524]
34361         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
34362         numerator after shifting it by one limb.
34364 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
34366         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
34367         under [__USE_EXTERN_INLINES].
34369 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34371         [BZ #13446]
34372         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34374 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34376         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34377         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34378         optimized code.
34379         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34380         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34381         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34382         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34383         for strncasecmp/strncasecmp_l compilation.
34384         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34385         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34387 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
34389         [BZ #13484]
34390         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34391         of __asm__.
34393 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34395         [BZ #13506]
34396         * time/tzfile.c (__tzfile_read): Check values from file header.
34398 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34400         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34401         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34402         * powerpc/powerpc32/dl-start.S: Likewise.
34403         * powerpc/powerpc32/elf/start.S: Likewise.
34404         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34405         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34406         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34407         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34408         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34409         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34410         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34411         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34412         * powerpc/powerpc32/fpu/s_round.S: Likewise.
34413         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34414         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34415         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34416         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34417         * powerpc/powerpc32/memset.S: Likewise.
34418         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34419         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34420         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34421         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34422         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34423         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34424         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34425         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34426         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34427         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34428         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34429         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34430         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34432 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34434         * math/libm-test.inc: Added more nearbyint tests.
34435         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34436         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34438         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34440 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
34442         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34443         FD_CLOEXEC.
34445 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34447         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34448         Add wcscpy-ssse3 wcscpy-c.
34449         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34450         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34451         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34452         * sysdeps/x86_64/wcschr.S: New file.
34453         * sysdeps/x86_64/wcsrchr.S: New file.
34454         * string/test-strcmp.c: Remove checking of wcscmp function for
34455         wrong alignments.
34456         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34457         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34458         wcsrchr-sse2 wcsrchr-c.
34459         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34460         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34461         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34462         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34463         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34464         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34465         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34466         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34467         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34468         * wcsmbc/wcschr.c (WCSCHR): New macro.
34470 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34472         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34473         * wcsmbs/test-wcsrchr.c: New file.
34474         * string/test-strrchr.c: Add wcsrchr support.
34475         (WIDE): New macro.
34476         * wcsmbs/test-wcscpy.c: New file.
34477         * string/test-strcpy.c: Add wcscpy support.
34478         (WIDE): New macro.
34480 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
34482         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34483         the inner loop.
34485 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
34487         [BZ #13472]
34488         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34490 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
34492         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34493         Minor optimizations.
34495         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34496         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34497         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34499 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
34501         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34502         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34503         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34504         for gcc to avoid warnings.
34505         * inet/Makefile (tests): Add tst-checks.
34506         * inet/tst-checks.c: New file.
34508         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34509         warning.
34511         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34512         __wmemcmp_sse2.
34514         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34515         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34517         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34519 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
34521         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34522         problem.
34524         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34526 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
34528         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34529         conditional on GCC version.
34530         (__arch_compare_and_exchange_val_8_acq)
34531         (__arch_compare_and_exchange_val_16_acq)
34532         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34533         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34534         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34536 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
34538         * sysdeps/sh/backtrace.c: New file.
34540 2011-12-02  Andreas Schwab  <schwab@redhat.com>
34542         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
34543         parenthesis.
34545 2011-12-01  Andreas Schwab  <schwab@redhat.com>
34547         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34548         falling back to utime.
34550 2011-11-30  Andreas Schwab  <schwab@redhat.com>
34552         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34553         expectations for float.
34555 2011-11-29  Andreas Schwab  <schwab@redhat.com>
34557         * locale/weight.h (findidx): Add parameter len.
34558         * locale/weightwc.h (findidx): Likewise.
34559         * posix/fnmatch_loop.c (FCT): Adjust caller.
34560         * posix/regcomp.c (build_equiv_class): Likewise.
34561         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34562         * posix/regexec.c (check_node_accept_bytes): Likewise.
34563         * string/strcoll_l.c (STRCOLL): Likewise.
34564         * string/strxfrm_l.c (STRXFRM): Likewise.
34566 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
34568         * Makefile.in: Remove CVSOPT handling.
34569         * configure.in: Remove use of AC_REVISION.
34570         * iconvdata/Makefile (distribute): No need to filter out CVS.
34571         * scripts/list-sources.sh: Remove CVS, subversion and monotone
34572         handling.
34574 2011-11-16  Andreas Schwab  <schwab@redhat.com>
34576         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34577         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34578         [USE_AS_STRNCASECMP_L]: Likewise.
34579         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34580         NO_TLS_DIRECT_SEG_REFS.
34581         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34582         Fix argument offsets for non-PIC.
34583         [USE_AS_STRNCASECMP_L]: Likewise.
34584         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34585         NO_TLS_DIRECT_SEG_REFS.
34587 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34589         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34590         O_CLOEXEC.
34591         * locale/loadlocale.c (_nl_load_locale): Likewise.
34593 2011-11-15  Andreas Schwab  <schwab@redhat.com>
34595         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34596         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34597         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34598         (SYSCALL_GETTIME): Set errno on error.
34600         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34601         count references to noai6ai_cached.
34603 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34605         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34607         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34608         FD_CLOEXEC for /proc/self/maps.
34610         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34611         FD_CLOEXEC for /proc/meminfo.
34613         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34614         gai.conf.
34616         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
34617         FD_CLOEXEC for given file.
34619         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34621         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34622         FD_CLOEXEC for /etc/hosts.
34623         (_gethtent): Likewise.
34625         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34627         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34628         cancellation and set FD_CLOEXEC for /etc/netgroup.
34630         * nss/nss_files/files-key.c (search): Don't allow cancellation when
34631         reading /etc/publickey.
34633         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34634         allow cancellation when reading /etc/group.
34636         * nss/nss_files/files-alias.c (internal_setent): Don't allow
34637         cancellation.
34638         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
34640         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34641         when using data file.
34643         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34645         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34646         (write_nis_obj): Use "c" and "e" in fopen.
34648         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34650         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34652         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34654         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34656         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34657         locale.alias.
34659         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34661         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34663         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34665         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34666         file parsing and set FD_CLOEXEC.
34668 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
34670         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34672 2011-11-14  Andreas Schwab  <schwab@redhat.com>
34674         * malloc/arena.c (arena_get2): Don't call reused_arena when
34675         _int_new_arena failed.
34677 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
34679         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34680         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34681         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34682         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34683         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34684         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34685         to compile strcasecmp and strncasecmp.
34686         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34687         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34691 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
34693         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34694         locale-defines.sym to gen-as-const-headers.
34695         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34696         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34698         to compile strcasecmp and strncasecmp.
34699         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34700         strcasecmp_l and strncasecmp_l.
34701         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34702         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34703         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34704         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34705         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34706         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34707         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34708         * sysdeps/i386/i686/multiarch/strncase.S: New file.
34709         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34710         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34711         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34713 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
34715         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34716         result of SYSDEP_GETTIME_CPU to retval.
34717         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34718         parameter list to macro.  Remove trailing semicolon.  Adjust users.
34720         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34721         variable.
34723         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34724         mantissa words.
34725         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34727         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34728         from unused variable.
34730         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34731         DWARF definitions.
34732         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34733         for assembling.
34735         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34736         over namespaces.
34738         * sunrpc/rpc_prot.c (rejected): Fix case value.
34740         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34741         unsigned long long int to avoid warnings in shift.
34743         * posix/regex_internal.c (re_string_reconstruct): Actually use result
34744         of use of trans.
34745         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34746         variable tmp.
34748         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34749         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34750         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34752         * nis/nis_table.c (nis_list): Use variable of correct type for
34753         result of __follow_path call.
34755 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34757         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34758         of math functions ceil, trunc, floor, round, and sqrt, when
34759         avaliable on the platform.
34760         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34761         name clash.
34762         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34763         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34764         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34766 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
34768         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34769         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34771 2011-11-11  Roland McGrath  <roland@hack.frob.com>
34773         * include/unistd.h: Fix __readlink return type.
34774         Reported by Chris Metcalf <cmetcalf@tilera.com>.
34776 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
34778         * stdlib/ucontext.h: Undo last change for makecontext.
34780 2011-11-11  Andreas Schwab  <schwab@redhat.com>
34782         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34784         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34785         * setjmp/setjmp.h: Mark functions as non-leaf.
34786         * setjmp/bits/setjmp2.h: Likewise.
34787         * stdlib/ucontext.h: Likewise.
34789 2011-11-10  Andreas Schwab  <schwab@redhat.com>
34791         * malloc/arena.c (_int_new_arena): Don't increment narenas.
34792         (reused_arena): Don't check arena limit.
34793         (arena_get2): Atomically check arena limit.
34795 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
34797         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34798         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34801         instructions.
34803 2011-11-07  Andreas Schwab  <schwab@redhat.com>
34805         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34806         handler when locking.
34808         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34809         Fix size of allocated buffer.
34811 2011-11-04  Andreas Schwab  <schwab@redhat.com>
34813         [BZ #10103]
34814         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34815         declarations for long double functions.
34816         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34818         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34820 2011-11-03  Andreas Schwab  <schwab@redhat.com>
34822         * nscd/nscd.c (main): Don't start AVC thread until credentials are
34823         installed.
34825         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34826         is disabled.
34828 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34830         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34832 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34834         * include/alloca.h (stackinfo_alloca_round): Define.
34835         (extend_alloca): Use it.
34836         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34837         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34838         here.
34840         * scripts/check-local-headers.sh: Ignore libaudit.h.
34842         * nscd/Makefile (extra-objs): Make recursively expanded.
34844 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
34846         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34847         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34849         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34850         * posix/tst-rfc3484-2.c: Likewise.
34851         * posix/tst-rfc3484-3.c: Likewise.
34853         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34854         process_vm_writev.
34855         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34856         process_vm_writev.
34857         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34858         process_vm_writev from libc using GLIBC_2.15 version.
34860         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34862 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
34864         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34865         stack usage.
34867 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
34869         [BZ #13367]
34870         * nss/getent.c (initgroups_keys): Show error message in case no group
34871         names are given.
34873         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34874         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34875         __bump_nl_timestamp.
34876         * nscd/connections (nscd_init): When host database is served open
34877         netlink socket and request notification about configuration changes.
34878         (main_loop_poll): Track netlink file descriptor and bump timestamp
34879         in case data becomes available.
34880         (main_loop_epoll): Likewise.
34881         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34882         (database_pers_head): Add extra_data fileds.
34883         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34884         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34885         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34886         Adjust caller.
34887         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34888         in6ai data, call __free_in6ai.
34889         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34890         Add -DHAVE_NETLINK.
34891         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
34892         interface information.  Reuse previous data if netlink timestamp
34893         is not changed.
34894         (__bump_nl_timestamp): New function.
34895         (__free_in6ai): New function.
34897 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
34899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34900         close_not_cancel_no_status here.
34901         (__check_pf): Reorganize code a bit to not call close twice if OOM.
34903 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
34905         [BZ #13276]
34906         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34907         return value.
34909         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34910         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34911         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34913 2011-07-03  Andreas Jaeger  <aj@suse.de>
34915         [BZ #10709]
34916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34917         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34918         * math/libm-test.inc (sin_test): Add test case.
34920 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
34922         [BZ #13337]
34923         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34924         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34926         * elf/chroot_canon.c (chroot_canon): Cleanups.
34928         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34930         [BZ #13335]
34931         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34932         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34934         * string/test-strchr.c: Make usable for strchrnul testing.
34935         * string/test-strchrnul.c: New file.
34936         * string/Makefile (strop-tests): Add strchrnul.
34938         * po/it.po: Update from translation team.
34939         * po/es.po: Likewise.
34941 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
34943         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34944         the three constants needed as parameters.  Drop the others.
34945         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34946         __m128i_strloadu_tolower.
34947         Create and initialize variable zero and use it in all the places
34948         where _mm_setzero_si128 was used.
34950         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34951         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34952         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34953         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34954         anymore.
34955         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34956         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34957         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34958         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34959         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34960         __mpranred, __mptan.
34961         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34962         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34963         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34964         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34965         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34966         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34967         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34968         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34969         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34971 2011-10-28  Andreas Schwab  <schwab@redhat.com>
34973         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34974         redefine if SHARED.
34975         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34977         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34978         wide char related routines to wcsmbs subdir.
34980 2011-10-27  Andreas Schwab  <schwab@redhat.com>
34982         [BZ #13344]
34983         * misc/sys/cdefs.h (__THROWNL): Define.
34984         * posix/unistd.h: Use __THREADNL instead of __THREAD
34985         for memory synchronization functions.
34987 2011-10-26  Roland McGrath  <roland@hack.frob.com>
34989         [BZ #13349]
34990         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34991         doesn't exist.
34992         * manual/stdio.texi (Obstack Streams): Node removed.
34994 2011-10-26  Andreas Schwab  <schwab@redhat.com>
34996         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34997         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34998         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35000         * math/math_private.h (math_force_eval): Allow non-addressable
35001         arguments.
35002         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35004 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35006         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35007         file is not needed.
35009         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
35010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35011         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35012         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35013         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35014         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35015         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35016         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
35017         Add AVX variants.
35018         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
35019         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
35020         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
35021         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
35022         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
35023         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
35024         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
35025         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
35026         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
35027         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
35028         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
35029         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
35030         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
35031         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
35032         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
35033         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
35034         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
35035         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
35036         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
35038         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
35039         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
35041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
35042         place.  Use VEX encoding when compiling for AVX.
35044 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35046         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
35047         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35049         * string/test-strchr.c (do_test): Don't generate NUL bytes.
35051 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35053         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
35054         useless if() expression.
35055         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35056         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35057         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35058         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35059         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35060         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35061         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35062         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35063         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35065         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35066         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35067         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35068         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35069         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35070         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35071         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35073         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35075         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
35077 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35079         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
35080         condition.
35081         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35083 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35085         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
35086         .text section.  Avoid duplicate constants.
35087         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35088         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35089         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35091         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35095         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35096         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
35097         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35098         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35099         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35100         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35101         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35102         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35103         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35104         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35105         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35107         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35108         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35109         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35110         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
35111         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
35112         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
35113         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
35114         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
35115         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
35116         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
35117         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
35118         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
35119         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35120         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
35121         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
35122         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
35123         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
35124         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
35125         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
35126         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
35127         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
35128         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
35129         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
35130         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
35131         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
35133 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
35135         * sysdeps/x86_64/dla.h: Move to ...
35136         * sysdeps/x86_64/fpu/dla.h: ...here.
35137         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
35138         situations.  Use __builtin_fma only for gcc 4.6 and up.
35140         * config.make.in: Add have-mfma4 entry.
35141         * configure.in: Substitute libc_cv_cc_fma4.
35142         * math/Makefile (dbl-only-routines): Add sincostab.
35143         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
35144         Use __sincostab not sincos.
35145         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
35146         name is a macro.
35147         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
35151         using __copysign.
35152         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
35153         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
35154         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
35155         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
35156         and __inv.
35157         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
35158         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
35159         __copysign.
35160         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
35161         define aliases when function name is a macro.
35162         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
35163         sysdeps/ieee754/dbl-64/sincos.tbl.
35164         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
35165         fma4-enabled routines.
35166         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
35167         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
35168         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
35169         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
35170         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
35171         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
35172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
35173         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
35174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
35175         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
35176         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
35177         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
35178         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
35179         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
35180         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
35181         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
35182         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
35183         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
35184         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
35185         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
35186         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
35187         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
35188         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
35189         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
35190         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
35191         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
35192         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
35193         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
35194         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
35195         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
35197         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
35198         rename.
35199         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35200         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35201         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35203         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35204         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35205         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35206         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35208 2011-10-24  Andreas Schwab  <schwab@redhat.com>
35210         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
35212 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35214         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
35216         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
35217         prediction.
35218         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
35220         * string/strnlen.c: Don't define STRNLEN, reverse logic.
35221         Remove unused variable magic_bits.
35222         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
35224         * string/strnlen.c: Define and use STRNLEN macro.
35225         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
35226         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
35227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
35228         * wcsmbs/wcslen.c: Define and use WCSLEN.
35229         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
35230         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
35231         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
35232         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
35233         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
35234         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
35235         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35237 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35240         strnlen-sse2-no-bsf.
35241         Rename strlen-no-bsf to strlen-sse2-no-bsf.
35242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
35243         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
35244         Add strnlen support.
35245         (USE_AS_STRNLEN): New macro.
35246         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
35247         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
35248         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
35249         * sysdeps/x86_64/wcslen.S: New file.
35251 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
35253         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35254         XMM-moves are used for copying on small sizes.
35256 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35258         * wcsmbs/Makefile (strop-tests): Add wcschr.
35259         * wcsmbs/test-wcschr.c: New file.
35260         * string/test-strchr.c: Update.
35261         Add wcschr support.
35262         (WIDE): New macro.
35264 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35266         * wcsmbs/Makefile (strop-tests): Add wcslen.
35267         * wcsmbs/test-wcslen.c: New file.
35268         * string/test-strlen.c: Update.
35269         Add wcslen support.
35270         (WIDE): New macro.
35272 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35274         * po/it.po: Update from translation team.
35276 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35278         * sysdeps/x86_64/wcscmp.S: Update.
35279         Fix wrong comparison semantics.
35280         wcscmp shall use signed comparison not unsigned.
35281         Don't use substraction to avoid overflow bug.
35282         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35283         * wcsmbc/wcscmp.c: Likewise.
35284         * string/test-strcmp.c: Likewise.
35285         Add new tests to check cases with negative values.
35287 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35289         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
35290         * sysdeps/x86_64/dla.h: ...here.  New file.
35291         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
35292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35296         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35297         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35298         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35301 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
35303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
35304         __ynl_finite aliases.
35306 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35310         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
35311         define DLA_FMA.
35312         [DLA_FMA] (EMULV): Use DLA_FMA.
35313         [DLA_FMA] (MUL12): Use EMULV.
35314         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
35315         that are not needed.
35316         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35317         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35318         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35320         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35322         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35324 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
35326         * math/s_nan.c: Undef __nan.
35327         * math/s_nanf.c: Undef __nanf.
35328         * math/s_nanl.c: Undef __nanl.
35329         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
35330         "math_private.h".
35332 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35334         * math/s_catan.c: Add branch predictions.
35335         * math/s_catanf.c: Likewise.
35336         * math/s_catanh.c: Likewise.
35337         * math/s_catanhf.c: Likewise.
35338         * math/s_catanhl.c: Likewise.
35339         * math/s_catanl.c: Likewise.
35340         * math/s_cexp.c: Likewise.
35341         * math/s_cexpf.c: Likewise.
35342         * math/s_cexpl.c: Likewise.
35343         * math/s_clog.c: Likewise.
35344         * math/s_clog10.c: Likewise.
35345         * math/s_clog10f.c: Likewise.
35346         * math/s_clog10l.c: Likewise.
35347         * math/s_clogf.c: Likewise.
35348         * math/s_clogl.c: Likewise.
35349         * math/s_csqrt.c: Likewise.
35350         * math/s_csqrtf.c: Likewise.
35351         * math/s_csqrtl.c: Likewise.
35352         * math/s_ctanf.c: Likewise.
35353         * math/s_ctanh.c: Likewise.
35354         * math/s_ctanhf.c: Likewise.
35355         * math/s_ctanhl.c: Likewise.
35356         * math/s_ctanl.c: Likewise.
35358         * math/math_private.h: Define __nan, __nanf, __nanl.
35359         * math/s_cacosh.c: Include <math_private.h>.
35360         * math/s_cacoshl.c: Likewise.
35361         * math/s_casinh.c: Likewise.
35362         * math/s_casinhf.c: Likewise.
35363         * math/s_casinhl.c: Likewise.
35364         * math/s_ccos.c: Rely entire on ccosh.
35365         * math/s_ccosf.c: Rely entire on ccoshf.
35366         * math/s_ccosl.c: Rely entirely on ccoshl.
35367         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
35368         Remove tests for FE_INVALID.
35369         * math/s_ccoshf.c: Likewise.
35370         * math/s_ccoshl.c: Likewise.
35371         * math/s_csin.c: Likewise.
35372         * math/s_csinf.c: Likewise.
35373         * math/s_csinh.c Likewise.
35374         * math/s_csinhf.c: Likewise.
35375         * math/s_csinhl.c: Likewise.
35376         * math/s_csinl.c: Likewise.
35377         * math/s_ctan.c: Likewise.
35378         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35379         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35380         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35382 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
35384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35385         compilation problems.
35387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35388         __builtin_expect.
35390 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
35392         * sysdeps/i386/configure.in: Test for -mfma4 option.
35393         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35394         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35395         COMMON_CPUID_INDEX_80000001.
35396         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35397         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35398         use it if FMA3 is not supported.
35399         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35401         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35402         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35404 2011-10-20  Andreas Schwab  <schwab@redhat.com>
35406         [BZ #12892]
35407         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35408         it would create a cycle with a link time dependency.
35410 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
35412         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35413         instruction.
35414         * string/Makefile (strop-tests): Add rawmemchr.
35415         * string/test-rawmemchr.c: New file.
35417         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35418         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
35419         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
35420         when compiling str{,n}casecmp and when AVX is available.  Hook up
35421         new optimized code in initializers.
35423 2011-10-19  Andreas Schwab  <schwab@redhat.com>
35425         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35426         __feraiseexcept instead of feraiseexcept.
35428 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
35430         * math/math_private.h: Define defaults for libc_fetestexcept and
35431         libc_feupdateenv.
35432         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35433         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35434         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35435         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35436         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35437         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35438         libc_fetestexcept and libc_feupdateenv.
35440         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35441         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35442         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35443         * sysdeps/x86_64/fpu/math_private.h: Define special version of
35444         libc_feholdexcept_setround.
35446         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35447         Add s_nearbyint-c and s_nearbyintf-c.
35448         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35449         nearbyintf inlines.
35450         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35451         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35452         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35453         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35455         * math/math_private.h: Define defaults for libc_fegetround,
35456         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35457         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35458         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35459         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35460         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35461         standard functions.
35462         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35463         Remove comments and hacks for old compiler versions.
35464         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35465         libc_fegetround, libc_fesetround, libc_feholdexcept, and
35466         libc_feholdexceptl.
35468 2011-10-18  Andreas Schwab  <schwab@redhat.com>
35470         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35471         (__feraiseexcept_renamed): Add __NTH.
35472         (feraiseexcept): Add __NTH.  Rename local variables to fix
35473         namespace violations.
35475 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
35477         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35479         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35481         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35482         recently added interfaces.
35483         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35485         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35486         about macro parameter expansion.
35488         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35489         __NO_MATH_INLINES is defined.  Cleanups.
35491         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35492         and __floorf is target has SSE4.1.
35493         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35494         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35495         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35496         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35498         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35499         name.
35500         (floorf): Likewise.
35502         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35504 2011-10-17  Andreas Schwab  <schwab@redhat.com>
35506         * misc/sys/cdefs.h: Fix last change.
35508         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35509         database lookup.
35511 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
35513         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35515         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35517         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35518         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35519         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35520         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35521         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35522         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35523         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35524         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35525         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35526         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35527         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35528         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35529         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35530         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35531         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35532         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35533         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35534         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35535         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35536         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35538         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35539         ceil, ceilf, floor, floorf.
35541         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35542         Perform IRELATIVE relocations last.
35544         * elf/do-rel.h: Add another parameter nrelative, replacing the
35545         local variable with the same name.  Change name of the function
35546         to end in Rel or Rela (uppercase).
35547         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35548         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
35549         elf_dynamic_do_##reloc function.
35551 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35553         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35554         is sufficient, at least on modern CPUs.
35556         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35558         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35559         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35561         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35562         __expl_finite.
35563         * math/bits/math-finite.h: Add entries for exp.
35564         * math/e_expl.c: Add __*_finite alias.
35565         * sysdeps/i386/fpu/e_exp.S: Likewise.
35566         * sysdeps/i386/fpu/e_expf.S: Likewise.
35567         * sysdeps/i386/fpu/e_expl.c: Likewise.
35568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35569         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35570         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35571         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35572         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35573         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35574         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35576         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35577         is sufficient, at least on modern CPUs.
35579         * ctype/ctype-info.c (__ctype_init): Define.
35580         * include/ctype.h (__ctype_init): Declare.
35581         (__ctype_b_loc): The variable is always initialized.
35582         (__ctype_toupper_loc): Likewise.
35583         (__ctype_tolower_loc): Likewise.
35584         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35585         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35587 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
35589         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35591         * configure.in: Also look in $cxxmachine/include for C++ system
35592         headers.
35594 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35596         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35597         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35598         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35599         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
35600         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35601         (USE_AS_WMEMCMP): New macro.
35602         Fixing indents.
35603         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35604         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35605         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35606         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35607         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35608         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35609         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35610         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35611         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35612         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35613         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35614         (USE_AS_WMEMCMP): New macro.
35615         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35616         * sysdeps/string/test-memcmp.c: Update.
35617         Fix simple_wmemcmp.
35618         Add new tests.
35619         * wcsmbs/wmemcmp.c: Update.
35620         (WMEMCMP): New macro.
35621         Fix overflow bug.
35623 2011-10-12  Andreas Jaeger  <aj@suse.de>
35625         [BZ #13268]
35626         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35628 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35630         * libio/iofwide.c (do_length): Avoid warning.
35632         * ctype/ctype.h (__isctype_f): Add missing __THROW.
35634 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
35636         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35638         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35639         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35640         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35641         * sysdeps/i386/i686/fpu/e_log.S: New file.
35642         * sysdeps/i386/i686/fpu/e_logf.S: New file.
35643         * sysdeps/i386/i686/fpu/e_logl.S: New file.
35645         * ctype/ctype.h: Add support for inlined isXXX functions when
35646         compiling C++ code.
35648 2011-10-14  Andreas Schwab  <schwab@redhat.com>
35650         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35652         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35654 2011-10-13  Roland McGrath  <roland@hack.frob.com>
35656         [BZ #13291]
35657         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35659 2011-10-13  Andreas Schwab  <schwab@redhat.com>
35661         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35662         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35663         feraiseexcept.
35665         * sysdeps/x86_64/memrchr.S: Check for zero size.
35667         * string/stratcliff.c: Add memrchr tests.
35669 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35672         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35673         rawmemchr-sse2 rawmemchr-sse2-bsf.
35674         * sysdeps/i386/i686/multiarch/memchr.S: New file.
35675         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35676         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35677         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35678         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35679         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35680         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35681         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35682         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35683         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35684         * string/memrchr.c (MEMRCHR): New macro.
35686 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
35688         Add integration with gcc's -ffinite-math-only and optimize wrapper
35689         functions in libm.
35690         * Versions.def: Define GLIBC_2.15 version for libm.
35691         * math/Makefile (headers): Add bits/math-finite.h.
35692         * math/bits/math-finite.h: New file.
35693         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35694         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35695         * math/e_acoshl.c: Add __*_finite alias.
35696         * math/e_acosl.c: Likewise.
35697         * math/e_asinl.c: Likewise.
35698         * math/e_atan2l.c: Likewise.
35699         * math/e_atanhl.c: Likewise.
35700         * math/e_coshl.c: Likewise.
35701         * math/e_exp10.c: Likewise.
35702         * math/e_exp10f.c: Likewise.
35703         * math/e_exp10l.c: Likewise.
35704         * math/e_exp2l.c: Likewise.
35705         * math/e_fmodl.c: Likewise.
35706         * math/e_gammal_r.c: Likewise.
35707         * math/e_hypotl.c: Likewise.
35708         * math/e_j0l.c: Likewise.
35709         * math/e_j1l.c: Likewise.
35710         * math/e_jnl.c: Likewise.
35711         * math/e_lgammal_r.c: Likewise.
35712         * math/e_log10l.c: Likewise.
35713         * math/e_log2l.c: Likewise.
35714         * math/e_logl.c: Likewise.
35715         * math/e_powl.c: Likewise.
35716         * math/e_sinhl.c: Likewise.
35717         * math/e_sqrtl.c: Likewise.
35718         * math/e_scalb.c: Completely rewritten and optimized.
35719         * math/e_scalbf.c: Likewise.
35720         * math/e_scalbl.c: Likewise.
35721         * math/w_acos.c: Likewise.
35722         * math/w_acosf.c: Likewise.
35723         * math/w_acosl.c: Likewise.
35724         * math/w_acosh.c: Likewise.
35725         * math/w_acoshf.c: Likewise.
35726         * math/w_acoshl.c: Likewise.
35727         * math/w_asin.c: Likewise.
35728         * math/w_asinf.c: Likewise.
35729         * math/w_asinl.c: Likewise.
35730         * math/w_atan2.c: Likewise.
35731         * math/w_atan2f.c: Likewise.
35732         * math/w_atan2l.c: Likewise.
35733         * math/w_atanh.c: Likewise.
35734         * math/w_atanhf.c: Likewise.
35735         * math/w_atanhl.c: Likewise.
35736         * math/w_exp10.c: Likewise.
35737         * math/w_exp10f.c: Likewise.
35738         * math/w_exp10l.c: Likewise.
35739         * math/w_fmod.c: Likewise.
35740         * math/w_fmodf.c: Likewise.
35741         * math/w_fmodl.c: Likewise.
35742         * math/w_j0.c: Likewise.
35743         * math/w_j0f.c: Likewise.
35744         * math/w_j0l.c: Likewise.
35745         * math/w_j1.c: Likewise.
35746         * math/w_j1f.c: Likewise.
35747         * math/w_j1l.c: Likewise.
35748         * math/w_jn.c: Likewise.
35749         * math/w_jnf.c: Likewise.
35750         * math/w_log.c: Likewise.
35751         * math/w_logf.c: Likewise.
35752         * math/w_logl.c: Likewise.
35753         * math/w_log10.c: Likewise.
35754         * math/w_log10f.c: Likewise.
35755         * math/w_log10l.c: Likewise.
35756         * math/w_log2.c: Likewise.
35757         * math/w_log2f.c: Likewise.
35758         * math/w_log2l.c: Likewise.
35759         * math/w_pow.c: Likewise.
35760         * math/w_powf.c: Likewise.
35761         * math/w_powl.c: Likewise.
35762         * math/w_remainder.c: Likewise.
35763         * math/w_remainderf.c: Likewise.
35764         * math/w_remainderl.c: Likewise.
35765         * math/w_scalb.c: Likewise.
35766         * math/w_scalbf.c: Likewise.
35767         * math/w_scalbl.c: Likewise.
35768         * math/w_sqrt.c: Likewise.
35769         * math/w_sqrtf.c: Likewise.
35770         * math/w_sqrtl.c: Likewise.
35771         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35772         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
35773         used.
35774         * math/math_private.h: Declare __kernel_standard_f.
35775         * math/w_cosh.c: Remove cruft and optimize a bit.
35776         * math/w_coshf.c: Likewise.
35777         * math/w_coshl.c: Likewise.
35778         * math/w_exp2.c: Likewise.
35779         * math/w_exp2f.c: Likewise.
35780         * math/w_exp2l.c: Likewise.
35781         * math/w_hypot.c: Likewise.
35782         * math/w_hypotf.c: Likewise.
35783         * math/w_hypotl.c: Likewise.
35784         * math/w_lgamma.c: Likewise.
35785         * math/w_lgamma_r.c: Likewise.
35786         * math/w_lgammaf.c: Likewise.
35787         * math/w_lgammaf_r.c: Likewise.
35788         * math/w_lgammal.c: Likewise.
35789         * math/w_lgammal_r.c: Likewise.
35790         * math/w_sinh.c: Likewise.
35791         * math/w_sinhf.c: Likewise.
35792         * math/w_sinhl.c: Likewise.
35793         * math/w_tgamma.c: Likewise.
35794         * math/w_tgammaf.c: Likewise.
35795         * math/w_tgammal.c: Likewise.
35796         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35797         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35798         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35799         Minor optimizations.  Pretty printing.  Remove cruft.
35800         * sysdeps/i386/fpu/e_acosf.S: Likewise.
35801         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35802         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35803         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35804         * sysdeps/i386/fpu/e_acosl.c: Likewise.
35805         * sysdeps/i386/fpu/e_asin.S: Likewise.
35806         * sysdeps/i386/fpu/e_asinf.S: Likewise.
35807         * sysdeps/i386/fpu/e_atan2.S: Likewise.
35808         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35809         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35810         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35811         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35812         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35813         * sysdeps/i386/fpu/e_exp10.S: Likewise.
35814         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35815         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35816         * sysdeps/i386/fpu/e_exp2.S: Likewise.
35817         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35818         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35819         * sysdeps/i386/fpu/e_fmod.S: Likewise.
35820         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35821         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35822         * sysdeps/i386/fpu/e_hypot.S: Likewise.
35823         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35824         * sysdeps/i386/fpu/e_log.S: Likewise.
35825         * sysdeps/i386/fpu/e_log10.S: Likewise.
35826         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35827         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35828         * sysdeps/i386/fpu/e_log2.S: Likewise.
35829         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35830         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35831         * sysdeps/i386/fpu/e_logf.S: Likewise.
35832         * sysdeps/i386/fpu/e_logl.S: Likewise.
35833         * sysdeps/i386/fpu/e_pow.S: Likewise.
35834         * sysdeps/i386/fpu/e_powf.S: Likewise.
35835         * sysdeps/i386/fpu/e_powl.S: Likewise.
35836         * sysdeps/i386/fpu/e_remainder.S: Likewise.
35837         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35838         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35839         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35840         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35841         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35842         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35843         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35844         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35845         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35846         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35848         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35850         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35851         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35852         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35853         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35854         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35855         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35856         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35858         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35859         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35861         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35862         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35863         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35864         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35865         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35866         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35867         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35868         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35869         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35870         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35871         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35872         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35873         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35874         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35875         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35876         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35877         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35879         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35880         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35881         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35882         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35883         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35884         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35885         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35886         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35887         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35888         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35889         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35890         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35891         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35892         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35893         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35894         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35895         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35896         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35898         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35900         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35901         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35902         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35903         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35904         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35905         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35906         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35909         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35910         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35911         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35912         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35913         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35914         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35915         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35916         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35917         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35918         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35921         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35922         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35923         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35924         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35925         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35926         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35927         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35928         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35929         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35930         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35931         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35932         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35933         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35934         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35935         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35936         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35937         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35938         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35939         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35940         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35941         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35942         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35943         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35944         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35945         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35946         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35947         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35948         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35949         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35950         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35951         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35952         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35953         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35954         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35955         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
35956         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35957         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35958         (__isnanf): Likewise.
35959         (__isinf_ns): Likewise.
35960         (__isinf_nsf): Likewise.
35961         (__finite): Likewise.
35962         (__finitef): Likewise.
35963         (__ieee754_sqrt): Define as macro.
35964         (__ieee754_sqrtf): Define as macro.
35965         (__ieee754_sqrtl): Define as macro.
35966         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35967         inlined copy.
35968         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35969         __FINITE_MATH_ONLY__ consistent.
35970         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35972 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
35974         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35975         of rawmemchr.
35977         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35979 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
35981         * po/ja.po: Update from translation team.
35983 2011-10-08  Roland McGrath  <roland@hack.frob.com>
35985         * locale/programs/locarchive.c (prepare_address_space): New function.
35986         (create_archive, enlarge_archive, open_archive): Use it.
35988         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35989         inside [SHARED], where it is used.
35991         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35993         * nss/getent.c (netgroup_keys): Remove unused variable.
35994         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35996 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
35998         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35999         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36001         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36002         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36003         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36004         * math/Makefile (libm-calls): Add s_isinf_ns.
36005         * math/divtc3.c: Use __isinf_nsl instead of isinf.
36006         * math/multc3.c: Likewise.
36007         * math/s_casin.c: Likewise.
36008         * math/s_casinf.c: Likewise.
36009         * math/s_casinl.c: Likewise.
36010         * math/s_ccos.c: Likewise.
36011         * math/s_ccosf.c: Likewise.
36012         * math/s_ccosl.c: Likewise.
36013         * math/s_ctan.c: Likewise.
36014         * math/s_ctanf.c: Likewise.
36015         * math/s_ctanh.c: Likewise.
36016         * math/s_ctanhf.c: Likewise.
36017         * math/s_ctanhl.c: Likewise.
36018         * math/s_ctanl.c: Likewise.
36019         * math/w_fmod.c: Likewise.
36020         * math/w_fmodf.c: Likewise.
36021         * math/w_fmodl.c: Likewise.
36022         * math/w_remainder.c: Likewise.
36023         * math/w_remainderf.c: Likewise.
36024         * math/w_remainderl.c: Likewise.
36025         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
36026         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
36027         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
36028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
36029         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
36030         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
36031         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
36032         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
36034         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
36035         of the number.
36036         * stdio-common/printf_fphex.c: Likewise.
36037         * stdio-common/printf_size.c: Likewise.
36039         * math/e_exp10.c: Include math_private.h using <...> not "...".
36040         * math/e_exp10f.c: Likewise.
36041         * math/e_exp10l.c: Likewise.
36042         * math/e_exp2l.c: Likewise.
36043         * math/e_j0l.c: Likewise.
36044         * math/e_j1l.c: Likewise.
36045         * math/e_jnl.c: Likewise.
36046         * math/e_lgammal_r.c: Likewise.
36047         * math/e_rem_pio2l.c: Likewise.
36048         * math/e_scalb.c: Likewise.
36049         * math/e_scalbf.c: Likewise.
36050         * math/e_scalbl.c: Likewise.
36051         * math/k_cosl.c: Likewise.
36052         * math/k_sinl.c: Likewise.
36053         * math/k_tanl.c: Likewise.
36054         * math/s_cacoshf.c: Likewise.
36055         * math/s_catan.c: Likewise.
36056         * math/s_catanf.c: Likewise.
36057         * math/s_catanh.c: Likewise.
36058         * math/s_catanhf.c: Likewise.
36059         * math/s_catanhl.c: Likewise.
36060         * math/s_catanl.c: Likewise.
36061         * math/s_ccosh.c: Likewise.
36062         * math/s_ccoshf.c: Likewise.
36063         * math/s_ccoshl.c: Likewise.
36064         * math/s_cexp.c: Likewise.
36065         * math/s_cexpf.c: Likewise.
36066         * math/s_cexpl.c: Likewise.
36067         * math/s_clog.c: Likewise.
36068         * math/s_clog10.c: Likewise.
36069         * math/s_clog10f.c: Likewise.
36070         * math/s_clog10l.c: Likewise.
36071         * math/s_clogf.c: Likewise.
36072         * math/s_clogl.c: Likewise.
36073         * math/s_csin.c: Likewise.
36074         * math/s_csinf.c: Likewise.
36075         * math/s_csinh.c: Likewise.
36076         * math/s_csinhf.c: Likewise.
36077         * math/s_csinhl.c: Likewise.
36078         * math/s_csinl.c: Likewise.
36079         * math/s_csqrt.c: Likewise.
36080         * math/s_csqrtf.c: Likewise.
36081         * math/s_csqrtl.c: Likewise.
36082         * math/s_ctan.c: Likewise.
36083         * math/s_ctanf.c: Likewise.
36084         * math/s_ctanh.c: Likewise.
36085         * math/s_ctanhf.c: Likewise.
36086         * math/s_ctanhl.c: Likewise.
36087         * math/s_ctanl.c: Likewise.
36088         * math/s_ldexp.c: Likewise.
36089         * math/s_ldexpf.c: Likewise.
36090         * math/s_ldexpl.c: Likewise.
36091         * math/s_significand.c: Likewise.
36092         * math/s_significandf.c: Likewise.
36093         * math/s_significandl.c: Likewise.
36094         * math/w_acos.c: Likewise.
36095         * math/w_acosf.c: Likewise.
36096         * math/w_acosh.c: Likewise.
36097         * math/w_acoshf.c: Likewise.
36098         * math/w_acoshl.c: Likewise.
36099         * math/w_acosl.c: Likewise.
36100         * math/w_asin.c: Likewise.
36101         * math/w_asinf.c: Likewise.
36102         * math/w_asinl.c: Likewise.
36103         * math/w_atan2.c: Likewise.
36104         * math/w_atan2f.c: Likewise.
36105         * math/w_atan2l.c: Likewise.
36106         * math/w_atanh.c: Likewise.
36107         * math/w_atanhf.c: Likewise.
36108         * math/w_atanhl.c: Likewise.
36109         * math/w_cosh.c: Likewise.
36110         * math/w_coshf.c: Likewise.
36111         * math/w_coshl.c: Likewise.
36112         * math/w_dremf.c: Likewise.
36113         * math/w_exp10.c: Likewise.
36114         * math/w_exp10f.c: Likewise.
36115         * math/w_exp10l.c: Likewise.
36116         * math/w_exp2.c: Likewise.
36117         * math/w_exp2f.c: Likewise.
36118         * math/w_fmod.c: Likewise.
36119         * math/w_fmodf.c: Likewise.
36120         * math/w_fmodl.c: Likewise.
36121         * math/w_hypot.c: Likewise.
36122         * math/w_hypotf.c: Likewise.
36123         * math/w_hypotl.c: Likewise.
36124         * math/w_j0.c: Likewise.
36125         * math/w_j0f.c: Likewise.
36126         * math/w_j0l.c: Likewise.
36127         * math/w_j1.c: Likewise.
36128         * math/w_j1f.c: Likewise.
36129         * math/w_j1l.c: Likewise.
36130         * math/w_jn.c: Likewise.
36131         * math/w_jnf.c: Likewise.
36132         * math/w_jnl.c: Likewise.
36133         * math/w_lgamma.c: Likewise.
36134         * math/w_lgamma_r.c: Likewise.
36135         * math/w_lgammaf.c: Likewise.
36136         * math/w_lgammaf_r.c: Likewise.
36137         * math/w_lgammal.c: Likewise.
36138         * math/w_lgammal_r.c: Likewise.
36139         * math/w_log.c: Likewise.
36140         * math/w_log10.c: Likewise.
36141         * math/w_log10f.c: Likewise.
36142         * math/w_log10l.c: Likewise.
36143         * math/w_log2.c: Likewise.
36144         * math/w_log2f.c: Likewise.
36145         * math/w_log2l.c: Likewise.
36146         * math/w_logf.c: Likewise.
36147         * math/w_logl.c: Likewise.
36148         * math/w_pow.c: Likewise.
36149         * math/w_powf.c: Likewise.
36150         * math/w_powl.c: Likewise.
36151         * math/w_remainder.c: Likewise.
36152         * math/w_remainderf.c: Likewise.
36153         * math/w_remainderl.c: Likewise.
36154         * math/w_scalb.c: Likewise.
36155         * math/w_scalbf.c: Likewise.
36156         * math/w_scalbl.c: Likewise.
36157         * math/w_sinh.c: Likewise.
36158         * math/w_sinhf.c: Likewise.
36159         * math/w_sinhl.c: Likewise.
36160         * math/w_sqrt.c: Likewise.
36161         * math/w_sqrtf.c: Likewise.
36162         * math/w_sqrtl.c: Likewise.
36163         * math/w_tgamma.c: Likewise.
36164         * math/w_tgammaf.c: Likewise.
36165         * math/w_tgammal.c: Likewise.
36167         * po/ja.po: Update from translation team.
36169 2011-09-29  Andreas Jaeger  <aj@suse.de>
36171         [BZ #13179]
36172         * sunrpc/netname.c (netname2host): Fix logic.
36174         [BZ #6779]
36175         [BZ #6783]
36176         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
36177         correctly.
36178         * math/w_remainder.c (__remainder): Likewise.
36179         * math/w_remainderf.c (__remainderf): Likewise.
36180         * math/libm-test.inc (remainder_test): Add test cases.
36182 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36184         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
36185         sdiv_qrnnd.
36187 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36189         * string/test-memcmp.c: Avoid unncessary #defines.
36190         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36192 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36194         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
36195         Use new sse2 version for core i3 - i7 as it's faster
36196         than sse42 version.
36197         (bit_Prefer_PMINUB_for_stringop): New.
36198         * sysdeps/x86_64/rawmemchr.S: Update.
36199         Replace with faster SSE2 version.
36200         * sysdeps/x86_64/memrchr.S: New file.
36201         * sysdeps/x86_64/memchr.S: Update.
36202         Replace with faster SSE2 version.
36204 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
36206         * elf/dl-load.c (lose): Add cast to avoid warning.
36208 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36210         * po/ca.po: Update from translation team.
36212         * inet/getnetgrent_r.c: Hook up nscd.
36213         * nscd/Makefile (routines): Add nscd_netgroup.
36214         (nscd-modules): Add netgroupcache.
36215         (CFLAGS-netgroupcache.c): Define.
36216         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
36217         (cache_search): Add const to second parameter.
36218         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
36219         INNETGR.
36220         (dbs): Add netgrdb entry.
36221         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
36222         (verify_persistent_db): Handle netgrdb.
36223         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
36224         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
36225         GETFDNETGR.
36226         (netgroup_response_header): Define.
36227         (innetgroup_response_header): Define.
36228         (datahead): Add netgroup_response_header and innetgroup_response_header
36229         elements.
36230         * nscd/nscd.conf: Add entries for netgroup cache.
36231         * nscd/nscd.h (dbtype): Add netgrdb.
36232         (_PATH_NSCD_NETGROUP_DB): Define.
36233         (netgroup_iov_disabled): Declare.
36234         (xmalloc, xcalloc, xrealloc): Move declarations here.
36235         (cache_search): Adjust prototype.
36236         Add netgroup-related prototypes.
36237         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
36238         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
36239         (__nscd_innetgr): Declare.
36240         * nscd/selinux.c (perms): Use access_vector_t as element type and
36241         add netgroup-related initializers.
36242         * nscd/netgroupcache.c: New file.
36243         * nscd/nscd_netgroup.c: New file.
36244         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
36245         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
36246         For four parameters use innetgr.
36247         * nss/nss_files/files-init.c: Add definition and callback for netgr.
36248         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
36249         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
36250         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
36252         * nscd/connections.c (register_traced_file): Don't register file
36253         for disabled databases.
36255 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
36257         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
36259         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
36260         from tree and freeing node.
36262 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
36264         * nss/nsswitch.c (__nss_database_lookup): Handle
36265         nss_parse_service_list out of memory case.
36267 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
36269         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
36270         out of memory case.
36272 2011-10-04  Andreas Schwab  <schwab@redhat.com>
36274         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
36275         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
36276         pass it down.
36277         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
36278         elf_machine_rela, elf_machine_lazy_rel.
36279         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
36280         (ELF_DYNAMIC_DO_REL): Likewise.
36281         (ELF_DYNAMIC_DO_RELA): Likewise.
36282         (ELF_DYNAMIC_RELOCATE): Likewise.
36283         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
36284         to ELF_DYNAMIC_DO_REL.
36285         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
36286         (dl_main): In trace mode always set __RTLD_NOIFUNC.
36287         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
36288         elf_machine_rela.
36289         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
36290         skip_ifunc, don't call ifunc function if non-zero.
36291         (elf_machine_rela): Likewise.
36292         (elf_machine_lazy_rel): Likewise.
36293         (elf_machine_lazy_rela): Likewise.
36294         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
36295         (elf_machine_lazy_rel): Likewise.
36296         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
36297         Likewise.
36298         (elf_machine_lazy_rel): Likewise.
36299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36300         Likewise.
36301         (elf_machine_lazy_rel): Likewise.
36302         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
36303         (elf_machine_lazy_rel): Likewise.
36304         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
36305         (elf_machine_lazy_rel): Likewise.
36306         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36307         (elf_machine_lazy_rel): Likewise.
36308         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
36309         (elf_machine_lazy_rel): Likewise.
36310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
36311         (elf_machine_lazy_rel): Likewise.
36312         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36313         (elf_machine_lazy_rel): Likewise.
36315 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
36317         * nss/nss_files/files-init.c (_nss_files_init): Use static
36318         initialization for all the *_traced_file variables.
36320 2011-09-28  Andreas Schwab  <schwab@redhat.com>
36322         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36324 2011-09-27  Roland McGrath  <roland@hack.frob.com>
36326         [BZ #13226]
36327         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
36329 2011-09-27  Andreas Schwab  <schwab@redhat.com>
36331         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36332         Reread the line before reparsing it.
36334 2011-09-26  Andreas Schwab  <schwab@redhat.com>
36336         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
36338 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
36339             Maxim Kuvyrkov  <maxim@codesourcery.com>
36340             Joseph Myers  <joseph@codesourcery.com>
36342         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
36343         if needed for __stack_chk_guard.
36345 2011-09-19  Roland McGrath  <roland@hack.frob.com>
36347         * sysdeps/posix/spawni.c (script_execute): Always define it.
36348         It will be optimized away if unused.
36349         (maybe_script_execute): New function.
36350         (__spawni): Call it.
36352         * Makerules: Don't include tls.make.
36353         (config-tls): Always set to thread.
36354         * tls.make.c: File removed.
36356 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
36358         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
36359         * config.make.in (CPPFLAGS-config): New substituted variable.
36361 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36363         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
36365         [BZ #13192]
36366         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
36367         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
36369 2011-09-15  Roland McGrath  <roland@hack.frob.com>
36371         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36372         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36374         (CALL_FAIL): Likewise.
36375         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36376         (CALL_FAIL): Macro removed.
36377         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36379 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36381         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36382         for __FINITE_MATH_ONLY__ == 1.
36384 2011-09-15  Andreas Schwab  <schwab@redhat.com>
36386         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36387         __ieee754_sqrt instead of sqrt.
36388         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36389         __ieee754_sqrtf instead of sqrtf.
36390         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36391         __floorf instead of floorf.
36392         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36393         __floorf, __truncf instead of floorf, truncf.
36395 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
36397         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36399         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36400         __extern_always_inline.
36401         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36402         32-bit.
36404 2011-09-14  Andreas Schwab  <schwab@redhat.com>
36406         * elf/rtld.c (dl_main): Also relocate in dependency order when
36407         doing symbol dependency testing.
36409 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
36411         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36412         Always define `refsym'.
36414 2011-09-13  Andreas Schwab  <schwab@redhat.com>
36416         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36417         (__FD_ELT): Renamed from __FDELT.
36418         * misc/bits/select2.h (__FD_ELT): Likewise.
36419         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36420         __FD_MASK instead of __FDELT, __FDMASK.
36421         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36422         Likewise.
36423         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36424         Likewise.
36426         * elf/Makefile (gen-ldd): Fix pattern.
36428         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36429         (init_tls): Likewise.
36431 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
36433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36435 2011-09-12  Andreas Schwab  <schwab@redhat.com>
36437         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36438         `struct cmsghdr *' instead of `void *'.
36439         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36440         Likewise.
36442 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
36444         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36445         if non-absolute.
36446         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36447         ldd_rewrite_script.
36449 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
36451         * configure.in: Remove --with-tls option.
36452         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36453         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36454         out in case it is missing.
36455         * sysdeps/ia64/elf/configure.in: Likewise.
36456         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36457         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36458         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36459         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36460         * sysdeps/sh/elf/configure.in: Likewise.
36461         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36462         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36463         * sysdeps/x86_64/elf/configure.in: Likewise.
36464         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36465         * sysdeps/mach/hurd/tls.h: Likewise.
36467         [BZ #13067]
36468         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36470         [BZ #13090]
36471         * configure.in: Fix use of AC_INIT.
36473         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36475 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
36477         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36478         __set_errno.
36479         * malloc/hooks.c: Likewise.
36481         [BZ #11929]
36482         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
36483         variables statically.
36484         (narenas): Initialize.
36485         (list_lock): Initialize.
36486         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
36487         initializtion of main_arena and list_lock.  Small cleanups.
36488         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36489         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
36490         Add initializers to main_arena and mp_.
36491         (malloc_state): Remove pagesize member.  Change all users to use
36492         GLRO(dl_pagesize).
36494         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36495         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
36496         is always initialized.
36498         * malloc/malloc.c: Removed unused configurations and dead code.
36499         * malloc/arena.c: Likewise.
36500         * malloc/hooks.c: Likewise.
36501         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36503         * include/tls.h: Removed.  USE___THREAD must always be defined.
36504         * bits/libc-tsd.h: Don't handle !USE___THREAD.
36505         * elf/dl-libc.c: Likewise.
36506         * elf/dl-tsd.c: Likewise.
36507         * include/errno.h: Likewise.
36508         * include/netdb.h: Likewise.
36509         * include/resolv.h: Likewise.
36510         * inet/herrno-loc.c: Likewise.
36511         * inet/herrno.c: Likewise.
36512         * malloc/arena.c: Likewise.
36513         * malloc/hooks.c: Likewise.
36514         * malloc/malloc.c: Likewise.
36515         * resolv/res-state.c: Likewise.
36516         * resolv/res_libc.c: Likewise.
36517         * sysdeps/i386/dl-machine.h: Likewise.
36518         * sysdeps/ia64/dl-machine.h: Likewise.
36519         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36520         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36521         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36522         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36523         * sysdeps/sh/dl-machine.h: Likewise.
36524         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36525         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36526         * sysdeps/unix/i386/sysdep.S: Likewise.
36527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36528         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36533         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36535         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36537         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36538         * sysdeps/x86_64/dl-machine.h: Likewise.
36539         * tls.make.c: Likewise.
36541         * configure.in: Remove --with-__thread option.  Make tests for
36542         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36543         tls_model attribute fail if no support is available.  Remove
36544         USE_IN_LIBIO.
36545         * Makeconfig: Adjust for dropped configure option.  All features are
36546         now mandatory.
36547         * Makerules: Likewise.
36548         * Versions.def: Likewise.
36549         * argp/argp-fmtstream.c: Likewise.
36550         * argp/argp-fmtstream.h: Likewise.
36551         * argp/argp-help.c: Likewise.
36552         * assert/assert.c: Likewise.
36553         * config.h.in: Likewise.
36554         * config.make.in: Likewise.
36555         * configure: Likewise.
36556         * configure.in: Likewise.
36557         * csu/Versions: Likewise.
36558         * csu/init.c: Likewise.
36559         * elf/tst-audit2.c: Likewise.
36560         * elf/tst-tls10.c: Likewise.
36561         * elf/tst-tls10.h: Likewise.
36562         * elf/tst-tls11.c: Likewise.
36563         * elf/tst-tls12.c: Likewise.
36564         * elf/tst-tls14.c: Likewise.
36565         * elf/tst-tlsmod11.c: Likewise.
36566         * elf/tst-tlsmod12.c: Likewise.
36567         * elf/tst-tlsmod13.c: Likewise.
36568         * elf/tst-tlsmod13a.c: Likewise.
36569         * elf/tst-tlsmod14a.c: Likewise.
36570         * elf/tst-tlsmod15b.c: Likewise.
36571         * elf/tst-tlsmod16a.c: Likewise.
36572         * elf/tst-tlsmod16b.c: Likewise.
36573         * elf/tst-tlsmod7.c: Likewise.
36574         * elf/tst-tlsmod8.c: Likewise.
36575         * elf/tst-tlsmod9.c: Likewise.
36576         * gmon/gmon.c: Likewise.
36577         * grp/fgetgrent_r.c: Likewise.
36578         * grp/putgrent.c: Likewise.
36579         * hurd/fopenport.c: Likewise.
36580         * include/libc-symbols.h: Likewise.
36581         * include/tls.h: Likewise.
36582         * intl/gettextP.h: Likewise.
36583         * intl/loadinfo.h: Likewise.
36584         * locale/global-locale.c: Likewise.
36585         * locale/localeinfo.h: Likewise.
36586         * mach/devstream.c: Likewise.
36587         * malloc/arena.c: Likewise.
36588         * malloc/set-freeres.c: Likewise.
36589         * misc/err.c: Likewise.
36590         * misc/getttyent.c: Likewise.
36591         * misc/mntent_r.c: Likewise.
36592         * posix/getopt.c: Likewise.
36593         * posix/wordexp.c: Likewise.
36594         * pwd/fgetpwent_r.c: Likewise.
36595         * resolv/Versions: Likewise.
36596         * resolv/res_hconf.c: Likewise.
36597         * shadow/fgetspent_r.c: Likewise.
36598         * shadow/putspent.c: Likewise.
36599         * stdio-common/printf_fphex.c: Likewise.
36600         * stdio-common/tmpfile.c: Likewise.
36601         * stdlib/abort.c: Likewise.
36602         * stdlib/fmtmsg.c: Likewise.
36603         * sunrpc/auth_unix.c: Likewise.
36604         * sunrpc/clnt_perr.c: Likewise.
36605         * sunrpc/clnt_tcp.c: Likewise.
36606         * sunrpc/clnt_udp.c: Likewise.
36607         * sunrpc/clnt_unix.c: Likewise.
36608         * sunrpc/openchild.c: Likewise.
36609         * sunrpc/svc_simple.c: Likewise.
36610         * sunrpc/svc_tcp.c: Likewise.
36611         * sunrpc/svc_udp.c: Likewise.
36612         * sunrpc/svc_unix.c: Likewise.
36613         * sunrpc/xdr.c: Likewise.
36614         * sunrpc/xdr_array.c: Likewise.
36615         * sunrpc/xdr_rec.c: Likewise.
36616         * sunrpc/xdr_ref.c: Likewise.
36617         * sunrpc/xdr_stdio.c: Likewise.
36619 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36621         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36623 2011-07-03  Andreas Jaeger  <aj@suse.de>
36625         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36626         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36627         regenerate with gen-libm-tests.pl.
36629 2010-05-12  Petr Baudis  <pasky@suse.cz>
36631         [BZ #11589]
36632         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36633         around j0() zero points by switching to j1().
36634         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36637         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36639 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36641         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36642         instead of 0.
36643         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36644         instead of 0.
36645         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36646         Patch in part by Pavel Roskin <proski@gnu.org>.
36648         [BZ #13138]
36649         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36650         realloc.
36651         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
36652         Free memory block if necessary.
36654         [BZ #12847]
36655         * libio/genops.c (INTDEF): For string streams the _lock pointer can
36656         be NULL.  Don't lock in this case.
36658 2011-09-09  Roland McGrath  <roland@hack.frob.com>
36660         * elf/elf.h (ELFOSABI_GNU): New macro.
36661         (ELFOSABI_LINUX): Define to that.
36663 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
36665         * string/strncat.c (strncat): Undef the symbol in case it has been
36666         defined in bits/string.h.
36668 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36670         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36672         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36673         link map.
36675 2011-08-17  Andreas Jaeger  <aj@suse.de>
36677         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36679 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36680             Ian Lance Taylor  <iant@google.com>
36682         * math/libm-test.inc (lround_test): New testcase.
36683         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36685 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
36687         * Makefile: Remove support for automatic cvs check-ins.
36688         * Makerules: Likewise.
36689         * config.make.in: Likewise.
36690         * configure.in: Likewise.
36691         * intl/Makefile: Likewise.
36692         * locale/Makefile: Likewise.
36693         * po/Makefile: Likewise.
36694         * posix/Makefile: Likewise.
36695         * sysdeps/gnu/Makefile: Likewise.
36696         * sysdeps/mach/hurd/Makefile: Likewise.
36697         * sysdeps/sparc/sparc32/Makefile: Likewise.
36699         [BZ #13118]
36700         * posix/Makefile (bug-regex32-ENV): Define.
36701         Patch by John Stanley <jpsinthemix@verizon.net>.
36703         * misc/Makefile (headers): Add bits/select2.h.
36704         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36705         * misc/bits/select2.h: New file.
36706         * include/bits/select2.h: New file.
36707         * debug/Makefile (routines): Add fdelt_chk.
36708         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36709         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36710         FD_ISSET.
36711         * debug/fdelt_chk.c: New file.
36713         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
36714         * wcsmbs/test-wmemcmp.c: Likewise.
36715         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36716         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36718 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36720         * string/Makefile (strop-tests): Add memcmp.
36721         * string/test-wmemcmp.c: New file.
36722         * string/test-memcmp.c: Add wmemcmp support.
36724 2011-09-08  Roland McGrath  <roland@hack.frob.com>
36726         [BZ #13153]
36727         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36728         2011-07-19 change.
36730         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36731         garbage value in a __mach_port_mod_refs call in the cases of the
36732         task-self and thread-self ports.
36734 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36736         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36738 2011-09-08  Andreas Schwab  <schwab@redhat.com>
36740         * elf/dl-load.c (lose): Check for non-null L.
36742 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
36744         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36746         * elf/dl-libc.c (dlerror_run): Pass back error code from
36747         dl_catch_error.
36749         [BZ #13123]
36750         * elf/dl-load.c (lose): Free l_origin if it is valid.
36752         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36753         names.
36754         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36755         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36757         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36758         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36759         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36761 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36763         * sysdeps/powerpc/fpu/e_hypot.c: New file.
36764         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36765         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36766         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36767         * sysdeps/powerpc/fpu/k_cosf.c: New file.
36768         * sysdeps/powerpc/fpu/k_sinf.c: New file.
36769         * sysdeps/powerpc/fpu/s_cosf.c: New file.
36770         * sysdeps/powerpc/fpu/s_sinf.c: New file.
36771         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36772         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36774 2011-08-15  Alan Modra  <amodra@gmail.com>
36776         [BZ #13092]
36777         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36778         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36779         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
36780         ppc_mcount to static-only-routines.
36781         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36782         __mcount_internal.
36783         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36784         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
36786 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
36788         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36789         for finite and infinity parameters.
36791 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36793         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36794         and add nop instructions for throughput optimization.
36795         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36797 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
36799         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36800         aligned copy for power7 with vector-scalar instructions.
36801         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36803 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
36805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36806         AVX check.
36808 2011-09-07  Andreas Schwab  <schwab@redhat.com>
36810         [BZ #13144]
36811         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36812         last change.
36814 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
36816         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36817         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36818         syscall wrapper around clock_gettime in __vdso_clock_gettime.
36819         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36820         clock_gettime.
36822 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
36824         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36825         Forgot to demangle the pointer.
36827         * sysdeps/i386/sysdep.h: Define atom_text_section.
36828         * sysdeps/x86_64/sysdep.h: Likewise.
36829         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36830         section with atom_text_section.
36831         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36832         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36833         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36834         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36835         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36837         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36838         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36839         already be defined.  Change to take two parameters and don't assign
36840         result to variable.  Adjust all users.
36841         Define INTERNAL_GETTIME if not already defined.
36842         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36843         call.
36844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36845         HAVE_CLOCK_GETTIME_VSYSCALL.
36846         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36848         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36849         gettimeofday vsyscall, just use time.
36851 2011-09-06  Andreas Schwab  <schwab@redhat.com>
36853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36854         <errno.h>.
36856 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
36858         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36859         syscall on x86-64.
36860         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36861         syscall.
36862         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36863         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36864         syscall if possible.
36866 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36868         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36869         e_ident.  Don't pass to find_mapsXX.
36870         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36872 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36875         strchr-sse2-no-bsf strrchr-sse2-no-bsf
36876         * sysdeps/x86_64/multiarch/strchr.S: Update.
36877         Check bit_slow_BSF bit.
36878         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36879         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36880         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36882 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36884         [BZ #13134]
36885         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36886         before glibc 2.15.
36887         (tryshell): Define.
36888         (__spawni): Change last parameter to be flag.  Test
36889         SPAWN_XFLAGS_USE_PATH flag to use path or not.
36890         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36891         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36892         * posix/spawni.c: Likewise.
36893         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36894         * posix/spawnp.c: Likewise.  Change normal version to use
36895         SPAWN_XFLAGS_USE_PATH.
36896         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36897         SPAWN_XFLAGS_TRY_SHELL.
36899         [BZ #13150]
36900         * posix/glob.h: Remove gcc 1.x support.
36902         [BZ #13068]
36903         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36905 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36908         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36909         strrchr-sse2-bsf
36910         * sysdeps/i386/i686/multiarch/strchr.S: New file.
36911         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36912         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36913         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36914         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36915         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36917 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36919         * sysdeps/x86_64/wcscmp.S: New file.
36921         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36922         wcscmp-c wcscmp-sse2
36923         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36924         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36925         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36926         * wcsmbs/wcscmp.c: Allow renaming.
36928 2011-09-05  David S. Miller  <davem@davemloft.net>
36930         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36931         stack slot, rather than the struct return pointer slot.
36932         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36933         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36935         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36937 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36939         * po/ja.po: Update from translation team.
36941         [BZ #13144]
36942         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36943         kernel in 64-bit binaries.
36945 2011-09-01  David S. Miller  <davem@davemloft.net>
36947         * elf/elf.h (HWCAP_SPARC_*): Move to..
36948         * sysdeps/sparc/sysdep.h: this new file and add new values.
36949         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36950         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36951         _DL_HWCAP_COUNT to 24.
36952         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36953         entries.
36954         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36955         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36956         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36958         instead of magic constants.
36959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36961 2011-08-31  David S. Miller  <davem@davemloft.net>
36963         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36965         Reimplement to do errno handling inline.
36966         (SYSCALL_ERROR_HANDLER): New macro.
36967         (__SYSCALL_STRING): Do not do errno handling in asm.
36968         (__CLONE_SYSCALL_STRING): Delete.
36969         (__INTERNAL_SYSCALL_STRING): Delete.
36970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36971         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36972         (PSEUDO): Reimplement to do errno handling inline.
36973         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36974         (SYSCALL_ERROR_HANDLER): New macro.
36975         (__SYSCALL_STRING): Do not do errno handling in asm.
36976         (__CLONE_SYSCALL_STRING): Delete.
36977         (__INTERNAL_SYSCALL_STRING): Delete.
36978         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36979         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36980         i386.
36981         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36982         (inline_syscall*): Add 'err' argument.
36983         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36984         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36985         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36986         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36988         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36989         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36991 2011-08-30  Andreas Schwab  <schwab@redhat.com>
36993         * elf/rtld.c (dl_main): Relocate objects in dependency order.
36995 2011-08-29  Jiri Olsa <jolsa@redhat.com>
36997         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36998         directive.
37000 2011-08-24  David S. Miller  <davem@davemloft.net>
37002         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37004 2011-08-24  Andreas Schwab  <schwab@redhat.com>
37006         * elf/Makefile: Add rules to build and run unload8 test.
37007         * elf/unload8.c: New file.
37008         * elf/unload8mod1.c: New file.
37009         * elf/unload8mod1x.c: New file.
37010         * elf/unload8mod2.c: New file.
37011         * elf/unload8mod3.c: New file.
37013         * elf/dl-close.c (_dl_close_worker): Reset private search list if
37014         it wasn't used.
37016 2011-08-23  David S. Miller  <davem@davemloft.net>
37018         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
37019         subtract stack bias.
37020         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
37021         %sp not %fp in calculations.
37022         (_JMPBUF_UNWINDS_ADJ): Likewise.
37024         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
37025         (aio_suspend): Call it to force an exception region around the
37026         AIO_MISC_WAIT() invocation.
37028 2011-08-23  Andreas Schwab  <schwab@redhat.com>
37030         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
37031         backslash.
37033 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
37035         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
37036         protection macro.
37037         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
37038         and <dl-machine.h>.
37039         (Elf64_FuncDesc): Remove.
37041 2011-08-22  David S. Miller  <davem@davemloft.net>
37043         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
37044         sigaltstack check, add missing cfi directives.
37045         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
37046         missing cfi directives, and sigaltstack handling.
37048 2011-08-16  Andreas Schwab  <schwab@redhat.com>
37050         [BZ #11724]
37051         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
37052         object is seen twice.
37053         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37055         * elf/Makefile (distribute): Add tst-initorder2.c.
37056         (tests): Add tst-initorder2.
37057         (modules-names): Add tst-initorder2a tst-initorder2b
37058         tst-initorder2c tst-initorder2d.  Add rules to build them.
37059         ($(objpfx)tst-initorder2.out): New rule.
37060         * elf/tst-initorder2.c: New file.
37061         * elf/tst-initorder2.exp: New file.
37063 2011-08-22  Andreas Schwab  <schwab@redhat.com>
37065         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
37067         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
37068         dependencies back to end of function.
37070         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37071         $(elfobjdir)/ld.so.
37073 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
37075         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
37076         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
37077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
37078         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
37079         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
37080         of __vdso_gettimeofday.
37081         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
37082         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
37083         attribute_hidden.
37084         (_libc_vdso_platform_setup): Remove initialization of
37085         __vdso_gettimeofday and __vdso_time.
37087 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37089         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
37090         and fgetc_unlocked.
37091         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
37092         getc_unlocked.
37094         * elf/dl-open.c (add_to_global): Report additions to the global scope
37095         for LD_DEBUG=scopes.
37096         (dl_open_worker): Also print scope of newly loaded dependencies.
37097         (_dl_show_scope): Indicate if there is no scope.
37099         [BZ #13114]
37100         * stdio-common/Makefile (tests): Add bug24.
37101         * stdio-common/bug24.c: New file.
37103 2011-08-19  Andreas Jaeger  <aj@suse.de>
37105         [BZ #13114]
37106         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
37107         non-existant file when using close-on-exec mode.
37109 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37111         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
37112         the very first instruction.
37114         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
37115         the CFI state in the end.
37116         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
37117         inclusion of dl-trampoline.h.
37118         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
37120 2011-08-19  Andreas Schwab  <schwab@redhat.com>
37122         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
37123         expectations for long double.
37125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
37126         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
37128 2011-08-14  David S. Miller  <davem@davemloft.net>
37130         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
37131         artificual limit depends upon the system page size.
37133 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37135         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
37136         * resolv/Makefile: Define CFLAGS-libresolv.
37138 2011-08-17  Andreas Schwab  <schwab@redhat.com>
37140         * nss/makedb.c (compute_tables): Make variables used in nested
37141         function static.
37143 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37145         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
37146         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
37147         if buffer was too small.
37149         * elf/pldd.c (main): Attach to all threads in the process.
37150         Rewrite /proc handling to use *at functions.
37152 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
37154         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
37155         specifies first scope to show.
37156         (dl_open_worker): Update callers.  Move printing scope of new
37157         object to before the relocation.
37158         * elf/rtld.c (dl_main): Update _dl_show_scope call.
37159         * sysdeps/generic/ldsodefs.h: Update declaration.
37161         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
37162         string for the scope number.
37164 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
37166         * nscd/servicescache.c (cache_addserv): Make sure written is always
37167         initialized.
37169 2011-08-14  Roland McGrath  <roland@hack.frob.com>
37171         * sysdeps/i386/i486/bits/atomic.h
37172         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
37173         statement expression, so as to suppress "set but not used" warning.
37174         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
37176         * string/strncat.c (STRNCAT): Use prototype definition.
37178         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
37179         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
37180         -Iprograms here.
37181         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
37182         (localedef-modules): Add localedef.
37183         (locale-modules): Add locale.
37185         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
37186         * elf/rtld.c (dl_main): Invert order of assignment in last change,
37187         to avoid a warning.
37189 2011-08-14  David S. Miller  <davem@davemloft.net>
37191         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
37192         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
37194 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
37196         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
37197         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
37198         * elf/rtld.c (dl_main): Set l_name of vDSO.
37199         Call _dl_show_scope when DL_DEBUG_SCOPES.
37200         (process_dl_debug): Recognize scopes flag and also set it for all.
37201         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
37202         Declare _dl_show_scope.
37204         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
37205         (do_dlopen): Pass caller_dlopen to dl_open.
37206         (__libc_dlopen_mode): Initialize caller_dlopen.
37208         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
37209         of libc.  Make tolower call locale-independent.  Optimize a bit by
37210         using isdigit instead of isalnum.
37211         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
37213 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
37215         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
37216         was a dependency or dynamically loaded.
37218 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
37220         * intl/l10nflist.c: Allow architecture-specific pop function.
37221         * sysdeps/x86_64/l10nflist.c: New file.
37223         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
37224         classification.
37226 2011-08-10  Andreas Schwab  <schwab@redhat.com>
37228         * include/dirent.h: Add libc_hidden_proto for scandirat and
37229         scandirat64.  Don't declare __scandirat64.
37230         * dirent/scandirat.c: Add libc_hidden_def.
37231         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
37232         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
37234 2011-08-10  David S. Miller  <davem@davemloft.net>
37236         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
37237         enum.
37238         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37239         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37240         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37242 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
37244         * Versions.def [libc]: Add GLIBC_2.15.
37245         * dirent/Makefile (routines): Add scandirat and scandirat64.
37246         * dirent/Versions [libc]: Export scandirat and scandirat64 for
37247         GLIBC_2.15.
37248         * dirent/dirent.h: Declare scandirat and scandirat64.
37249         * dirent/scandirat.c: New file.
37250         * dirent/scandirat64.c: New file.
37251         * sysdeps/wordsize-64/scandirat.c: New file.
37252         * sysdeps/wordsize-64/scandirat64.c: New file.
37253         * dirent/opendir.c: Define opendirat.
37254         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
37255         using scandirat.
37256         * dirent/scandir64.c: Adjust for scandir.c change.
37257         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
37258         __scandirat64, and __scandir_cancel_handler.
37259         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
37260         additional parameter and use openat instead of open (outside of ld.so).
37261         Add new __opendir as wrapper around __opendirat.
37262         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
37263         here without requiring old scandirat implementation.
37265 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
37267         * dirent/scandir.c (cancel_handler): Renamed to
37268         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
37269         defined.  Adjust users.
37270         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
37271         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
37273 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
37275         * string/test-string.h (IMPL): Use __STRING to expand name and then
37276         stringify it.
37278         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
37279         of cleanups.
37281 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37283         * string/Makefile: Update.
37284         (strop-tests): Append strncat.
37285         * string/test-wcscmp.c: New file.
37286         New comprehensive test for wcscmp.
37287         * string/test-strcmp.c: Update.
37288         (WIDE): New define.
37290 2011-07-22  Andreas Schwab  <schwab@redhat.com>
37292         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
37293         line.
37295 2011-07-26  Andreas Schwab  <schwab@redhat.com>
37297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37298         encoding to ACE if AI_IDN.
37300 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
37302         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
37303         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
37305 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37307         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
37308         Fix overflow bug in strncat.
37309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37311         * string/test-strncat.c: Update.
37312         Add new tests for checking overflow bugs.
37314 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37317         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
37318         * sysdeps/i386/i686/multiarch/strcat.S: New file.
37319         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
37320         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
37321         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
37322         * sysdeps/i386/i686/multiarch/strncat.S: New file.
37323         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
37324         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
37326         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
37327         (USE_AS_STRCAT): Define.
37328         Add strcat and strncat support.
37329         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37331 2011-07-25  Andreas Schwab  <schwab@redhat.com>
37333         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
37334         __n bigger than INT_MAX+1.
37335         (__strncmp_g): Likewise.
37337 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
37339         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
37340         * libio/stido.h: Likewise.
37342         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
37343         (AF_NFC): Define.
37344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
37345         (AF_NFC): Define.
37347         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
37348         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37349         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37350         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37351         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37353         [BZ #13021]
37354         * scripts/test-installation.pl: Don't expect libnss_test1 to be
37355         installed.
37357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
37358         typo.
37359         (_dl_x86_64_save_sse): Likewise.
37361 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
37363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
37364         OSXSAVE.
37365         (_dl_x86_64_save_sse): Likewise.
37367         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
37369         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37371 2011-07-21  Andreas Schwab  <schwab@redhat.com>
37373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37374         change.
37375         (_dl_x86_64_save_sse): Use correct AVX check.
37377 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37379         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37380         bug in strncpy/strncat.
37381         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37383 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
37385         * string/tester.c (test_strcat): Add tests for different alignments
37386         of source and destination.
37387         (test_strncat): Likewise.
37389 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37391         [BZ #12852]
37392         * posix/glob.c (glob): Check passed in values before using them in
37393         expressions to avoid some overflows.
37394         (glob_in_dir): Likewise.
37396         [BZ #13007]
37397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37398         check for AVX enablement so that we don't crash with old kernels and
37399         new hardware.
37400         * elf/tst-audit4.c: Add same checks here.
37401         * elf/tst-audit6.c: Likewise.
37403         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
37405 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
37407         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37409 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37411         * po/cs.po: Update from translation team.
37412         * po/bg.po: Likewise.
37414 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
37416         * misc/sys/cdefs.h: Add support for const attribute.
37417         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37418         to gnu_dev_{major,minor,makedev} functions.
37420 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
37422         * intl/dcigettext.c (get_output_charset): Add missing bracket.
37424 2011-07-20  Andreas Schwab  <schwab@redhat.com>
37426         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37427         strlen results.
37429 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37432         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37433         register in order to avoid conflicts with the soft frame pointer
37434         being held in r11 when necessary.
37435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37436         (INTERNAL_VSYSCALL_NCS): Likewise.
37438 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
37440         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37441         * elf/dl-fini.c (_dl_fini): Adjust caller.
37442         * elf/dl-close.c (_dl_close_worker): Likewise.
37443         * sysdeps/generic/ldsodefs.h: Adjust declaration.
37445 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37447         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37448         "aux_cache->nlibs < 0".
37450         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37451         in the reload-count case.
37453 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37456         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37457         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37458         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37459         * sysdeps/x86_64/multiarch/strcat.S: New file.
37460         * sysdeps/x86_64/multiarch/strncat.S: New file.
37461         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37462         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37463         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37464         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37465         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37466         (USE_AS_STRCAT): Define.
37467         Add strcat and strncat support.
37468         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37469         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37470         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37471         * string/strncat.c: Update.
37472         (USE_AS_STRNCAT): Define.
37473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37474         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37475         and i7.
37476         * sysdeps/x86_64/multiarch/init-arch.h
37477         (bit_Prefer_PMINUB_for_stringop): New.
37478         (index_Prefer_PMINUB_for_stringop): Likewise.
37479         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37480         bit_Prefer_PMINUB_for_stringop.
37482 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37484         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37485         buffer64.
37486         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37487         of casting of buffer.
37488         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37489         buffer32 and buffer64.
37490         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37491         writes instead of casting of buffer.
37492         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37493         buffer32.
37494         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37495         casting of buffer.
37497 2011-07-19  Andreas Schwab  <schwab@redhat.com>
37499         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37501 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37503         * nscd/nscd.c (termination_handler): Don't do anything for a database
37504         if it has not yet been initialized.
37506 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37508         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37510 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37512         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37514 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37516         * po/nl.po: Update from translation team.
37517         * po/sv.po: Likewise.
37519 2011-07-16  Roland McGrath  <roland@hack.frob.com>
37521         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37522         now disallowed by GCC.
37524         * configure.in (use-default-link): Default to yes if a test -shared
37525         link meets our qualifications.
37526         * configure: Regenerated.
37528         * config.make.in (output-format): New variable.
37529         * configure.in: Check for ld --print-output-format support.
37530         * configure: Regenerated.
37531         * Makerules ($(common-objpfx)format.lds)
37532         [$(output-format) != unknown]: Just use $(output-format),
37533         instead of the linker-script munging.
37535 2011-07-14  Roland McGrath  <roland@hack.frob.com>
37537         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37538         of $(common-objpfx)shlib.lds.
37539         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37541         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37542         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37544         * configure.in (-z relro check): Adjust test code to add a large
37545         writable data section after it.
37546         * configure: Regenerated.
37548 2011-07-11  Roland McGrath  <roland@hack.frob.com>
37550         * configure.in (-z relro check): Fix test code to make the variable
37551         truly const.
37552         * configure: Regenerated.
37554 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
37556         * nscd/nscd.h (struct traced_file): Define.
37557         (struct database_dyn): Remove inotify_descr, reset_res, and filename
37558         elements.  Add traced_files.
37559         (inotify_fd): Declare.
37560         (register_traced_file): Declare.
37561         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37562         (inotify_fd): Export.
37563         (resolv_conf_descr): Remove.
37564         (nscd_init): Move inotify descriptor creation to main.
37565         Don't register files for notification here.
37566         (register_traced_file): New function.
37567         (invalidate_cache): Don't use reset_res to determine whether to call
37568         res_init, go through the list of registered files.
37569         (main_loop_poll): The inotify descriptors are now stored in the
37570         structures for the traced files.
37571         (main_loop_epoll): Likewise
37572         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
37573         to __nss_disable_nscd.
37574         * nscd/cache.c (prune_cache): There is no single inotify descriptor
37575         for a database anymore.  Check the records for all the registered
37576         files instead.
37577         * nss/Makefile (libnss_files-routines): Add files-init.
37578         (libnss_db-routines): Add db-init.
37579         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37580         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37581         * nss/nss_db/db-init.c: New file.
37582         * nss/nss_files/files-init.c: New file.
37583         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
37584         __nss_lookup_function.
37585         (__nss_lookup_function): Call nss_load_library.
37586         (nss_load_all_libraries): New function.
37587         (__nss_disable_nscd): Take parameter with callback function for files
37588         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
37589         used for the cached services.
37590         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37591         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37592         options for features to all the files in nscd.
37594         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37596 2011-07-10  Roland McGrath  <roland@hack.frob.com>
37598         * csu/elf-init.c (__libc_csu_init): Comment typo.
37600 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
37602         * po/pl.po: Update from translation team.
37603         * po/ja.po: Likewise.
37604         * po/ru.po: Likewise.
37605         * po/ko.po: Likewise.
37606         * po/fr.po: Likewise.
37608 2011-07-09  Roland McGrath  <roland@hack.frob.com>
37610         * configure.in (.ctors/.dtors header and trailer check):
37611         Use an empirical test on a built program.
37612         * configure: Regenerated.
37614         * configure.in (-z relro check): Use an empirical test on a built DSO.
37615         Detect, but do not require, on ia64.
37616         * configure: Regenerated.
37618         * configure.in (READELF): Find it with AC_CHECK_TOOL.
37619         Update tests that use readelf to use $READELF instead.
37620         * configure: Regenerated.
37622 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
37624         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37625         if the result is not used.
37627 2011-07-05  Andreas Jaeger  <aj@suse.de>
37629         [BZ#9696]
37630         * stdlib/tst-strtod.c: Add testcase.
37632 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
37634         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37635         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37636         The latter has a higher limit.  Take additional parameter to pass to
37637         the new function.
37638         (__pathconf): Pass file to __statfs_link_max.
37639         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37640         __statfs_link_max.
37641         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37642         __statfs_link_max.
37644         [BZ #12868]
37645         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37646         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37647         Handle Lustre.
37648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37649         (__statfs_filesize_max): Likewise.
37650         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37652 2011-07-05  Andreas Jaeger  <aj@suse.de>
37654         * resolv/res_comp.c (dn_skipname): Remove unused variable.
37656 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
37658         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37659         `status' variable.
37660         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37661         Likewise.
37663 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
37665         * Makefile (strop-tests): Add strncat.
37666         * string/test-strncat.c: New file.
37668 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
37670         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37672 2011-06-21  Andreas Jaeger  <aj@suse.de>
37674         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37675         Copy rule from iconvdata/Makefile.
37677 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
37679         [BZ #12922]
37680         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37681         but no long options are defined, just return 'W'.
37683 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
37685         [BZ #9696]
37686         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37688 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
37690         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37691         netgroups to read.
37692         (innetgr): Likewise.
37694 2011-07-05  Roland McGrath  <roland@hack.frob.com>
37696         * config.make.in (install_root): Default to $(DESTDIR).
37698 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
37700         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37702 2011-07-02  Roland McGrath  <roland@hack.frob.com>
37704         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37706         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37707         containing directory rather than embedding absolute directory names.
37709         * scripts/check-local-headers.sh: Rewritten using awk.
37710         Match by word, not by line.  Print error messages for matches.
37711         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37713         * Makerules [shlib-lds-flags empty]:
37714         ($(common-objpfx)libc_pic.opts): New target.
37715         ($(common-objpfx)libc_pic.os.clean): New target.
37716         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37718         * config.make.in (OBJCOPY): New variable.
37719         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37720         * configure: Regenerated.
37722         * config.make.in (use-default-link): New variable.
37723         * configure.in (use_default_link): Grok --with-default-link to set it.
37724         * configure: Regenerated.
37725         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37726         (shlib-lds, shlib-lds-flags): Define to empty.
37728         * Makerules (shlib-lds): New variable.
37729         (shlib-lds-flags): New variable.
37730         (build-shlib, build-moduile, build-module-asneeded): Use it.
37731         ($(common-objpfx)libc.so): Use $(shlib-lds).
37732         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37733         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37735         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37736         DT_FLAGS/DT_FLAGS_1 with zero flags.
37738         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37739         linker script munging.
37741 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
37743         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37744         as 128-bit value.
37745         * crypt/sha512.c (sha512_process_block): Perform total addition using
37746         128-bit if possible.
37747         (__sha512_finish_ctx): Likewise.
37748         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37749         as 64-bit value.
37750         * crypt/sha256.c (SWAP64): Define.
37751         (sha256_process_block): Perform total addition using 64-bit if
37752         possible.
37753         (__sha256_finish_ctx): Likewise.
37755 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
37757         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
37758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37759         * nscd/hstcache.c (cache_addhst): Likewise.
37760         * nscd/grpcache.c (cache_addgr): Likewise.
37761         * nscd/aicache.c (addhstaiX): Likewise
37762         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37764 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
37766         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37767         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37768         * nscd/hstcache.c (cache_addhst): Likewise.
37769         * nscd/grpcache.c (cache_addgr): Likewise.
37770         * nscd/aicache.c (addhstaiX): Likewise
37772 2011-07-01  Andreas Schwab  <schwab@redhat.com>
37774         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37775         domain only when needed.
37777 2011-06-30  Andreas Schwab  <schwab@redhat.com>
37779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37780         is always restored.
37782 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
37784         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37785         are re-adding the entry.
37786         * nscd/servicescache.c (cache_addserv): Likewise.
37788 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
37790         * sysdeps/generic/dl-irel.h: fix protection against multiple
37791         inclusions.
37792         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37794 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
37796         [BZ #12935]
37797         * malloc/memusage.sh: Fix quoting in message.
37798         * debug/xtrace.sh: Likewise.
37800         * configure.in: Remove support for --experimental-malloc option, make
37801         it the default.
37802         * config.make.in: Likewise.
37803         * malloc/Makefile: Likewise.
37805 2011-06-27  Andreas Schwab  <schwab@redhat.com>
37807         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37808         two-byte characters.
37810 2011-06-27  Roland McGrath  <roland@hack.frob.com>
37812         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37813         AC_CACHE_CHECK invocation.
37814         * configure: Regenerated.
37816         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37818 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
37820         [BZ #12350]
37821         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
37822         bit from old_res_options.
37824         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37826         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37827         value type for setfct.
37829 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
37831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37832         __gettimeofday instead of gettimeofday.
37834 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
37836         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37838 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
37840         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37842         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37843         info.
37845 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
37847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37848         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37849         strcpy-sse2-unaligned strncpy-sse2-unaligned
37850         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37851         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37852         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37853         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37854         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37855         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37856         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37857         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37858         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37859         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37860         (STRCPY): Support SSE2 and SSSE3 versions.
37862 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
37864         [BZ #12874]
37865         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37866         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37867         kernels which artificially limit size of requests.
37869 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
37871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37872         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37873         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37874         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37875         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37876         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37877         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37878         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37879         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37880         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37881         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37882         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37883         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37884         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37885         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37887         Enable unaligned load optimization for Intel Core i3, i5 and i7
37888         processors.
37889         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37890         Define.
37891         (index_Fast_Unaligned_Load): Define.
37892         (HAS_FAST_UNALIGNED_LOAD): Define.
37894 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
37896         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37898 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
37900         [BZ #12907]
37901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37902         until it is clear that the information is realy needed.
37903         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37905 2011-06-22  Andreas Schwab  <schwab@redhat.com>
37907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37909 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
37911         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37912         /sys/devices/system/cpu/online if it is usable.
37914         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37915         reading the information from the /proc filesystem to once a second.
37917 2011-06-21  Andreas Jaeger  <aj@suse.de>
37919         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37920         NULL after inclusion of kernel headers.
37922 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
37924         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37925         calls to internal_setent.
37927         [BZ #12885]
37928         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37929         addresses using gethostbyname4_r ignore IPv4 addresses.
37931         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37932         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
37934         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37936 2011-06-20  David S. Miller  <davem@davemloft.net>
37938         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37939         inclusions.
37940         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37942         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37943         (elf_irel): Use it.
37944         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37945         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37946         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37947         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37948         * sysdeps/x86_64/dl-irel.h: Likewise.
37950         * elf/dl-runtime.c: Use elf_ifunc_invoke.
37951         * elf/dl-sym.c: Likewise.
37953 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
37955         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
37956         need to dereference resplen2.
37958 2011-06-14  Andreas Schwab  <schwab@redhat.com>
37960         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37962 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
37964         * Makeconfig: Define vardbdir and inst_vardbdir.
37965         * nss/Makefile: Add rules to install db-Makefile.
37967         * nss/nss_db/db-XXX.c: Cleanup.
37969         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37970         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37971         GLIBC_PRIVATE.
37972         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37973         * nss/makedb.c: Implement -g option to specify that value strings
37974         are generated and should not be added to table iterated over for
37975         get*ent calls.
37976         * nss/nss_db/db-initgroups.c: New file.
37978         * nss/getent.c: Add support for initgroups lookups through getgrouplist
37979         interface.
37981         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37982         (internal_getgrouplist): Adjust to name change.
37983         Update use_initgroups_entry if this is not the first call.
37984         * nss/databases.def: Add initgroups entry.
37986         * nss/makedb.c (compute_tables): Check result of multiple hash table
37987         sizes to minimize maximum chain length.
37989 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
37991         * Versions.def: Add entry for libnss_db.
37992         * shlib-versions: Likewise.
37993         * nss/Makefile: Add rules to build libnss_db.
37994         * nss/Versions: Add libnss_db information.  Organize libnss_files
37995         entries better.
37996         * nss/db-Makefile: Add gshadow support.  Change rules for the new
37997         makedb progra.  Some minor improvements to generate smaller files.
37998         * nss/nss_db/nss_db.h: Move NSS database header data structures to
37999         here from...
38000         * nss/makedb.c: ...here.
38001         Improve database format to be smaller and require less memory at
38002         runtime.
38003         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
38004         db anymore.
38005         * nss/nss_db/db-netgrp.c: Likewise.
38006         * nss/nss_db/db-open.c: Likewise.
38007         * nss/nss_files/flies-XXX.x: Adjust comments.
38008         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
38009         * nss/nss_files/files-grp.c: Likewise.
38010         * nss/nss_files/files-hosts.c: Likewise.
38011         * nss/nss_files/files-network.c: Likewise.
38012         * nss/nss_files/files-proto.c: Likewise.
38013         * nss/nss_files/files-pwd.c: Likewise.
38014         * nss/nss_files/files-rpc.c: Likewise.
38015         * nss/nss_files/files-service.c: Likewise.
38016         * nss/nss_files/files-sgrp.c: Likewise.
38017         * nss/nss_files/files-spwd.c: Likewise.
38018         * nss/nss_db/db-alias.c: Removed.
38019         * nss/nss_db/dummy-db.h: Removed.
38021 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
38023         * nss/makedb.c: Rewritten to not use database library.
38024         * nss/Makefile: Update to build new makedb program.
38026 2011-06-14  Andreas Jaeger  <aj@suse.de>
38028         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
38029         memset declaration.
38031 2011-06-10  Andreas Schwab  <schwab@redhat.com>
38033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
38034         tmpbuf.
38036 2011-06-10  Roland McGrath  <roland@hack.frob.com>
38038         * Makerules (shlib.lds): Fail if the linker script comes out empty.
38039         * elf/Makefile ($(objpfx)ld.so): Likewise.
38041         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
38042         Don't list ld.so twice in dependencies.
38044         * posix/bug-regex31.c: Include <stdlib.h>.
38046         * nscd/hstcache.c (cache_addhst): Remove unused variable.
38048         * nis/nss_compat/compat-spwd.c
38049         (getspent_next_nss_netgr): Remove unused variable.
38050         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
38052         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
38053         nonmembers" output to use the right array.
38055         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
38057         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
38059         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
38060         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
38061         * catgets/gencat.c (read_input_file): Likewise.
38062         * locale/programs/locarchive.c (enlarge_archive): Likewise.
38064         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
38065         variable definition inside #if's controlling its use.
38067         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
38069         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
38071         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
38073         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
38074         unreachable code.
38076         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
38078         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
38079         * configure: Regenerated.
38081         * Makerules: Revert last change.
38082         * elf/Makefile: Likewise.
38084 2011-06-09  Roland McGrath  <roland@hack.frob.com>
38086         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
38087         * elf/Makefile ($(objpfx)librtld.os): Likewise.
38088         (reloc-link): Likewise.
38090 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
38092         * elf/Makefile: Add rules to build pldd.
38093         * elf/pldd.c: New file.
38094         * elf/pldd-xx.c: New file.
38096 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
38098         * version.h: Update for 2.15 development version.
38100 2011-06-07  David S. Miller  <davem@davemloft.net>
38102         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
38103         ifuncs.
38104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
38105         elf_machine_lazy_rel): Likewise.
38106         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38107         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
38108         elf_machine_lazy_rel): Likewise.
38109         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
38110         dl_hwcap via passed in argument.
38111         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
38112         Likewise.
38114 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38116         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
38118 2011-06-06  Roland McGrath  <roland@hack.frob.com>
38120         [BZ #12849]
38121         * manual/fdl-1.1.texi: New file, verbatim from:
38122         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
38123         * manual/lgpl-2.1.texi: New file, verbatim from:
38124         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
38125         * manual/Makefile (licenses): New variable, list those new file names.
38126         (texis): Use it.
38127         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
38129         * manual/fdl.texi: File removed.
38130         * manual/lesser.texi: File removed.
38131         * manual/libc.texinfo (Copying, Documentation License):
38132         Use new @include file names, put @appendix directive before @include.
38134 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
38136         [BZ #12841]
38137         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
38138         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
38139         (mq_open): Add __NTH.
38141 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
38143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38144         Assume Intel Core i3/i5/i7 processor if AVX is available.
38146 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38149         typo.
38151 2011-05-31  Andreas Schwab  <schwab@redhat.com>
38153         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
38154         memory.  Use alloca_account.  Fix memory leak when retrying.
38156 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38158         * version.h (RELEASE): Bump for 2.14 release.
38159         * include/features.h (__GLIBC_MINOR__): Bump to 14.
38161         * config.make.in (RANLIB): Remove entry.
38163 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
38165         * po/Makefile (po-sed-cmd): Add ksh to extensions.
38166         (libc.pot): Work around missing support for .ksh extension in xgettext.
38168         [BZ #12684]
38169         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
38170         if both request failed.
38171         (send_dg): In case of server errors clear resplen or *resplen2.
38173         [BZ #12454]
38174         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
38175         when there are multiple maps.
38176         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
38177         (_dl_fini): Remove test here.
38179         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
38181 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
38183         [BZ #12350]
38184         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
38185         bit from old_res_options.
38186         (gaih_inet): Likewise.
38188         [BZ #11099]
38189         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
38190         as signed.
38192         * resolv/res_init.c (res_setoptions): Make the code more compact.
38194         [BZ #11558]
38195         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
38196         set RES_USEVC.
38198         [BZ #11634]
38199         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
38201         * malloc/malloc.h: Mark malloc hook variables as deprecated.
38203         [BZ #11781]
38204         * malloc/malloc.h: Declare malloc hook variables as volatile.
38206         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
38207         in last patch.
38209         [BZ #11799]
38210         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
38211         raise in the comment.
38212         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38213         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38214         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
38216 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
38218         [BZ #12811]
38219         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
38220         grow the buffers more if it already has to be sufficient.
38221         (build_wcs_upper_buffer): Likewise.
38222         * posix/regexec.c (check_matching): Likewise.
38223         (clean_state_log_if_needed): Likewise.
38224         (extend_buffers): Don't enlarge buffers beyond size of the input
38225         buffer.
38226         Patches mostly by Emil Wojak <emil@wojak.eu>.
38227         * posix/bug-regex32.c: New file.
38228         * posix/Makefile (tests): Add bug-regex32.
38230         * locale/findlocale.c (_nl_find_locale): Return right away if
38231         _nl_explode_name failed.
38232         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
38234         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
38236         * debug/xtrace.sh: Unify messages.
38237         * malloc/memusage.sh: Likewise.
38239         [BZ #12813]
38240         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
38241         time symbol from vDSO.  Substitute with vsyscall if not available.
38242         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
38243         __vdso_time.
38245         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
38246         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
38247         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
38248         Add sendmmsg and internal_sendmmsg.
38249         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
38250         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
38251         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
38253         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
38254         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
38255         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
38257 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
38259         [BZ #12813]
38260         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
38261         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
38262         available.
38263         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
38264         __vdso_getcpu.
38266         [BZ #12814]
38267         * iconvdata/Makefile (tests): Add bug-iconv9.
38268         * iconvdata/bug-iconv9.c: New file.
38270 2011-05-27  Andreas Schwab  <schwab@redhat.com>
38272         [BZ #12814]
38273         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
38275 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
38277         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38278         (struct user_regs_struct): Change intcs field back to cs.
38280 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
38282         * po/ja.po: Update from translation team.
38284 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
38286         [BZ #12795]
38287         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
38288         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
38290 2011-05-20  Andreas Schwab  <schwab@redhat.com>
38292         * stdlib/longlong.h: Update from GCC.
38294 2011-05-23  Andreas Schwab  <schwab@redhat.com>
38296         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
38297         parameter name.
38298         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
38299         Add parameter name.
38300         (__sysconf): Pass it down.
38302 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
38304         [BZ #12671]
38305         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
38306         some situations.
38307         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38308         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
38309         add in in __libc_use_alloca calls.  Adjust callers.
38310         (glob): Use malloc in some situations.
38312         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
38313         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
38314         pltexit.
38316 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
38318         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
38319         and CLOCK_BOOTTIME_ALARM.
38321         [BZ #12782]
38322         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
38323         is returned.
38325         * string/_strerror.c (__strerror_r): Print negative errors as signed
38326         numbers.
38328         [BZ #12777]
38329         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
38330         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
38331         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
38333         * configure.in: Fix typo in redirection and correct removal of test
38334         files in two cases.
38336         [BZ #12788]
38337         * locale/setlocale.c (new_composite_name): Fix test to check for
38338         identical name of all categories.
38340         [BZ #12792]
38341         * libio/filedoalloc.c (local_isatty): New function.
38342         (_IO_file_doallocate): Use local_isatty.
38343         * stdio-common/perror.c (perror): In case a new stream is used
38344         forward the stream error.
38345         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
38346         error flag.
38348 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
38350         [BZ #11869]
38351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
38352         alloca.
38353         * include/alloca.h (extend_alloca_account): Define.
38355         [BZ #11857]
38356         * posix/regex.h: Fix comments with documentation of user-accessible
38357         fields after compilation and describe correct free'ing of pattern
38358         after re_compile_pattern.
38359         Patch by Reuben Thomas <rrt@sc3d.org>.
38361 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
38363         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
38364         and -mno-altivec to prevent the compiler from using Altivec and/or
38365         VSX instructions when the corresponding registers are not available.
38367 2011-05-19  Andreas Schwab  <schwab@redhat.com>
38369         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38371 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
38373         * libio/freopen.c (freopen): Use __dup2, not dup2.
38374         * libio/freopen64.c (freopen64): Likewise.
38376 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38378         [BZ #12775]
38379         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38380         * math/Makefile (tests): Add test-powl.
38381         (CFLAGS-test-powl.c): Define.
38382         * math/test-powl.c: New file.
38384 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38386         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38388 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
38390         [BZ #11837]
38391         * iconvdata/gb18030.c: Update to GB18020-2005.
38393 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
38395         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38396         RE_SYNTAX_POSIX_AWK): Update to match recent development.
38397         Patch by Aharon Robbins <arnold@skeeve.com>.
38399         [BZ #11892]
38400         * stdlib/putenv.c (putenv): Don't always create copy of the variable
38401         on the stack.
38403         [BZ #11895]
38404         * misc/pselect.c (__pselect): Handle timeout value errors hidden
38405         through underflows.
38407         [BZ #12766]
38408         * misc/error.c (error_at_line): Ensure file_name and old_file_name
38409         point to strings before performing equality test for error_one_per_line
38410         mode.
38412         [BZ #11697]
38413         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38415         [BZ #11820]
38416         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38417         (struct user_fpregs_struct): Avoid __uint*_t types.
38419         [BZ #6420]
38420         * malloc/mtrace.c (tr_where): Add additional parameter to point to
38421         symbol info.  Use it instead of calling _dl_addr locally.
38422         (lock_and_info): New function.
38423         (tr_freehook): Call lock_and_info and pass symbol info as additional
38424         parameter to tr_where.
38425         (tr_mallochook): Likewise.
38426         (tr_reallochook): Likewise.
38427         (tr_memalignhook): Likewise.
38429         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
38430         used and couldn't be at all thread-safe.
38432 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
38434         * libio/freopen.c (freopen): Don't close old file descriptor
38435         before the new one is opened.  Instead dup the new file descriptor
38436         to the old one after the new stream is created.
38437         * libio/freopen64.c (freopen64): Likewise.
38438         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38439         * libio/fileops.c (_IO_new_file_close_it): Handle new
38440         _IO_FLAGS2_NOCLOSE flag.
38441         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38442         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38443         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38444         _IO_FLAGS2_NOCLOSE flag.
38445         * include/unistd.h: Add hidden_proto for dup3.
38446         Define __have_dup3.
38447         * io/dup3.c: Define hidden symbol.
38448         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38450         [BZ #7101]
38451         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38452         when an incomplete long option is used.
38453         * posix/tst-getopt_long1.c: New file.
38454         * posix/Makefile (tests): Add tst-getopt_long1.
38456         [BZ #10138]
38457         * scripts/config.guess: Update from autoconf-2.68.
38458         * scripts/config.sub: Likewise.
38460         [BZ #10157]
38461         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38462         tests into ...
38463         (has_cpuclock): ...this.  New function.
38464         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38465         macro here based on has_cpuclock code.
38467         [BZ #10149]
38468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38469         First byte (not low byte) is now always NUL.
38470         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38473         Use non-cancelable interfaces.
38475         [BZ #9809]
38476         * locale/iso-639.def: Add entry for Sorani.
38478         [BZ #11901]
38479         * include/stdlib.h: Move include protection to the right place.
38480         Define abort_msg_s.  Declare __abort_msg with it.
38481         * stdlib/abort.c (__abort_msg): Adjust type.
38482         * assert/assert.c (__assert_fail_base): New function.  Majority
38483         of code from __assert_fail.  Allocate memory for __abort_msg with
38484         mmap.
38485         (__assert_fail): Now call __assert_fail_base.
38486         * assert/assert-perr.c: Remove bulk of implementation.  Use
38487         __assert_fail_base.
38488         * include/assert.hL Declare __assert_fail_base.
38489         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38490         mmap.
38491         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38493 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
38495         [BZ #11952]
38496         [BZ #12453]
38497         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38498         until all modules are registered in the DTV.
38499         * elf/Makefile: Add rules to build and run tst-tls19.
38500         * elf/tst-tls19.c: New file.
38501         * elf/tst-tls19mod1.c: New file.
38502         * elf/tst-tls19mod2.c: New file.
38503         * elf/tst-tls19mod3.c: New file.
38504         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38506         [BZ #12083]
38507         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38508         correctly.
38510         [BZ #12601]
38511         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38512         two-byte sequence errors.
38513         * iconvdata/Makefile (tests): Add bug-iconv8.
38514         * iconvdata/bug-iconv8.c: New file.
38516         [BZ #12626]
38517         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38518         buf2 definition.
38520         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38522         [BZ #12432]
38523         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38524         (dummy_getcfa): New function.
38525         (init): Get _Unwind_GetCFA address, use dummy if not found.
38526         (backtrace_helper): In recursion check, also check whether CFA changes.
38527         (__backtrace): Completely initialize arg.
38529         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38530         storing incomplete byte sequence in state object.  Avoid testing for
38531         guaranteed too small input if we know there is enough data available.
38533 2011-05-11  Andreas Schwab  <schwab@redhat.com>
38535         * Makeconfig (+link-pie): Indent.
38536         * Rules (binaries-pie): Define if $(have-fpie) and
38537         $(build-shared).
38538         (binaries-shared): Also filter out $(binaries-pie).
38539         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38540         * nscd/Makefile (others-pie): Add nscd.
38541         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38542         ($(objpfx)nscd): Remove command override.
38543         * login/Makefile (others-pie): Add pt_chown.
38544         ($(objpfx)pt_chown): Remove command override.
38545         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38546         remove command overrides.
38548 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
38550         * libio/tst_putwc.c: Fix error messages.
38552         [BZ #12724]
38553         * libio/fileops.c (_IO_new_file_close_it): Always flush when
38554         currently writing and seek to current position when not.
38555         * libio/Makefile (tests): Add bug-fclose1.
38556         * libio/bug-fclose1.c: New file.
38558 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
38560         [BZ #12511]
38561         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38562         don't set DF_1_NODELETE here.
38563         (do_lookup_x): When entering new entry test for copy relocation
38564         and if necessary set DF_1_NODELETE flag.
38565         * elf/tst-unique4.cc: New file.
38566         * elf/tst-unique4.h: New file.
38567         * elf/tst-unique4lib.cc: New file.
38568         * elf/Makefile: Add rules to build and run tst-unique4.
38569         Patch by Piotr Bury <pbury@goahead.com>.
38571 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
38573         [BZ #12052]
38574         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38576         [BZ #12625]
38577         * misc/mntent_r.c (addmntent): Flush the stream after the output
38579         [BZ #12393]
38580         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38581         (is_trusted_path_normalize): Skip initial colon.  Append slash
38582         to empty buffer.  Duplicate is_trusted_path code but allow
38583         constructed patch to be prefix.
38584         (is_dst): Allow $ORIGIN followed by /.
38585         (_dl_dst_substitute): Correct clearing of check_for_trusted.
38586         Correct testing of result of is_trusted_path_normalize
38587         (decompose_rpath): Fix warning.
38589 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
38591         [BZ #11257]
38592         * grp/initgroups.c (internal_getgrouplist): When we found the service
38593         list through the initgroups entry in nsswitch.conf do not always
38594         continue on a successful lookup.  Don't always use the
38595         __nss_group_database value if it is set.
38596         * nss/nsswitch.conf (initgroups): Change action for successful db
38597         lookup to continue for compatibility.
38599 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
38601         [BZ #11532]
38602         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38603         and CP774 modules.
38604         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38605         and CP774 modules.
38606         * iconvdata/tst-tables.sh: Likewise.
38607         * iconvdata/cp770.c: New file.
38608         * iconvdata/cp771.c: New file.
38609         * iconvdata/cp772.c: New file.
38610         * iconvdata/cp773.c: New file.
38611         * iconvdata/cp774.c: New file.
38612         * iconvdata/testdata/CP770: New file.
38613         * iconvdata/testdata/CP770..UTF8: New file.
38614         * iconvdata/testdata/CP771: New file.
38615         * iconvdata/testdata/CP771..UTF8: New file.
38616         * iconvdata/testdata/CP772: New file.
38617         * iconvdata/testdata/CP772..UTF8: New file.
38618         * iconvdata/testdata/CP773: New file.
38619         * iconvdata/testdata/CP773..UTF8: New file.
38620         * iconvdata/testdata/CP774: New file.
38621         * iconvdata/testdata/CP774..UTF8: New file.
38623         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38624         END CHARMAP line.
38625         * iconvdata/gen-8bit-gap.sh: Likewise.
38626         * iconvdata/gen-8bit.sh: Likewise.
38628         * locale/iso-639.def: Add ary entry.
38630         [BZ #11258]
38631         * locale/C-translit.h.in: Add U20A1 transliteration.
38633         [BZ #12178]
38634         * locale/iso-639.def: Add wae entry.
38635         Patch by Kevin Bortis <bortis@translate-wae.ch>.
38637         [BZ #12545]
38638         * locale/programs/localedef.c (construct_output_path): Use ssize_t
38639         for n.
38641         [BZ #12711]
38642         * locale/C-translit.h.in: Add entry for U20B9.
38643         Patch by pravin.d.s@gmail.com.
38645 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
38647         [BZ #12713]
38648         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38649         ENAMETOOLONG use generic getcwd.
38650         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
38651         in rtld.  Use *stat64.
38652         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38653         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38654         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38655         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38656         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38657         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38658         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38659         __fstatat64 macros.
38660         * include/dirent.h: Add libc_hidden_proto for rewinddir.
38661         * dirent/rewinddir.c: Add libc_hidden_def.
38662         * sysdeps/mach/hurd/rewinddir.c: Likewise.
38663         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
38665         * include/dirent.h (__alloc_dir): Add flags parameter.
38666         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38667         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38668         __alloc_dir.
38669         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
38670         from fdopendir if O_CLOEXEC is already set.
38672 2011-03-15  Alan Modra  <amodra@gmail.com>
38674         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38675         l_tls_firstbyte_offset non-zero.  Save padding offset in
38676         l_tls_firstbyte_offset for later use.
38677         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38678         freeing static tls block.
38680 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
38682         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38683         where #ifdef was intended.  The intent is to prevent ARG_MAX from
38684         being defined by the kernel headers.
38686 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
38688         [BZ #12734]
38689         * resolv/resolv.h: Define RES_NOTLDQUERY.
38690         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38691         no-tld-query and set RES_NOTLDQUERY.
38692         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38693         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38694         modern BIND to search name as TLD unless forbidden.
38696 2011-05-07  Petr Baudis  <pasky@suse.cz>
38697             Ulrich Drepper  <drepper@gmail.com>
38699         [BZ #12393]
38700         * elf/dl-load.c (fillin_rpath): Move trusted path check...
38701         (is_trusted_path): ...to here.
38702         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38703         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38704         using is_trusted_path_normalize() in setuid scripts.
38706 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38708         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38709         __BEGIN/__END_DECLS.
38711 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
38713         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38714         NSS_STATUS_NOTFOUND if no record was found.
38716 2011-05-05  Andreas Schwab  <schwab@redhat.com>
38718         * sunrpc/Makefile (headers): Add rpc/netdb.h.
38719         (headers-not-in-tirpc): Remove rpc/netdb.h
38720         * resolv/netdb.h: Revert last change.
38722 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38724         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38725         circular dependency between libgcc.a and libc.a.
38727 2011-05-05  Andreas Schwab  <schwab@redhat.com>
38729         * resolv/netdb.h: Don't include <rpc/netdb.h>.
38730         * nis/Makefile: Don't install rpcsvc/*.
38731         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38732         instead of <rpc/types.h>.
38733         (MAXHOSTNAMELEN): Define.
38735 2011-05-03  Andreas Schwab  <schwab@redhat.com>
38737         * elf/ldconfig.c (add_dir): Don't crash on empty path.
38739 2011-04-28  Maciej Babinski  <mbabinski@google.com>
38741         [BZ #12714]
38742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38743         gethostbyname4_r when IPv6 results are possible.
38745 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
38747         [BZ #12723]
38748         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38749         _PC_PIPE_BUF handling.
38751 2011-04-30  Bruno Haible  <bruno@clisp.org>
38753         [BZ #12717]
38754         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38755         * resolv/netdb.h (getnameinfo): Change type of flags parameter
38756         to 'int'.
38757         * inet/getnameinfo.c (getnameinfo): Likewise.
38759 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
38761         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38762         to groups setting in database lookup.
38763         * nss/nsswitch.conf: Add initgroups entry.
38765 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
38767         [BZ #12685]
38768         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38769         mode string.
38770         Patch by Eric Blake <eblake@redhat.com>.
38772 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
38774         * sunrpc/Makefile (need-export-routines): Add svc_run.
38775         (routines): Remove svc_run.
38776         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38777         * sunrpc/clnt_perr.c (clnt_perrno): Export.
38778         * sunrpc/svc_run.c (svc_run): Likewise.
38779         * sunrpc/svc_udp.c (svcudp_create): Likewise.
38781 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
38783         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38784         problem in reallocation in last patch.
38786 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
38788         * sunrpc/Makefile: Move inclusion of Rules.
38790 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
38792         * nss/nss_files/files-initgroups.c: New file.
38793         * nss/Makefile (libnss_files-routines): Add files-initgroups.
38794         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38795         _nss_files_initgroups_dyn.
38797 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
38799         * elf/elf.h (R_ARM_IRELATIVE): Define.
38801 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
38803         * po/ru.po: Update from translation team.
38805 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
38807         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38808         dependencies.
38810 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
38812         [BZ #12653]
38813         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38814         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38815         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38816         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38819 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
38821         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38822         differing bytes.
38823         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38824         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38825         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38827 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
38829         [BZ #12420]
38830         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38831         storing it.
38832         * stdlib/bug-getcontext.c: New file.
38833         * stdlib/Makefile: Add rules to build and run bug-getcontext.
38835 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38837         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38838         instructions into .machine "z9-109".
38839         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38840         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38842 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38844         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38845         between environment variables and auxiliary vector.
38847 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
38849         * Makefile: Add rules to build linkobj/libc.so.
38850         * include/libc-symbols.h: Define libc_hidden_nolink.
38851         * include/rpc/auth.h: Mark functions which are to be hidden.
38852         * include/rpc/auth_des.h: Likewise.
38853         * include/rpc/auth_unix.h: Likewise.
38854         * include/rpc/clnt.h: Likewise.
38855         * include/rpc/des_crypt.h: Likewise.
38856         * include/rpc/key_prot.h: Likewise.
38857         * include/rpc/pmap_clnt.h: Likewise.
38858         * include/rpc/pmap_prot.h: Likewise.
38859         * include/rpc/pmap_rmt.h: Likewise.
38860         * include/rpc/rpc_msg.h: Likewise.
38861         * include/rpc/svc.h: Likewise.
38862         * include/rpc/svc_auth.h: Likewise.
38863         * include/rpc/xdr.h: Likewise.
38864         * nis/Makefile: Link all DSOs against linkobj/libc.so.
38865         * nss/Makefile: Likewise.
38866         * sunrpc/Makefile: Don't install headers.  Build library with normal
38867         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
38868         * sunrpc/auth_des.c: Hide exported symbols by default, export some
38869         for the compat linking library.  Remove use of INTDEF/INTUSE.
38870         * sunrpc/auth_none.c: Likewise.
38871         * sunrpc/auth_unix.c: Likewise.
38872         * sunrpc/authdes_prot.c: Likewise.
38873         * sunrpc/authuxprot.c: Likewise.
38874         * sunrpc/clnt_gen.c: Likewise.
38875         * sunrpc/clnt_perr.c: Likewise.
38876         * sunrpc/clnt_raw.c: Likewise.
38877         * sunrpc/clnt_simp.c: Likewise.
38878         * sunrpc/clnt_tcp.c: Likewise.
38879         * sunrpc/clnt_udp.c: Likewise.
38880         * sunrpc/clnt_unix.c: Likewise.
38881         * sunrpc/des_crypt.c: Likewise.
38882         * sunrpc/des_soft.c: Likewise.
38883         * sunrpc/get_myaddr.c: Likewise.
38884         * sunrpc/key_call.c: Likewise.
38885         * sunrpc/key_prot.c: Likewise.
38886         * sunrpc/netname.c: Likewise.
38887         * sunrpc/pm_getmaps.c: Likewise.
38888         * sunrpc/pm_getport.c: Likewise.
38889         * sunrpc/pmap_clnt.c: Likewise.
38890         * sunrpc/pmap_prot.c: Likewise.
38891         * sunrpc/pmap_prot2.c: Likewise.
38892         * sunrpc/pmap_rmt.c: Likewise.
38893         * sunrpc/publickey.c: Likewise.
38894         * sunrpc/rpc_cmsg.c: Likewise.
38895         * sunrpc/rpc_common.c: Likewise.
38896         * sunrpc/rpc_dtable.c: Likewise.
38897         * sunrpc/rpc_prot.c: Likewise.
38898         * sunrpc/rpc_thread.c: Likewise.
38899         * sunrpc/rtime.c: Likewise.
38900         * sunrpc/svc.c: Likewise.
38901         * sunrpc/svc_auth.c: Likewise.
38902         * sunrpc/svc_authux.c: Likewise.
38903         * sunrpc/svc_raw.c: Likewise.
38904         * sunrpc/svc_run.c: Likewise.
38905         * sunrpc/svc_simple.c: Likewise.
38906         * sunrpc/svc_tcp.c: Likewise.
38907         * sunrpc/svc_udp.c: Likewise.
38908         * sunrpc/svc_unix.c: Likewise.
38909         * sunrpc/svcauth_des.c: Likewise.
38910         * sunrpc/xcrypt.c: Likewise.
38911         * sunrpc/xdr.c: Likewise.
38912         * sunrpc/xdr_array.c: Likewise.
38913         * sunrpc/xdr_float.c: Likewise.
38914         * sunrpc/xdr_intXX_t.c: Likewise.
38915         * sunrpc/xdr_mem.c: Likewise.
38916         * sunrpc/xdr_rec.c: Likewise.
38917         * sunrpc/xdr_ref.c: Likewise.
38918         * sunrpc/xdr_sizeof.c: Likewise.
38919         * sunrpc/xdr_stdio.c: Likewise.
38921 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
38923         [BZ #12650]
38924         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38925         * sysdeps/ia64/dl-tls.h: Likewise.
38926         * sysdeps/powerpc/dl-tls.h: Likewise.
38927         * sysdeps/s390/dl-tls.h: Likewise.
38928         * sysdeps/sh/dl-tls.h: Likewise.
38929         * sysdeps/sparc/dl-tls.h: Likewise.
38930         * sysdeps/x86_64/dl-tls.h: Likewise.
38931         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38933 2011-03-14  Andreas Schwab  <schwab@redhat.com>
38935         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38936         rpath element also skip the following colon.
38937         (expand_dynamic_string_token): Add is_path parameter and pass
38938         down to DL_DST_REQUIRED and _dl_dst_substitute.
38939         (decompose_rpath): Call expand_dynamic_string_token with
38940         non-zero is_path.  Ignore empty rpaths.
38941         (_dl_map_object_from_fd): Call expand_dynamic_string_token
38942         with zero is_path.
38944 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
38946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38947         Make cancelable.
38949 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
38951         [BZ #12655]
38952         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38953         Patch by Filipe David Manana <fdmanana@apache.org>.
38955 2011-04-07  Andreas Schwab  <schwab@redhat.com>
38957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38958         Maintain aligned stack.
38959         (CHECK_RSP): Remove unused macro.
38961 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
38963         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38964         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38966 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
38968         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38970         * include/features.h: Mention __USE_XOPEN2K8 in comment.
38972 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
38974         [BZ #12518]
38975         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38976         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38977         * sysdeps/x86_64/memmove.c: New file.
38978         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38979         (memcpy): Renamed to ...
38980         (__new_memcpy): This.
38981         (memcpy): Provide GLIBC_2_14 memcpy.
38982         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38983         (memcpy): Provide GLIBC_2_2_5 memcpy.
38985 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38987         [BZ #12631]
38988         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38990 2011-03-30  Andreas Schwab  <schwab@redhat.com>
38992         * misc/syncfs.c: New file.
38993         * misc/Makefile (routines): Add syncfs.
38994         * posix/unistd.h: Declare syncfs.
38995         * sysdeps/unix/syscalls.list: Add syncfs.
38997 2011-04-01  Andreas Schwab  <schwab@redhat.com>
38999         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39000         open_by_handle_at.
39001         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39002         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39003         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39004         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39006         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39007         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39009 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39011         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
39012         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39013         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
39014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39015         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39017         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39019         * io/Makefile: Compile fallocate.c, fallocate64.c, and
39020         sync_file_range.c with -fexceptions.
39021         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
39022         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
39023         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
39024         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
39025         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
39026         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39027         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
39028         sync_file_range as cancellation point
39029         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
39030         now a wrapper around __call_sync_file_range with cancellation handling.
39031         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
39032         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
39033         function name to __call_sync_file_range.
39034         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
39035         Add call_sync_file_range.
39037 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39040         bits/timex.h.
39042 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39044         * iconv/iconv.h: Fix typo in comment.
39045         * io/fcntl.h: Likewise.
39046         * libio/stdio.h: Likewise.
39047         * posix/spawn.h: Likewise.
39048         * posix/unistd.h: Likewise.
39049         * stdlib/stdlib.h: Likewise.
39050         * time/time.h: Likewise.
39051         * wcsmbs/wchar.h: Likewise.
39053         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
39054         open_by_handle): Add.
39055         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
39056         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
39057         Augment a few comments.
39058         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39060         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39063         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
39064         open_by_handle.
39066         * io/fcntl.h (AT_EMPTY_PATH): Define.
39068 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
39070         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
39071         * sysdeps/unix/sysv/linux/bits/time.h: New file.
39072         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
39073         to...
39074         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
39075         * Versions.def: Add GLIBC_2.14.
39076         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
39077         Export.
39079 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
39081         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
39082         round counter.
39083         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39085 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39087         [BZ #12597]
39088         * string/test-strncmp.c (do_page_test): New function.
39089         (check2): Likewise.
39090         (test_main): Call check2.
39091         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
39093 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
39095         [BZ #12587]
39096         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
39097         Handle cache information in CPU leaf 4.
39098         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39100 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
39102         [BZ #12583]
39103         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
39104         character representation.
39105         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
39107 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
39109         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
39110         END(__isnan) to END(__isnanf) to match function entry point/label
39111         EALIGN(__isnanf,...).
39113 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
39115         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
39117 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
39119         [BZ #12510]
39120         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
39121         copy from the symbol referenced in the relocation to initialize the
39122         used variable.
39123         Patch by Piotr Bury <pbury@goahead.com>.
39124         * elf/Makefile: Add rules to build and tst-unique3.
39125         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
39126         * elf/tst-unique3.cc: New file.
39127         * elf/tst-unique3.h: New file.
39128         * elf/tst-unique3lib.cc: New file.
39129         * elf/tst-unique3lib2.cc: New file.
39131         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
39133 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
39135         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
39136         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
39137         to _start.
39139 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
39141         * elf/dl-load.c (_dl_map_object): If we are looking for the first
39142         to-be-loaded object along a path to loader is ld.so.
39144 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39145             Ulrich Drepper  <drepper@gmail.com>
39147         * sysdeps/x86_64/memset.S: After aligning destination, code
39148         branches to different locations depending on the value of
39149         misalignment, when multiarch is enabled. Fix this.
39151 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39153         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
39154         Set _x86_64_preferred_memory_instruction for AMD processsors.
39155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39156         Set bit_Prefer_SSE_for_memop for AMD processors.
39158 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
39160         * libio/fmemopen.c (fmemopen): Optimize a bit.
39162 2011-03-03  Andreas Schwab  <schwab@redhat.com>
39164         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
39166 2011-03-03  Roland McGrath  <roland@redhat.com>
39168         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
39170 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
39172         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
39173         __bzero_ultra1 instead of __memset_ultra1.
39175 2011-02-23  Andreas Schwab  <schwab@redhat.com>
39176             Ulrich Drepper  <drepper@gmail.com>
39178         [BZ #12509]
39179         * include/link.h (struct link_map): Add l_orig_initfini.
39180         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
39181         returning unsuccessfully.
39182         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
39183         close of a file loaded at startup, restore the original l_initfini
39184         list.
39185         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
39186         list, store the pointer.
39187         * elf/Makefile ($(objpfx)noload-mem): New rule.
39188         (noload-ENV): Define.
39189         (tests): Add $(objpfx)noload-mem.
39190         * elf/noload.c: Include <memcheck.h>.
39191         (main): Call mtrace.  Close all opened handles.
39193 2011-02-17  Andreas Schwab  <schwab@redhat.com>
39195         [BZ #12454]
39196         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
39197         dependencies are missing.
39199 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39201         Fix __if_freereq crash: Unlike the generic version which uses free,
39202         Hurd needs munmap.
39203         * sysdeps/mach/hurd/ifreq.h: New file.
39205 2011-01-27  Petr Baudis  <pasky@suse.cz>
39206             Ulrich Drepper  <drepper@gmail.com>
39208         [BZ 12445]#
39209         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
39210         to extend_alloca().
39211         * stdio-common/bug23.c: New file.
39212         * stdio-common/Makefile (tests): Add bug23.
39214 2010-09-28  Andreas Schwab  <schwab@redhat.com>
39215             Ulrich Drepper  <drepper@gmail.com>
39217         [BZ #12489]
39218         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
39219         before performing relro protection.  At old place add assertion
39220         to make sure nothing changed.
39222 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
39223             Glauber de Oliveira Costa  <glommer@gmail.com>
39225         * elf/elf.h: Add new ARM TLS relocs.
39227 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
39229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39230         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
39231         cast from r3.
39232         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
39233         'tests' variable.
39234         * sysdeps/wordsize-64/tst-writev.c: New file.
39236 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
39238         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
39239         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
39240         insns in _dl_start to prevent a TOC reference before relocs are
39241         resolved.
39243 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
39245         [BZ #12469]
39246         * Makeconfig: Remove RANLIB definition.
39247         * Makerules: Don't use RANLIB.
39248         * aclocal.m4: Remove ranlib test.
39249         * configure.in: No need to check for ranlib.
39250         * elf/rtld-Rules: Don't use RANLIB.
39252 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39254         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
39255         protection macro.
39256         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
39257         inclusion protection macro.
39259         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
39260         SIGRTMIN and SIGRTMAX and print information in that case only when
39261         SIGRTMIN is defined.
39263 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
39265         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
39266         arginfo fn returning -1.
39268         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
39269         and thousands string is zero terminated.
39271 2011-02-03  Andreas Schwab  <schwab@redhat.com>
39273         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
39274         sysdeps/unix/sysv/linux/bits/socket.h.
39276 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39278         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
39279         (__CPU_COUNT): Remove old macros.
39280         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
39281         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
39282         (__CPU_ALLOC, __CPU_FREE): Add macros.
39283         (__sched_cpualloc, __sched_cpufree): Add declarations.
39285 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
39287         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
39288         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
39289         * nscd/aicache.c (addhstaiX): Return timeout of added value.
39290         (readdhstai): Return value of addhstaiX call.
39291         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
39292         (addgrbyX): Return value returned by cache_addgr.
39293         (readdgrbyname): Return value returned by addgrbyX.
39294         (readdgrbygid): Likewise.
39295         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
39296         (addpwbyX): Return value returned by cache_addpw.
39297         (readdpwbyname): Return value returned by addhstbyX.
39298         (readdpwbyuid): Likewise.
39299         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
39300         (addservbyX): Return value returned by cache_addserv.
39301         (readdservbyname): Return value returned by addservbyX:
39302         (readdservbyport): Likewise.
39303         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
39304         (addhstbyX): Return value returned by cache_addhst.
39305         (readdhstbyname): Return value returned by addhstbyX.
39306         (readdhstbyaddr): Likewise.
39307         (readdhstbynamev6): Likewise.
39308         (readdhstbyaddrv6): Likewise.
39309         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
39310         (readdinitgroups): Return value returned by addinitgroupsX.
39311         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
39312         (prune_cache): Keep track of timeout value of re-added entries.
39313         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
39314         * nscd/nscd.h: Adjust prototypes of readd* functions.
39316 2011-02-04  Roland McGrath  <roland@redhat.com>
39318         * nis/nis_server.c (nis_servstate): Use the right name for 0.
39319         (nis_stats): Likewise.
39320         * nis/nis_modify.c (nis_modify): Likewise.
39321         * nis/nis_remove.c (nis_remove): Likewise.
39322         * nis/nis_add.c (nis_add): Likewise.
39324         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
39326         * posix/fnmatch_loop.c: Add some consts.
39328         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
39330 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
39332         [BZ #12460]
39333         * config.make.in (config-cflags-novzeroupper): Define.
39334         * configure.in: Substitute libc_cv_cc_novzeroupper.
39335         * elf/Makefile (AVX-CFLAGS): Define.
39336         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
39337         (CFLAGS-tst-auditmod4a.c): Likewise.
39338         (CFLAGS-tst-auditmod4b.c): Likewise.
39339         (CFLAGS-tst-auditmod6b.c): Likewise.
39340         (CFLAGS-tst-auditmod6c.c): Likewise.
39341         (CFLAGS-tst-auditmod7b.c): Likewise.
39342         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
39344 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
39346         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
39347         function to the callback.
39348         Patch partly by Jiri Olsa <jolsa@redhat.com>.
39350 2011-02-02  Andreas Schwab  <schwab@redhat.com>
39352         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
39353         of errno.
39355 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
39357         [BZ #11724]
39358         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
39359         of constructors.
39360         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
39361         of destructors.
39362         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
39364         [BZ #11724]
39365         * elf/Makefile: Add rules to build and run new test.
39366         * elf/tst-initorder.c: New file.
39367         * elf/tst-initorder.exp: New file.
39368         * elf/tst-initordera1.c: New file.
39369         * elf/tst-initordera2.c: New file.
39370         * elf/tst-initordera3.c: New file.
39371         * elf/tst-initordera4.c: New file.
39372         * elf/tst-initorderb1.c: New file.
39373         * elf/tst-initorderb2.c: New file.
39374         * elf/tst-order-a1.c: New file.
39375         * elf/tst-order-a2.c: New file.
39376         * elf/tst-order-a3.c: New file.
39377         * elf/tst-order-a4.c: New file.
39378         * elf/tst-order-b1.c: New file.
39379         * elf/tst-order-b2.c: New file.
39380         * elf/tst-order-main.c: New file.
39381         New test case by George Gensure <werkt0@gmail.com>.
39383 2010-10-01  Andreas Schwab  <schwab@redhat.com>
39385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39386         decoding ACE if AI_CANONIDN.
39388 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
39390         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39392 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
39394         * version.h (RELEASE): Bump for 2.13 release.
39395         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39397         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39399         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39400         MADV_NOHUGEPAGE.
39401         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39402         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39403         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39404         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39405         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39406         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39408         * posix/getconf.c: Update copyright year.
39409         * catgets/gencat.c: Likewise.
39410         * csu/version.c: Likewise.
39411         * debug/catchsegv.sh: Likewise.
39412         * debug/xtrace.sh: Likewise.
39413         * elf/ldconfig.c: Likewise.
39414         * elf/ldd.bash.in: Likewise.
39415         * elf/sprof.c (print_version): Likewise.
39416         * iconv/iconv_prog.c: Likewise.
39417         * iconv/iconvconfig.c: Likewise.
39418         * locale/programs/locale.c: Likewise.
39419         * locale/programs/localedef.c: Likewise.
39420         * malloc/memusage.sh: Likewise.
39421         * malloc/mtrace.pl: Likewise.
39422         * nscd/nscd.c (print_version): Likewise.
39423         * nss/getent.c: Likewise.
39425         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39426         PF_CAIF, and PF_ALG.
39427         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39429 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
39431         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39432         (modules-names): Use them.
39433         (ifunc-test-modules, ifunc-pie-tests): Define.
39434         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39435         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39436         (test-extras): Likewise.
39437         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39438         $(compile-command.c).
39439         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39440         (all-built-dso): Define.
39441         (check-textrel.out, check-execstack.out): Depend on it.
39443         * configure.in: Don't override --enable-multi-arch.
39445 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
39447         [BZ #6812]
39448         * nscd/hstcache.c (tryagain): Define.
39449         (cache_addhst): Return tryagain not notfound for temporary errors.
39450         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39451         failed.
39453 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
39455         [BZ #10563]
39456         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39457         to make the syscall.
39458         * sysdeps/unix/sysv/linux/setgroups.c: New file.
39460         [BZ #12378]
39461         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39462         and fall back to matching as normal character if the string ends before
39463         the matching ']' is found.  This is what POSIX requires.
39464         * posix/testfnm.c: Adjust test result.
39465         * posix/globtest.sh: Adjust test result.  Add new test.
39466         * posix/tst-fnmatch.input: Likewise.
39467         * posix/tst-fnmatch2.c: Add new test.
39469 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
39471         * elf/Makefile (check-execstack): Revert last change.  Depend on
39472         check-execstack.h.
39473         (check-execstack.h): New target.
39474         (generated): Add check-execstack.h.
39475         * elf/check-execstack.c: Include "check-execstack.h".
39476         (main): Revert last change.
39477         (handle_file): Return zero if GNU_STACK is absent and
39478         DEFAULT_STACK_PERMS doesn't include PF_X.
39480 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
39482         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39483         in child fails because the descriptor is already closed.
39484         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39485         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39486         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39488         [BZ #12397]
39489         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39490         syscall.
39492         [BZ #10484]
39493         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39494         temporary buffer used to handle multi lookups locally.
39495         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39497 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39499         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39500         loader is ld.so.
39502 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
39504         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39505         alignment for SSE2.
39507 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39509         [BZ #12394]
39510         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39511         characters.  When rounding increased number of integer digits recompute
39512         number of groups.
39513         * stdio-common/tst-grouping.c: New file.
39514         * stdio-common/Makefile: Add rules to build and run tst-grouping.
39516 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
39518         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39519         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
39521         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39522         void.
39523         * bits/select.h: Likewise.
39525 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
39527         * po/ja.po: Update from translation team.
39529 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
39531         [BZ #11155]
39532         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39533         implementation just like for lxstat, fxstatat, et al.
39535 2010-12-27  Jim Meyering  <meyering@redhat.com>
39537         [BZ #12348]
39538         * posix/regexec.c (build_trtable): Return failure indication upon
39539         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
39541 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
39543         [BZ #12201]
39544         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39545         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39546         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39547         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39549         [BZ #12207]
39550         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39552         [BZ #12204]
39553         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39554         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39556 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
39558         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39559         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39560         script has SORT_BY_INIT_PRIORITY.
39561         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39562         NO_CTORS_DTORS_SECTIONS is defined.
39563         * elf/soinit.c: Likewise.
39564         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39565         NO_CTORS_DTORS_SECTIONS is defined.
39566         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39567         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39568         * sysdeps/sh/init-first.c: Likewise.
39569         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39571 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
39573         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39574         always use the slow path.
39576 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
39578         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39579         similar rule which adds the sysdep directories to the header search in
39580         order to pick up the correct platform stackinfo.h.
39581         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39582         perform test if it is, otherwise return successfully without testing.
39583         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39584         DEFAULT_STACK_PERMS define in stackinfo.h.
39585         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39586         defined in stackinfo.h.
39587         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39588         DEFAULT_STACK_PERMS defined in stackinfo.h.
39589         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39590         * sysdeps/ia64/stackinfo.h: Likewise.
39591         * sysdeps/s390/stackinfo.h: Likewise.
39592         * sysdeps/sh/stackinfo.h: Likewise.
39593         * sysdeps/sparc/stackinfo.h: Likewise.
39594         * sysdeps/x86_64/stackinfo.h: Likewise.
39595         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39596         PF_X for powerpc64.  Retain PF_X for powerpc32.
39598 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
39600         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39601         accurately.
39602         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39603         GETDENTS_64BIT_ALIGNED.
39605 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
39607         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39609 2010-12-10  Andreas Schwab  <schwab@redhat.com>
39611         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39612         _GNU_SOURCE.
39614         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39615         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39616         Remove __restrict.
39617         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39618         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39620 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
39622         [BZ #11655]
39623         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39624         are initialized.
39626 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
39628         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39630 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
39632         * po/it.po: Update from translation team.
39634 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
39636         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39637         unused codes.
39639 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
39641         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39643 2010-11-24  Andreas Schwab  <schwab@redhat.com>
39645         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39646         specially.
39647         (gaih_getanswer_slice): Likewise.
39649 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
39651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39653 2010-05-31  Petr Baudis  <pasky@suse.cz>
39655         [BZ #11149]
39656         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39657         silently even in the chroot mode.
39659 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
39661         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39662         last patch a bit.  Pretty printing
39664 2010-05-31  Petr Baudis <pasky@suse.cz>
39666         [BZ #10085]
39667         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39668         initialization of skip_initgroups_dyn.
39670 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
39672         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39673         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39675 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
39677         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39679 2010-11-11  Andreas Schwab  <schwab@redhat.com>
39681         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39682         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39683         (tst-fnmatch-ENV): Set MALLOC_TRACE.
39684         ($(objpfx)tst-fnmatch-mem): New rule.
39685         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39686         * posix/tst-fnmatch.c (main): Call mtrace.
39688 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
39690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39691         Support Intel processor model 6 and model 0x2c.
39693 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
39695         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39696           signed comparison.
39698 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
39700         [BZ #12205]
39701         * string/test-strncasecmp.c (check_result): New function.
39702         (do_one_test): Use it.
39703         (check1): New function.
39704         (test_main): Use it.
39705         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39706         Support strcasecmp and strncasecmp.
39708 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
39710         [BZ #12194]
39711         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39712         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39714 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39716         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39717         IFUNC support.
39718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39719         memset-x86-64.
39720         * sysdeps/x86_64/multiarch/bzero.S: New file.
39721         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39722         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39723         * sysdeps/x86_64/multiarch/memset.S: New file.
39724         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39726         Set bit_Prefer_SSE_for_memop for Intel processors.
39727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39728         Define.
39729         (index_Prefer_SSE_for_memop): Define.
39730         (HAS_PREFER_SSE_FOR_MEMOP): Define.
39732 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
39734         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39735         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39737 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
39739         [BZ #12191]
39740         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39741         (__x86_64_raw_data_cache_size_half): Likewise.
39742         (__x86_64_raw_shared_cache_size): Likewise.
39743         (__x86_64_raw_shared_cache_size_half): Likewise.
39745         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39746         (__x86_64_raw_data_cache_size_half): Likewise.
39747         (__x86_64_raw_shared_cache_size): Likewise.
39748         (__x86_64_raw_shared_cache_size_half): Likewise.
39749         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39750         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39751         and __x86_64_raw_shared_cache_size_half.  Round
39752         __x86_64_data_cache_size_half, __x86_64_data_cache_size
39753         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39754         to multiple of 256 bytes.
39756 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
39758         [BZ #12167]
39759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39760         of inacessible symlinks.  Verify result of symlink before returning it.
39761         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39762         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39764 2010-10-28  Erich Ritz  <erichritz@gmail.com>
39766         * math/math.h (isinf): Fix typo in comment.
39768 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
39770         * po/da.po: Update from translation team.
39772 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
39774         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39775         is added to the list.
39777 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39778             Ulrich Drepper  <drepper@gmail.com>
39780         * elf/dl-object.c (_dl_new_object): Don't append the new object to
39781         the global list here.  Move code to...
39782         (_dl_add_to_namespace_list): ...here.  New function.
39783         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39784         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39785         * elf/dl-load.c (lose): Don't remove the element from the list.
39786         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39787         (_dl_map_object): Likewise.
39789 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
39791         [BZ #12159]
39792         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39793         into all bytes of SSE register.
39794         Patch by Richard Li <richardpku@gmail.com>.
39796 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
39798         [BZ #12140]
39799         * malloc/malloc.c (_int_free): Fill correct number of bytes when
39800         perturbing.
39802 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
39804         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39805         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39806         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39807         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39809         submachine.
39810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39812 2010-10-22  Andreas Schwab  <schwab@redhat.com>
39814         * include/dlfcn.h (__RTLD_SECURE): Define.
39815         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
39816         mode & __RTLD_SECURE instead.
39817         (open_path): Rename preloaded parameter to secure.
39818         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39819         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39820         * elf/dl-deps.c (openaux): Likewise.
39821         * elf/rtld.c (struct map_args): Remove is_preloaded.
39822         (map_doit): Don't use it.
39823         (dl_main): Likewise.
39824         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39825         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39827 2010-09-09  Andreas Schwab  <schwab@redhat.com>
39829         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39830         (sysd-rules-targets): Remove duplicates.
39831         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39832         rtld-%.$o dependency.
39834 2010-10-18  Andreas Schwab  <schwab@redhat.com>
39836         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39837         _dl_map_object do it.
39839 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
39841         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39842         fast fma builtins, define the macros in the C99 standard.
39843         (FP_FAST_FMAF): Likewise.
39844         (FP_FAST_FMAL): Likewise.
39845         * sysdeps/x86_64/bits/mathdef.h: Likewise.
39847         * bits/mathdef.h: Update copyright year.
39848         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39850 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
39852         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39853         builtins, define the macros in the C99 standard.
39854         (FP_FAST_FMAF): Likewise.
39855         (FP_FAST_FMAL): Likewise.
39856         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39857         multiply/add.
39858         (FP_FAST_FMAF): Likewise.
39860 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
39862         [BZ #3268]
39863         * math/libm-test.inc (fma_test): Some new testcases.
39864         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39866         y and infinite z.  Do multiplication by C already in long double.
39867         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39869         y and infinite z.  Do bitwise or of inexact bit into u.d.
39870         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39871         * sysdeps/i386/fpu/s_fmaf.S: Removed.
39872         * sysdeps/i386/fpu/s_fma.S: Removed.
39873         * sysdeps/i386/fpu/s_fmal.S: Removed.
39875 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
39877         [BZ #3268]
39878         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39880         computation is not scheduled after fetestexcept.  Fix value
39881         of minimum denormal long double.
39883 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
39885         [BZ #3268]
39886         * math/libm-test.inc (fma_test): Add some more tests.
39887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39888         correctly.
39890 2010-10-15  Andreas Schwab  <schwab@redhat.com>
39892         * scripts/data/localplt-s390-linux-gnu.data: New file.
39893         * scripts/data/localplt-s390x-linux-gnu.data: New file.
39895 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
39897         [BZ #3268]
39898         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39899         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39900         instead of dbl-64.
39901         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39902         inlines.
39903         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39905         if one of x and y is very large and the other is subnormal.
39906         * sysdeps/s390/fpu/s_fmaf.c: New file.
39907         * sysdeps/s390/fpu/s_fma.c: New file.
39908         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39909         * sysdeps/powerpc/fpu/s_fma.S: New file.
39910         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39911         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39912         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39914 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
39916         [BZ #3268]
39917         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39918         fma tests.
39919         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39920         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39921         * sysdeps/i386/i686/multiarch/s_fma.c: Include
39922         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39923         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39924         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39925         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39927 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
39929         [BZ #12078]
39930         * posix/regcomp.c (parse_branch): One more memory leak plugged.
39931         * posix/bug-regex31.input: Add test case.
39933 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
39935         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39936         * posix/bug-regex31.input: New file.
39938         [BZ #12078]
39939         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39940         (parse_sub_exp): Fix last change, use postorder.
39942         * posix/bug-regex31.c: New file.
39943         * posix/Makefile: Add rules to build and run bug-regex31.
39945         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39947         [BZ #12078]
39948         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39950         [BZ #12108]
39951         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39952         to have entries in sys_siglist.
39954         [BZ #12093]
39955         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39956         be NULL.
39958 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
39960         [BZ #3268]
39961         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39962         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39963         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39964         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39965         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39966         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39967         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39968         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39969         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39970         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39971         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39972         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39973         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39974         * math/ftestexcept.c (fetestexcept): Likewise.
39975         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39976         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39977         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39978         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39979         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39980         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39981         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39983 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
39985         [BZ #12107]
39986         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39987         newline.
39989 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
39991         * string/bug-strstr1.c: New file.
39992         * string/Makefile: Add rules to build and run bug-strstr1.
39994 2010-10-05  Eric Blake  <eblake@redhat.com>
39996         [BZ #12092]
39997         * string/str-two-way.h (two_way_long_needle): Always clear memory
39998         when skipping input due to the shift table.
40000 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
40002         [BZ #12005]
40003         * malloc/mcheck.c: Handle large requests.
40005         [BZ #12077]
40006         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40007         for strncmp and strncasecmp.
40008         * string/stratcliff.c: Add tests for strcmp and strncmp.
40009         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
40011 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40013         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
40014         __set_fpscr.
40016 2010-09-30  Andreas Jaeger  <aj@suse.de>
40018         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
40019         (CGROUP_SUPER_MAGIC): Define.
40020         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40021         Handle btrfs and cgroup file systems.
40022         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40023         Likewise.
40025 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
40027         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
40028         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
40030 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40032         [BZ #12067]
40033         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
40034         trying to locate the ELF header.
40036 2010-09-27  Andreas Schwab  <schwab@redhat.com>
40038         [BZ #11611]
40039         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
40040         Mask out sign-bit copies when constructing f_fsid.
40042 2010-09-24  Petr Baudis <pasky@suse.cz>
40044         * debug/stack_chk_fail_local.c: Add missing licence exception.
40045         * debug/warning-nop.c: Likewise.
40047 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
40049         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
40050         implementing getdents64 using getdents syscall, set d_type if
40051         __ASSUME_GETDENTS32_D_TYPE.
40053 2010-09-16  Andreas Schwab  <schwab@redhat.com>
40055         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
40056         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
40058 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
40060         [BZ #12037]
40061         * posix/unistd.h: Undo change of feature selection for ftruncate from
40062         2010-01-11.
40064 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
40066         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
40067         detection.
40069 2010-09-20  Andreas Schwab  <schwab@redhat.com>
40071         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
40072         fanotify_mark.
40073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40075 2010-09-14  Andreas Schwab  <schwab@redhat.com>
40077         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
40078         variables after CHECK_SP call.
40079         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
40081 2010-09-13  Andreas Schwab  <schwab@redhat.com>
40082             Ulrich Drepper  <drepper@redhat.com>
40084         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
40085         re-relocationg ld.so.
40086         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
40087         _dl_init_paths call.
40088         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
40089         here anymore.
40091 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
40093         * resolv/res_init.c (__res_vinit): Count the default server we added.
40095 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
40096             Ulrich Drepper  <drepper@redhat.com>
40098         [BZ #11968]
40099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40100         (____longjmp_chk): Use %ebx for saving value across system call.
40101         Add unwind info.
40103 2010-09-06  Andreas Schwab  <schwab@redhat.com>
40105         * manual/Makefile: Don't mix pattern rules with normal rules.
40107 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40109         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
40110         operation.
40111         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
40112         * libio/iofopncook.c (_IO_cookie_init): Likewise.
40113         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
40114         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
40115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40116         Likewise.
40118 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
40120         [BZ #11979]
40121         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
40122         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
40124 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
40126         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
40127         * sysdeps/x86_64/addmul_1.S: Likewise.
40128         * sysdeps/x86_64/lshift.S: Likewise.
40129         * sysdeps/x86_64/mul_1.S: Likewise.
40130         * sysdeps/x86_64/rshift.S: Likewise.
40131         * sysdeps/x86_64/sub_n.S: Likewise.
40132         * sysdeps/x86_64/submul_1.S: Likewise.
40134 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40136         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
40137         Define __sched_param instead of SCHED_* and sched_param when
40138         <bits/sched.h> is included with __need_schedparam defined.
40139         * bits/sched.h [__need_schedparam]
40140         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
40141         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
40142         (__defined_schedparam): Define to 1.
40143         (__sched_param): New structure, identical to sched_param.
40144         (__need_schedparam): Undefine.
40146 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
40148         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
40149         (epoll_create1): Declare.
40151         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
40153 2010-08-31  Andreas Schwab  <schwab@redhat.com>
40155         [BZ #7066]
40156         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
40157         shifting retval into place.
40159 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
40161         * nis/rpcsvc/nis.h: Update copyright notice.
40162         * nis/rpcsvc/nis.x: Likewise.
40163         * nis/rpcsvc/nis_callback.h: Likewise.
40164         * nis/rpcsvc/nis_callback.x: Likewise.
40165         * nis/rpcsvc/nis_object.x: Likewise.
40166         * nis/rpcsvc/nis_tags.h: Likewise.
40167         * nis/rpcsvc/yp.h: Likewise.
40168         * nis/rpcsvc/yp.x: Likewise.
40169         * nis/rpcsvc/ypupd.h: Likewise.
40170         * nis/yp_xdr.c: Likewise.
40171         * nis/ypupdate_xdr.c: Likewise.
40173         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
40174         mainly the body of pmap_getport.  Add parameters to specify timeouts.
40175         (pmap_getport): Use __libc_rpc_getport.
40176         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
40177         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
40178         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
40180 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
40182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
40183         fanotify_mark.
40185 2010-08-27  Roland McGrath  <roland@redhat.com>
40187         * sysdeps/i386/i686/multiarch/Makefile
40188         (CFLAGS-varshift.c): New variable.
40190 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
40192         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
40193         * sysdeps/i386/i686/multiarch/varshift.c: New file.
40195         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
40197         * sysdeps/x86_64/strlen.S: Minimal code improvement.
40199 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
40201         * sysdeps/x86_64/strlen.S: Unroll the loop.
40202         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40203         strlen-sse2 strlen-sse2-bsf.
40204         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
40205         __strlen_no_bsf if bit_Slow_BSF is set.
40206         (__strlen_sse42): Removed.
40207         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
40208         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
40210 2010-08-25  Roland McGrath  <roland@redhat.com>
40212         * sysdeps/x86_64/multiarch/varshift.S: File removed.
40213         * sysdeps/x86_64/multiarch/varshift.c: New file.
40214         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
40215         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
40216         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
40217         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40219 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
40221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40222         strlen-sse2 strlen-sse2-bsf.
40223         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
40224         __strlen_sse2_bsf if bit_Slow_BSF is unset.
40225         (__strlen_sse2): Removed.
40226         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
40227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
40228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40229         bit_Slow_BSF for Atom.
40230         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
40231         (index_Slow_BSF): Define.
40232         (HAS_SLOW_BSF): Define.
40234 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
40236         [BZ #10851]
40237         * resolv/res_init.c (__res_vinit): When no server address at all
40238         is given default to loopback.
40240 2010-08-24  Roland McGrath  <roland@redhat.com>
40242         * configure.in: Remove config-name.h generation.
40243         * configure: Regenerated.
40244         * config-name.in: File removed.
40245         * scripts/config-uname.sh: New file.
40246         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
40247         ($(objdir)config-name.h): New target.
40249         * sunrpc/rpc_parse.h: Avoid nested comment.
40251 2010-08-24  Richard Henderson  <rth@redhat.com>
40252             Ulrich Drepper  <drepper@redhat.com>
40253             H.J. Lu  <hongjiu.lu@intel.com>
40255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
40256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
40257         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
40258         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
40259         _mm_alignr_epi8 with _mm_loadu_si128.
40260         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
40261         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
40262         (__m128i_shift_right): Removed.
40263         * sysdeps/i386/i686/multiarch/varshift.h: New file.
40264         * sysdeps/i386/i686/multiarch/varshift.S: New file.
40265         * sysdeps/x86_64/multiarch/varshift.h: New file.
40266         * sysdeps/x86_64/multiarch/varshift.S: New file.
40268 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
40270         * configure.in: Move assembler checks to before sysdep dir checking.
40272 2010-08-20  Petr Baudis  <pasky@suse.cz>
40274         * LICENSES: Sync the sunrpc license.
40276 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
40278         * sunrpc/auth_des.c: Update copyright notice once again.
40279         * sunrpc/auth_none.c: Likewise.
40280         * sunrpc/auth_unix.c: Likewise.
40281         * sunrpc/authdes_prot.c: Likewise.
40282         * sunrpc/authuxprot.c: Likewise.
40283         * sunrpc/bindrsvprt.c: Likewise.
40284         * sunrpc/clnt_gen.c: Likewise.
40285         * sunrpc/clnt_perr.c: Likewise.
40286         * sunrpc/clnt_raw.c: Likewise.
40287         * sunrpc/clnt_simp.c: Likewise.
40288         * sunrpc/clnt_tcp.c: Likewise.
40289         * sunrpc/clnt_udp.c: Likewise.
40290         * sunrpc/clnt_unix.c: Likewise.
40291         * sunrpc/des_crypt.c: Likewise.
40292         * sunrpc/des_soft.c: Likewise.
40293         * sunrpc/get_myaddr.c: Likewise.
40294         * sunrpc/getrpcport.c: Likewise.
40295         * sunrpc/key_call.c: Likewise.
40296         * sunrpc/key_prot.c: Likewise.
40297         * sunrpc/openchild.c: Likewise.
40298         * sunrpc/pm_getmaps.c: Likewise.
40299         * sunrpc/pm_getport.c: Likewise.
40300         * sunrpc/pmap_clnt.c: Likewise.
40301         * sunrpc/pmap_prot.c: Likewise.
40302         * sunrpc/pmap_prot2.c: Likewise.
40303         * sunrpc/pmap_rmt.c: Likewise.
40304         * sunrpc/rpc/auth.h: Likewise.
40305         * sunrpc/rpc/auth_unix.h: Likewise.
40306         * sunrpc/rpc/clnt.h: Likewise.
40307         * sunrpc/rpc/des_crypt.h: Likewise.
40308         * sunrpc/rpc/key_prot.h: Likewise.
40309         * sunrpc/rpc/netdb.h: Likewise.
40310         * sunrpc/rpc/pmap_clnt.h: Likewise.
40311         * sunrpc/rpc/pmap_prot.h: Likewise.
40312         * sunrpc/rpc/pmap_rmt.h: Likewise.
40313         * sunrpc/rpc/rpc.h: Likewise.
40314         * sunrpc/rpc/rpc_des.h: Likewise.
40315         * sunrpc/rpc/rpc_msg.h: Likewise.
40316         * sunrpc/rpc/svc.h: Likewise.
40317         * sunrpc/rpc/svc_auth.h: Likewise.
40318         * sunrpc/rpc/types.h: Likewise.
40319         * sunrpc/rpc/xdr.h: Likewise.
40320         * sunrpc/rpc_clntout.c: Likewise.
40321         * sunrpc/rpc_cmsg.c: Likewise.
40322         * sunrpc/rpc_common.c: Likewise.
40323         * sunrpc/rpc_cout.c: Likewise.
40324         * sunrpc/rpc_dtable.c: Likewise.
40325         * sunrpc/rpc_hout.c: Likewise.
40326         * sunrpc/rpc_main.c: Likewise.
40327         * sunrpc/rpc_parse.c: Likewise.
40328         * sunrpc/rpc_parse.h: Likewise.
40329         * sunrpc/rpc_prot.c: Likewise.
40330         * sunrpc/rpc_sample.c: Likewise.
40331         * sunrpc/rpc_scan.c: Likewise.
40332         * sunrpc/rpc_scan.h: Likewise.
40333         * sunrpc/rpc_svcout.c: Likewise.
40334         * sunrpc/rpc_tblout.c: Likewise.
40335         * sunrpc/rpc_util.c: Likewise.
40336         * sunrpc/rpc_util.h: Likewise.
40337         * sunrpc/rpcinfo.c: Likewise.
40338         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
40339         * sunrpc/rpcsvc/key_prot.x: Likewise.
40340         * sunrpc/rpcsvc/klm_prot.x: Likewise.
40341         * sunrpc/rpcsvc/mount.x: Likewise.
40342         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
40343         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
40344         * sunrpc/rpcsvc/rex.x: Likewise.
40345         * sunrpc/rpcsvc/rstat.x: Likewise.
40346         * sunrpc/rpcsvc/rusers.x: Likewise.
40347         * sunrpc/rpcsvc/sm_inter.x: Likewise.
40348         * sunrpc/rpcsvc/spray.x: Likewise.
40349         * sunrpc/rpcsvc/yppasswd.x: Likewise.
40350         * sunrpc/rtime.c: Likewise.
40351         * sunrpc/svc.c: Likewise.
40352         * sunrpc/svc_auth.c: Likewise.
40353         * sunrpc/svc_authux.c: Likewise.
40354         * sunrpc/svc_raw.c: Likewise.
40355         * sunrpc/svc_run.c: Likewise.
40356         * sunrpc/svc_simple.c: Likewise.
40357         * sunrpc/svc_tcp.c: Likewise.
40358         * sunrpc/svc_udp.c: Likewise.
40359         * sunrpc/svc_unix.c: Likewise.
40360         * sunrpc/svcauth_des.c: Likewise.
40361         * sunrpc/xcrypt.c: Likewise.
40362         * sunrpc/xdr.c: Likewise.
40363         * sunrpc/xdr_array.c: Likewise.
40364         * sunrpc/xdr_float.c: Likewise.
40365         * sunrpc/xdr_mem.c: Likewise.
40366         * sunrpc/xdr_rec.c: Likewise.
40367         * sunrpc/xdr_ref.c: Likewise.
40368         * sunrpc/xdr_sizeof.c: Likewise.
40369         * sunrpc/xdr_stdio.c: Likewise.
40371         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40372         handling.
40374 2010-08-19  Andreas Schwab  <schwab@redhat.com>
40376         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40378 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
40380         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40381         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40382         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40383         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40384         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40385         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40386         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40387         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40388         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40389         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40390         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40391         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40392         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40393         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40395 2010-07-26  Anton Blanchard  <anton@samba.org>
40397         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40398         * malloc/arena.c (heap_trim): Likewise.
40400 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
40402         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40403         here.  Not...
40404         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40405         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40407 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40409         * sysdeps/i386/elf/Makefile: New file.
40411 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40413         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40414         from fanotify_init.
40415         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40418 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
40420         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40421         of strncasecmp_l.
40422         * sysdeps/multiarch/strcmp.S: Likewise.
40424 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
40426         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40427         strncase_l-nonascii.
40428         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40429         Add strncase_l-ssse3.
40430         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40431         * sysdeps/x86_64/strcmp.S: Likewise.
40432         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40433         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40434         * sysdeps/x86_64/strncase.S: New file.
40435         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40436         * sysdeps/x86_64/strncase_l.S: New file.
40437         * string/Makefile (strop-tests): Add strncasecmp.
40438         * string/test-strncasecmp.c: New file.
40440         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40441         warning.
40443         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40444         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40446 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40448         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40450 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
40452         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40453         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40454         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40456 2010-05-01  Alan Modra  <amodra@gmail.com>
40458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40459         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40460         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40461         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40462         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40463         tidying.  Don't tail-call __sigjmp_save for static lib.
40464         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40465         save location.
40466         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40467         (CALL_MCOUNT): Add eh info, and nop after bl.
40468         (TAIL_CALL_SYSCALL_ERROR): New macro.
40469         (PSEUDO_RET): Use it.
40470         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40471         Correct save location of integer regs and cr.
40472         (_dl_profile_resolve): Correct cr save location.  Delete nops
40473         after bl when SHARED.  Reduce cfi size a little by better
40474         placement of cfi directives.
40475         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40476         make a stack frame.  Instead use parm save area as a temp.
40477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40478         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
40479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40480         Don't make a stack frame for parent, use parm save area.
40481         Increase child stack frame to 112 bytes.  Don't save unused reg,
40482         and adjust reg usage.  Set up cfi on error recovery and
40483         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40485         (__makecontext): Add dummy nop after jump to exit.
40486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40487         Use correct parm save area and cr save, reduce stack frame.
40488         Correct cfi for possible PSEUDO_RET frame setup.
40489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40490         Branch to local label emitted by PSEUDO_RET rather than
40491         __syscall_error.
40493 2010-08-12  Andreas Schwab  <schwab@redhat.com>
40495         [BZ #11904]
40496         * locale/programs/locale.c (print_assignment): New function.
40497         (show_locale_vars): Use it.
40499 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
40501         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40502         field.
40503         (struct statfs64): Likewise.
40504         (_STATFS_F_FLAGS): Define.
40505         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40507         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40508         (ST_VALID): Define locally.
40509         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40510         __statvfs_getflags, use the provided value.
40511         * sysdeps/unix/sysv/linux/kernel-features.h: Define
40512         __ASSUME_STATFS_F_FLAGS.
40514         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40516         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40517         Add sys/fanotify.h.
40518         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40519         fanotify_mask for GLIBC_2.13.
40520         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40521         fanotify_init and fanotify_mark.
40522         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40523         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40525         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40526         Add prlimit.
40527         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40528         prlimit64 for GLIBC_2.13.
40529         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40530         prlimit64.
40531         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40532         syscall.
40533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40535         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40536         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
40538         add prlimit alias.
40539         * sysdeps/unix/sysv/linux/prlimit.c: New file.
40541         [BZ #11903]
40542         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40543         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40545         * nss/Makefile: Add rules to build and run tst-nss-test1.
40546         * shlib-versions: Add entry for libnss_test1.
40547         * nss/nss_test1.c: New file.
40548         * nss/tst-nss-test1.c: New file.
40550         * nss/nsswitch.c (__nss_database_custom): Define new variable.
40551         (__nss_configure_lookup): Set appropriate entry in
40552         __nss_configure_lookup to true.
40553         * nss/nsswitch.h: Define enum with indeces of databases in
40554         databases and __nss_database_custom arrays.  Declare
40555         __nss_database_custom.
40556         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40557         to avoid using nscd when custom rules are installed.
40558         * nss/getXXbyYY_r.c: Likewise.
40559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40561         * nss/nss_files/files-parse.c: Whitespace fixes.
40563 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
40565         [BZ #11883]
40566         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40567         * posix/fnmatch_loop.c: Likewise.
40569 2010-07-17  Andi Kleen  <ak@linux.intel.com>
40571         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40572         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40573         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40574         * Versions.def [GLIBC_2.13]: Add.
40576 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
40578         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40579         Also fail if tpwd after pwuid call is NULL.
40581 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40583         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40584         when converting to ms.
40586 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40588         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40589         EOPNOTSUPP errors with ENOTTY.
40590         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40591         EOPNOTSUPP errors with ENOTTY.
40593 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
40595         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40596         Add strcasecmp_l-ssse3.
40597         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40598         strcasecmp.
40599         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40600         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40601         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40603 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
40605         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40607         * string/Makefile (strop-tests): Add strcasecmp.
40608         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40609         strcasecmp_l-nonascii.
40610         (gen-as-const-headers): Add locale-defines.sym.
40611         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40612         * sysdeps/x86_64/strcasecmp.S: New file.
40613         * sysdeps/x86_64/strcasecmp_l.S: New file.
40614         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40615         * sysdeps/x86_64/locale-defines.sym: New file.
40616         * string/test-strcasecmp.c: New file.
40618         * string/test-strcasestr.c: Test both ends of the range of characters.
40619         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40621 2010-07-29  Roland McGrath  <roland@redhat.com>
40623         [BZ #11856]
40624         * manual/locale.texi (Yes-or-No Questions): Fix example code.
40626 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
40628         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40629         for ld.so.
40631 2010-07-27  Andreas Schwab  <schwab@redhat.com>
40633         * manual/memory.texi (Malloc Tunable Parameters): Document
40634         M_PERTURB.
40636 2010-07-26  Roland McGrath  <roland@redhat.com>
40638         [BZ #11840]
40639         * configure.in (-fgnu89-inline check): Set and substitute
40640         gnu89_inline, not libc_cv_gnu89_inline.
40641         * configure: Regenerated.
40642         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40644 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
40646         * string/test-strnlen.c: New file.
40647         * string/Makefile (strop-tests): Add strnlen.
40648         * string/tester.c (test_strnlen): Add a few more test cases.
40649         * string/tst-strlen.c: Better error reporting.
40651         * sysdeps/x86_64/strnlen.S: New file.
40653 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
40655         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40656         lower-latency instructions.
40658 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
40660         * string/test-strcasestr.c: New file.
40661         * string/test-strstr.c: New file.
40662         * string/Makefile (strop-tests): Add strstr and strcasestr.
40663         * string/str-two-way.h: Don't undefine MAX.
40664         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40666 2010-07-21  Andreas Schwab  <schwab@redhat.com>
40668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40669         strcasestr-nonascii.
40670         (CFLAGS-strcasestr-nonascii.c): Define.
40671         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40672         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40673         Remove unused attribute.
40675 2010-07-20  Roland McGrath  <roland@redhat.com>
40677         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40678         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
40679         ld.so.cache was broken.  With it, there is no way to disable dsocaps
40680         like LD_HWCAP_MASK can disable hwcaps.
40682 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
40684         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40686 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
40688         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40689         call in strcasestr.
40690         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40691         __strcasestr_sse42_nonascii.
40692         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40693         strcasestr-nonascii.c.
40694         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40696 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
40698         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40699         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40700         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40701         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40703 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
40705         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40706         fcntl.
40708 2010-07-06  Andreas Schwab  <schwab@redhat.com>
40710         [BZ #11577]
40711         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40712         dl_signal_cerror.
40714 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
40716         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40717         _PC_PIPE_BUF using F_GETPIPE_SZ.
40719 2010-07-05  Roland McGrath  <roland@redhat.com>
40721         * manual/arith.texi (Rounding Functions): Fix rint description
40722         implicit in round description.
40724 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
40726         * elf/Makefile: Fix linking for a few tests to make recent linker
40727         happy.
40729 2010-06-30  Andreas Schwab  <schwab@redhat.com>
40731         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40732         $(common-objpfx)libc_nonshared.a.
40734 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
40736         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40737         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40738         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40739         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40740         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40741         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40742         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40743         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40758         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40759         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40760         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40761         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40762         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40763         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40764         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40765         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40766         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40767         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40768         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40769         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40785 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
40787         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40788         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
40789         * string/memmove.c (memmove): Renamed to ...
40790         (MEMMOVE): ...this.  Default to memmove.
40791         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40792         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40793         (END_CHK): Define.
40794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40795         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40796         mempcpy-ssse3-back memmove-ssse3-back.
40797         * sysdeps/x86_64/multiarch/bcopy.S: New file .
40798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40800         * sysdeps/x86_64/multiarch/memcpy.S: New file.
40801         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40802         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40803         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40804         * sysdeps/x86_64/multiarch/memmove.c: New file.
40805         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40806         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40807         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40808         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40809         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40810         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40811         Define.
40812         (index_Fast_Copy_Backward): Define.
40813         (HAS_ARCH_FEATURE): Define.
40814         (HAS_FAST_REP_STRING): Define.
40815         (HAS_FAST_COPY_BACKWARD): Define.
40817 2010-06-21  Andreas Schwab  <schwab@redhat.com>
40819         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40820         Restore proper fallback handling.
40822 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
40824         [BZ #11701]
40825         * posix/group_member.c (__group_member): Correct checking loop.
40827         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40828         OOM in getpwuid_r correctly.  Return error number when the caller
40829         should return, otherwise -1.
40830         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40831         call returning > 0 value.
40832         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40834 2010-06-07  Andreas Schwab  <schwab@redhat.com>
40836         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40837         libc_nonshared.a from targets in modules-names.
40839 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
40841         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40842         requires it.
40844 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
40846         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40847         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40848         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40849         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40851 2010-06-02  Andreas Schwab  <schwab@redhat.com>
40853         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40855 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
40857         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40858         and F_GETPIPE_SZ.
40859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40860         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40863         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40864         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40866 2010-06-14  Roland McGrath  <roland@redhat.com>
40868         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40870 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
40872         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40873         __REDIRECT followed by __THROW.
40874         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40875         * posix/getopt.h (getopt): Likewise.
40877 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
40879         * hurd/lookup-at.c (__file_name_lookup_at): Accept
40880         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
40881         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40882         in AT_FLAGS.
40883         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40884         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40886 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
40888         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40890 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
40892         [BZ #11640]
40893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40894         Properly check family and model.
40896 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
40898         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40900 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
40902         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40904 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
40906         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40907         symbol reference.
40909 2010-05-19  Andreas Schwab  <schwab@redhat.com>
40911         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40912         symbol reference.
40914 2010-05-21  Andreas Schwab  <schwab@redhat.com>
40916         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40917         and internal_recvmmsg.
40918         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40919         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40920         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40921         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40923         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40924         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40925         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40927 2010-05-20  Andreas Schwab  <schwab@redhat.com>
40929         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40931 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
40933         POWER7 optimizations.
40934         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40935         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40937 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
40939         * version.h: Update for 2.13 development version.
40941 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
40943         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40944         exceptions.  Return 0.
40946 2010-05-07  Roland McGrath  <roland@redhat.com>
40948         * elf/ldconfig.c (main): Add a const.
40950 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
40952         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40953         (args_options): Add no-idn option.
40954         (ahosts_keys_int): Add idn_flags to ai_flags.
40955         (parse_option): Handle 'i' option to clear idn_flags.
40957         * malloc/malloc.c (_int_free): Possible race in the most recently
40958         added check.  Only act on the data if no current modification
40959         happened.
40961 See ChangeLog.17 for earlier changes.